Can't use .NET Core compatible task assemblies in Visual Studio

You can build a task DLL that targets the xplat/.NET Core version of MSBuild and use it in command line builds, because we have a broad binding redirect set up.
Visual Studio 2015 (Update 2) has C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config, but that has a much narrower redirect range:
  <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"/>

It should be possible to create a task DLL that works on .NET Core MSBuild, full-framework MSBuild, and in VS.

Team Triage: We'll get this fixed in VS for Update 3 (to include at least 14.1). This isn't a quick fix, but we didn't see anything else that could be done sooner.

It looks like this got fixed in Update 3.  The binding redirects are now:
... oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"...
However, the Dev15 Preview 3 redirect looks like this:
... oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>"
Can we get that fixed as well?
Thanks!

I would expect codeflow from the update 3 branch elsewhere, but it doesn't appear that that's happened yet. Do you think we should do it manually @AndyGerlicher?

I verified that the binding redirects in the latest VS 2017 installation is correct.


Intermittent authentication problems through forest trusts

Version: <IP_ADDRESS>7
OS/Distro: Amazon Linux 2018.x, Red Hat Enterprise Linux 7.x
Issue/Impact:
Hello,
NOTE: This looks like it may be related to https://github.com/BeyondTrust/pbis-open/issues/136 and https://github.com/BeyondTrust/pbis-open/issues/148, please advise if this is the case).
We have a forest trust setup with Domain A and Domain B. Both are separate forests and are forest-root domains.
Domain C is a child domain of Domain B . So Domain B and Domain C have parent-child trusts. Users from Domain C are trying to access resources in Domain A;
The below issues have been observed across multiple separate sets of domains and implementations using the above mentioned operating systems.

Users in domain A and B can access Amazon Linux and Red Hat Enterprise Linux systems running PBISO consistently.
Users in domain C intermittently fail to login, once the failures begin, they will remain constant until the following command is executed on the affected system:

/opt/pbis/bin/enum-groups --level 1

SSH logs under /var/log/secure indicate the user does not exist during the issue e.g.:

Aug 9 15:26:58 ip-x-x-x-x sshd[16327]: Failed keyboard-interactive/pam for invalid user <child_domain>\\<user> from x.x.x.x port 57532 ssh2
Aug 9 15:26:58 ip-x-x-x-x sshd[16327]: Postponed keyboard-interactive for invalid user <child_domain>\\\\<user> from x.x.x.x port 57532 ssh2 [p reauth]

PBIS tools indicate the user does not exist at this time:

$ /opt/pbis/bin/find-user-by-name <child_domain>\\<user> Failed to locate user. Error code 40008 (LW_ERROR_NO_SUCH_USER). No such user

After running enum-groups we can locate the user and SSH access is restored
We’re also seeing an issue with trust users disappearing from the OS whilst logged in e.g. (related?) enum-groups also resolves this:

whoami: cannot find name for user ID <user_id>

