Wrong guidance - exact opposite of CAF & Landing Zone Guidance

Our guidance is the exact opposite of this page content.
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-app-delivery
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/plan-for-landing-zone-network-segmentation
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/enterprise-scale/
Above links and our own guidance is to have Application Gateway deployed in the Spokes together with the workload. So App GW deployment and configuration is part of the application - also from CI/CD.
But this page instead recommends a shared model and all public access through the Hub VNET. And then goes on to say this is Enterprise Scale. Nothing could be further than the truth here. For large enterprises with 1000s of applications, you end up many hundreds of Application Gateways in the Hub VNET and centralized configuration for those 100s of App GWs. This is not workable or scalable or enterprise-scale at all.
So this page should be removed. Almost all the guidance in it is incorrect per current Microsoft recommendations for 'Enterprise Scale'

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

ID: f9bc9f39-cae7-2967-dfd5-58caa34452d1
Version Independent ID: 9118485a-56d8-ce9e-fbfd-6e66be87a611
Content: Hub and spoke network topology - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/hub-spoke-network-topology.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @tracsman
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 465290

@JefferyMitchell, can you pls drive this as part of alignment for LZ?

This issue has been addressed. Updated content will be available in the near future.  Thank you!

This issue has been addressed. Updated content will be available in the near future. Thank you!

Could you give an estimate of when updated content will be available?
Because the wrong guidance is still out there and the top result on Google.


Migrate to use v0.14 API

I've tried to migrate to use v0.14 Filter Plugin API.
This PR contains major update change and also includes in breaking changes.
If above questions/problems are acceptable or reasonable for you, could you bump up major version if releasing new version of gem?
And please refer http://docs.fluentd.org/v0.14/articles/plugin-update-from-v12 before release new version.
Thanks.

Thank you for your PR.


Analyser example uses private method (AudioNode.fan)

The source of this demo of Tone.Analyser includes this code:
	var player = new Tone.Player({
		"url" : "./audio/FWDL.[mp3|ogg]",
		"loop" : true
	}).fan(fft, waveform).toMaster();

I couldn't find documentation on fan() in Player or any of its ancestor classes. It turns out that's because it's marked as private, so it has no generated documentation.
I'd suggest either making fan public, or changing the example code to use two calls to connect(), so as not to confuse newbies browsing the examples (like me).

thanks, but this was already fixed in the latest dev build.
related to #330
1026c34163bdb840b3303bc1bdf423e535a333dd


Cirqus.MongoDB - out of date reference to Mongo driver NuGet

Hi guys,
I was updating an example demo of Cirqus to the latest released NuGet packages, and found that the MongoDB package has a requirement to use an older version of MongoDB.Driver (to reference the type MongoDatabase).
Unfortunately, that version (v1.10) does not seem to be available on NuGet any more.
Simply updating Cirqus.MongoDB to use mongocsharpdriver v2.2,3
Pulls in
MongoDB.Driver v2.2.3
MongoDB.Driver.Core v2.2.3
MongoDB.Bson v2.2.3
And then all is well. No conflicts raised, and when referenced in sample applications, they perform as expected.
David

???
I'm puzzled :confused:

mongocsharpdriver 1.10 does not seem to be unlisted
Since Cirqus' MongoDB package is written for versions 1.* of the driver, and the driver has received significant API changes in version 2.*, I cannot believe that anything can work with a drop-in update like that

Hi,
well, last night and this morning, I only see 2.x versions of mongocsharpdriver from the standard nuget feed in VS2015. I will clear my NuGet cache and see if that changes...
And yep, 2.x versions seem to be working without problem... so far... I am using the old sqlsug demo application, which uses SQL Server as its Event Store, and Mongo for its Views...

Aha.. I had installed the release candidate of Visual Studio 2015 update 2, and bizarrely it removed my NuGet server entries. So probably all it was showing was my local cache.
I can in fact see version 1.10 of mongocsharpdriver now that I have re-added my NuGet server entries.
I've updated my post above - regarding compatibility with version 2.x of mongocsharpdriver, etc.

Just browsed trough the source code and found this odd line: (expression is always false):
https://github.com/d60/Cirqus/blob/master/d60.Cirqus.MongoDb/Views/MongoDbViewManager.cs#L89
Is this somehow intended?

Yes, it is intentional - for SOME weird reason (and I never bothered to figure out why), the in-mem caching of the current position in the _cachedPosition does not work as intended.
The purpose was to save a database lookup once in a while, but since events are dispatched in batches to the view manager anyway, the cost of doing the lookup in GetPositionFromPersistentCache (i.e. directly from the database) is negligible.

Thanks for the code scrutiny btw 😁  👍


Support hub pull-request

hub pull-request opens the editor to edit the message etc. and then creates a new PR. I think this should be added to Savvy too.
How I imagine this would work with GitSavvy is:
* There's a new key for Create Pull Request in Savvy's status view
* Pressing it will be quite similar to the c (commit) key, as it will open a new tab for editing the PR's description etc.
* Super+Enter will then create the PR
It'll also be great if we could get the entire PR's diff in that view too!
hub help pull-request lists some flags that might be useful too, but we can figure that out later.

This issue has come from #435 which was deemed too broad.

Have you checked out github: create pull request, it will open a browser at github.com to recreate the pull-request. It is not exactly what you are asking for, but it works.
Together with GhostText, you could edit the PR message in Sublime Text.

Thanks. I didn't know about it already. Will try it a few times, and see how it works out.

Thanks for pointing that out @randy3k.  @dufferzafar, my guess is that the github: create pull request will be the closest to what you want.  I've drawn a pretty firm line in the past to not recreate the features that GitHub supplies, but rather improve GitSavvy's interoperability with it.


4 nodes Cassandra cluster on 2 servers

Hello
seriously I'd like to make 4 nodes Cassandra cluster on 2 servers like
1st Server : Container A, Container B
2st Server : Container C, Container D
Container A, Container C are seed node.
I'd like to make
Container A is linked (bridge) to 1st host eth0
Container B is linked (bridge) to 1st host eth1
Container C is linked (bridge) to 2nd host eth0
Container D is linked (bridge) to 2nd host eth1
but it looks like
Container A, B links to 1st node's eth0 all.
Container C, D links to 2nd node's eth0 all.
–net=host is not good option to me.
Do you have any good suggestion for 4 nodes (4 container) Cassandra cluster on 2 servers ?

If you're going to production, I would recommend keeping the ratio of physical server to Cassandra node 1:1.
You can actually set up your cluster topology however you prefer - the shell scripts and dockerfiles are there as a guide - feel free to fork the project and edit to your needs.
Cheers!


Chopped texture by triangle frame which shifted little to left on top side image, then shifted little to right at bottom of image

I made a list of trees for different terrain zone in one 1200 x 3000 image. so each block is 200 pixels. shown as below attachment.
Thanks for help~

Expected Behavior
After looping each cell in the 200x200 grid, I should get a list of textures, and tree in each texture cell should be centered in the middle of X axis of that 200x200 area
Current Behavior
First row (snow tree) texture cell chopped area actually is shifted to left a little bit, so the tree is little on right side instead just in middle of X axis. then each row's tree started to be located more and more on left side
Tree should be located at blue line (middle of X axis)
this tree is first row of the whole image

this tree is the 4th last row of the image.

Sample code - generate tree texture cells
const image = new Image();
image.src = zoneTreeConfig.src;
image.onload = function() {
    const treeTextureBase = BaseTexture.from(image);
    const treeSize = 200;
    for (let r = 0; r <= 14; r++) {
        for (let q = 1; q <= 5; q++) {     // first collumn is the title for that row so ignore it
            const prop = "_" + (q-1) + "_" + r;
            const area = new Rectangle(
                q * treeSize, r * treeSize,
                treeSize, treeSize
            );
            zoneTreeRowTexture[prop] = new Texture(treeTextureBase, area);
            zoneTreeShadowRowTexture[prop] = makeTreeShadowTexture(zoneTreeRowTexture[prop]);
        }
    }
};

Sample code - generate tree sprite and interaction area
    const col = makeIntFn(5);
    const texture = zoneTreeShadowRowTexture["_" + col + "_" + row];

    const treeSprite = makeSprite(objLibId, obj, texture);
    if (treeSprite) {
        treeSprite.scale.x *= 0.9 + makeIntFn(25) / 100 * (zoneId % 2 === 0 ? 1 : -1);
        treeSprite.interactive = true;
        treeSprite.buttonMode = true;

        // todo use interaction of object props value to make it clear
        const left = treeSprite.width * -0.25, top = treeSprite.height * -1;
        treeSprite.hitArea = new PIXI.Rectangle(left, top, treeSprite.width * 0.5, treeSprite.height);

        return treeSprite;
    }

Sample code - makeSprite
function makeSprite(libId: int, obj: iStaticObject, texture: Texture): PixiSprite {
    const {type, dynamic} = obj;
    const regionId = obj.geoWatch.regionId.val;
    const physicsPosRegion = obj.physicsWatch.positionRegion?.val;
    const physicsPos = obj.physicsWatch.position?.val;
    const pos = physicsPosRegion || mapPosToRegionPos_vec2(csService.terrainState.cachedRegions[regionId].val.state.commonProps, [physicsPos[0], physicsPos[2]]);
    const size = obj.spriteConfig.size;
    const sprite = new PixiSprite(texture);
    sprite.name = `${dynamic ? "d" : "s"}_${type}_${libId}`;
    sprite.x = pos[0];
    sprite.y = pos[1];
    sprite.zIndex = sprite.y;
    sprite.anchor.set(0.5, 1);     //  anchor at tree root
    sprite.width = size[0];
    sprite.height = size[1];

    return sprite;
}

Env
"pixi.js": "^5.2.1",
chrome 86
window 10

Top Row

Bottom Row

Your vertical center lines are not straight.

did not notice that line not straight issue.  Thaks @bigtimebuddy .  I made this image just for early stage testing, you are right, I should use proper tool for managing these sprites.
I draw these trees in SketchBook, but seems the 90 degree rule is not really making accurate vertical lines (red).  Will avoid using it this way in fureture.

Sounds like we got to the bottom of it! Good luck with your project, those are nice looking trees.
Closing this issue.


Any updates on when React table 7 is going to be released ?

Any updates on when React table 7, stable version is going to be released ?

We uses version 7 beta 0 and spent hours debugging selection issues, when we found out that the kitchenzink eksample uses the next version which includes features and changes which is as far as we know not released yet. We would really love to get a release of v7 soon since we are using it in af project with a deadline in the near future. Thanx for really great library!

We uses version 7 beta 0 and spent hours debugging selection issues, when we found out that the kitchenzink eksample uses the next version which includes features and changes which is as far as we know not released yet. We would really love to get a release of v7 soon since we are using it in af project with a deadline in the near future. Thanx for really great library!

Same here

I’ll be home from my holiday tomorrow with more info.
Tanner Linsley
On Oct 27, 2019, 3:34 PM +0100, Manobala S<EMAIL_ADDRESS>wrote:

We uses version 7 beta 0 and spent hours debugging selection issues, when we found out that the kitchenzink eksample uses the next version which includes features and changes which is as far as we know not released yet. We would really love to get a release of v7 soon since we are using it in af project with a deadline in the near future. Thanx for really great library!
Same here
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry to bump this, but I'm trying to decide whether to build on v6 or v7 right now, and it looks like the early v7 releases may not be ready.
@tannerlinsley would you have any update on this? Also, thank you for such a great library, and giving so much of your time to this project :)

Trying to get it released as stable by the end of November.

Great, thanks @tannerlinsley

Thanks @tannerlinsley Is it possible to release a beta version or release candidate in the near future? We would like to lock our build to a version instead of next which may break the functionality tested by our client anytime.


Unable to import requests

Hi on Travis our bot is unable to import requests 2.5.3 properly on Python 2.7 and 2.6:
  File "/home/travis/build/wikimedia/pywikibot-core/.eggs/flickrapi-2.0-py2.7.egg/flickrapi/__init__.py", line 52, in <module>
  File "/home/travis/build/wikimedia/pywikibot-core/.eggs/flickrapi-2.0-py2.7.egg/flickrapi/core.py", line 13, in <module>
  File "/home/travis/build/wikimedia/pywikibot-core/.eggs/flickrapi-2.0-py2.7.egg/flickrapi/tokencache.py", line 10, in <module>
  File "/home/travis/build/wikimedia/pywikibot-core/.eggs/flickrapi-2.0-py2.7.egg/flickrapi/auth.py", line 23, in <module>
  File "build/bdist.linux-x86_64/egg/requests_toolbelt/__init__.py", line 19, in <module>
  File "build/bdist.linux-x86_64/egg/requests_toolbelt/adapters/__init__.py", line 12, in <module>
  File "build/bdist.linux-x86_64/egg/requests_toolbelt/adapters/ssl.py", line 12, in <module>
    SSLError -- exception raised for I/O errors
  File "/home/travis/build/wikimedia/pywikibot-core/.eggs/requests-2.5.3-py2.7.egg/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/tmp/easy_install-uogHkP/requests-2.5.3/requests/packages/__init__.py", line 49, in load_module

It seems that this only happened recently. This run worked fine with 2.5.1.
Locally I could install flickapi (2.0) and requests (2.5.3) and import them without problems on Python 2.7.8.

Thanks for the report!
This is a known regression in 2.5.2 and 2.5.3, with a fix being tracked under #2466.


I updated, and my styles broke

I tried reinstalling, and refreshing browser, a new browser

What version of cPanel are you using? Are you using the x3 theme or the paper_lantern theme?
I've had similar issues in the past when I used the x3 theme.

the latest cpanel ,  WHM 58.0 (build 24)
that was paper_lantern above, x3 gives a blank screen, only the copyright line survives

Did you try going to the directory where you installed it using SSH and running
git pull and then ./upgrade.sh ?

tried both
git pull  then ./upgrade.sh
and
git pull  then ./uninstall.sh then ./install.sh  (commands from memory)
and between retries, logged out from cpanel.
On Mon, Aug 29, 2016 at 1:56 AM, Michel Descoteaux<EMAIL_ADDRESS>
wrote:

Did you try going to the directory where you installed it using SSH and
running
git pull and then ./upgrade.sh ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Prajithp/letsencrypt-cpanel/issues/84#issuecomment-242982225,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOUVYF9G9AjwJdRmJ6vVFQclIrCe9KIzks5qka-_gaJpZM4JuoCM
.

Are there any errors in the console when you do "Inspect Element" on the page with the broken styles?

Same error here i use cpanel 56.0.33
this error apear after upgrade

I think i found the cause. As MouseEatsCat mentioned, it is issue related to the cPanel style.
In cPanel go to Preferences > Change Style and switch from retro to the basic
In WHM go to Home > cPanel > Customization [Documentation] and select Basic style instead of Retro
Someone prefer retro style as me. Can developers enhance letsencrypt-cpanel to allow retro style set please?

confirmed - works for 'paper lantern' 'basic' style - the retro style has
css problems
now I'll try to work out how to change everyone's style to basic
On Wed, Nov 16, 2016 at 7:35 PM, slrslr<EMAIL_ADDRESS>wrote:

I think i found the cause. As MouseEatsCat mentioned, it is issue related
to the cPanel style.
In cPanel go to Preferences > Change Style and switch from retro to the
basic
In WHM go to Home > cPanel > Customization [Documentation] and select
Basic style instead of Retro
Someone prefer retro style as me. Can developers enhance
letsencrypt-cpanel to allow retro style set please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Prajithp/letsencrypt-cpanel/issues/84#issuecomment-260885401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOUVYE8ZgoJSaNat-xY-xt__ifR1oQYHks5q-sBagaJpZM4JuoCM
.


User can't copy/cut and paste part of structure or structure with SRU-polymer S-Group.

Preconditions:

Chain structure with head-to-head and either unknown patterns of SRU-polymer S-Groups is already created.

Steps to Reproduce:

With "Selection" tool select whole structure.
Press ctrl+C and then ctrl+v.
With "Selection" tool select part of structure with SRU-polymer S-Group.
Press ctrl+x.
Press crtl+v.

Expected Result:
p.2 - Whole structure is pasted and shows on canvas.
p.4 - Part of structure with SRU-polymer is cutted, p.5 - cut out part of structure is pasted and shows on canvas separately.
Actual Result:
Structures with SRU-polymers are not copied and cut out. User can't save it to the clipboard and then paste it.

Cannot reproduce any more

Issue is verified and closed. Now when User try to copy or cut incorrect Structure with SRU-polymer group at the end of Structure - warning message appears.


Clearer semantics for idleTimeout on server

What should an idle timeout on the server do?

Is it only when a request is active?

When is a request "active"?  Once the request line is received?
Should we write anything if we timeout waiting for a request line?

A 408?

On initial connection, or on all subsequent connections?

Should we write anything if a request is active?

Could be a 408, if we're stuck waiting on more body.
Could be a 503, if we're stuck processing.
But how can we tell?  This is more complicated than the server.

Or is it how long we should keep a persistent connection?  This is the current.

If so, our default is probably way too short.
If not, should that be a new setting, or should we rely on channel options?
All the same questions about what to write apply.

Discuss.

As far as i know timeout for idle connection in Play Framework is something around 2 minutes. Maybe change of the default value will be sufficient.

I have seen a bunch of
ondorAppServer 2018-11-14 23:27:39 ERROR [stargazer-service-system-akka.actor.default-dispatcher-8] [akka.actor.ActorSystemImpl(stargazer-service-system)] [Slf4jLogger.scala:69] - Error during processing
of request: 'This stage 'IdleTimeoutStage' isn't connected!'. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler.          gondorAppServer java.lang.Exception: This stage 'IdleTimeoutStage' isn't connected!
gondorAppServer         at org.http4s.blaze.pipeline.Tail._stageDisconnected(Stages.scala:218)
gondorAppServer         at org.http4s.blaze.pipeline.Tail.channelRead(Stages.scala:90)                                                                                gondorAppServer         at org.http4s.blaze.pipeline.Tail.channelRead$(Stages.scala:85)
gondorAppServer         at org.http4s.blazecore.IdleTimeoutStage.channelRead(IdleTimeoutStage.scala:12)                                                                                gondorAppServer         at org.http4s.blazecore.IdleTimeoutStage.readRequest(IdleTimeoutStage.scala:35)
gondorAppServer         at org.http4s.blaze.pipeline.Tail.channelRead(Stages.scala:88)                                                                                gondorAppServer         at org.http4s.blaze.pipeline.Tail.channelRead$(Stages.scala:85)
gondorAppServer         at org.http4s.blazecore.ResponseHeaderTimeoutStage.channelRead(ResponseHeaderTimeoutStage.scala:13)
gondorAppServer         at org.http4s.blazecore.ResponseHeaderTimeoutStage.readRequest(ResponseHeaderTimeoutStage.scala:35)

and the request actually fails with 500. Not sure if it is intended

No, this was reported on Gitter as well.  This looks like a regression in M3.

Yeah, I'm seeing it too in M3

This ticket is about the server.  Please open this as a separate bug to track.


[Value Card] Need a way to provide custom formatting of the value

Describe the bug
The value card today just renders a number and doesn't allow for custom formatting of that number.
eg, You wan to show a Value Card that is Money?
$12K USD
It would be helpful if in the rendering of the value, IF there is a custom render/formatting function then that is used to do the formatting of the number instead of the default behaviour.  Perhap the custom formatter could get passed a reference to the default formatter so that the customer formatter can call it, and then add in any additional formatting.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update output.md