lsass debug logs are attached (with private identifiers removed, please let me know if you require any further troubleshooting information and I'd be happy to provide it).
lsass.log
Output/Error:
Failed to locate user. Error code 40008 (LW_ERROR_NO_SUCH_USER). No such user
Steps to Reproduce:

Setup trust as indicated above, issue is intermittent

It's interesting you're getting errors about Domain C being unknown.
20180727142518:DEBUG:lsass:LsaDmpMustFindDomain():lsass/server/auth-providers/ad-open-provider/lsadm.c:1437: Do not know about domain 'DOMAINC'
20180727142518:DEBUG:lsass:LsaDmpQueryDomainInfoInternal():lsass/server/auth-providers/ad-open-provider/lsadm.c:2034: Error code: 40044 (symbol: LW_ERROR_NO_SUCH_DOMAIN)
Do you know if this happens all the time or only during the outages?
Also, approximately how often does this happen?
I'll try setting up a local environment to see if I can reproduce it.
From your description I believe the PBISO workstations are joined to Domain A?

Users in domain C intermittently fail to login

To reproduce this issue I would like to know which domain the system is joined to. Are you joined to A and logging in with a user from C?

Do you have any Sites configured and/or RODCs?

Domain A is an AWS Directory Service running Microsoft AD, this system only supports Default-First-Site-Name so a single site there, and no RODCs. Domain B and C do not use RODCs for the trusts, however they can have additional sites as they usually are a more standard implementation of Microsoft AD.

From your description I believe the PBISO workstations are joined to Domain A?

This is correct.

To reproduce this issue I would like to know which domain the system is joined to. Are you joined to A and logging in with a user from C?

This is correct.

Do you know if this happens all the time or only during the outages?

I'll check this and get back to you, uncertain offhand as we don't have debug logging on by default.

Also, approximately how often does this happen?

Currently 5~ separate implementations that are experiencing this issue on a daily basis.

I've setup my lab to emulate this scenario however I haven't experienced any issues yet.
Does the command "pbis status" return the correct domain trust relationships?
Do you get any domains reporting offline in the output of "pbis status"?

To reply to the request from 4 days ago, i'm attaching a debug log file with redacted domain names.

The domain in the logfiles are
DOMAINA
DOMAINB
DOMAINC
lsass_successful.log

It looks like you're still getting errors resolving domainc.
Could you try running get-dc-list for your domains to confirm PBIS can find the DCs?
e.g.
/opt/pbis/bin/get-dc-list domainc.domainb.net

Sorry I forgot to specify, the log is from a Successful login from a user in the DOMAINC to a machine joined to DOMAINA

[DOMAINA\user@ngyzyjizzgrmy2u ~]$ /opt/pbis/bin/get-dc-list domainc.domainb.net
Got 25 DCs:
DC 1: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 2: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 3: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 4: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 5: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 6: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 7: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 8: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 9: Name = 'DCX.domainc.domainb.net', Address = 'x.x.x.x'
DC 10: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 11: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 12: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 13: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 14: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 15: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 16: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 17: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 18: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 19: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 20: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 21: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 22: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 23: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 24: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
DC 25: Name = 'DXC.domainc.domainb.net', Address = 'x.x.x.x'
one of these Domain controllers is in /opt/pbis/bin/pbis-status output, under the DOMAINC "Domain Controller (DC) Information"

We have seen these types of issues in cases where there were intermittent DNS issues.

During the outages, does the output of pbis status report any of the domains offline?
During a period where it is working, does the output of pbis status report any of the domains offline?
Can you also confirm that pbis status displays the correct trust relationships?

One of our engineers dug into the log files some more and we believe he may have located the log messages that may help you identify the root cause of your issue.
20180727142756:DEBUG:lsass:AD_DsGetDcName():lsass/server/auth-providers/ad-open-provider/adnetapi.c:1328: Failed to get dc name information for DOMAINC at WIN-12SPMM791Q0.domaina.removed.com (error 1355)
This line indicates we are performing a call to DsrGetDCName (https://msdn.microsoft.com/en-us/library/cc237231.aspx) to your DC WIN-12SPMM791Q0.domaina.removed.com.
According to the log, this is resulting in a 1355 return code:
ERROR_NO_SUCH_DOMAIN

1355 (0x54B)

The specified domain either does not exist or could not be contacted.

This is what results in us marking DOMAINC as being unavailable.
This makes us believe your Domain Controller in DomainA may be having intermittent DNS issues locating trusted domain DOMAINC.

Thanks for the input, we're investigating this avenue (first checking connectivity to all of DCs, perhaps some of them are not contactable from this segment of the network) and will post back here.

Hello all,
Concerning authentication across trusted domain
We have 2 domains one for servers and one for users and a trusted one way relation is established between the 2 forests.
My question!
To make my authentication working does the client must access directly  to the users domain or it can connect over the trusted link?
How firewalls have to be configured about client access.
Our configuration work now only if ports are opened from client to users domain and to servers domain too.
When we closed ports from client to users domain only cached local users can connect
Thank you for your help!

We would need a lot more information about your setup. In general this should work as long as the computer can resolve anything it needs.


feature: Added Splat.Ninject

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds a Ninject Splat Adapter
What is the current behavior? (You can also link to an open issue here)
There is no Ninject Adapter
What is the new behavior (if this is a feature change)?
There is a Ninject Adapter
What might this PR break?
Nothing
Please check if the PR fulfills these requirements

[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

@glennawatson The build is failing on the server, but not when I run it locally using .\build.ps1 thoughts?


add runTransactionAsync method

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

[ ] Tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

kindly ask how to retry transaction.commit() and transaction.rollback()?

@JustinBeckwith

@crwilcox sorry about this, need a rebase on this one


UI tweak: document page, vertically align "Advanced Search" and "Back to search results" buttons on right with "Search" and "Clear" buttons on left

UI tweak: document page, vertically align "Advanced Search" and "Back to search results" buttons on right with "Search" and "Clear" buttons on left

Ignore the above request.


Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)
Vulnerable module: highcharts
Introduced through<EMAIL_ADDRESS>Introduced through<EMAIL_ADDRESS>›<EMAIL_ADDRESS>Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This can cause an impact of about 10 seconds matching time for data 200K characters long.
Analysis by: https://snyk.io/test/github/kirjs/react-highcharts?severity=high&severity=medium&severity=low

Het @madnight thanks for reporting, looks like this is coming from the latest version of highcharts, have you tried reporting it there?


MINOR: Remove accidental unnecessary code in src

I ran IntelliJ IDEA's Code Inspection and corrected occurrences of the following:

https://www.jetbrains.com/help/idea/list-of-java-inspections.html#inheritance-issues (method is identical to its super method)
https://www.jetbrains.com/help/idea/list-of-java-inspections.html#imports (unused import)

It is safe to remove said methods because they are already defined upward in the hierarchy chain.

Hello @mimaison, would you have the time to review this?

I checked the clients and connect changes and they look good. I think some of the streams changes could be debatable (not sure if they want to keep some of the comments) so I'll let someone working on streams review them. @ableegoldman @guozhangwang can you take a look?

Thanks for the updates!
There's a spotbugs failure:
Bug type EQ_DOESNT_OVERRIDE_EQUALS
In class org.apache.kafka.connect.runtime.InternalSinkRecord

EQ_DOESNT_OVERRIDE_EQUALS: Class doesn't override equals in superclass

This class extends a class that defines an equals method and adds fields, but doesn't define an equals method itself. Thus, equality on instances of this class will ignore the identity of the subclass and the added fields. Be sure this is what is intended, and that you don't need to override the equals method. Even if you don't need to override the equals method, consider overriding it anyway to document the fact that the equals method for the subclass just return the result of invoking super.equals(o).

Great, thank you, I will address this!


i2s: Add ALC5640 topology

Supports rt5640 codec device in I2S mode. Features two formats: 16/16/48000/2 and 24/32/48000/2.

Fixed gateway configuration for 16/16/48000/2 case - 32 bit container shall be used when GPDMAs are utilized. So, we end up with 16/16 on FE and 16/32 on BE.

Update v3:

dropped S24_LE format just like it's the case for all other boards. Instead, S32_LE is exposed and SigBits are set to 24


Split bundle data extraction from UI code

The goal of this PR is to split the UI code into a separate package that can be leveraged by the current webpack-bundle-analyzer code.
See #32 for more reasoning

So far I have moved files around src/ directory so that I could get a better focus on what files require each other. I hope that these file locations were internal to this module and weren't part of the public API.
Each commit up to this point has passed tests, which can be seen from https://travis-ci.org/valscion/webpack-bundle-analyzer/builds, too
I was wondering, why do some files require other modules via the lib/ build directory? I understand why the tests might want to do that, but not why the source files do that.
I'll change all the non-test requires to point to files inside src directory. It should be easy-ish to revert, if there is a good reason to still require from lib.

I've first had to refactor the current code to get it to a state where I feel more confident in splitting out distinct parts. I try to keep the steps small so that following along one commit a time should make for a pleasant review experience.
Please let me know if you have trouble understanding anything I've done. I'm so far targeting to create breathing room for the separation, and I'm not yet 100% sure what the code will look like once I'm done.

At this point in the refactoring, I'm starting to miss the lovely flow types as all the various option parameter defaults and plumbing is starting to get confusing again.
What is your stance on static typing, @th0r? Would you be fine if I'd introduce some gradual typing to the webpack-bundle-analyzer codebase so that touching some function parameters wouldn't so easily break accidentally?

Huh? Why did the 640098b commit build pass? https://travis-ci.org/th0r/webpack-bundle-analyzer/builds/194015131
It should've been broken! It referenced a file that got moved to a different folder:
// test/viewer/parseUtils.js
const { parseBundle } = require('../../lib/viewer/parseUtils');

😕  It should've been this:
const { parseBundle } = require('../../lib/chartData/parseUtils');

Really strange.

What's the reason behind not requiring bundleDir to be always present, but having this check in src/viewer.js?
      if (!path.isAbsolute(reportFilepath)) {
        reportFilepath = path.resolve(bundleDir || process.cwd(), reportFilepath);
      }

I see you also check for its presence in src/analyzer.js module's getViewerData function:
  // Trying to parse bundle assets and get real module sizes if `bundleDir` is provided
  let parsedModuleSizes = null;
  let bundlesSources = {};
  let parsedModules = {};

  if (bundleDir) {

The process.cwd() defaulting seems to have been first introduced in a commit adding "static report" mode and the protective if(bundleDir) in getViewerData has been there ever since the initial commit.
The bundleDir value can come in via only two ways, that are more easily spotted in this PR:

From the plugin instance  getting it from this.compiler.outputPath
From the CLI arguments or inferring it from the bundle stat file location

It seems like there shouldn't be any scenario where the bundleDir should be null or undefined after these steps. If I haven't misunderstood, the this.compiler.outputPath comes from output.path webpack config value which in turn is required by webpack to work.
So it should be fairly safe to remove the overly protective check from the code. It would make my life a bit easier as I'd have one less thing to worry about :smile:

I went and removed the bundleDir optionality in the last commit. As the indentation changed, it might be best viewed with whitespace turned off using the special ?w=1 query parameter in the URL: https://github.com/th0r/webpack-bundle-analyzer/pull/40/commits/21385bf887d241f110bc73c877d6dcd801345226?w=1

I'll tackle the actual splitting of UI and chart data extraction in a new PR so that we can focus on only the refactoring here. Otherwise this PR risks becoming too big and the review would get waaaaay too cumbersome.
Let me know if you have any questions! I'm very open in discussing any approaches I've taken. If you've got critique, I want to hear it! :smile:

Hiya @th0r, have you had any time to look into this? If you're having trouble maintaining this project, I could help you. It'd be a shame for this project to wither as it is so useful to many :)

Hi @th0r, would you be able to review this? It'd be nice to get this refactor merged so that there would be less merge conflicts in the future.
I'm fairly confident that this does not introduce any changes or backwards-incompatibilities. webpack-bundle-analyzer has never seemed to support reaching to the insides of this plugin, so moving things around should also be safe.
I would like to continue figuring out a good approach on splitting the view code altogether, but that I would do in another place :)
The current file hierarchy looks like this now:
webpack-bundle-analyzer/
├── client
│   ├── components
│   └── vendor
├── lib
│   ├── bin
│   ├── chartData
│   └── viewer
├── node_modules
├── public
├── src
│   ├── bin
│   ├── chartData
│   └── viewer
├── test
│   ├── bundles
│   ├── src
│   └── stats
└── views

The only things reaching into top-level client, public and views folders are the root-level webpack.config.js and code under src/viewer.
Those folders and the webpack config form the implementation of the current treemap reporter.
With this in place I have a much better situation with figuring out how to split the reporter away from the data generation.

I'll close this in favor of #81 that features a much smaller amount of code changes.


chore: WIP! Add linter

This adds a linter to Kataw. By default an autoFix option can be enabled and it will try to fix as much errors as possible.
Additional rules can be set like this:
{
linterOptions: {
    SwitchDefault: true // require switch default
  }
}

The diagnostics has been updated with a Linter bitwise mask so it's possible to use a different color for this in an reporter.
The question is what kind of rules should we allow? We have only 28 slots available - 28 rules we can add.
Example on current API approach:
kataw.parseScript('switch(x) {}', { linterOptions: { switchDefault: true} }, function() {});

// A 'default' clause is required

Closing this for now. Will reopen later.


How can I change the color of url link?

It's really beautiful of this theme ! When I use url link in the post, it shows red which is too dazzling like the pic below. I want to change this color to blue, which code should be modified ?

I came across the same question. My solution was to change the text_skin property in the _config.yml to be a value other than 'default', like shown at https://tianqi.name/jekyll-TeXt-theme/docs/en/configuration#skin.


archive?

it seems there is no activity going on this project and all the focus is on buildah now.  Is build still maintained or should it be archived to make it clear for anyone getting here?

This project is just for appc aci images as well...
On Fri, Oct 26, 2018, 09:37 Giuseppe Scrivano<EMAIL_ADDRESS>wrote:

it seems there is no activity going on this project and all the focus is
on buildah now. Is build still maintained or should it be archived to
make it clear for anyone getting here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/build/issues/328, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEF6XYZ3b6doQLZqk0FRwygx0KuSddYks5uoxAZgaJpZM4X8QEB
.

As you can see in the readme, this project is currently unmaintained. I'd have no problem with archiving it.

We've ceased development of the main rkt project, see https://github.com/rkt/rkt/issues/4024.
I'm doing a pass on all related repositories, which include this one. Thus marking as archived now.
Boldly go!


Merged master and resolve conflicts

Thanks for working on cargo-toml formatting, this PR should help move it along as it seems like it stalled a bit

Thanks!

I havn't run into cases like this before. How should I review/merge such a PR? 🤔

Wow, I found git show 91543f0c did the trick! (credit to https://haacked.com/archive/2014/02/21/reviewing-merge-commits/)
It seems you updated too much Cargo.lock. I guess you deleted the whole file and regenerated it. You should git checkout --theirs instead to make minimal changes.

https://github.com/rust-lang/rustfmt/pull/5240#issuecomment-1668519350


Mayhem Heroes Integration

@xansec Made the requested changes! I look forward to your feedback

Removed git clone.


Better error message for Invalid route config

ERROR [app-router] Error: Invalid route config: dynamic routes must specify an href to be included in the navigation model.

I can't know which route config is wrong. Could you show a better error message?
Could route or name in the config be printed?

Sounds like a good opportunity for a PR.

No problem. I did.

@HIRANO-Satoshi can you close the issue?

Sure. Thanks.


Chart grid chart does not respond to presence of a suffix like the XY Chart does

XY Chart

Adding a suffix overwrites the chart data line leaving everything in view

Chart grid chart

Adding a suffix pushes the axis label off the chart canvas

Have been exploring where the difference might be but thought you might have a better idea on where to look to address?

Hey @chrislkeller, this is a known issue and is related to the fact that, in our version of Chartbuilder we use a customized version of D3 that positions the labels. That said it's definitely possible to get where we want without doing that. This is the code that positions the XY labels correctly, and something very close to that should work for the grid.

Thanks @nsonnad. The example is helpful, but also above my immediate comprehension. I'll spend some time with it and try to understand how things are moving since to my eyes the XY rendering code is much more extensive than the chart grid code.

Similar issue on a chart with horizontal bars:
The % suffix is only added to the top bar :disappointed:

I have done a bit of work investigating @chrislkeller's issue (nothing to show for it yet, apologies). However @coagmano the suffix on the top bar only is intentional so as to not to be redundant, this gets especially unwieldy if you lave a long suffix like GDP (PPP adjusted) or somesuch.

@coagmano like @nsonnad the logic that only puts the units on the first line is intentional, but you can modify that logic here https://github.com/Quartz/Chartbuilder/blob/e22a5457c8b0f51d7303f3aa26cf40853d8c3593/src/js/components/chart-grid/ChartGridBars.jsx#L286-L290
changing it, however will mean you'll have to change the logic here too
https://github.com/Quartz/Chartbuilder/blob/e22a5457c8b0f51d7303f3aa26cf40853d8c3593/src/js/components/chart-grid/ChartGridBars.jsx#L144


Add basic support for codemeta

Support conversion from/to codemeta, as described in https://github.com/codemeta/codemeta/issues/126.

Basic support added for generating valid metadata for DataCite DOI generation.

Implemented


Image Management does not work - can't see existing uploaded images

Describe your problem
When editing page content, image management opens ok and displays previously uploaded images, but once other pages in the pagination are selected no images are displayed including the original page 1.
This makes it impossible to select images on anything but the first pagination page.
NB: I have 17 pagination pages

Again, I can't insert an image... do you have images insertion in GitHub disabled?

Steps to reproduce the problem
Set images to be stored only in `Uploads folder, not Uploades\Pages

"imageRestrict": false,"imageRelativeToAbsolute": true

Edit a page with a cover image
There must be enough images to initiate pagination
View displayed images on pagination page 1
Click on other pagination pages
Try and view images

PHP version
v5.6 on one hosting server and v7.2 on another hosting server.
Bludit version
v3.7.1 on one hosting server and v3.9.2 on another hosting server.
Browser versions
Google Chrome, Firefox and Ie11

I have just tested again on both sites that definitely were not working - both are fine now...
Let's close this.


[WIP] Support mixed mirror registry

Enable writing to local storage with mirror registry

Can you explain what is it you are trying to achieve with this PR?

I want to enable both the local storage registry and the mirror registry,
The mirror registry alone will work, but I want to be able to actively synchronize some mirrors in advance when the number of mirrors is high.

@wzshiming This sounds good idea! how far have you gone?

I'm currently doing this in a different way, starting two registries, one using mirrors as an external service and the other as an internal service using active sync writes

I'm currently doing this in a different way, starting two registries, one using mirrors as an external service and the other as an internal service using active sync writes

I just realize this might not necessary. If we wanna cache an image, we can pull it behind the registry and let it cached in advanced.

Yes, this does work if you don't need to check what has been synced.

Hi @milosgajdos @liyimeng
I did this in a different way, I implemented a generic container image proxy.
https://github.com/wzshiming/crproxy

Already reached in other ways


Strange boxes

Hi VS Code team. I love the app and use it a bunch, thank you!
I have one problem though. These (what I can only call) strange boxes often appear on the editor no matter what theme I am using. The frustrating thing is that these boxes often move and blink whilst I'm typing.
Is this an VS Code problem or something else?
What do you think the problem could be? I've attached pictures to help explain.

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T07:56:42.517Z)
OS Version: Darwin x64 16.5.0
Extensions:

Extension
Author
Version

xml
DotJoshJohnson
1.7.0

vscode-paste-and-indent
Rubymaniac
0.0.8

html-css-class-completion
Zignd
1.1.0

html-snippets
abusaidm
0.1.0

open-html-in-browser
coderfee
0.0.7

jquerysnippets
donjayamanne
0.0.1

auto-close-tag
formulahendry
0.3.12

auto-rename-tag
formulahendry
0.0.11

mssql
ms-mssql
0.3.0

debugger-for-chrome
msjsdiag
3.1.1

color-highlight
naumovs
2.1.3

vscode-icons
robertohuertasm
7.6.0

Material-theme
zhuangtongfa
2.6.3

Steps to Reproduce:

Just open a file and it shows in the editor.

This is #12473


Negative scale

Support negative scale properly, showcased by the NegativeScaleTest.glb test model.

Well it doesn't perfectly handle the test model but it handles it  the same as the Bevy loader so ill call that good enough. https://github.com/unavi-xyz/gltf_kun/commit/f20063289b2d81c04d669fe31b8984a8da98bfcf


Wildcard support for CSM and  its parameters file

Wildcard support for CSM and  its parameters file

Signing off.


Calculate a more comprehensive score for interaction search results

Closes #340

@acoffman I removed the code duplication as suggested. If you could have another look and re-approve, that would be great.


perf: skip docker instantiation if selected dates fall on weekends only

Rename "date_fn".
Check whether selected dates only include weekends, don't launch Docker if that is the case.

Yup sure! Let me tackle it 👌

@ThorpeJosh @siewyeng @changukshin I think this is ready for review!


ModuleNotFoundError: No module named 'matplotlib._cntr'

The installation of 'pydiva' is not complete or matplotlib misses the module 'matplotlib._cntr', which is not anymore available.
It is impossible to import the package.

Thanks for reporting the issue, I'll try to solve that soon.

Hi, I solved the issue for myself installing
https://github.com/matplotlib/legacycontour
and changing
#import matplotlib._cntr as cntr
from legacycontour import _cntr as cntr
in pydiva2d.py
I also ran into problems with the requirements. Most of them are references to older versions ...
Cheers,
Rainer.

Any update on this? running into the same issue with matplotlib.cntr


MNIST example cannot run on a local STACKn deployment (--insecure option)

Scenario: a user would like to test Studio quick start tutorial by deploying a local STACKn/develop without the use of a TLS certificate. This means that the STACKn environmental variable STACKN_SECURE should be equal to False (equivalent to run the stackn cli with the  --insecure flag).
Behaviour: Currently STACKN_SECURE is by default set to True in the file auth.py. In the Jupyter notebook mnist_example_tf_serving.ipynb, at the current step In [13] the line:
conf, status = sa.get_token() will return the following error:
Failed to call studio endpoint at: studio.stackn.X.X.X.X.nip.io
Failed to get required config.

This is related to a failed check with keycloak due to STACKN_SECURE being set by default to True while the setup is actually running locally on a self-signed certificate (generated for example by microk8s).
Similarly, the Jupyter notebook line:
 res = requests.post('https://tensorflow-serving-mnist-test-qce-3053.studio.safespring-prod.stackn.dev/v1/models/models:predict', json=inp, headers={"Authorization": "Bearer "+conf["STACKN_ACCESS_TOKEN"]})
would fail unless the post request is being told to use "verify=False" (by default is True)
Possible Solution:
Change the notebook as follows:
# If running locally without a TLS certificate then CHANGE secure and verify variables to False
secure = {"STACKN_SECURE": True}
verify = True
conf, status = sa.get_token(secure)
res = requests.post('URL-here', verify, json=inp, headers={"Authorization": "Bearer "+conf["STACKN_ACCESS_TOKEN"]})

Sounds good to me, proceed to implement.

Done via this commit


Patch testbed agents before swap of Python-based to Go-based DBS Server is performed

Impact of the new feature
Testbed WMAgents
Is your feature request related to a problem? Please describe.
As defined in the document for the DBS2Go migration, once the Go-based DBS Server and the stakeholders applications are ready (meaning, they are already using the compatible dbs3-client library), we plan to swap the cmsweb-testbed backend from the Python-based to the Go-based DBS Server. In other words, the endpoint and REST URI/URLs will be the same, but requests will be processed and served by the new Go server.
Describe the solution you'd like
Our latest stable WMAgent release is 1.5.4.patch3, which uses dbs3-client version 3.16.2001 from the old DBS repository. So we need to either:
a) collect all the patches that went in into DBSClient repository, to provide the compatibility and aggregation layer, and port those to the DBS repo such that we can create a patch to be applied on the agents.
b) or, we build a new release (1.5.4.patch4 ?) with the new dbs3-client, drain those testbed agents and redeploy them. It should be fairly easy, but still we need to give a few days notice to people using those agents.
In short, actions to be taken with this ticket are:

come up with a dbs3-client solution that will allow testbed agents to talk to either DBS Server transparently
patch the testbed agents that are currently used for Opportunistic resources exploration (CMS@Home, BSC, M100)

Describe alternatives you've considered
Alternative given above (either patch creation; or new release)
Additional context
This is only required if - by the time we are ready to switch cmsweb-testbed backends - we are still running WMAgents on 1.5.4 series.
Might depend on https://github.com/dmwm/WMCore/issues/10884

This switch has already happened in cmsweb-testbed and I haven't heard of any issues affecting the testbed agents. Still to be verified in the logs of the agents though.

WMAgent 1.5.7.patch1 stable release has been made available and developers are invited to upgrade their agents.
I started upgrading testbed agents, and I am in contact with Federica/Ivan to upgrade the CMS@Home agent as well.
I consider this issue no longer relevant. Closing.


PDF, display target addresses of links

See if the config of sphinx allows this.

The pdf output now prints the links as footnotes. For more options see: http://www.sphinx-doc.org/en/1.5.1/config.html#options-for-latex-output


Apply phpstan level 2

Fixes various things:

docblocks
Config type hint
too many parameter in method call
clean up unnecessary check driver instance of SessionHandlerInterface in Session::start() since it type hinted in constructor
possible concatenation between array and string handling in Forge::_processIndexes($table) that can be returns string in overriden method

Checklist:

[x] Securely signed commits

All green 🎉

There are 8 levels https://phpstan.org/


Exploring the idea of potentially move away from internal use of JDK's CompletionStage and CompletableFuture

This is very rough and not fully compiling; needs some changes in Hibernate ORM core to be able to be finalized.
Leaving it here for the moment so we can discuss the approach before going too far.
The general idea would be that JDK's CompletionStage system is very feature rich, but so doing exposes several methods which are actively dangerous for our purposes, and it consumes more memory than a lighter version could; by having our own contract we can restrict what we use.
Also, we don't need (I thought? there's some evidence to the contrary) all the multi-threading capabilities the standard types offer: we just need to model a linear chain of events, with error propagation. The multi-threading safeguards are a performance drag, which we don't really need as long as we can verify correct design.
The additional benefit of using a custom interface would be that integration tests could replace the underlying implementation with something which more extensively traces the lifecycle of the events; for example we could verify that:

each chain is strictly tied to the expected threads exclusively (so to verify we really don't need the multi-threading capabilities)
all stages are actually being completed, as we had cases for critical bugs in which some completion stage would get "lost" in the chain of operations.

Closing this because we decided for a different approach


How can i implement "DataTask" AFHTTPSessionManager’category in swift?

You should use Alamofire if you use Swift.

I'd be inclined to agree, though using Swift in your project doesn't preclude using AFNetworking (especially if you're in a mixed Swift/Objective-C environment). Some people/shops are already using AFNetworking, so this was designed for them.

This is ambiguous, but let's imagine that you wanted to issue GET requests to download images, you could do something like:
let documentsURL = try! NSFileManager.defaultManager().URLForDirectory(.DocumentDirectory, inDomain: .UserDomainMask, appropriateForURL:nil, create:false)

let manager = AFHTTPSessionManager()
manager.responseSerializer = AFHTTPResponseSerializer()

let queue = NSOperationQueue()
queue.maxConcurrentOperationCount = 3

let urlStrings = [
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/s72-55482.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo10/hires/as10-34-5162.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo-soyuz/apollo-soyuz/hires/s75-33375.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-134-20380.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-140-21497.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-148-22727.jpg"
]

for urlString in urlStrings {
    let operation = AFHTTPSessionOperation(manager: manager, HTTPMethod: "GET", URLString: urlString, parameters: nil, uploadProgress: nil, downloadProgress: nil, success: { task, responseObject in
        // do something with responseObject, e.g. save in documents

        guard let imageData = responseObject as? NSData else {
            print("not NSData")
            return
        }

        let filename = task.originalRequest!.URL!.lastPathComponent!
        let fileURL = documentsURL.URLByAppendingPathComponent(filename)
        do {
            try imageData.writeToURL(fileURL, options: [])
            print("saved \(filename)")
        } catch {
            print(error)
        }
    }, failure: { task, error in
        print(error)
    })
    queue.addOperation(operation)
}

Or, if you really want to use AFURLSessionManager and create the NSURLRequest yourself, you could do:
let documentsURL = try! NSFileManager.defaultManager().URLForDirectory(.DocumentDirectory, inDomain: .UserDomainMask, appropriateForURL:nil, create:false)

let manager = AFHTTPSessionManager()
manager.responseSerializer = AFHTTPResponseSerializer()

let queue = NSOperationQueue()
queue.maxConcurrentOperationCount = 3

let urlStrings = [
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/s72-55482.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo10/hires/as10-34-5162.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo-soyuz/apollo-soyuz/hires/s75-33375.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-134-20380.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-140-21497.jpg",
    "http://spaceflight.nasa.gov/gallery/images/apollo/apollo17/hires/as17-148-22727.jpg"
]

for urlString in urlStrings {
    let request = NSURLRequest(URL: NSURL(string: urlString)!)
    let operation = AFURLSessionOperation.dataOperationWithManager(manager, request: request, uploadProgress: nil, downloadProgress: nil, completionHandler: { task, responseObject, error in
        // do something with responseObject, e.g. save in documents

        guard error == nil && responseObject != nil else {
            print(error)
            return
        }

        guard let imageData = responseObject as? NSData else {
            print("not NSData")
            return
        }

        let filename = request.URL!.lastPathComponent!
        let fileURL = documentsURL.URLByAppendingPathComponent(filename)
        do {
            try imageData.writeToURL(fileURL, options: [])
            print("saved \(filename)")
        } catch {
            print(error)
        }
    })
    queue.addOperation(operation)
}


conda from master

When does the master branch propagate to the conda install? Is it automatic or does it have to be pushed?

It needs to be regenerated manually at the moment, but will soon be automatic. I am in the process of putting 3ML in conda-forge. I already created packages for all dependencies, even ROOT.

The conda build is now automatic. Every time a build succeed in the master branch, a new release is updated to the threeml conda channel.


kafka parameters javadoc description

we need to describe each Kafka producer's and consumer's parameters in the javadocs

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@l3r8yJ Don't forget to close this ticket before the deadline (2023-05-22T11:52:21). You are past the first half of the allowed period.

@l3r8yJ Looks like you've missed the task deadline (2023-05-22T11:52:21). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-06-01T12:12:22.878400.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@h1alexbel Don't forget to close this ticket before the deadline (2023-06-01T12:12:23). You are past the first half of the allowed period.

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Bispectrum application

Hi, nice library.
If I wish to compute the bispectrum (direct) for all frequencies from a signal and return a magnitude matrix, how would you do this with your library? The plots show the comparison between f1 and f2 only.
My code:
sig # shape 20000,
mean_amplitude = np.mean(sig)
sig = sig - mean_amplitude  # Centering around 0
fft = np.fft.fft(sig) # complex number. Magnitude and phase.
N = sig.size
T = t[1] - t[0]
f = np.linspace(0, 1 / T, N, )
f = f[:N // 2]

Thank you!

Damn I dont even remember this. I'll revise on this and get back. Sorry for such a late response though.


[GH-263] Fix tier up

Closes #263
Motivation
We weren't able to tier up our units once the max level of a tier was reached.
Summary of changes
Add a tier up pop up with a button that allows tiering up the unit. Also, once the max tier of a rank has been reached, an error pop up is shown.
How has this been tested?

Start the backend and add currency to your user by running: GameBackend.Users.Currencies.add_currency_by_name_and_game!(user_id, "Gold", 2, 2000000)
Go to the barracks and pick the unit you'll level up.
Level your unit up to level 20 and, when trying to level it up once more, make sure that you see the tier up pop up.
Use the tier up button, and now you should be able to level up your unit once more. Check that the correct level is shown in the screen, and that the level up costs are being properly updated across this process.
Continue leveling and tiering up until you reach the max level of the max tier. When you try to tier up, you should now see an error pop up telling you that you must rank up your unit.

Checklist

[X] I have tested the changes locally.
[X] I self-reviewed the changes on GitHub, line by line.
[ ] Tests have been added/updated.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] I have tested the changes in another devices.

[ ] Tested in iOS.
[ ] Tested in Android.

Works great! Let's also display:

tier up cost in pop up.
tier next to the level or somewhere in the unit scene.

Also, why did you choose to do this as a pop up instead of automatically changing the "level up" button to "tier up"? If the idea is to do it like this because it's faster as a first iteration, I'm on board. If it was by design, I'm not a fan of it

Great, I added the cost to the pop up, and the unit's tear right below the level.
About the pop up vs changing the button discussion, what do you think of iterating on that once we have a UI design for this?


PostgreSQL secret: typo and copy/paste error

@sixtyeight Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Obvious Fix

@sixtyeight: I think that you need to sign the CLA. Once this is done we can merge. Thanks again!

@sixtyeight: Shall we wait for the CLA?

I think he may need manually syncronize. https://cla.pivotal.io/about Putting Obvious Fix in the description should do it, right @rwinch?

@sixtyeight This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.

I think we have a case sensitivity issue...let's try....
This is an obvious fix

FYI...I fixed the case sensitivity issue and it is now deployed to production.


Cordova ios not registering GCM token but rather APNS token

i am currently running running the plugin 2.2.3 on my app, on android, it generates accurate GCM token for me, but when i run the app on ios, it generates APNS tokens for me whiles i have specified
<resource-file src="GoogleService-Info.plist" /> in my config.xml file.
I dont know what is going on, but i am using GCM to push my messages and if on IOS i cannot get GCM tokens then am unable to send messages.
What am i doing wrong.

any udate?

@bucktechnologies it's probably something else but make sure IS_GCM_ENABLED in your GoogleService-Info.plist is set to true


Re-implement -a

Transparency is crucial for some of us. If you don't feel like implementing this, I should be able to.

Same here, I'm an urxvt user and I need muh transparency XD
So I'm sticking to wal-git instead of python-wal for now. If someone doesn't implement this sooner or later, I might give it a try.
Thanks so much @dylanaraps for wal, by the way! I love it!

Done, please let me know if there are any issues.

Beautiful, it works perfectly for me (urxvt on Arch latest)! Thanks so much @dylanaraps, version bump this so the bleeding edge can propagate to pypi + AUR?

Will do!

Done, 0.5.0 has been released.

LIT :fire: :fire: :fire:
pywal has improved my quality of life so much

It doesn't seem to change the transparency for me no matter what alpha I give it. Am I doing something wrong with urxvt perhaps? I've gotten transparency working with this terminal before


fix(file-collections): declare parameter as nullable; #22645

Declares a parameter in DefaultFilePropertyFactory.AbstractFileVar as @Nullable, as its superclass (DefaultProperty) defines it to be.
Fixes #22645.
Context

A method was incorrectly unannotated with @Nullable, resulting in IDE warnings (and presumably even breaking Kotlin code); this fixes that fact.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test and merge

Error while scheduling pre-tested commit, please contact the administrator.

Thank you for your contribution!

@bot-gradle test and merge

Error while scheduling pre-tested commit, please contact the administrator.

@bot-gradle test and merge

Error while scheduling pre-tested commit, please contact the administrator.

@bot-gradle test and merge

Error while scheduling pre-tested commit, please contact the administrator.

👀

@bot-gradle test and merge

Error while scheduling pre-tested commit, please contact the administrator.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Bingo card position interface ideas

These are my ideas for the bingo card positioning interface. If you approve these suggestions, then I could maybe work on a pull request with the changes.
1. Simplify adjustment interface
The current Bingo card adjustment menu looks like this:

My suggestion is to simplify it, and only have "shift left", "reset" and "shift right" buttons.

This makes the interface clean (don't need to add a ton of options for all the positions), makes it more intuitive for the user.
2. Change card_pos values
The bingo.card_pos scoreboard can be adjusted such that the card positions are ordered in terms of their screen position from left to right. (This makes the above interface suggestion simpler to implement.)
e.g. The default position can be 0, then when you click left, it decrements the score to -1 which would represent the "left edge (gui 4)" position, followed by "left edge (gui 3)" and so on.
e.g. If you click right, it increments the score to 1 which is "next to hotbar (right)", then 2 would represent "next to attack indicator" and so on.
3. Add new (or replace default) card position
I suggest adding this additional card position (or maybe replacing the current default with it?).
This new position has a gap between the hotbar and the bingo card making it look less cramped against the hotbar/time.
The width of the gap is equal to the space between the hotbar and offhand slot to keep it symmetrical.
The current default is shown in red, with my suggestion in green:

which would represent the "left edge (gui 4)" position, followed by "left edge (gui 3)" and so on.

Left/right edge is disabled because it doesn't work properly -- I need information about screen resolution as well, that what you saw in the function foolishly assumed it's only defendant on GUI size and tested with my 1080p monitor. There are even GUI sizes that only become available with a higher res monitor and technically there is no limit on GUI size either.
And yeah, I still think the best solution is to incorporate the card into the custom hud system, as this would also allow to set other components in spots which are currently only available for the card.
I am aware that the current interface for the card isn't ideal right now, but it's the best option without major changes for now (minimum required change is to prompt the player for gui size, screen resolution and attack indicator in a nice non-annoying and skipable way).

I created #85 now for refactoring the card as HUD component.
Having other components in that slot requires a margin anyways, so this is also included in there.
Thus this issue is redundant now.


[FEATURE] 😶 More Null Object Pattern support

Problem
In FusionCache v0.22.0 the NullFusionCache has been introduced, which is an implementation of the Null Object Pattern.
Currently there are no such implementations for:

serializer (IFusionCacheSerializer)
distributed cache (IDistributedCache)
backplane (IFusionCacheBackplane)
plugin (IFusionCachePlugin)

Also, we should create a separate namespace (ZiggyCreatures.Caching.Fusion.NullObjects) specific for this, so that the root namespace will not be polluted with these classes that are useful only in some minor an very specific situations.
Finally, the existing NullFusionCache will be moved there (this is a breaking change, but needed).
Solution
Create such implementations, such that they simply do nothing and, when they have to return something, they simply return a default value.
The new implementations will be:

NullSerializer
NullDistributedCache
NullBackplane
NullPlugin

which will go along the existing NullFusionCache.

Hi all, v0.23.0 has been released with all of the above included 🎉


MMLToSVG should be TeXToSVG in README.md

I tried it in typescript and TeXToSVG function is working fine but MMLToSVG doesn't exist.

+1

This has been fixed with : https://github.com/bleaklake/TeX-to-SVG/pull/2


Documentation translation fixes

Change english agent docs to translate some words that were in portuguese

Thank you very much @tuliomonteazul ! :)


Handle error on change request.

Ticket
https://jira.bqsoft.com/browse/ATOM-6373
What
Changed the way error reporting works for change request. This is based on the actual data returned from: https://hellowireless.bequickapps.com/logs/carrier/2234373
Why
We were reporting success when it failed dog.
Feelings
I'll thank you to stay out of my personal affairs.

Pleas not do a fail dog.
https://www.youtube.com/watch?v=kMhw5MFYU0s


Error while manipulating datetime component (using playwright) after updated to CodeceptJS 3.2.1

Important point: within CodeceptJS 3.2.0 version is working properly
page.$$: Execution context was destroyed, most likely because of a navigation.
at findElements (node_modules/codeceptjs/lib/helper/Playwright.js:2351:18)
at Playwright._locate (node_modules/codeceptjs/lib/helper/Playwright.js:928:12)
at async Playwright.grabNumberOfVisibleElements (node_modules/codeceptjs/lib/helper/Playwright.js:1405:15)

Provide test source code

  async fillDispatchDate(nextMonth=true, decrease=false){
    let dispatchDate = await I.grabValueFrom('#sales_order_date_required');
    dispatchDate = dispatchDate.toString().split("-");
    I.say(dispatchDate);
    let newDispatchDate = new Date(+dispatchDate[2],dispatchDate[1]-1, +dispatchDate[0]);
    I.say(newDispatchDate);

    if (nextMonth) newDispatchDate.setMonth(newDispatchDate.getMonth()+1);
    else {
      const numberOfDays = decrease ? -1 : 1;
      newDispatchDate.setDate(newDispatchDate.getDate() + numberOfDays);
    }
    I.click('#sales_order_date_required');
    I.pressKey('Escape');
    const dateToSetUp = `${newDispatchDate.getDate()}-${newDispatchDate.getMonth()+1}-${newDispatchDate.getFullYear()}`
    I.fillField('#sales_order_date_required', dateToSetUp);
    I.pressKey('Enter');
  },

  async createOrder(){
    let reduceDate = async function () {
      const messageLocate = locate('li').withText('Date required must be before');
      return await I.grabNumberOfVisibleElements(messageLocate)
    }

    let forbiddenDate = async function () {
      const messageLocate = locate('span').withText('Company is closed on the selected date, please choose another');
      const errorMessage = await I.grabNumberOfVisibleElements(messageLocate);
      return errorMessage > 0
    }
    await this.fillDispatchDate();
    let shouldReduceDays = await reduceDate();
    I.say(`Should reduce? ${shouldReduceDays > 0}`);

    while (await forbiddenDate() || shouldReduceDays > 0){
      await this.fillDispatchDate(false, (shouldReduceDays > 0));
      shouldReduceDays = await reduceDate();
    }

    I.click(locate('button').withAttr({class: 'btn btn-success btn-lg dropdown-toggle'}));
  },

Details

CodeceptJS version: 3.2.1

NodeJS Version: 16.13.0 LTS

Operating System: Linux (Ubuntu 20.04.3 LTS - Debian 4.19.171-2 - Docker version 20.10.9)

Playwright

Configuration file:

exports.config = {
  tests: './tests/*_test.js',
  output: './output',
  helpers: {
    DbHelper: {
      require: `${process.env.NODE_MODULES_PATH}/node_modules/codeceptjs-dbhelper`,
      maxOldGenerationSizeMb: 8192,
    },
    Playwright: {
      url: "http://localhost",
      show: true,
      browser: 'chromium',
      smartWait: 5000,
      windowSize: "1920x1080",
      fullPageScreenshots: true,
      maxOldGenerationSizeMb: 8192,
   },
   Mochawesome:{
      "uniqueScreenshotNames": "true",
      maxOldGenerationSizeMb: 8192,
    },
  },
  include: {
    I: './steps_file.js',
    masters: './pages/masters.js',
    accessScreen: './pages/accessingScreen',
    newOrder: './steps/newOrderSteps.js',
    newItemOrderFill: './pages/itemOrderFill.js',
    pricingBehaviorControl:  './pages/specialPricingBehaviorControl.js'
  },
  bootstrap: null,
  mocha: {
    reporterOptions: {
      stdout: './output/console.log',
      reportDir: './output',
      reportPageTitle: 'Tests E2E',
      reportTitle: 'Tests E2E',
      reportFilename: 'report',
      quiet: true,
      json: false,
      html: true,
      overwrite: true,
      inline: true,
    },
  },
  name: 'Tests End2End',
  plugins: {
    autoDelay:{
      enabled: false
    },
    screenshotOnFail: {
      enabled: true
    },
  }
};

Thanks for the report. There was a dirty hack we used previously for Playwright & Puppeteer. And I thought that this dirty hack is not needed anymore. Unfortunately, it is still required on some issues. This is unintended break so I will restore it on next patch release. Thank you for creating an issue!

Will be fixed in 3.2.2


ubuntu 20.04 needs doker repository (?) installed

just got word from a friend installing on Ubuntu 20.04 that he needed to install docker repository (not sure about the paket name yet) to run the project
that would mean the README needs to be adjusted  - it would show a non working install line for ubuntu.
i will get details later and update the readme if its true.

doesnt need anything else than curl and docker.io installed to run.
curl is not installed by default on ubuntu 20.04 desktop


Unable to retrieve mesh filters at runtime

I'm trying to run GetObjectsOfType and it's returning 0 objects even though i see all the .b3dm files and there corresponding game objects with mesh filter components in the heirarchy. Is there some sort of limitation with Unity or Cesium for retrieving MeshFilters that are created at run time? When I add a primitive object to my scene and run the same script it returns that mesh filter so I don't believe its my script.

Please use the community forum for posting questions like these. We reserve Github for confirmed bug reports and feature requests.
I see that you have already posted this to the forum, so we'll respond there.


How to change videoId?

I developing app like this https://youtu.be/eouC8RUmHh8
when new video selected, videoid has changed but nothing happen.
how can i do? Thanks

I don't understand.

when I change videoId, youTubePlayerView not change
It seems that cueVideo accept one video one time.

cueVideo is meant to accept one video at a time.

yep. how to change youTubePlayerView display when I change videoId?
i tried all abtract listener but didn't work

Just call cueVideo with the new video id and the new video will start playing.

example: i have youTubePlayerView and button.
i init youTubePlayerView first like this

and button

but when i click button, youTubePlayerView change nothing (thumbnail or click play ...)

That's wrong, you need to keep track of the first YouTubePlayer and call cueVideo on that.

YouTubePlayer

Thanks, I resolved my problem with the help of this comment

How can I change the video id? I would really appreciate if you help.

How can I change the video id? I would really appreciate if you help.


Great plugin

Thanks for putting together a great plugin. I'm updating our build system to use it after multiple re-scans.

@lyndsey-ferguson Thanks for the nice words! Definitely let me know if there're issues.


prestodb-hive-alluxio-227  is free to use? or i need to buy Enterprise Edition to use prestodb-hive-alluxio-227?

prestodb-hive-alluxio-227  is free to use? or i need to buy Enterprise Edition to use prestodb-hive-alluxio-227?
i came from https://docs.alluxio.io/os/user/stable/en/core-services/Catalog.html

When you download a release from https://alluxio.io/download the tarball will contain the connector under the client subdirectory


Add configuration for specifying exact currencies to generate

Ask (via @dangerdaren): Settings wise, I would love a bit more granularity. For example. I never use platinum in my game, and would like the option to nix that from being handed out (similar to how I also don't use electrum, which I do appreciate being able to nix that one in the options!).
Use case: Finer control over exactly which currencies are in the game
Potential solution: Add settings to enable/disable generation for platinum, gold, electrum, and silver and convert between them based on the settings. Copper is always enabled as the fallback.

Included in v1.6.0


Allow bip39 mnemonicToSeed password field to be set

bip39 provides the function mnemonicToSeed(mnemonic[, password]), however you aren't allowing passwords to be used. Please allow passwords to be used. Thanks.

added an option to set password to mnemonic + the option to add multiple mnemonics:
60

Hi @zrubenst, thanks for contributing this. Unfortunately I'm uncertain as to the specific utility of the addition. If we accept the change I want to make sure that it's well documented so that new users don't get confused.
I'm in the process of moving this module over to the trufflesuite/truffle monorepo, and I'm trying to capture/accept all of the straightforward PRs possible prior to making the switch. Also bear in mind that once this module is moved over I intend to rewrite it to be a much smaller (w.r.t. code size) and more minimalistic, as it's quite heavyweight at the moment. This may mean that we move some concerns outside of this module, into other modules.
Can you do me a favor and open an issue over here and describe the problem you're trying to solve with this change? The change here is small, so if this addition solves a specific problem we'll be sure to add it quickly.


Automated cherry pick of #6885: fix: wrong cloud provider status when sync disconnected cloud account

Cherry pick of #6885 on release/3.1.
#6885: fix: wrong cloud provider status when sync disconnected cloud account

/lgtm
/approve


Babel 7 not being executed on webpack.config.babel.js

What is the current behavior?
Executing webpack with a ES6+ config file (webpack.config.babel.js) whilst using Babel 7 leads to a SyntaxError being reported e.g.
$ webpack --env.production
<OMITTED>/webpack.config.babel.js:1
(function (exports, require, module, __filename, __dirname) { import path from 'path'
                                                              ^^^^^^

SyntaxError: Unexpected token import

If the current behavior is a bug, please provide the steps to reproduce.

Install the latest webpack and the latest @babel/core & @babel/preset-env (e.g 7.0.0-beta.32)

Create a webpack.config.babel.js with ES6+ syntax e.g.
echo "import path from 'path'" > webpack.config.babel.js

Note: For illustrative purposes only, this obviously doesn't produce a valid webpack config, but it's sufficient to recreate the issue.

Create a .babelrc with the env preset:
echo "{\"presets\":[\"@babel/env\"]}" > ./.babelrc

Run webpack e.g.
webpack

What is the expected behavior?
Babel to to be executed on webpack.config.babel.js before Node executes the file.
Following the steps above you're expecting a webpack specific error regarding an invalid configuration:
<OMITTED>/node_modules/webpack/bin/convert-argv.js:507
				throw new Error("'output.filename' is required, either in config file or as --output-filename");

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack: 3.8.1
@babel/core: 7.0.0-beta.32
@babel/preset-env: 7.0.0-beta.32
What I'm assuming is happening is that Webpack is looking for the presence of a babel-core package, can't find it, so proceeds without using babel. Babel 7 has scoped packages, the new package is @babel/core.

Looks like we need an interpreter update:
https://github.com/js-cli/js-interpret/pull/47

Babel 6 with babel-preset-env didn't support browserlist in package.json, I upgrade to Babel 7 to support this, then I encountered the some Unexpected token import error with my webpack.config.babel.js file, hope there's a solution soon :)

@laozhu We're waiting on the following procedure:

interpret PR I mentioned above to be modified/accepted and merged.
A new interpret  release to be published.
webpack to bump its dependency on interpret.
A new webpack release.

So this issue is effectively blocked by interpret for now.
However, there are several work-arounds that may be appropriate for various use-case:

Manually run babel on your config before running webpack (cli):

package.json
{
  ...
  "scripts": {
    ...
    "build": "babel webpack.config.babel.js > webpack.config.js; webpack --env.production",
    ...
  },
...

This is fine for packaging up for production, but may not be ideal during development.

Call webpack's compiler from a JS entry-point, here's an example that does just that and also supports server-side hot-reloading:

<project_root>/start-debug.js
require('@babel/register')

const webpack = require('webpack')

const serverConfig = require('./webpack.config.babel').serverConfig

const environment = process.env.NODE_ENV === 'development' ? {development: true} : {production: true}
const config = serverConfig({...environment})
const bundlePath = `${config.output.path}/${config.output.filename}`;

const compiler = webpack(config)
const compilerOptions = {
    aggregateTimeout: 300,
    poll: true,
}

let server = null

const openSockets = new Map()
let nextSocketId = 0

function loadServer() {
    delete require.cache[require.resolve(bundlePath)]
    server = require(bundlePath).default

    server.on('connection', (socket) => {
        const socketId = nextSocketId++
        openSockets.set(socketId, socket)

        socket.on('close', () => {
            openSockets.delete(socketId)
        })
    })

}

compiler.watch(compilerOptions, err => {
    if (err) {
        console.log(`Server bundling error: ${JSON.stringify(err)}`)
        return
    }

    if (server) {
        for (const socket of openSockets.values()) {
            socket.destroy()
        }

        server.close(() => {
            loadServer()
            console.log('Server restarted')
        })
    } else {
        loadServer()
        console.log("Server started.")
    }
})

package.json
{
  ...
  "scripts": {
    ...
    "debug-hot": "NODE_ENV=development node ./start-hot.js",
    ...
  },
...

I'm using @babel/register here, so you'll need to add it as a dev dependency if you haven't already.
For anyone curious, @babel/register modifies require so Babel transpilation will be run on the fly upon required files (namely webpack.config.babel.js).
Note that I'm only compiling the server configuration, which in my case is exported as a function, you may need to adjust accordingly. I'm only compiling my server, because I'm running Webpack's HMR for the client bundle as part of my server. If you're not, you can modify the code above to load the client config and instantiate a second compiler.
There are packages out there that do something very similar to the provided start-hot.js, but they're opinionated (as is my solution) - but you can customise as you see fit.

Another workaround when using the CLI.
Create a webpack.config.js file which calls babel register and your webpack.config.babel.js

@Benjamin-Dobell Thank you for your patiently reply, the CLI solution is very great but complicated for me, I choose  the easy @babel/register solution too, below is my steps.

move ES-Version config entry into config directory.

mv webpack.config.babel.js config/webpack.babel.js

Create a new webpack config entry in root directory

config
├── webpack.babel.js
├── webpack.base.js
├── webpack.dev.js
├── webpack.dll.js
├── webpack.helper.js
├── webpack.loader.js
├── webpack.path.js
├── webpack.plugin.js
└── webpack.prod.js

webpack.config.js

Install @babel/register package

yarn add --dev @babel/register

Require @babel/register and webpack.babel.js inside webpack.config.js

require('@babel/register');
module.exports = require('./config/webpack.babel');

The solution is easy and useful, let's waiting for webpack upgrade together :)

BTW, official uglify-es feature is also waiting for webpack upgrade 😂

The other option is to continue to use babel-register over @babel/register and also add babel-core on the bridge dist-tag (e.g. 7.0.0-bridge.0) - which simply forwards to @babel/core.

interpret was updated

After upgrading to Webpack v3.9.0, everything OK again with webpack.config.babel.js 🎉

Does this even work with the 4.x versions?

This exact issue is happening to me on Webpack 4.20.2 still.

@ugrupp And you have @babel/core installed and a .babelrc / .babelrc.js file that will apply @babel/transform-modules-commonjs (e.g via @babel/preset-env)?

yup!
I just now managed to get it working though, with an extra install of @babel/register. So this is my setup now:
package.json
"dependencies": {
    "@babel/core": "^7.1.2",
    "@babel/preset-env": "^7.1.0",
    "@babel/register": "^7.0.0",
    ...
    "webpack": "^4.20.2",
  },

.babelrc
{
  "presets": [
    [
      "@babel/preset-env",
      {
        "useBuiltIns": "usage",
        "targets": {
          "node": "current"
        }
      }
    ]
  ]
}

webpack.config.babel.js
import { xyz } from 'xyz';
...

I'm sorry I'll post that here but I'm a bit lost with all this babel stuff.
For the moment I've got two config files for babel:

One for starting webpack in ES6 (.babelrc)

One for defining how webpack should compile my code (webpack.babel.config.js)

.babelrc

{
  "presets": [
    "@babel/preset-env"
  ]
}

webpack.babel.config.js

export default {
  presets: ["@babel/preset-env", "@babel/preset-react"],
  plugins: [
    "react-hot-loader/babel",
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-object-rest-spread",
    "babel-plugin-idx",
    ["import", { libraryName: "antd" }],
  ],
}

Since I've updated babel, I've got now this error:
> rm -rf ./dist/ && webpack --progress --colors --config=./webpack.babel.js --env.stage=salt

/Users/kud/Projects/_contexte/lois-webapp/webpack.babel.js:1
(function (exports, require, module, __filename, __dirname) { import path from "path"

SyntaxError: Unexpected identifier

which means it can't read in ES6, which means my .babelrc isn't read anymore.
 "devDependencies": {
    "@babel/core": "7.1.2",
    "@babel/plugin-proposal-class-properties": "7.1.0",
    "@babel/plugin-proposal-object-rest-spread": "7.0.0",
    "@babel/preset-env": "7.1.0",
    "@babel/preset-react": "7.0.0",
    "autoprefixer": "9.1.5",
    "babel-eslint": "10.0.1",
    "babel-loader": "8.0.4",
    "babel-plugin-idx": "2.4.0",
    "babel-plugin-import": "1.9.1",

Do you have any solution?
Thank you

Try installing @babel/register as I've suggested in the comment right above yours ;)

I miss to report it but yeah this is what I did finally and it works. :) Thank you.
I'd like to know why do we need "register" in fact?

@kud the register is for making Babel do the transpiling at runtime, it's what interpret uses

whatever i did. it just not work for me.
my webpack file name is webpack.config.dll.babel.js.
my npm script command is webpack --config webpack.config.dll.babel.js
i was install @babel/core @babel/register babel-loader already.
webpack version:4.25.1.
node version: 9.11.2
babel:
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.5",
"@babel/preset-env": "^7.1.5",
"babel-loader": "^8.0.4",
I don't know why it can not work for me...
even i try this way :require('@babel/register');
module.exports =
    process.env.VDEPLOY === '1'  ?
    require('./webpack.config.prod.babel')
    :
    require('./webpack.config.dev.babel');

it reported the same error:
(function (exports, require, module, __filename, __dirname) { (function () {var enterModule = require('react-hot-loader').enterModule;ente
rModule && enterModule(module);})();import path from 'path';

                                    ^^^^^^
SyntaxError: Unexpected token import

please help me...

@ChaseChan Your .babelrc config is not transforming the import / export syntax (if you have no config, babel does nothing!). You want at least { "plugins": "@babel/transform-modules-commonjs" }, but as you already have @babel/preset-env you probably actually want:
{
  "presets": [
    ["@babel/env", {
      "targets": { "node": "current" }
    }]
  ]
}

This can be a problem if you already have a different babel config for your actual app code. In that case, you might need to start looking into weirder babel options like overrides or switching to babel.config.js and using api.env() (in babel 6, the .babelrc env key, but that's now deprecated) to detect if you're building .babel.js or your app.

Hmm, sorry, what you've got looks like it should work to me, with the modules: false line commented out (it should be defaulting to "commonjs").
It's possible you have something else funky going on, I'd try to recreate your current build setup step by step in a new test project to find where it's breaking. (Unless anyone else sees something?)

Err: webpack --config webpack.config.babel.dll.js won't work, that's not a *.babel.js file, and thus won't be run through babel! (*.ts is run through typescript, etc...) You probably want something like webpack.config.dll.babel.js

@simonbuchan
Hi, morning.
after I change file name like what you suggest for ,but vscode terminal reported the same error...
below was my step.

change my filename to webpack.config.dll.babel.js
nvm use 9.11.2
npm run buil:dll
vscode reported the error.

chenzhiqiangMacBook-Pro:game_frontend_service chenzhiqiang$ nvm use 9.11.2
Now using node v9.11.2 (npm v5.6.0)
chenzhiqiangMacBook-Pro:game_frontend_service chenzhiqiang$ npm run build:dll

><EMAIL_ADDRESS>build:dll /Users/chenzhiqiang/Documents/game_frontend_service
> webpack --config webpack.config.dll.babel.js

/Users/chenzhiqiang/Documents/game_frontend_service/webpack.config.dll.babel.js:2
import path from 'path';
^^^^^^

SyntaxError: Unexpected token import
    at new Script (vm.js:51:7)
    at NativeCompileCache._moduleCompile (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/v8-compile-cache/v8-compile-cache.js:226:18)
at Module._compile (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/v8-compile-cache/v8-compile-cache.js:172:36)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at WEBPACK_OPTIONS (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/convert-argv.js:133:13)
    at requireConfig (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/convert-argv.js:135:6)
    at /Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/convert-argv.js:142:17
    at Array.forEach (<anonymous>)
    at module.exports (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/convert-argv.js:140:15)
    at yargs.parse (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/cli.js:241:39)
    at Object.parse (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/yargs/yargs.js:563:18)
    at /Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/cli.js:219:8
    at Object.<anonymous> (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack-cli/bin/cli.js:538:3)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)
    at Object.<anonymous> (/Users/chenzhiqiang/Documents/game_frontend_service/node_modules/webpack/bin/webpack.js:155:2)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)

that is the full message after I change filename and run command again.

For anybody still wondering in this thread or people who got here from google like me. This is caused by a bug in webpack-cli and will be fixed after this merging this PR https://github.com/webpack/webpack-cli/pull/728

@zzh8829   still have this problem.
    "webpack": "^4.29.6",
    "webpack-cli": "^3.3.0",
    "webpack-dev-server": "^3.2.1"
    "@babel/register": "^7.4.0",

@stavalfi
Did you follow these steps exactly

having @babel/preset-env in babelrc
webpack filename is webpack.config.babel.js
running webpack with yarn webpack

If you did then I have no idea, it does work for me.

@zzh8829  No, I didn't. didn't know I should do yarn webpack. I will try. Thanks

I have also gotten this problem. In my occasion, adding @babel/register works for me.

Here is what worked for me:
Note: I tried calling my configuration file babel.config.js, it didn't work. When I renamed it .babelrc the loader picked it up and it worked. So naming it .babelrc is really important for babel-loader.
Here an example for React.
$ npm install --save-dev @babel/core @babel/preset-env @babel/preset-react @babel/register babel-loader webpack webpack.cli
$ touch .babelrc

{
    "presets": [
        "@babel/preset-env",
        "@babel/preset-react"
    ]
}

"use strict";

import { resolve } from "path";

export default ({ NODE_ENV }) => ({
    mode: NODE_ENV,
    entry: resolve("src", "index.jsx"),
    output: {
        path: resolve("public"),
        filename: "index.js",
    },
    module: {
        rules: [
            {
                test: /.jsx$/,
                include: [
                    resolve("src")
                ],
                loader: "babel-loader"
            }
        ]
    }
});


Support for namespaces in monorepo

Currently package.json#name must correspond to name of the folder in package.json#workspaces.
We need to decouple it.

Closed by #205


Us044 View RU details

Added test scenarios for us044
Trello
Confluence

 US044: INT View RU Details [Med]

@andrewmil needs a rebase


update sqa

Closes #9
This PR add the requirement file for allowing the SQA documentation to be build.

@klfrick2 I have no writing access. You need to fix the conflicts. Just FY

@AaronEpiney


The Len() of InfiniteChannel is incorrect

When I use InfiniteChannel, I found that Len() returned is a "case" buffered value, https://github.com/eapache/channels/blob/master/infinite_channel.go#L58
A little demo shown as bellow:
package main

import (
    "fmt"
    "github.com/eapache/channels"
)

func main() {
    ch := make(chan int)
    infiniteCh := channels.NewInfiniteChannel()
    channels.Unwrap(infiniteCh, ch)

    for i := 0; i < 1000; i++ {
        infiniteCh.In() <- i
    }
    infiniteCh.Close()
    fmt.Println(infiniteCh.Len())

    m := 0
    for _ = range ch {
        m += 1
    }
    fmt.Println(m)
}

The output is
999
1000

It seems like we cannot simply place an expression in blocking evaluation context.

BTW, I have noticed #18 also, but I think they aren't the same problem.

The problem is actually in the implementation of Unwrap which unconditional he reads from the input channel before it may be able to write. I don't know if it is possible to fix off the top of my head.


Drop reload() / patch() in testcases for no-longer-remote Bucket/Blob properties

Ref:
https://github.com/GoogleCloudPlatform/gcloud-python/pull/769#discussion_r27420594
https://github.com/GoogleCloudPlatform/gcloud-python/pull/773#issuecomment-87799124

Re #777:  Ships that cross in the night, I guess.

Indeed!


Very nice!

Question, in most of all of the exports I've examined, the JSON result for FileNode.Imports is null, was this an intentional design decision (since the imports already exist in the main File.Decls hierarchy) or is this technically a bug?
Thanks!
Ritchie

Hi. Thanks for your issue. Sorry for the late reply.

was this an intentional design decision (since the imports already exist in the main File.Decls hierarchy) or is this technically a bug?

Somewhat both. Yes,  you can find the imports list inside of declaration specs. Is there a case when you need it separately? It seems like golang itself can reconstruct sources without flaws even without it. I will prepare PR with Imports included so you can check if it works better.

@ritchiecarroll https://github.com/asty-org/asty/pull/8 you can try it if you need. My impression - it makes JSON significantly larger without apparent benefit. But, for the sake of completeness, we can include it.

Wow, thanks so much! Personally, I do see value in having this from the perspective of completeness in a deserialized model - easier to just jump there and check for imports in that array.
Thanks again for such a nice tool.

@ritchiecarroll I think I pleased us both. I added another parameter to CLI --imports (default is false) which includes the list of imports to output JSON. Cheers.


wp-cli Issue

Hi, @pedrovp123 when does this warning show?

When i open the my Atom with the WordPress Suite: https://atom.io/packages/wordpress-suite

I'm not familiar with the Atom WordPress Suite. I think WordPress Suite was finding WP-CLI from your host machine (Mac or Windows). However, when you are using Wocker, WP-CLI is not installed on your host machine. It's installed on the Docker container. WordPress Suite may not be able to find it, so you got the warning. To use WP-CLI on Wocker, please vagrant ssh then run wocker wp commands. See: https://wckr.github.io/commands/#h3-8

Alright, thanks!


No improvement in Angular Cli commands execution speed on Windows 10 x64

I am using the latest Angular Cli v. 7 on Windows 10 x64.
My computer has 8GB of RAM, SSH fast hard drive, fast i7 Intel CPU.
So, the hardware is not an issue.
Angular Cli, which is built on top Ember is so painfully slow, even with the simplest possible Hello World application.
I have excluded the project folder from antivirus and disabled the Windows Defender.
Running Ember Cli Windows configured Search Service, complaining that it couldn't have configured Windows Defender as it was already turned off, which was ok.
I have restarted Angular Cli with yarn start, but with no speed improvement at all :(.

I don't think ng-cli uses any of the original code anymore!


Extend Windows minidump with referenced memory regions.

Scope & Purpose
Extend Windows minidumps with memory regions referenced from CPU registers or the stack to provide more contextual information in case of crashes.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[x] :book: CHANGELOG entry made

Backports:

[x] Backport for 3.8: #15115

Testing & Verification

[x] The behavior in this PR was manually tested

Should we also add "MiniDumpIgnoreInaccessibleMemory" flag for MiniDumpWriteDump ?
As we now execute memory reads and IsBadReadPtr  could give us "false positive"

@Dronplane good point! In my tests I definitely had some invalid addresses in the list and it worked nonetheless. Anyway, I will also add MiniDumpIgnoreInaccessibleMemory just in case.


Run flame graph on ^id, it's kind of slow

is the jinja substitution slow? something else?
we could pre-create the entire object in the awakenings emoji file, that might help a bit?

It's the historic lookup json dump

.


Update cluster-ip-allocation.md

Fix incorrect IP address description

@AzkbanMonitor Please sign the CLA in order for the PR to be reviewed.

/approve
/lgtm


[TextReplacer] Fix settings saving and implement loading of the settings on plugin startup

This pull request fixes a bug that was causing the settings to not be saved properly (instead of the config json containing the settings object under "settings", the string "settings" was being saved under the plugin's name).
In addition to that, settings weren't being loaded from the file on startup. This is also fixed in this pull request.

Ahh i forgot to do this, thank you for telling me, I will merge and push another update, the final one for now.

Let me know when you are done with your changes and I will merge them finally.

I am done


Why MRIQC is performed using HCP data Resting state data is not performed？

After converting the HCP data format to BIDS format, I can run MRIQC for all other data and get the corresponding results, but I can't get the results for resting data only. And no error is reported. What is the problem? I am using the singularity version of MRIQC. Thank you for answering my question!

Unfortunately, we cannot provide any support with the little information provided in this report. Please open a new issue using this link: https://github.com/nipreps/mriqc/issues/new?assignees=&labels=bug&template=bug_report.yml


A bug in compound operator implementation

Consider the following code snippet:
a[f(i)] += y;

Here f(i) is not a side-effect free function. When I run this code, f(i) is executed twice. That is a bug.

Why shouldn’t it be executed twice (considering that it’s the same as a[f(i)] = a[f(i)] + y;)?


Sync to upstream Luau 0.645

This PR syncs the upstream Luau version to 0.645. I confirmed locally that everything builds without issue, so no additional changes needed beyond upgrading the Luau commit.

Could you update the changelog with an entry for this sync?


Filtered lists interface

Added in filtering for archived, deleted, or any on the sample related child records list.

oops, checking on this asap!

Review requests removed until we address the Codacy issues that will block merge.


The method "[[METHODNAME]]" that you're trying to access does not exist in the class declaration

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.3.1
node: 8.2.1
os: darwin x64
@angular/animations: 4.3.6
@angular/cdk: 2.0.0-beta.10
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/material: 2.0.0-beta.10
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/service-worker: 1.0.0-beta.16
@angular/cli: 1.3.1
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
Repro steps.

Create a parent abstract class
Add a public function in that class
Create a component that extends the parent class
In the HTML of the component, invoke the function defined in the parent class (works perfectly fine)
Call the command: "ng lint" <-- This will gives an error stating that the method doesn't exists in the class declaration

The log given by the failure.
ERROR: [PATH]/mytest.component.html[1, 1]: The method "[[METHODNAME]]" that you're trying to access does not exist in the class declaration.
Desired functionality.
I would like the command "ng lint" to realize that the component is extending a parent class and look for the function implementation in the parent class, instead of throwing an error.
Mention any other details that might be useful.

I've the same issue

Also, the same is true for class properties:
The property "[[PROPERTY_NAME]]" that you're trying to access does not exist in the class declaration.
It actually works, but the ng lint command does not seem to like it.
I'm working with slightly older angular package versions:
"@angular/cli": "^1.3.0",
"@angular/common": "^4.3.4",
"@angular/compiler": "^4.3.4",
"@angular/compiler-cli": "^4.3.4",
"@angular/core": "^4.3.4",
"@angular/forms": "^4.3.4",
"@angular/http": "^4.3.4",
"@angular/platform-browser": "^4.3.4",
"@angular/platform-browser-dynamic": "^4.3.4",
"@angular/router": "^4.3.4"

I'm sorry but this error is not fixable in Angular CLI. ng lint uses TSLint and Codelyzer, and I suspect this is a bug in Codelyzer. Can you please open an issue in https://github.com/mgechev/codelyzer instead?


Added QwikSwitch platform

Description:
First go at Qwikswitch component for Qwikswitches.
Lights, Switches & dimmers supported
Issues:
Discovery rules in switch/_init__.py and light/__init__.py not working with import of homeassist.component.qwikswitch. Manual strings at the moment.
Started the edits, but must be missing something?
Tests passed: flake8 & pylint. tox not working on my pi dev environment
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):
qwikswitch:
    url: http://<IP_ADDRESS>:2020

Checklist:
If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

(Hopefully) fixed all issues
How do you rerun farcy?

This is not good and a hack. Instead, restructure your component in such a way that both light and switch platforms listen to the callback and handle the appropriate events themselves. That way the main component does not have to be aware of the add_devices component methods.

add_devices still called from main component, but no more global variable is used, passed as part of discovery_info. This means multiple instances of qwikswitch is supported now.
What is the options to get rid of add_device used by component?
In the callback .get_devices() is run:

it should only be called once and the result applied to all switches and lights (and maybe other stuff in future)
it is used to 'create' new devices in qwikswitch (although we could get away with only doing this once on startup)....

One way is to remove the second 'discover' item above. Only create on startup and add the device objects thtough discovery_info
Another way is to use hass.states.set(entity_name, new_value) from the main component and not keep a object reference and run .update? But then we will still need the entity ID that is only part of the sub-component.
Any other suggestions?

Woohoo, we're almost there! Updating 1 import statement and this should be good to go! 🎉

Hopefully this will wrap up my very first PR :grin: :fireworks:

Yesssssssssssssss 🐬


Add support for Pandoc

Pandoc (https://github.com/jgm/pandoc/releases/tag/2.19.2) has a couple tricky cases that I don't think we can currently handle.

Different arch map for each OS
MacOS has universal binary, so it doesn't use arch

I think it might be good to allow a filename_format_override and arch_map_override within each OS in os_map.

@jolheiser Any thoughts?

Hah, at this point we're getting close to just manually inputting every download URL it feels like.
I think your proposed solution sounds fine. It certainly could make for some complicated recipes, but I suppose that's inevitable given humans create release processes. 😅

As another alternative, what if we allowed for a new mapping of manual overrides altogether?
override:
  - os: macos
    arch: amd64
    filename_format: pandoc-[VER]-macOS.zip
    is_raw_binary: false # Example
    bin_path: ... # Example
    extract_has_root: false # Example

I don't think this is any less complicated, but it would be less nesting in YAML.

Seriously...I'm starting to think the people who come up with these releases are trying to make it hard to automate haha.
I like the idea of the non-nested override you suggested.

Added the filename_format_override field. If things need to be more extensible, we can switch to something more powerful.


1.14.0-beta3  -Dropdown blanks out when we scroll to the end or we re-open it

When we select the dropdown and scroll to the end, it causing the dropdown to totally blank out , same happend when we open the dropdown evenly . CHECK IMAGE - 1

to fix this i made following changes and it worked fine.

Hello! I have the same problem. I'll apreciate it if you can say to me where i need to apply this change? Cause i can see that you do not get any answer here

Hello! I have the same problem. I'll apreciate it if you can say to me where i need to apply this change? Cause i can see that you do not get any answer here

Hey, just download both css and js files. Then open the js file in any IDE (i use vscode). Use prettier to format the file. Then see the line number 2nd image i have attached. Use those files in your code instead of CDNs.
If still doesn't work let me know i’ll share the files

Yo! Thanks for the info! I tried your solution but I noticed that even so, if the dropdown has a lot of information, it is not displayed completely. After a few hours debugging with the original file downloaded from the NPM packages, i figured out that is a scrolling problem, so, if you check the configuration options, an option named virtualScroll, it have 600 as default value, you can try setting the value of this option as twice the size of the list that you render in the dropdown and it could work for you, since this worked for me.

Yo! Thanks for the info! I tried your solution but I noticed that even so, if the dropdown has a lot of information, it is not displayed completely. After a few hours debugging with the original file downloaded from the NPM packages, i figured out that is a scrolling problem, so, if you check the configuration options, an option named virtualScroll, it have 600 as default value, you can try setting the value of this option as twice the size of the list that you render in the dropdown and it could work for you, since this worked for me.

Hey man!! Happy to hear that your UI is fixed. I would like to suggest that there’s procedure called lazy loading which you can implement to plot the less amount of data into selection and when you scroll down it will add more and remove the existing ones. It works in both ways (scroll up and scroll down) And about the virtualScroll, my list is dynamic and it could have n numbers or dropdown items. So i used lazy loading there.


output data types - floats vs ints

test the suitability of using ints instead of floats as outputs from:

NIDEM (cm instead of m)
exposure (% instead of decimals - need to determine whether loss of spatial resolution is detrimental to the product)
bias/offset (as above)

tested ds.idxmin.astype('int') on exposure array but didn't work as expected. Need to return to this down the track.

As in here?
    dem['idxmin'] = dem['diff'].idxmin(dim='quantile')
Does this work?
import numpy as np
dem['diff'].idxmin(dim='quantile').astype(np.int16)

Afraid not. The array values all change from being between 0 and 1 to between 0 +- 0.05
The xarray.astype doco indicates there might be some more thinking to do on the conversion…
Dr Claire Phillips (she/her)  |  Remote Sensing Scientist
Digital Earth Australia  |  Space Division
Geoscience Australia
t +61 2 6249 9462    ga.gov.auhttps://www.ga.gov.au/
From: Robbi Bishop-Taylor @.>
Sent: Monday, 27 March 2023 1:13 PM
To: GeoscienceAustralia/dea-intertidal @.>
Cc: Claire Phillips @.>; Author @.>
Subject: Re: [GeoscienceAustralia/dea-intertidal] output data types - floats vs ints (Issue #1)
As in here?
dem['idxmin'] = dem['diff'].idxmin(dim='quantile')https://github.com/GeoscienceAustralia/dea-intertidal/blob/c59fc4bebef9bef4304f9f04b83a3d364319051a/intertidal/exposure.py#L39
Does this work?
import numpy as np
dem['diff'].idxmin(dim='quantile').astype(np.int16)
—
Reply to this email directly, view it on GitHubhttps://github.com/GeoscienceAustralia/dea-intertidal/issues/1#issuecomment-1484375200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGEQEUNFZ7HU6IV5FG7GZMLW6DZSFANCNFSM6AAAAAAVFAE3ZY.
You are receiving this because you authored the thread.Message ID: @.***>
Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.

Afraid not. The array values all change from being between 0 and 1 to between 0 +- 0.05 The xarray.DataArray.astype doco indicates there might be some more thinking to do on the conversion…

Update: seems to work if values (on the extents dataset) are scaled up by multiplying by 100 before applying astype func.

New TODO
With respect to the exposure layer: all former nan values were given a value of 0 when dtype changed from float to int. This may not make sense with the purpose of the exposure layer. TODO: check how floats of 0 compare to int 0's in exposure outputs

Closed by #13