Use output.path in example instead of output.output.

thanks! I was just going through and adding my name to the contrib table and saw that. my apologies.

No probs. Feel free to PR more.


Reference Cache

Problem
If I switch the reference cache off, anytime I try to get the reference variables it returns empty. Is this a bug or should I be doing something else extra in order to not have reference cache. i.e. I want everytime I get the references it to get them live from the db again.
Info:
Platform: Android
builder.setEntityCache(new EntityCacheBuilder(model)
                            .useReferenceCache(false)
                            .build());

compile 'io.requery:requery:1.0.0-rc2'
compile 'io.requery:requery-android:1.0.0-rc2'
apt 'io.requery:requery-processor:1.0.0-rc2'

By the way, love this library, I think you have done an insanely good job.

Which API are you using to retrieve your entity? From a query or findByKey?

findByKey

If you set logging enabled with databaseSource.setLoggingEnabled(true); what sql gets executed? It should work fine if that entity is actually in the database with that key as your code snippet will cause no caching to be used

I/requery: beforeExecuteQuery select parseId, author, dateLastViewed, dateRemoved, displayName from CGroup where parseId = ?  sql: select parseId, author, dateLastViewed, dateRemoved, displayName from CGroup where parseId = ?
I/requery: afterExecuteQuery

The list which is empty is defined as:
@OneToMany(mappedBy = "cGroup", cascade = {CascadeAction.SAVE})
List<CGroupUser> cGroupUsers;

I believe I have worked out the problem. I was using the variable directly and not calling the getter. I added a convenience method into the Abstract class and just used the variables rather than passing the obj into the method and using the getters.
Sorry to have wasted your time on this. Love the library, thank you for producing this.

Great glad it's working


Updating child iteration end date does not update UI

PS - The date is updated if you refresh the page

The same issue exists with start date as well.

Tracking via https://openshift.io/openshiftio/openshiftio/plan/detail/1545


Is there a reason npmlock2nix is not available in nixpkgs?

Hello,
Thank you for this project its the only one I managed to get to work and I think I tried them all. I use flakes or plain default.nix/shell.nix files and its bit cumbersome to make them runable from outside of flake where I have npmlock2nix overlay it would make things much easier for me if this project was part of nixpkgs. I am thinking about creating PR there so I am curious if theres a reason its not already there.

First of all I am totally new to nix I gave up and picked up like 5 times till I decided to install it everywhere and force myself to use it.
The thing that helped me enormously to get anything done were the flakes finally there was some structure to the chaos.
I found it funny that the only thing that I was able to use was not only experimental but also controversial and I see bit of parallel with your project the only project that you can use to develop not just package your react/vue/angular/svelte app screams at you at every occasion how unstable it is when in fact its only one I find stable :smile: the tests, prepared shell, node_modules copy or link, documentation... really high level of polish :pray: . Next time there's something experimental or unstable in nix community is going to be clear signal for me to use it, but I know that stability != usability :) in your case.
I appreciate your response but I am not sure I entirely get it

That comes down to flakes not really being a top-notch UX IMO. They force thinking about the system attribute

By system attribute you mean x86_64-linux? That also tripped me as a newbie

I also don't want to start dictating a potential ancient nixpkgs version by providing a flake in this repository

How would having flake dictate nixpkgs version? Because there would be flake.lock or is there some other technical reason?

I still hestitate comitting to a flake.nix in this repository as I don't want to support an already broken UX

Understandable.


Fix examples

This PR

Fixes example on the question page that had 3 <h1>'s
Fixes typo on Email addresses hint text
Fixes home page layout

You can preview this change here:
Built with commit 873aff0aeedc0312eb7266720682776c1b2f6260
https://deploy-preview-275--govuk-design-system-preview.netlify.com

@alex-ju Thanks Alex, updated.

Merged, Thanks :)

thanks dave!


Starting to flesh out the building example

Starting to flesh out the building example and some more spelling fixes

mind rebasing this?sorry about that... I completely missed the fact that this was open!

Thanks!!!


SDL issues as of now

Hi Gregg; Ankita here!
I am writing to update you about implementing SDL using AWS services, and proposed changes to SDL.
These are my observations as of October 28.
As I am sure you understand, issues and observation change almost daily as we solve many and encounter more issues customizing SDL.
#0
Background
I am managing three SDL versions:
A  as-is [implemented on AWS/Lambda]
B  to-be [implemented on AWS/Lambda]
C  as-is [implemented on AWS/EC2]
A  implements SDL as it is served by your site.
B  implements a model that is conceptually illustrated here:
https://afdsi.com/sdl/prototype/
C  runs very large @graphs (that take hours to execute) on an AWS/EC2 server.
In order to implement B, we use SDL components to generate different views of structured data.
Version A is seen here:
https://5hw2bg5kz3.execute-api.us-east-1.amazonaws.com/Prod/
Version B is seen here:
https://t8oykz4bta.execute-api.us-east-1.amazonaws.com/Prod
Version C is currently offline (as it is expensive to run).
There are differences, and issues, as discussed below.
#1
File size and graph complexity create problems when using AWS/Lambda.
Google SDTT file size limit is 2.5 MB.
However, SDTT will process significantly complex graphs for a file size < 2.5 MB (graphs that massively denormalize statements declared using @id and that are organized as third normal form - as illustrated in our examples below).
In contrast, there is no (known) limit when running SDL on a dedicated EC2 server (Version C)
We have processed a large file size with 900,000+ triples (statements).
But there are issues when implementing SDL on AWS/Lambda.
I'll simplify the issues here, and we can review detail later.
Version A has 4 components.
Version B has 8 components.
We can run moderately sized graphs on Version A.
Here are two examples:
Data source:
https://afdsi.com/sdl/language/data.json
Lint:
https://5hw2bg5kz3.execute-api.us-east-1.amazonaws.com/Prod/?url=https:%2F%2Fafdsi.com%2Fsdl%2Flanguage%2Fdata.json
Data source:
https://afdsi.com/sdl/organization/data.json
Lint:
https://5hw2bg5kz3.execute-api.us-east-1.amazonaws.com/Prod/?url=https:%2F%2Fafdsi.com%2Fsdl%2Forganization%2Fdata.json
Neither will execute here:
http://linter.structured-data.org/
Both are processed here:
https://search.google.com/structured-data/testing-tool/u/0/
SDTT
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fafdsi.com%2Fsdl%2Flanguage%2Fdata.json
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fafdsi.com%2Fsdl%2Forganization%2Fdata.json
However, none of the above can be processed using Version B (8 components).
This working example is much smaller:
http://linter.structured-data.org/examples/schema.org/Book-CreativeWork-accessibilityFeature-accessibilityHazard-accessibilityControl-accessibilityAPI-226-jsonld.html
Anything much bigger will fail (Null result)
Bottom line:
File size and graph complexity create problems when using AWS/Lambda
Issue:
Running SDL on AWS/Lambda is low cost but dependent on the features planned for Version B.
Running SDL Version B on the appropriate AWS/EC2 server is expensive but (nearly) limitless.
How to prepare the market for a bifurcated solution?
#2
We generate a visual graph from RDF and store the image in a /tmp folder.
The intention is to display the visual in a grid cell (see below).
AWS/Lambda will write to a /tmp folder.
However, as far as we know, SDL does not support access to (construct the route to) a /tmp folder.
Issue:
How to systematically access and display images from a /tmp folder?
We have a workaround, as you see in the example.
But we're concerned that tmp files will be over-written when multiple users run SDL at the same time or near time.
We're uncertain how to deal with semi-persistent data.
#3
If API fails to return a graph, AWS/Lambda returns an error "Broken Pipe"
Issue:
How to implement exception handling for API responses?
#4
Build a dialog box for clicking a grid-cell as shown in https://afdsi.com/sdl/prototype/
Issue:
Need to build a preview, fitting a grid cell, that opens full screen in a light-box.
#5
How to create a hierarchy of linked tags for display in a dendrogram-like tree?
Issue:
The hierarchy should be presented in an accordion.
#6
SDTT enables debugging using two screens: source (left) and errors (right).
Errors in source are highlighted.
User can repair source errors and rerun SDTT.
Issue:
Is a practical variation possible with SDL?
#7
SDL footprint.
We may achieve better AWS/Lambda operation and performance if we can reduce the size of SDL.
Issue:
Are there configurations (flavors) of SDL that we can build for different services?
For example, can we configure (and explain in documentation):
SDL Lite
SDL Standard
SDL Full
Those configurations might be associated with a free tier (AWS/Lambda); and then reasonable pricing for linting on larger servers.
#8
Import new schema.org and other ontologies (e.g. SKOS)
We need to update SDL at the same frequency as schema.org is released.
We also would like to integrate other ontologies for validation, such as SKOS.
We think, but are not certain, that an ontology @import will produce better results than initalizing @context with links to other vocabularies.
Like schema.org, SKOS has a grammar that needs to be enforced in a linter/validator.
If our assumption is correct, we need documentation about how to systematically import other ontologies.
Such a feature would significantly differentiate SDL from SDTT, and would be a valuable service to the RDF community.
#9
SDL integrates a reasoner.
https://rubygems.org/gems/rdf-reasoner
It might be useful to display "reasoned recommendations".
In other words, if reasoning returns a recommendation from a linting-session, how to present the recommendation to the user?
A user may accept the reasoning (i.e. the addition of missing information based on related analysis) and add the missing information to the graph.
Or not - ignore the advice as they also might ignore SDL error messages.
Issue:
How to display reasoning?
How to integrate reasoned recommendations with a non-persistent SDL file, and then re-lint?
#10
We suspect that you may have a TODO list.
And, like Jarno, other users over time also may have suggested improvements to SDL.
We'd like to build one list to have a better long term SDL vision and plan.
For discussion
Ankita Dhandha

#1
File size and graph complexity create problems when using AWS/Lambda.
Bottom line:
File size and graph complexity create problems when using AWS/Lambda

One thing to experiment with would be to use jsonld.js on the client to parse embedded JSON-LD, and pass n-quads output to the server (using the toRdf method), which would offload quite a bit of the processing burden, but wouldn't help with RDFa or Microdata, but you could detect this on the client.

Issue:
Running SDL on AWS/Lambda is low cost but dependent on the features planned for Version B.
Running SDL Version B on the appropriate AWS/EC2 server is expensive but (nearly) limitless.
How to prepare the market for a bifurcated solution?

Perhaps a model similar to travis-ci.org vs travis-ci.com, where the .com version is commercial typically requiring a paid license, and the .org version is free for non-commercial use, but has some limitations.

#2
We generate a visual graph from RDF and store the image in a /tmp folder.
The intention is to display the visual in a grid cell (see below).
AWS/Lambda will write to a /tmp folder.
However, as far as we know, SDL does not support access to (construct the route to) a /tmp folder.
Issue:
How to systematically access and display images from a /tmp folder?

You might use a cookie with a UUID, which can be used for naming temporary files, although you'll need to garbage collect this after the session ends, or based on last-accessed-time if you think the graph might be shared outside of the linter.

We have a workaround, as you see in the example.
But we're concerned that tmp files will be over-written when multiple users run SDL at the same time or near time.
We're uncertain how to deal with semi-persistent data.

Another idea would be to name the temporary file based on a hash of the input graph; RDF::Statement supports a #hash method that might work for this. You can use repo.statements.hash, which should do the trick, but we should change to use the rdf-ordered-repo, instead of RDF::Repository, which will give more predictable results. That would be a simple change to the linter.

#3
If API fails to return a graph, AWS/Lambda returns an error "Broken Pipe"
Issue:
How to implement exception handling for API responses?

If the event loop is separate for accessing the graph, perhaps you could detected a failed promise and give the user an option to re-try.

#4
Build a dialog box for clicking a grid-cell as shown in https://afdsi.com/sdl/prototype/
Issue:
Need to build a preview, fitting a grid cell, that opens full screen in a light-box.

I think you should be able to do this entirely client-side.

#5
How to create a hierarchy of linked tags for display in a dendrogram-like tree?
Issue:
The hierarchy should be presented in an accordion.

👍

#6
SDTT enables debugging using two screens: source (left) and errors (right).
Errors in source are highlighted.
User can repair source errors and rerun SDTT.
Issue:
Is a practical variation possible with SDL?

Highlighting errors in source is hard, particularly due to the fact that the JSON-LD processor does not retain line-numbers. Presumably, a version could do this, if a JSON parser retained the information somehow, but otherwise a difficult problem. I think you can get it from RDFa by using the processor graph, but not Microdata.
However, the JSON-LD Playground is able to do this (for JSON-LD), which may be another argument for offloading the JSON-LD parsing to jsonld.js. You could adopt large parts of the JSON-LD Playground, for which there should be no problem in sharing. (See https://github.com/json-ld/json-ld.org/tree/master/playground).

#7
SDL footprint.
We may achieve better AWS/Lambda operation and performance if we can reduce the size of SDL.
Issue:
Are there configurations (flavors) of SDL that we can build for different services?
For example, can we configure (and explain in documentation):
SDL Lite
SDL Standard
SDL Full
Those configurations might be associated with a free tier (AWS/Lambda); and then reasonable pricing for linting on larger servers.

The SDL Gemfile pulls in a number of parsers, and you could simplify by using only those required. If you decide to offload JSON-LD parsing to the client, and sent N-Quads to the server, then you wouldn't need any other parsers, as the N-Quads parser is implemented in the RDF gem.
Also, the rdf-vocab vocabulary not only includes a large number of vocabularies, but fields and documentation that aren't too useful in the linter itself (although, using some vocabulary information for display might be useful). With some updates, we could create a different serialization of those vocabularies that was slimmer.

#8
Import new schema.org and other ontologies (e.g. SKOS)
We need to update SDL at the same frequency as schema.org is released.
We also would like to integrate other ontologies for validation, such as SKOS.
We think, but are not certain, that an ontology @import will produce better results than initalizing @context with links to other vocabularies.
Like schema.org, SKOS has a grammar that needs to be enforced in a linter/validator.
If our assumption is correct, we need documentation about how to systematically import other ontologies.
Such a feature would significantly differentiate SDL from SDTT, and would be a valuable service to the RDF community.

The OWL/RDFS versions of the vocabularies are necessary for semantic reasoning, which is where the power of the SDL to display domain/range errors comes from, and to identify inferred triples. rdf-vocab has many vocabularies, and could certainly have more, but at an increasing runtime cost, and image size. Again, this could be simplified. This does include SKOS, but you may want some SKOS reasoning to be added to the rdf-reasoner gem.
Adding new ontologies/vocabularies to the rdf-vocab gem is straightforward: basically, add them to lib/rdf/vocab.rb and run the rake task. This could certainly be automated using a Github action.

#9
SDL integrates a reasoner.
https://rubygems.org/gems/rdf-reasoner
It might be useful to display "reasoned recommendations".
In other words, if reasoning returns a recommendation from a linting-session, how to present the recommendation to the user?
A user may accept the reasoning (i.e. the addition of missing information based on related analysis) and add the missing information to the graph.
Or not - ignore the advice as they also might ignore SDL error messages.

The reasoning information is currently returned as part of the JSON sent back to the SDL client; I don't recall off the top of my head if the syntax issues are returned the same way, but it should be easy to identify (or could be made to be) in the JSON.

Issue:
How to display reasoning?
How to integrate reasoned recommendations with a non-persistent SDL file, and then re-lint?

Triples implied  by the reasoner are tagged with an implied property, which could be accessed while creating the grid view to trigger display classes.

#10
We suspect that you may have a TODO list.
And, like Jarno, other users over time also may have suggested improvements to SDL.
We'd like to build one list to have a better long term SDL vision and plan.

I would like to see the core logic remain in https://github.com/structured-data/linter and manned using its issue list; this has proven to be an effective mechanism for driving change.
One thing I've mentioned is to integrate web components, so that the linter parses the expanded DOM. This could be easier to do if done client-side, so exploring a client-side parser seems like a good solution to many problems.


Geometry Collection rendering

Are there any plans on supporting rendering of GeometryCollections? As of now it does not support geometry collections. Correct me if I am wrong.

@CodeKunai currently the MVT Specification does not support rendering geometry collections so tegola has no intent to support them unless the spec changes. Here are the geometry types the MVT spec currently supports.
There is a work arounds you can consider. Check out the PostGIS function ST_CollectionExtract. You could then create three provider layers, one for each type extracted from the Geometry Collection. You would then be able to style points, line strings and polygons independently.

I'm going to close this now as we don't have plans to fix this unless the MVT spec introduces support for it.


DriverUpdate - No "Install-Drivers.txt" in logs directory after execution

During the task sequence, this is executed "... | Out-File -FilePath (Join-Path -Path C:\WINDOWS\CCM\Logs*SMSTSLog* -ChildPath 'Install-Drivers.txt') -Force"
After the task sequence the SMSTSLog directory gets deleted and that "Install-Drivers.txt" is also gone.

I edited line 2066 and changed the extension from '.txt' to '.log'. Now that file gets moved to the logs directory after the SMSTSlog directory is deleted.


[BUG] PortalDomainName not used?

Describe the bug
The create resource template has an option PortalDomainName, which, according to documentation "The domain name in Amazon Route 53 for the account.". However, it appears that the provided value for PortalDomainName is not used anywhere
Steps to reproduce
Steps to reproduce the behavior:

Supply a domain name for the parameter PortalDomainName during the creation of external resource
Deploy RES with all default settings.

Expected behavior

use customized domain name for website URL
Use customized domain for other URLs, such as Domain URL in the identity Provider tab of Environment Settings.

Actual behavior

The default URL to access the website is still under elb.amazonaws.com,
the Custom DNS Name in the External Load Balancer tab of Environment Management is still empty.

Additional question
Is it recommended to manually change these values from dynamoDB, since the UI does not support such operations?

The parameter is only used for certification creation, and not passed for the deployment step.


refactor: "/" renders "Home" when logged in

Current behavior

"/" (root page) renders components of "/Home" when logged in otherwise it renders "Homepage" component.
"Logout" button now redirects to "/" and it renders original homepage as it should.

Proposed changes

This fixes #198 as the "Homepage" component does not render when user is logged in.

Checks

[x] All commits in this Pull Request are signed and Verified by Github.

closing this as issue is not assigned to you. only work on issue if it is assigned to you.
Regards


Get Jobs query broken

Job Configuration page does not display any jobs.
Broken by this commit https://github.com/bamotav/Hangfire.RecurringJobAdmin/commit/8f46030bfba1e5d57b4ceabaf26c018058db6eb1
file GetJobDispatcher, line 36

Hi @ke-real, I solved this issue, thanks for reporting it, I included this fix to the next release.


shutdown Homebridge after a while

Hi,
i am running the version 4.10.3 an try it also with 4.12 but after a while the homebrigde stopps with the last comment in homebridge.err
[07/03/2020, 19:51:53] [ConfigPi3] RequestError: Error: socket hang up
[07/03/2020, 19:51:53] [ConfigPi3] Caught Unhandled Rejection Error :: Details Below
RequestError: Error: socket hang up
at new RequestError (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/request/request.js:185:22)
at Request.emit (events.js:321:20)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:321:20)
at Socket.socketOnEnd (_http_client.js:463:9)
at Socket.emit (events.js:333:22)
at endReadableNT (_stream_readable.js:1201:12) {
name: 'RequestError',
message: 'Error: socket hang up',
cause: Error: socket hang up
at connResetException (internal/errors.js:609:14)
at Socket.socketOnEnd (_http_client.js:463:23)
at Socket.emit (events.js:333:22)
at endReadableNT (_stream_readable.js:1201:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'ECONNRESET'
},
error: Error: socket hang up
at connResetException (internal/errors.js:609:14)
at Socket.socketOnEnd (_http_client.js:463:23)
at Socket.emit (events.js:333:22)
at endReadableNT (_stream_readable.js:1201:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'ECONNRESET'
},
options: {
qs: { id: '212.45,212.46,212.47,212.48,212.49' },
json: true,
uri: 'http://<IP_ADDRESS>:51826/characteristics',
method: 'GET',
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false
},
response: undefined
}
any idear?
i am not a beginner, but not the best in reading log files .. and understand it :-)

I've updated the hap-client dependency to catch these errors now so it shouldn't crash the UI process when the connections for accessory control disconnect.
Currently in @test and will be live in next weeks release.
See this page for details on how to install test versions: https://github.com/oznu/homebridge-config-ui-x/wiki/How-To-Test-Upcoming-Changes

Thanx - i install it, will test now.
great work!


updating to psc-0.11.1

Tests output:
➜  purescript-js-timers git:(master) ✗ npm test

> @ test /home/suppi/code/purescript/purescript-js-timers
> pulp test

* Building project in /home/suppi/code/purescript/purescript-js-timers
Compiling Test.Main
           Src   Lib   All
Warnings   0     0     0
Errors     0     0     0
* Build successful.
* Running tests...
timeout increment counter
timeout check counter
check timeout never ran
interval increment counter
interval increment counter
interval increment counter
interval increment counter
interval check counter
check interval has stopped
* Tests OK.

Thanks!

Oops sorry, missed this one. Thanks though!

No worries :)


Add ability to add comments through the sym file

I'm working on a large disassembly project and I'd like to be able to share it and add comments, but I can't include the disassembled binary with anything I share for licensing reasons. This branch adds the ability to insert comments into the assembly file via specially formatted comments in the symbol file.
There are some restrictions. You currently can't put comments before labels, only after. You cannot put comments at the end of lines. If a comment is in the middle of data or an instruction, the comment is just placed before the line instead of breaking anything up.
This was the simplest solution I could find. Please let me know if you'd like me to change how comments are added, if you'd like this change at all.

Hey, sorry just saw this PR! I think it would be great to include the abililty to add comments to the disassembly.
Do you have any ideas how we might support comments being (optionally) placed before labels, and at the end of lines?
Also I'm not sure if your current PR includes it, but it would be good to be able to support multiline comments, and have the option for a comment to be indented to align with source code.

Do you have any ideas how we might support comments being (optionally) placed before labels, and at the end of lines?

Maybe options could go before the address?
;; opt1,opt2 02:791a

This is keeping with the options for labels, ex. the options w128,pe4 in .image:500:w128,pe4, but since there's no label to attach the options to, before the address is the only special area where options can be added.
You could also add options right after the address, but this is maybe a little misleading that this has something to do with the address of the comment:
;; 02:791a:opt1,opt2

Let me know which one you like better or if you have another idea.

it would be good to be able to support multiline comments

What is the syntax for multiline comments in this flavor of sym files, or is there one?
Concerning conflicts, I'll fix those up when I get a chance. There's also a bug or two that I've encountered while disassembling.

Hey, on my master branch I now have the ability to overwrite left and right operands using the following format:
;; 00:0000:l_op LEFT_OPERAND
;; 00:0000:r_op RIGHT_OPERAND

Might want to consider future cases like this when thinking about how the syntax is going to work. Maybe something like this will work well:
;; 00:0000:(type):(options) (body)

Examples:
;; 00:0000:comment This is a comment
;; 00:0000 This is a comment (uses default type)
;; 00:0000:comment:before_label This is a comment that goes before the label (has an option)
;; 00:0000::before_label This is a comment before the label (uses default type, has options)

Not sure how to do multi-line comments still.

I think the functionality present as-is is good enough, and is worth merging after rebasing.
Sure, it may be improvable, but such additions can always be merged in a second wave, instead of this never being merged at all ^^

Yeah, my only concern is merging syntax that later has to be changed. It seems like it's good though so if @mattcurrie is happy I can fix conflicts and it should be good to merge.


[stable/elastic-stack] pod elasticsearch-data-0 fail to start with Exec lifecycle hook ([/bin/bash /post-start-hook.sh])

Version of Helm and Kubernetes:
K8s version - {Major:"1", Minor:"11+", GitVersion:"v1.11.8-eks-7c34c0", GitCommit:"7c34c0d2f2d0f11f397d55a46945193a0e22d8f3", GitTreeState:"clean", BuildDate:"2019-03-01T22:49:39Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
Which chart:
[elastic-stack]
What happened:
the pod - fail with the following error:

Exec lifecycle hook ([/bin/bash /post-start-hook.sh]) for Container "elasticsearch" in Pod "efk-elasticsearch-data-0_default(8784be5c-4fa0-11e9-a453-06baf87ff184)" failed - error: command '/bin/bash /post-start-hook.sh' exited with 137: , message: ""

and when I check the pod log - I see the following :

[2019-03-26T08:31:36,383][INFO ][o.e.b.BootstrapChecks    ] [efk-elasticsearch-data-0] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max file descriptors [8192] for elasticsearch process is too low, increase to at least [65536]

This issue is very valid


Impossible to compile on OSX

Hello,
electrify was working great so far. Currently I'm having some issues to compile for OSX. Other platforms run just fine. But in OSX it took 2 hours but didn't pass the line:

bundling meteor

so I cut it off.
Could you please have a look at this ?
Thanks

That was a meteor issue, when I run the application once with meteor command before packaging then everything worked as expected.


Unify session receipt types into a single SessionReceipt type

This done by abstracting over segment receipts via the new SegmentReceipt
trait and using the same verify function for both receipt types. Now each
SessionReceipt contains a vector of SegmentReceipt trait objects. This
simplifies the Receipt types to facailitate dev-mode and dogfooding.
This PR switches the default hash function to be poseidon (which is more friendly for recursion).
In the future we need to clean up the verifier so that we can more easily allow usage of different hash functions.

Superseded by #666


[Bug]: eslint test doesn't work when passing transpiler to ts_project

What happened?
We're using ts_project from Aspect's rules_ts, and passing in swc as a transpiler:
ts_project(
    name = name,
    srcs = srcs,
    transpiler = partial.make(
        swc,
        source_maps = "true",
        swcrc = swcrc,
    ),
    source_map = True,
    resolve_json_module = True,
    allow_js = False,
    incremental = True,
    declaration = True,
    tsconfig = tsconfig,
    deps = deps,
    **kwargs
)

Creating a lint target based on this name, results in linting the .js and .js.map files generated by SWC. If instead we pass in the :<name>_transpile target that rules_ts generates for SWC, we get the following error:
ERROR: <snip>/BUILD.bazel:10:26: in _eslint_test rule //foo/bar:baz.lint:
Traceback (most recent call last):
        File "<sandbox>/external/aspect_rules_lint/lint/lint_test.bzl", line 43, column 43, in _test_impl
                for report in src[OutputGroupInfo].rules_lint_report.to_list():
Error: 'OutputGroupInfo' value has no field or method 'rules_lint_report'
Available attributes: _hidden_top_level_INTERNAL_

Version
Development (host) and target OS/architectures:
Output of bazel --version: bazel 6.3.1-0c22e4f
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

rules_lint: 0.6.1
rules_ts: 2.0.1

Language(s) and/or frameworks involved:

Typescript

How to reproduce
No response
Any other information?
No response

Yup, it's a bit confusing, I ran into this too.
The linter will find .ts sources on the ts_project target, but with the transpiler bit, the macro expansion is laid out like so:
https://github.com/aspect-build/rules_ts/blob/main/docs/transpiler.md#macro-expansion
So you want to use the [name]_typecheck rule as the srcs of the eslint_test.

Here's an example: https://github.com/bazelbuild/examples/blob/main/frontend/react/src/BUILD.bazel#L86-L92


Ludown: referencing intents from other files does not include patterns

Tool
Name: ludown
Version: 1.0.36
Describe the bug
When referencing intents from other .lu files like this:
- [my intent](model.lu#AddToDo)
Any patterns using that intent are not included in the resulting .json file after running ludown parse toluis.
They are included when referencing utterances using patterns directly like this:
- add a task to {task}
Expected behavior
When referencing an intent from another file, all utterances should be added to the resulting .json file, including patterns
[bug]

Closing since #752 has been merged to master. I've reached out separately to Lauren to validate that the fix meets her requirements.


🐛 [firebase_auth][web] FirebaseAuth.instance.currentUser returns null for signed user if they refresh from browser or change URL in address bar

Bug report
FirebaseAuth.instance.currentUser returns null for signed user if they refresh from browser or change URL in address bar (e.g. a user changing the URL from example.com/home to example.com/profile in some web-app).
Steps to reproduce
Steps to reproduce the behavior:

Using the sample code below, run it with Flutter's sample app
Click the browser's refresh button or press enter in the address bar
Monitor the print statements:

first build will print (expected):

current user uid from FirebaseAuth.instance.currentUser: null
current user uid from first event of FirebaseAuth.instance.authStateChanges: null

Pressing the browser's refresh button or pressing enter in the address bar (issue):

current user uid from FirebaseAuth.instance.currentUser: null
current user uid from first event of FirebaseAuth.instance.authStateChanges: N7UF4QCVNzXLPLLEBZ9SXkhjsY12

if you do a hot restart, the following should print (no issue):

current user uid from FirebaseAuth.instance.currentUser: N7UF4QCVNzXLPLLEBZ9SXkhjsY12
current user uid from first event of FirebaseAuth.instance.authStateChanges: N7UF4QCVNzXLPLLEBZ9SXkhjsY12

The behavior above happens in both debug mode and release mode.

Expected behavior
FirebaseAuth.instance.currentUser should not return null for a signed user when a page is simply refreshed or if they change the URL to another page within the same web-app.
Minimal Sample Code To Reproduce
The following sample will simply reproduce:
void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await Firebase.initializeApp();

  print('current user uid from FirebaseAuth.instance.currentUser: ${FirebaseAuth.instance.currentUser?.uid}');

  await FirebaseAuth.instance.authStateChanges().first.then((value) {
    print('current user uid from first event of FirebaseAuth.instance.authStateChanges: ${value?.uid}');
  });

  await FirebaseAuth.instance.signInAnonymously();

  runApp(const MyApp());
}

Additional context
This is mainly an issue when the currentUser is needed when building MaterialApp.router to handle redirection properly without losing routing information and to avoid showing a login-page when it's not actually needed.
My current workaround is add the following after initializing the Firebase app:
  await Firebase.initializeApp();
  if (kIsWeb) {
   // This will ensure that FirebaseAuth.instance.currentUser provides the correct user
   // after a refresh event or change of URL.
   // When I timed the following, it takes around ~500-ms on average to complete
   // after a browser refresh event.
    await FirebaseAuth.instance.authStateChanges().first;
  }

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.6.0-12.0.pre.732, on macOS 11.6 20G165 darwin-x64, locale en)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.62.2)
[✓] Connected device (2 available)

! Doctor found issues in 2 categories.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.16.0-14.0.dev
Flutter SDK 2.6.0-12.0.pre.732
firebase_auth_test 1.0.0+1

dependencies:
- cupertino_icons 1.0.4
- firebase_auth 3.2.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.10.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase_auth_platform_interface 6.1.4 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.2.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.1.0 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.2.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- js 0.6.3
- lints 1.0.1
- matcher 0.12.11 [stack_trace]
- meta 1.7.0
- path 1.8.0
- plugin_platform_interface 2.0.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.7 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- vector_math 2.1.1

Hi @osaxma, Thanks for filing the issue. I am able to reproduce the issue.
FirebaseAuth.instance.currentUser is always null.
reproducible with
  firebase_auth: ^3.2.0
  firebase_core: ^1.10.0

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (6 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile)  • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 mini (mobile) • 1FBDAEA9-D062-4831-AFEC-820D955D6D88 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)         • macos                                • darwin-arm64   • macOS 12.0.1 21A559 darwin-arm
    • Chrome (web)            • chrome                               • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

Hey @osaxma, isn't a Flutter web app supposed to be a single page application? i.e. You're supposed to change the views using Flutter API, not by routing using the URL address bar. I don't believe this is an issue with FlutterFire. This is something that you would have to implement. See here

Can you please give us an update on this? I'm running into the same issue and losing the user when refreshing isn't ideal behavior.

Hey @osaxma, isn't a Flutter web app supposed to be a single page application? i.e. You're supposed to change the views using Flutter API, not by routing using the URL address bar. I don't believe this is an issue with FlutterFire. This is something that you would have to implement.
And even when is a different page using GoRouter, AutoRoute or a simple Push on Flutter navigator, if you call the FirebaseAuth.current user is the same behaviour, return null but if you call the current user wait 2 seconds and call again increase the cances to return the correct answer


Add analyzer for missing credentialName on Gateway

Adds an analyzer to detect if a Gateway references a Secret (via Gateway.Server.TLSOptions.credentialName) that doesn't exist in the correct namespace. The expected namespace is the namespace of the pod backing the Gateway, not the namespace of the Gateway CR itself.
This fixes https://github.com/istio/istio/issues/19097
This shares a bit of workaround ugliness with the other Gateway analyzer. We should be able to fix that with https://github.com/istio/istio/issues/19579.

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
b52573ffa9800f6f8a50008723bac1aa07155b2f
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
b52573ffa9800f6f8a50008723bac1aa07155b2f
link
/test lint_istio

unit-tests_istio
707b93e41e3c81cb36b3abd5dc635f792845d449
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test unit-tests_istio

e2e-mixer-no_auth_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test e2e-mixer-no_auth_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio
/test e2e-mixer-no_auth_istio

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-multicluster-e2e_istio

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-multicluster-e2e_istio

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
e0061ba5572d18357355598178b0b4caa23c94f1
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio


PathExcludeReason: Add TEST_OF

In SPDX 2.2 [1] the TEST_OF relationship was
introduced for cases where it's clear something is used
for testing but unclear whether it's code or tools.
Adding TEST_OF in addition to TEST_TOOL_OF so ORT users
have a generic reason for test directories
which may besides tools also contain code.
[1] https://github.com/spdx/spdx-spec/issues/173.
Signed-off-by: Thomas Steenbergen<EMAIL_ADDRESS>

Should we also add TEST_CASE_OF as patch exclude reason or keep things simple?

I'd actually vote for removing the existing TEST_TOOL_OF and only keep TEST_OF (i.e. rename TEST_TOOL_OF to TEST_OF), instead of further separating TEST_OF by keeping TEST_TOOL_OF and also introducing TEST_CASE_OF.

Spoke to @fviernau we prefer to leave TEST_TOOL_OF in there for now and decide at a later point whether to remove or not. When we know more in which direction SPDX goes.


Add support of the XINFO GROUPS and CONSUMERS

This close #1731

I've added some functions for the situation when lag can't be determined referring to redis, please have a look. @torwig @git-hulk

Thank you for your contribution!


Image size

Hi Jean-Francois, I wonder how did you manage to generate those tiny (~20kb) files in your demo.
I compressed CT images using gdcmconv from ~500kb to ~160kb, did you use lossy compression?

Yes and no. I used Lossless streams with 3 embedded lossy quality layers. Initially, only the first low quality layer is downloaded for the entire series to enable fast navigation, but when the user stops for mote than 100 ms on a particular slice, additional layers are progressively downloaded until losslessness is achieved. This update process usually takes about a second even if the "pre-fetching" process isn't completed.
As you noted, the lossless stream is usually about 160kb.

Very interesting, hopefully this can be added to the WADOImageLoader.


Convert Cards to Variants

Variants in Figma

[x] Add documentation link

Ready for review @benkeq
I had to rename all the layer for "Title" in order to have a functional variant. If you can double ckeck if i did it right.

It may be best to take a Teams call to solve this.
Title

I would use Ubuntu Mono Medium outside the component sets (as you have done with Container, Rich media, and Supplemental actions)
I would place the components horizontally instead of vertically. In other component sets we have placed states in the vertical axis, and variants/styles horizontally.
Change "Size" in Title to "Heading size", and reorder the alternatives (H4 on top, H6 on bottom)
Use letter casing for all variants (True, False instead of true, false; Caption instead of caption, and so on)
Remove - from "body-short", and just call it "Body short"
Maybe we need to add more variants to the Title-component set, so that there's all the possible variants?

Rich media

Reorder the alternatives (Leading image first, Middle second, Last third)

Supplemental actions

Rename "Actions" to "Action type"
Two of the Ubuntu labels are called "Icons" when they should be called "Meta"

Ready for review @benkeq
After meeting:

aligned all the variants on 1 line,
named all variants with title,
set 240 px width between each variant

LGTM :)


SPINMINT FOR TESTING; PLEASE IGNORE

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0d7c13f73c67bd53e.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0d7c13f73c67bd53e

Spinmint test server destroyed


from method provided by core::convert::From is not extracted to the same name if it passed as a closure

struct A();

impl From<()> for A {
    fn from(x: ()) -> A {
        A()
    }
}

fn test(x: Option<()>) -> Option<A> {
    match x {
        Some(v) => Some(A::from(v)),
        None => None
    }
}
fn test2(x: Option<()>) -> Option<A> {
    x.map(A::from)
}

Open this code snippet in the playground
In the example above, from of test is extracted as Core.Convert.f_from in f* (which is provided by our Core lib. But in test2 it yields Core.Convert.From.from which we don't have

I think this is https://github.com/hacspec/hax/issues/991

Use the following workaround for now
fn test2(x: Option<()>) -> Option<A> {
    x.map(|v| A::from(v))
}


DMARC checks

        else:
            dmarcRecord['status'] = dmarc['valid']
            searchpct = re.search(regex_pct, dmarc['record'])
            if dmarc['record'].find('p=quarantine')==-1 and dmarc['record'].find('p=reject')==-1:
                dmarcRecord['status'] = False
                dmarcRecord['errors'] = ["dmarc policy should be set to p=quarantine or p=reject for BIMI to work"]
            if searchpct and int(searchpct.group(0).split("=")[1]) != 100:
                dmarcRecord['status'] = False
            dmarcRecord['record'] = dmarc['record']

This section in CheckRecords is subtly wrong, the DMARC record must be enforcing, which means either a p=quarantine with an effective pct=100, or p=reject with any pct= value.
Additionally, I believe there is both a bug and an omission here
if dmarc['record'].find('p=quarantine')==-1 and dmarc['record'].find('p=reject')==-1:
We are not checking subdomain policy as required by the spec, and the find method call will match on those policies, such that a sp=reject policy will be matched by the .find('p=reject') search.
We also assume that records are properly formatted as lowercase, there are some in the wild which are not.
For example, "v=DMARC1; P=none; sp=reject;"
Personally, I dislike using regex to parse records with structure, matches can happen in unexpected places.
I don't see any code to check DMARC at the org domain level, do we do that?

Thanks for the feedback.
Have applied the suggested rules in the latest update. You can check that.


WIP docker: enable darwin support

Motivation for this change
Using docker cli client as a pure dependency on darwin is the starting point for a more pure docker support on this platform. The proposed PR makes docker-engine builds depending on platform. This is not a full docker support for darwin, because running the daemon needs either a virtualbox or xhyve based solution.
The PR is still marked as WIP, because of an ongoing experiment to package zchee/docker-machine-driver-xhyve
Things done

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

[ ] NixOS
[x] 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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

For the heck of it, could you (outside this PR) try Docker v17.11.0-ce-rc4 ?
Might as well make the implementation work with the soon-to-be-released 17.11

@NeQuissimus sure, why not :)

@NeQuissimus The darwin build for v17.11.0-ce-rc4 works fine. However, i do not have access to a hydra for linux builds. I can push a second branch for that.

No, no worries, I just wanted to make sure since I usually only test Docker on Linux when I update

@GrahamcOfBorg docker

@grahamc What happened to the borg here?

I just re-triggered evaluation checking again. Are you wondering about the build results or the eval results?

Docker should not be marked as broken...

It turns out all the errors here are from the same problem. something about this PR makes this happen:

error: Package ‘docker-17.09.0-ce’ in /var/lib/gc-of-borg/.nix-test/mr-est-38dca4e3aa6bca43ea96d2fcc04e8229-31737/pkgs/applications/virtualization/docker/default.nix:190 is not supported on ‘x86_64-linux’, refusing to evaluate.

Oh!
Could we get @GrahamcOfBorg to output this info somehow?

I've been thinking through this a bit. I think yes, I'm a bit worried about sharing secrets about hosts but I think with our Hydra-like safeguards, we should be OK to share them.

@NeQuissimus Packaging docker-machine-xhyve will take me some time. However we can merge this for start to enable using docker cli als buildInput on darwin.

@grahamc Can anybody call for Grahamcofborg to build our PR or maintainers only?

@GrahamcOfBorg build docker

@periklis only about 10 people can call it right now. We're working on making it a wider group though!

Note, though, that it doesn't make sense that Docker is broken on Linux here. Something is wrong with this PR.

@grahamc Sure it doesn't make sense to merge something broken. However, if borg is not giving me an useful error message, could somebody put a simple jobset on hydra to find the issue?

I've posted the error message, and the bot has posted the same error message, also see the "Details" link next to "eval-nixos-options" (this is new as of Yesterday.) Hydra won't tell us more, unfortunately.

@periklis This is literally all we have to go on:
(Docker definitely builds on master, not with this PR; I just tried both)
λ nix-build -A docker --show-trace
error: while evaluating the attribute ‘docker_17_09’ at /home/nequi/dev/nixpkgs/pkgs/applications/virtualization/docker/default.nix:200:3:
while evaluating ‘dockerGen’ at /home/nequi/dev/nixpkgs/pkgs/applications/virtualization/docker/default.nix:11:15, called from /home/nequi/dev/nixpkgs/pkgs/applications/virtualization/docker/default.nix:200:18:
while evaluating ‘mkDerivation’ at /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:15:5, called from /home/nequi/dev/nixpkgs/pkgs/applications/virtualization/docker/default.nix:16:7:
while evaluating ‘addPassthru’ at /home/nequi/dev/nixpkgs/lib/customisation.nix:135:22, called from /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:166:7:
while evaluating anonymous function at /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/check-meta.nix:5:1, called from /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:167:22:
while evaluating ‘throwEvalHelp’ at /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/check-meta.nix:128:19, called from /home/nequi/dev/nixpkgs/pkgs/stdenv/generic/check-meta.nix:194:17:
Package ‘docker-17.09.0-ce’ in /home/nequi/dev/nixpkgs/pkgs/applications/virtualization/docker/default.nix:190 is not supported on ‘x86_64-linux’, refusing to evaluate.

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

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

hopefully that fixed the evaluation. I tested successfully with nix-instantiate -A docker --argstr system 'x86_64-linux' --show-trace on darwin. However, the errors i got were related with the installPhase and not with meta as the borg suggested. It would be nice if the borg used --show-trace by default.

@NeQuissimus Sorry i didn't get the error on the first time and for sure it's not my intention to break our beloved linux users :)

@periklis I am still getting the same error

@GrahamcOfBorg build docker

just for the protocol from the irc, the instantiation of the derivation on x86_64-linux is fine:
nix-instantiate -A docker --show-trace --argstr system 'x86_64-linux'
However, the borg uses the extra option --option restrict-eval true. What is the truth now?

@GrahamcOfBorg build docker

Ah, I missed that! Makes sense now... I think this is good to go then?!

@NeQuissimus yes let's wait for the borg builds and then i'll push the squashed commits with the fixups.

I think everything has been built, no?

was waiting for the eval checks

Is there any documentation that could/should be written for this?

I guess we're not squashing? :D Anyways, things should work fine now

@gilligan it can be used like this: https://pewpewthespells.com/blog/setup_docker_on_mac.html

@periklis that’s not documentation though, that is a link to a blog article talking about homebrew stuff ;)
I was wondering if smth could/should be added to the manual about using this.


Incorrect id and name when using 'Model' subproperty and custom Object template

Issue is caused by MVC5 feature on ExpressionHelper.GetExpressionText, which strips the first part of the expression when equal to 'Model' (case insensitive). This is to support code like this:
@Html.InputFor(p => Model.Name)

When using a custom Object template, the last part of the expression ('Model') is used as first, and the base expression (e.g. 'Bar') is used on ViewData.TemplateInfo.HtmlFieldPrefix and prepended on TemplateInfo.GetFullHtmlFieldName (e.g. 'Bar.Model'). 'Model' is therefore always stripped, even though is the last part of the full name.

Removed MVC5 feature, not used by our extension instructions.


Contract schema URLs are not signed, not HTTP; clarity on Security needs

CREATE SERVICE NotifyService
ON QUEUE NotifyQueue
(
[http://schemas.microsoft.com/SQL/Notifications/PostEventNotification]
);
GO
this succeeds, while
CREATE SERVICE NotifyService
ON QUEUE NotifyQueue
(
[https://schemas.microsoft.com/SQL/Notifications/PostEventNotification]
);
GO
fails.
Security:
CREATE SCHEMA [SqlUser] AUTHORIZATION [SqlUser]
ALTER USER [SqlUser] WITH DEFAULT_SCHEMA = [SqlUser]
GRANT REFERENCES ON CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] TO [SqlUser];
-- for Start()
GRANT CREATE PROCEDURE to [SqlUser];
GRANT CREATE QUEUE to [SqlUser];
GRANT CREATE SERVICE to [SqlUser];
GRANT VIEW DEFINITION TO [SqlUser];

-- for subscribe
GRANT SUBSCRIBE QUERY NOTIFICATIONS TO [SqlUser];
GRANT RECEIVE ON QueryNotificationErrorsQueue TO [SqlUser];

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

Hi @MashaMSFT -- Could you review this proposed update to your article? Thank you!

Hi @Alocyte , thank you so much for improving our documentation! You are correct, it should not be https.
Thanks again and  hope you have a wonderful rest of your day
Masha from the SQL Docs team
#sign-off


Regression: Throws on commas

I recently updated a package from 1.2.0-alpha0032 to 1.2.0-alpha0037. Now I get exceptions when trying to match the pattern VbitResource_ById{,s}, which worked well before. (It's trying to match either VbitResource_ById or VbitResource_ByIds.)

Note that {VbitResource_ById,VbitResource_ByIds} works, if one of the alternatives are empty, it fails.

Seems this was introduced in 1.2.0-alpha0033.


Introduce support for auth_dbname in pgbouncer

PgBouncer has introduced the patch that we submitted some time ago about the auth_dbname:
https://github.com/pgbouncer/pgbouncer/commit/0ba795f063da121ad7aa3d63699058e85fd3c382
The introduction of its support in the operator might simplify the integration with pgbouncer as well as reduce the workload on the reconciler.

@phisco any news? ;)
This could remove tech debt in CNPG.

on it, @gbartolini 😉

So, currently we create a dedicated role, then for all the accessible databases we create the function and grant that role access to it. Are you suggesting we create the role and the function only in an hardcoded database, e.g. postgres, and hardcode the auth_dbname to that? Should we let users set or unset auth_dbname if needed? 🤔 @gbartolini

In my opinion, in our implementation we don't allow any configuration of auth_dbname.

I opted for adding a field AutDBName, setting it results in the automatic configuration not being applied, same as we do for AuthQuery and AuthQuerySecret.


Extra Graph Connector Capacity not visible for me

When trying to follow the steps to buy extra graph connector capacity, under add-ins, the option "Extra graph connector capacity" is not visible to me. I am a tenant admin.
Is the "Extra graph connector capacity" only available under certain conditions? Or is this article outdated?

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

ID: 69c08284-65dd-376f-b48c-1203f536da6b
Version Independent ID: 8b85dbb2-5656-60e1-8baa-567472d8c8d8
Content: License requirements and pricing
Content Source: MicrosoftSearch/licensing.md
Service: mssearch
GitHub Login: @rsamai
Microsoft Alias: rusamai

@frank9843 Which tenant sku (E1, E3, E5, A3, A5) are you trying? Can you please share a screenshot?

Under E3 (which I've since enabled) I can see this option available. I'll email you the screenshot.

@rsamai The email address you provided doesn't exist. Did you make a typo? Emails to this address are bouncing with an "address does not exist" message.

@frank9843  You're right, this is the correct email:
Microsoft Graph Connectors Feedback<EMAIL_ADDRESS>


JS/TS language fetaures not initializing

Type: Bug
open any TS project and the initializer will crash multiple times.
VS Code version: Code 1.74.2 (Universal) (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:26:09.430Z)
OS version: Darwin arm64 21.4.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
6, 5, 4

Memory (System)
16.00GB (0.08GB free)

Process Argv
--crash-reporter-id e4fbdd58-9e86-42a4-98f0-bae51665f3d3

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

Bookmarks
ale
13.3.1

aws-toolkit-vscode
ama
1.62.0

npm-intellisense
chr
1.4.4

gitlens
eam
13.2.0

prettier-vscode
esb
9.10.4

copilot
Git
1.71.8269

vscode-peacock
joh
4.2.2

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.266.1

remote-explorer
ms-
0.2.0

vscode-versionlens
pfl
1.1.1

material-icon-theme
PKi
4.23.1

vscode-thunder-client
ran
2.3.4

vscode-todo-highlight
way
1.0.5

JavaScriptSnippets
xab
1.8.0

(7 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
2e4cg342:30602488
89544117:30613380
pythonsymbol12cf:30657549

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

similr issue https://github.com/microsoft/vscode/issues/173258

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

Yes
On Tue, 7 Feb, 2023, 01:45 Matt Bierner, @.***> wrote:

Does this reproduce in the latest VS Code insiders build
https://code.visualstudio.com/insiders/ with all extensions disabled
https://github.com/microsoft/vscode/wiki/Performance-Issues#run-with-extensions-disabled
?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/173538#issuecomment-1419688466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGV5LL23AW6UQPWG3AKWADWWFLUXANCNFSM6AAAAAAUSQMYSI
.
You are receiving this because you commented.Message ID:
@.***>

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


When loading data from JSON-API, first couple of rows are hidden under navigation bar...

I have changed the provided example to use with storyboards and loading data from JSON-API.
I use storyboards and navigation controller. When I click a row of treeview I open a detail view controller using segue

On viewDidLoad I call the API and I set notifications, observers etc.
When API call is successful a notification handler is triggered that does all the treeview setup (in the provided example this is done in viewDidLoad)
The first time data are loaded but first 1-2 rows of treeview are covered by navigation bar
If I select a row, a detail view controller is openning
Going back to treeview, the first 1-2 rows are not lost anymore! They appear as they should be.

I suspected that this might have to do with wrong timing of calling viewWillAppear. I made several tests on that but without success. Even calling the code inside viewWillAppear directly did not solve the issue.
When came back from detail view controller it appears the viewWillAppear of the treeview is called...

When changing my code to not load data from JSON-API but use inline demo data as in the example, the application works fine.

I just encountered with this issue. It has been a while since you opened the issue but let me explain how i solved this in order to help others who might encounter this.
You must not call setuptreeview function when you get answer from the API. Setup operation must be done in viewDidLoad, you just need to change treeView(treeView: RATreeView, numberOfChildrenOfItem item: AnyObject?) function a bit so that it returns 0 when you are waiting your data from the API. When you get your data, set the data and call treeView.reloadData()


Validation optimized?

Unsure of whether an issue or not, but validation (training with evaluation_strategy) seems to require unproportional amounts of VRAM. I also got this stacktrace which seems to imply converstion to fp32, even though I'm running mixed precision:

~/.local/lib/python3.10/site-packages/accelerate/utils/operations.py in recursively_apply(func, data, test_type, error_on_other_type, *args, **kwargs)
108     """
109     if isinstance(data, (tuple, list)):
--> 110         return honor_type(
111             data,
112             (
~/.local/lib/python3.10/site-packages/accelerate/utils/operations.py in honor_type(obj, generator)
82         return type(obj)(*list(generator))
83     else:
---> 84         return type(obj)(generator)
85
86
~/.local/lib/python3.10/site-packages/accelerate/utils/operations.py in (.0)
111             data,
112             (
--> 113                 recursively_apply(
114                     func, o, *args, test_type=test_type, error_on_other_type=error_on_other_type, **kwargs
115                 )
~/.local/lib/python3.10/site-packages/accelerate/utils/operations.py in recursively_apply(func, data, test_type, error_on_other_type, *args, **kwargs)
127         )
128     elif test_type(data):
--> 129         return func(data, *args, **kwargs)
130     elif error_on_other_type:
131         raise TypeError(
~/.local/lib/python3.10/site-packages/accelerate/utils/operations.py in _convert_to_fp32(tensor)
647
648     def _convert_to_fp32(tensor):
--> 649         return tensor.float()
650
651     def _is_fp16_bf16_tensor(tensor):

@neph1 Validation is optimized. I think casting to float32 is in fact the default - if you set fp16_full_eval = True or bf16_full_eval = True it won't use float32 anymore, but might degrade the eval metrics - See https://huggingface.co/docs/transformers/main_classes/trainer#transformers.Seq2SeqTrainingArguments.bf16_full_eval
Also try to reduce the bsz if packing = False, since padding can cause issues - the default bsz is 8 and ga = 8 for evals:
fp16_full_eval = True,
per_device_eval_batch_size = 2,
eval_accumulation_steps = 4,
evaluation_strategy = "steps",
eval_steps = 1,

This can reduce VRAM and speed things up a lot


:car: added facilities - parking/accessibilty

Added Parking and Facilities section to web site, and supporting unit and integration tests.

:rocket: deployed to http://profiles-pr-74.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-74.dev.c2s.nhschoices.net

Closing as the changes from this PR have been incorporated as part of PR #75


Slow refresh rate of block number

nano_wallet v15.2
Ubuntu 64 18.04
GUI improvement
The block count is updated every 10s to 3min (very roughly).
Not sure how the tech actually works backstage, but if possible it would look more "satisfying" to have the block count update every 1s (like a transfer in emule or bittorrent).

I noticed that too. Since v15 the block count shown in the wallet is always lagging behind. I have to do a block count via RPC to get the correct number. As soon as you do the block_count command also the GUI updates to the correct number. Was there a change in the refresh rate?

From my personal experience, I have not noticed big differences in refresh rate since v10 or maybe before.

This is true, since I upgraded to Release V15.2, I'm 6000 bloks behind and can't catch the latest block,
Maybe it's somehow connected to the increase of blocks generated last days.

Finally, after the downgrade back to 14.2 I got synced with the latest blocks immediately, be sure it's a bug/technical trait of the Release 15.2.


Sound effects break off and stop working after a while

Are you using the provided fork of Godot?
Yes
Godot-steam-audio version
0.2.2
Steam-Audio version
Included in the version i used
Operating System
Windows 11
Describe the bug
Sound effects break off and stop working after a while. To play some sound effects, I instantiate SteamAudioPlayer with parameters at a specified position and remove it after 5 seconds once playback finishes.
Here's a video:
https://github.com/user-attachments/assets/7f42bd76-e2ca-4baf-9e7e-5cda7dce653b
I suppose i could do something wrong here.
Expected behavior
To hear sound effects completely.
Example project, code snippet, or screenshots
## Play a sound at a given position
func play_sound(position: Vector3, sound: AudioStream, volume: float = 1.0, pitch: float = 1.0) -> SteamAudioPlayer:
	var sound_player = SteamAudioPlayer.new();

	get_tree().get_current_scene().add_child(sound_player);

	sound_player.global_transform.origin = position;
	sound_player.attenuation_model = 3;
	sound_player.distance_attenuation = true;
	sound_player.min_attenuation_distance = 0.0;
	sound_player.max_distance = 20.0;
	sound_player.reflection = true;
	sound_player.play_stream(sound, 0.0, linear_to_db(volume), pitch);

	sound_player.finished.connect(func():
		get_tree().create_timer(5.0).timeout.connect(func():
			sound_player.stop();
			sound_player.queue_free();
		);
	);

	return sound_player;

P.S. Thank you for this addon.

Hi, so it seems like each footstep is cutting off before the sound is done, right? Does the same not happen a regular AudioStreamPlayer3D? Your code looks reasonable at a glance but this kind of issue seems like it would happen in both cases.
BTW, the way I've handled footsteps in my game is for there to be a single player stuck to the player's feet with a single AudioStreamPolyphonic. When you want to play a footstep sound, you just run:
audio_player.get_inner_stream_playback().play_stream(your_footstep_stream)

And you don't have to worry about setting up timers and allocating tons of audio players (sure, doing it like I described means your footsteps are technically moving along with you, but I doubt that anyone will notice).

@stechyo Thank you for answer.

Does the same not happen a regular AudioStreamPlayer3D?
No. With AudioStreamPlayer3D it work as expected. The reason i added the timer it that i thought that effect might break because of instant remove the AudioPlayer before the effect performed completely.

BTW, the way I've handled footsteps in my game is for there to be a single player stuck to the player's feet with a single AudioStreamPolyphonic. When you want to play a footstep sound, you just run:
It makes sense, but i suppose there's no implemented SteamAudioPlayerPolyphonic yet, right? :)

There doesn’t need to be a SteamAudioPlayerPolyphonic. You create a SteamAudioPlayer and assign to it an AudioStreamPolyphonic on the editor, or through code. Then when you want to play the streams you use the code in my example.

There doesn’t need to be a SteamAudioPlayerPolyphonic. You create a SteamAudioPlayer and assign to it an AudioStreamPolyphonic on the editor, or through code. Then when you want to play the streams you use the code in my example.

Got you. Thanks.


Convert button to  with button shapes

Overview
As discussed on slack around 1/03/23, for buttons with routerLink, we should use a <a> tag so that we can the link can be displayed by the browser.
Acceptance criteria

[ ] Transform <button pButton ...  to <a pButton ... everywhere we use a routerLink
[ ] Make sure the styles are not broken

<li> - breadcrumbs.component
<span> - left-nav-tree.component
<button> - neighbor-widget.component
<button> - page-navigator.component
<div> - parent-skills.component
<div> - chapter-children.component
<span> - group-progress-grid.component
<div> - item-children-list.component

Requires to merge PR