resolve.root Breaks - ModulesInRootPlugin and makeRootPlugin

Between 2.0.2-beta and 2.0.4-beta (2.0.3-beta not published), the resolve.root configuration stopped working. As best I can tell, the issue happens because:
/lib/WebpackOptionsApply.js
No longer includes ModulesInRootPlugin and makeRootPlugin is no longer called. The result is that all non absolute or relative path calls to require now fail. The verbose output shows that the path for resolve.root is never checked.
I believe the above changes are present up to the most recent release. I'm not sure if this is a design decision that hasn't yet been completed or if the intent is to use some other mechanism. If at all possible it would be nice to have this back or maybe a comment on how it should now work.
Thanks!

There is no resolve.root webpack 2 anymore. It has been renamed. See changelog.

Thanks, I see now that it is modules only. Sorry for the PR.


Q: Delay between TV on and websocket ready for connect ?

Hi, curious if anyone with an LG TV is observing very long delays (10-15s) before the LG TV websocket is available for connection after the TV is powered on? I have an 2017 OLED65E7 webos3.7
I have a written a very small bash script using netcat to detect when ws is ready for connection and will stop when netcat connects to LG ws. I've executed it many times, and my LG ws is only ready after 10-15sec.

wakeonlan [LG mac addr];./checkport.sh

checkport.sh

#!/bin/bash
time=0;
result=1;
while [  $result -ne 0 ]; do
nc -z -w1 [LG IP] 3000;
if [ $? -eq 0 ]; then
let result=0;
fi
echo Port: $? Time: $time;
sleep 1;
((time++));
done

Thanks for an insight/info !

Same here, with an old 2015 WebOS 2 TV. I guess what you see here is just the time WebOS needs to boot up. In this first 10-15seconds I'm also not able to use the Smart TV functionality, it tells me smth like "please wait until smart services started up" when I press the Home button on the TVs remote too early.


[ClassName generator] in MUI v5

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Is it possible we just show class="css-1lt9dpx"
Instead of display - class="MuiTypography-root MuiTypography-h1 css-1lt9dpx"
Is this possible in MUI?
Expected behavior 🤔
No response
Steps to reproduce 🕹
No response
Context 🔦
Reference from
https://mui.com/guides/classname-generator/
Your environment 🌎
No response

I guess your point is about optimizing the generated HTML for SSR. No, we don't have the option to entirely remove static class name generation.
Note: it might be worth doing some benchmark on bundle size reduction if there are no MUI static class names.

@siriwatknp Yes, that's right
In my project, there are even class names that are much longer than the example I provided. I still haven't found a solution for this work
Thanks for your feedback.

We are generating class names for each state, this is why you may have longer classes. As @siriwatknp mentioned, would be great to see what is the pain (for example noticeable bundle size being generated) before we think about implementing something to support not generating them.
What is your pain? What would not having those classes solve for you? Note that in some cases we use those classes to add styles, for example adding styles for the disabled buttons is by using the Mui-disabled class selector. We cannot remove all the classes in any case.

This is not so important to me.
I'm just curious if we have a class name reduction feature. just a matter of HTML optimization as @siriwatknp mentioned.
Thank you for your feedback.
We can close the problem here.


Snyk Service Broker documentation

@geva Thanks! I will review with the docs team and get back to you with any feedback we have.


Get in touch with Mustafa

Hello dear Mustafa. I am designing a low code platform and I would like to discuss it with you if you do not mind? How can we get in touch? Cheers!

You can get in touch with me on Discord if you'd like: mustafaq#8791


Testing ncWMS2 with NECOFS GOM3 Data

In the context of evaluating ncWMS2 performance in TerriaJS vs. Godiva3, I've done some testing on ncWMS2 with the NECOFS GOM3 data.
Title: NECOFS GOM3 Grid
Dataset:  A single NetCDF3 file at SMAST, but is modified with NcML in the THREDDS Catalog to be UGRID compliant, so is accessed via OPeNDAP from the SMAST THREDDS Catalog here: http://www.smast.umassd.edu:8080/thredds/forecasts.html?dataset=gom3_nocache
Grid: 53087 nodes, 99137 elements (all triangles)
WMS Endpoint: http://www.smast.umassd.edu:8080/ncWMS2/
GetCapabilities request:
http://www.smast.umassd.edu:8080/ncWMS2/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0
Test 1: Performance in Godiva 3:
Surface velocity, full extent, defaults.   Took 19 seconds, dominated by the time on the 16 tile requests to ncWMS2, each of which took 1-16 seconds to execute.    It's clear that the tile requests are being processed in parallel on the server to some extent, as the times from the individual tiles add up to at least 70 seconds.   So perhaps four processes are being used on the server?  The server has 16 Xeon CPUS with 4 cores each, so perhaps this means the process runs on a single CPU, but can use all 4 cores?
Here's the screenshot:

Here's an example of one of the tile requests:
http://www.smast.umassd.edu:8080/ncWMS2/wms?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=default-vector%2Fdefault&LAYERS=FVCOM-NECOFS-GOM3%2Fu%3Av-group&TIME=2016-10-20T10%3A01%3A52.500Z&ELEVATION=0&COLORSCALERANGE=-0.1529%2C3.257&NUMCOLORBANDS=250&ABOVEMAXCOLOR=0x000000&BELOWMINCOLOR=0x000000&BGCOLOR=transparent&LOGSCALE=false&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=-71.652868489587,37.467213541663,-65.279507812504,43.840574218746&WIDTH=256&HEIGHT=256
Testing a 2nd time step took 19 seconds of wall clock, so no speedup on an additional time step. Perhaps no use of tree structure or topology caching then?

This FeatureInfo request at a specific location took 3 minutes!
http://www.smast.umassd.edu:8080/ncWMS2/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=FVCOM-NECOFS-GOM3%2Fu%3Av-group&QUERY_LAYERS=FVCOM-NECOFS-GOM3%2Fu%3Av-group&STYLES=default-vector%2Fdefault&BBOX=-71.553965%2C40.731524%2C-68.566452%2C43.121534&FEATURE_COUNT=5&HEIGHT=600&WIDTH=750&FORMAT=image%2Fpng&INFO_FORMAT=text%2Fxml&SRS=EPSG%3A4326&X=179&Y=25&TIME=2016-10-20T03%3A00%3A00.000Z&ELEVATION=0
This was done using my internet from home in Falmouth.  20Mbps download, 6Mbps upload.
Test 2: Performance in TerriaJS
Testing from TerriaJS instance on http://gamone.whoi.edu/terriajs
Same full extent surface velocity for 1 time step.   Using 2D view.   Now there are 384 tile requests, and each one is taking minutes.   This one, for example,  took 6.4 minutes:
http://www.smast.umassd.edu:8080/ncWMS2/wms?time=2016-10-20T11%3A11%3A15Z&transparent=true&format=image%2Fpng&exceptions=application%2Fvnd.ogc.se_xml&styles=default-vector%2Fdiv-RdBu-inv&tiled=true&feature_count=101&colorscalerange=0%2C2&service=WMS&version=1.1.1&request=GetMap&layers=FVCOM-NECOFS-GOM3%2Fu%3Av-group&srs=EPSG%3A3857&bbox=-8766409.899970295%2C3757032.814272983%2C-7514065.628545966%2C5009377.085697312&width=256&height=256

One issue is that TerriaJS is requesting tiles in Web Mercator (EPSG:3857), while Godiva3 is requesting tiles in Lon/Lat (EPSG:4326), the native coordinates used in CF.

@guygriffiths, taking you here just in case you are curious or have some comment...

@rsignell-usgs Thanks for doing this testing.  We can definitely get better results than that.  Some thoughts based on some quick tests on a similar dataset (same grid, just one timestep):

Reprojection is very slow (although nowhere near as slow as you found).  I get ~45s for that reprojection.  However, we've recently switched to using Apache SIS in place of Geotoolkit.  With that, generating the reprojected image takes about 6-7s
GetFeatureInfo is extremely slow.  This was on my to-fix list anyway.  The trouble is that we use a very general method which works with in-situ data.  Some quick tests enabled me to reduce the time taken for a GetFeatureInfo request from 58s down to 47ms (no, that 'm' is not a typo!).  There may be more overhead once it's properly implemented, but it's still going to be considerably better.
Tile request times are not great, but we're having to read 2 fields on an awkward grid, calculate the reprojected angles based on finite differences, and then render the whole lot.  Vectors on an unstructured grid are likely to be the worst-case scenario for ncWMS rendering time.  However, I'll look into it and see what I can do

As you suspected, there was no domain caching for unstructured grids.  I've added that and the other changes to the develop branch.  If you're able to test that out, you should see some considerable speed-ups.  If there's anything which could benefit from more optimisation let me know and I'll look into it.

@guygriffiths , this sounds awesome!
To test these improvements, it should be sufficient for me to do:
git checkout develop
git pull origin develop
mvn clean install

and then move the resulting edal-wms-1.2.4-SNAPSHOT.jar into ./ncWMS2/WEB-INF/lib/, and restart   tomcat, right?

@rsignell-usgs - No, you'll have to do a full rebuild for this one, I'm afraid.  The conversion to use Apache SIS changes things throughout EDAL and ncWMS.

Or you can download the fresh build I just put up here:
http://www.personal.rdg.ac.uk/~qx901922/ncWMS2.war

Just tested.  OMG.  Amazing!  This is fabulous.

The projection improvement is amazing.    Loading scalars only takes a few seconds now:

and loading vector fields now takes 10s of seconds, instead of minutes:

@guygriffiths , when you think the next release of ncWMS will come out that incorporates these massive improvements?

I can probably do a release tomorrow.  I'm just in the process of fixing a bug which will have a big impact on someone else's stuff, so it makes sense to release it once that's done.

Just released:
https://github.com/Reading-eScience-Centre/ncwms/releases/tag/ncwms-2.2.4


Support SASL user auth with memcached

Howdy,
I use memcached with Simple Authentication and Security Layer (SASL) meaning to connect to the sever a user and password must be passed to the memcache options.  I have done this in my local install by modifying the memcached wrapper with the required options, ie:
    function __construct($host, $port) {
        $this->memcache = new Memcached();
        $this->memcache->setOption( Memcached::OPT_BINARY_PROTOCOL, true );
        $this->memcache->setSaslAuthData( “USER”, “PASSWORD” );
        $this->memcache->addServer(CONFIG["memcached_host"], CONFIG["memcached_port"])
                   or die ("Server could not connect to memcached!\n");
    }

What I'm hoping is to find a way to have this supported via the config.php file. May be able to do something like addin memcached_binary_protocol  andmemcached_setSaslAuthData to the options then check for them conditionally. I'm just not sure if this is helpful for others or if a more generic way of adding additional options would be better.
Interested to hear your thoughts on this.

This looks like a good idea. Haven't used memcached before, so I don't know its full capabilities yet, but this seems like a must-have. I'll see if I can get this included in the next release.
Will probably result in adding memcached_protocol, memcached_use_sasl, memcached_sasl_user and memcached_sasl_password settings.
Thanks for the suggestion!

I'm also pretty new to memcached just set it up a few months ago with SASL based on the DigitalOcean tutorial. There may be other options that people will want to add so perhaps more generic option in the future may be needed. However, your suggested settings variables for SASL make a lot of sense for now. It would be great to see this in the next version.

This will be supported in the next release :+1:


az sql ltr-backup restore does not have a --service-objective-name parameter

Related command
az sql ltr-backup restore
Describe the bug
az sql ltr-backup restore does not have a --service-objective-name parameter.
Due to a service bug, this can cause issues (incorrect LicenseType) when restoring serverless databases. Additionally, this is functionality that is in az powershell that is not in the az cli.
To Reproduce
az sql ltr-backup restore --service-objective-name GP_S_Gen5_2 --dest-database restoredDB --dest-resource-group rg --dest-server test-use --backup-id ""
Expected behavior
az sql ltr-backup restore should have a --service-objective-name parameter and pass it to the internal create or restore api
Environment summary
az console on azure
Additional context
Restore-AzSqlDatabase -FromLongTermRetentionBackup has a -ServiceObjectiveName parameter and it works.

Looks like the correct parameter might be --service-objective instead

route to CXP team

Fixed by #25328


FROM_BASE64 function is undefined

TO_BASE64 mysql function works fine but FROM_BASE64 function is undefined while executing row sql.

No such function: https://github.com/doctrine/doctrine2/tree/master/lib/Doctrine/ORM/Query/AST/Functions

See the documentation about adding your own functions:
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#adding-your-own-functions-to-the-dql-language
Both TO_BASE64 and FROM_BASE64 would be custom functions and you need to add them yourself. In your project somebody might already have added just TO_BASE64.


swift.org does not mention publishing a swift package

Description
It is very obscure how to publish a swift package. And it has changed since swift 5.7 apparently and I completely missed it. The post on the swift forum also only has 15 likes. https://forums.swift.org/t/pitch-package-registry-publish/62828. So the announcement about it lacked maybe a bit enthousiasm? ☺
As a developer I would expect https://www.swift.org/documentation/package-manager/ the package manager explanation would explain the concept of publishing.  It is completely lacking.
Is there a way to contribute to the website?
Could somebody add some info about the 2 options now? git repo's or services like aws CodeArtifact?
Could it maybe list available providers?

Note: aws has support https://aws.amazon.com/blogs/aws/new-add-your-swift-packages-to-aws-codeartifact/

Any idea where it is more suitable than here to report that issue?
Expected behavior
Went to https://www.swift.org/documentation/package-manager/ expecting info about publishing
Actual behavior
found none
Steps to reproduce
https://www.swift.org/documentation/package-manager/
cmd+f publish
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version && uname -a)
No response

That helps a lot thanks but I still feel
like it is buried to deep and should be more upfront. The scalability of swift packages that are hit repo's has posed at least for me in big organizations problematic. But thanks for the linked.

I think linking to or integrating that content seems like a reasonable request. The website repo is over here btw: https://github.com/apple/swift-org-website

Ok that is fine


Package not found

I'm trying to obfuscate the dnscrypt-proxy for, well, reasons that aren't important. I've placed it in:
C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy and it builds fine.
go build -ldflags="-s -w" -mod vendor
Now I try to gobfuscate it:
C:\Users\kevin\go\src>gobfuscate github.com\DNSCrpt\dnscrypt-proxy  outxxx
2020/07/07 13:36:14 Copying GOPATH...
Failed to copy into a new GOPATH: package github.com\DNSCrpt\dnscrypt-proxy not found
GOPATH seems ok:
C:\Users\kevin\go\src>set gopath
GOPATH=C:\Users\kevin\go
I used filename completion to ensure I didn't make any typos, but here's a dir:
C:\Users\kevin\go\src>dir github.com\DNSCrpt\dnscrypt-proxy
Volume in drive C is OS
Volume Serial Number is 080E-F589
Directory of C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy
07/07/2020  01:34 PM              .
07/07/2020  01:34 PM              ..
07/07/2020  01:18 PM              testdata
07/06/2020  11:19 AM             3,736 common.go
07/06/2020  11:19 AM            32,561 config.go
(and so on)
I suspect stupid user error on my part, but I'm befuddled.

Did you ever fix this?

I never found a fix.

never never? xd


When pick a time with dateTimePicker, it closed but the value in the model does't change.

This is my code:
data: {
		model: {
            date:new Date('2017-01-13')
		},
		schema: {
			fields: [
				{
                    type: "dateTimePicker",
                    label: "日期选择",
                    model: "date",
                    dateTimePickerOptions: {
                        format: "YYYY-MM-DD"
                    },
                    onChanged: function(model, newVal, oldVal, field){
                        console.log(model, newVal, oldVal, field);
                    }
                }
			]
		},

		formOptions: {
			validateAfterLoad: true,
			validateAfterChanged: true
		}
	}

I found it does't trigger the onChanged function. When I input something like  " ", it has trigger the function and change the value in the model. How should I deal with this situation?

What's version are you using? 0.6.1 or 2.0.0?

It is fixed in #118


TextPrompt.cs "Invalid Input" validation error for empty Nullable

Information

OS: Windows/WSL2
Version: 20.04.4 LTS
Terminal: Windows Terminal

Describe the bug
"Invalid Input" validation error is returned if:

prompt is TextPrompt<Nullable<T>>
AllowEmpty() is specified
input  is empty

To Reproduce
Code snippet for prompt:
var result = AnsiConsole.Prompt(new TextPrompt<int?>("Some message").AllowEmpty());
AnsiConsole.MarkupLine($"Result is {result.Value}");

Output:

Expected behavior
Since :

AllowEmpty is true
TypeConvertor for Nullable<T> returns true

Validation error should not occur.  Instead null should be returned.
Additional context
In implementation:

Empty input is checked here and then
AllowEmpty flag is checked here

Only after this following snippet  is executed
else if (!TypeConverterHelper.TryConvertFromString<T>(input, out result) || result == null)
{
    console.MarkupLine(ValidationErrorMessage);
    WritePrompt(console);
    continue;
}

Will it be wrong to remove || result == null?
AllowEmpty is already checked and it's allowed.
TypeConverterHelper.TryConvertFromString<T>(input, out result) says that conversion is successful.

Closing as duplicate of #714


Update LUIS SDK to support APIs v3.0-preview

Add generated SDK for the LUIS v3.0-preview APIs
Spec PR https://github.com/Azure/azure-rest-api-specs/pull/5724

Updated the Nuget package version. But why 2.8.0 specifically, why not 3.0.0?

Updated the Nuget package version. But why 2.8.0 specifically, why not 3.0.0?

Couple of reasons.

Whenever RPs are transitioning from one stable version to another (x-1 to x), we ask them to start with a x-1.8.0-preview. This allows them to release an SDK and make some changes if necessary before actually releasing a stable x.0.0 version.
If the REST API version is preview, the Nuget package MUST be preview too. Here, the API version seems to be in preview. the next Nuget preview you can work on would be 2.8.0-preview, whenever you are ready to release a stable version you can move to 3.0.0

@moabba Please join azure org here to kick off the Jenkins build

@moabba Please join azure org here to kick off the Jenkins build

I'm already in the Azure org. How and where can I kick off this build?

Will merge once CIs pass

Will merge once CIs pass

Thanks! Any idea when does the Nuget package get released?

Will merge once CIs pass

Thanks! Any idea when does the Nuget package get released?

You will have to kick off a Jenkins build to publish the Nuget. Please check the instructions here


Create new google store thumbnail

Instead of a centered icon create a colourful image to get more attention when scrolling past all the other apps.

Opened a new pull request for 3 new images. It looks like you can add these through the developer dashboard Note: You can find the review status of your promo image in each item's listing within your developer dashboard. Click on 'Edit' on the item's listing, and scroll down to the Promotional Images section. The smallest of the 3 will end up being the app photo in the listing.
https://developer.chrome.com/webstore/images#promo


processor/sinkmanager(ticdc): background GC sort engine data

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/5928
See https://github.com/pingcap/tiflow/issues/5928#issuecomment-1318253453
What is changed and how it works?
Background GC sort engine data.
Check List
Tests

[x] Unit test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

Codecov Report

Merging #7737 (8d35fc2) into master (6d24a57) will decrease coverage by 0.5792%.
The diff coverage is 72.1019%.

Additional details and impacted files

Flag
Coverage Δ

cdc
66.4274% <76.2439%> (+0.1254%)
:arrow_up:

dm
52.1538% <56.1728%> (-0.0315%)
:arrow_down:

engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7737        +/-   ##
================================================
- Coverage   59.9034%   59.3242%   -0.5793%
================================================
  Files           810        636       -174
  Lines         93255      80982     -12273
================================================
- Hits          55863      48042      -7821
+ Misses        32535      28695      -3840
+ Partials       4857       4245       -612

/run-all-tests

/run-all-tests

/run-all-tests

Rest LGTM.

/merge


Media with tabs block

Fix #89
Test URLs:

Before: https://main--vg-volvotrucks-us-rd--netcentric.hlx.page/drafts/shomps/redesign/media-with-tabs
After: https://89-media-with-tabs--vg-volvotrucks-us-rd--netcentric.hlx.page/drafts/shomps/redesign/media-with-tabs

@SantiagoHomps-NC the components should have 3 variations with white, gray and black backgrounds. Add more blocks for those as well. Figma reference https://www.figma.com/file/Id3nd9kbfh8TpS1SfWhrW2/Volvo-Component-Library?type=design&node-id=1790-15933&mode=design&t=u2O1wEzS12J2lQ7g-0


Add profiling to the FFTW backend

Test failure looks like something to do with the compute environment (failing to find ADIOS2 installation) so rerunning


rowData for retrieving id from a row won't work

Hi, here's my code:
ListComponent.ts
settings = {
   columns: {
            id: {
                title: 'ID'
            },
            username: {
                title: 'Username'
            },
            firstName: {
                title: 'firstName'
            },
            middleName: {
                title: 'middleName'
            },
            lastName: {
                title: 'lastName'
            },
            parent: {
                title: 'parent'
            },
            balance: {
                title: 'balance',
                valuePrepareFunction: (cell,row) => 0, //Passed value for testing component functionalities
                type: 'custom',
                renderComponent: BalanceComponent
            },
            address: {
                title: 'address'
            },
            comune: {
                title: 'comune'
            },
            provincia: {
                title: 'provincia'
            },
            cap: {
                title: 'cap'
            },
        },

RenderComponent.ts
export class BalanceComponent implements OnInit {
  @Input() rowData: any;
  invoicesCounter: number

  isPositive: boolean = false;

  constructor(private authHttp: AuthHttpService) { }

  ngOnInit() {
    console.log(this.rowData);
    this.authHttp.getBalance(this.rowData.id).subscribe(data => this.balance = data);
    if(this.balance == 0){
      this.isPositive = true;
    }
  }
}

Using
@Input() value: number  works perfectly

Same here, this.rowData doesn't work. How to fix it?

 In the configuation of the column I'm adding a valuePrepareFunction attribute that just return the row.
{
    type: 'custom',
    renderComponent: CustomRenderComponent,
    valuePrepareFunction: (cell, row) => row,
}

Then in the `CustomRenderComponent` `value` will be the row instead of the column value.


Implode Activity

This is the basic implementation in which random blocks are created. Black blocks represent space.

Fixed in https://github.com/llaske/sugarizer/pull/784


Swift 4 issue: Declarations in extensions cannot override yet

Hey!
There is an issue with Swift 4 and extension overrides: Declarations in extensions cannot override yet (see attached picture).

This is a non-blocking issue as it continue to work with Xcode 9 and the Swift 3 mode we can set manually, and for now the issue is related to Cocoapods.
Have a good day!
Best regards.
Thomas

@tdimeco There is a Swift4 branch in the project that you should fix this issue.


Example project's tests can't be run with intellij

Describe the bug
I cloned the examples folder of the jest builder and tried to run the multiple-apps example directly from intellij and it didn't work. The first app (my-first-app) runs correctly. The second one (my-second-app) uses a testMatch option which searches test files in my-first-app and when running my-shared-library tests the rootDir is set to the lib root.
Running the tests via ng test <project-name> from a terminal works fine, however.
This could be either a configuration issue within the example app or with intellij passing the wrong parameters.
Maybe @segrey can have a look at the intellij side.
To Reproduce
Steps to reproduce the behavior:

Clone and open the multiple-apps example with intellij
Do an npm or yarn install
Execute a test case in each of the three projects directly from intellij (the little play button)

Expected behavior
Each test case should be executable within intellij
Builder:

jest-builder
v7.2.1

Fixed in 7.2.2

Fixed in 7.2.3


Manually add Pythia content to gallery

While #126 is all about automated addition of Pythia content to the gallery, we should start be looking at manually adding our content to the gallery first.  This may inform how we want to automate this process in the future, but we should get our content on the gallery as soon as possible.

Agreed


update multi-geo-capabilities-in-onedrive-and-sharepoint-online-in-of…

…fice-365.md
issue #256
added info about SharePoint MultiGeo release

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@MaratMussabekov - please merge the commit on the copy/edit review made by JohanFreelancer9 or make the necessary changes on the PR following the suggestions he made. Thank you.

Dear @JohanFreelancer9 ,
your recommendations were applied, thank you!

@MikePlumleyMSFT - Can you please assist to check, approve and merge the content for this PR based on issue #256?
Thank you.

@MikePlumleyMSFT - I would like to follow up on this. Can you please assist to check, approve and merge the content for this PR based on issue #256?
Thank you.

@pamgreen-msft - I know Mike is on leave, who should be reviewing PRs for his content?

Hi @JoanneHendrickson, can you review the multi-geo PRs?


Wrap environment variable documentation to match rest of help output

changed case to match the output of argparse doc section headers.
This is the same shutil command that argparse uses under the hood
for determining the width for wrapping.
indent long strings that are already processed by dedent.
shutil is already installed as a requirement for argparse.
The env lines end up long (longer than 88) to work correctly for
wrapping and indenting.

Addresses wrapping issue mentioned in #523:
| Also, another minor improvement would be to get this help text to
| properly wrap when being viewed from the command (It currently
| doesn't wrap on the console properly.)

[x] I have added an entry to docs/changelog.md

Summary of changes
Test plan

Tested by running
# command(s) to exercise these changes
# Run help with various screen widths.  Compare with output of command sent into pipe which does not detect width:

# wide terminal, mine is 137:
% echo $COLUMNS
137
% pipx --version
[...snip...]
optional environment variables:
  PIPX_HOME:           Overrides default pipx location. Virtual Environments will be installed to $PIPX_HOME/venvs.
  PIPX_BIN_DIR:        Overrides location of app installations. Apps are symlinked or copied here.
  USE_EMOJI:           Override emoji behavior. Default value varies based on platform.
  PIPX_DEFAULT_PYTHON: Overrides default python used for commands.
[...snip...]

# capped to a default 78 chars:
% pipx --version | cat

[...snip...]
optional environment variables:
  PIPX_HOME:           Overrides default pipx location. Virtual Environments
                       will be installed to $PIPX_HOME/venvs.
  PIPX_BIN_DIR:        Overrides location of app installations. Apps are
                       symlinked or copied here.
  USE_EMOJI:           Override emoji behavior. Default value varies based on
                       platform.
  PIPX_DEFAULT_PYTHON: Overrides default python used for commands.
[...snip...]

# tiny screen
% echo $COLUMNS
55
% pipx --help
[...snip...]
optional environment variables:
  PIPX_HOME:           Overrides default pipx
                       location. Virtual Environments
                       will be installed to
                       $PIPX_HOME/venvs.
  PIPX_BIN_DIR:        Overrides location of app
                       installations. Apps are
                       symlinked or copied here.
  USE_EMOJI:           Override emoji behavior.
                       Default value varies based on
                       platform.
  PIPX_DEFAULT_PYTHON: Overrides default python used
                       for commands.

optional arguments:
  -h, --help            show this help message and
                        exit
  --version             Print version and exit
[...snip...]

Rebased to master (against the changes from my other PR. Thanks for merging!)

Thanks @spazm that looks so much more polished and nice. 🙂


Can Foxglove WebSocket be supported?

Using ddsrecorder can only save topic data as an MCAP file for offline visualization. ddsrecorder can add a WebSocket Server to convert topic data into MCAP data in real-time, thereby achieving online visualization.
reference:
https://docs.foxglove.dev/docs/connecting-to-data/frameworks/custom#foxglove-websocket
https://github.com/foxglove/ws-protocol/tree/main/cpp

Hi @tokamakz ,
Thanks for reaching out. Yes we are aware of this capability in Foxglove, but unfortunately we are currently not able to allocate the resources required to implement the feature you are requesting. I suggest however contacting our commercial support team in order to study your use case and offer a working solution.


Question: is RSASSA_PSS supported by wrapper code?

Hi,
First thing, Thank You for your exceptional work in producing this Cython wrapper for mbedTLS.
I was wondering, is it possible to use RSASSA_PSS to sign bytes with mbedtls.pk.RSA? If so, could you please provide an example? I've been looking in the source code, looking how to use mbedtls_pk_type_t.MBEDTLS_PK_RSASSA_PSS, but could not find it.
I just noticed that RSASSA_PSS is commented in CIPHER_NAME tuple, so I suspect this is not implemented?
Kind Regards,
Roberto

Hi Roberto,
Thank you for your very nice feedback. I am sorry but as of now, I do not have RSA PSS.
I am currently working (for about one year actually) on adding TLS to the library. It is also mostly working now so that I think I will be able to release it this year. My plan is then to go on with DTLS.
However, I do wrap simpler things sporadically when I get frustrated with the more complex parts of the library. That means that you may get RSA PSS any time within the next 9 months. Adding RSA PSS support would be worth a release. Then, it would be documented in the README as well as in the tests.
That being said, I most certainly accept contributions 😉. Please tell me if you can contribute and I will do my best to help you get started. RSA PSS seems like a good starting point.

Hi Mathias,
Thank you, in such case I will use cryptography library: yesterday night I saw it supports RSA PSS, which I need. I would like to contribute to python-mbedtls but I need to think about this, because I am currently working on other projects to contribute to Python community (for example, a library to handle JWT tokens from Azure cloud, maybe OpenID Connect implementation for asyncio), and I don't have much free time. I will drop you an email if I am ready for this. :)
Kind Regards,
Roberto


Remove hardcoded OP_PUSHDATA1

https://github.com/Bit-Wasp/bitcoin-lib-php/blob/master/src/RawTransaction.php#L1285
This hardcoded OP_PUSHDATA1 will cause problems with BIP62, which addresses malleability in a number of ways, including checking if the length of the datadata's could be represented in fewer bytes.
For example, 2-of-3 is only about 0x69 bytes, hence does not require any special PUSHDATA opcodes. The scripts produced are valid, but are relying on the same behavior that actually causes malleability, and may soon be invalidated.
We have some time on this one as BIP62 is delayed, I'll have a look at this soon.

This has been merged and fixed, will close.


feat(icons): add long arrow icons

@youssefssc no need to rebase we just need to fix the storybook files since it is using current date instead of mocked one, cc @PrincAm


Refs 306: allow push prod-beta build repo

https://issues.redhat.com/browse/HMSCONTENT-306

/retest

going ahead and merging, jenkins seems stuck?

https://issues.redhat.com/browse/HMS-561


Use context.Context accross the library

Applications that require full plumbing of context, such as those that
rely on cancellation for resource cleanup, would be incompatible with
inconsistent plumbing 🐹.
This connects the net/context from the user of the libcompose API to
the engine-api and below (where request are cancellable for
example). This should also allow us to some cool and safe stuff with
concurrent goroutines and cancellation :angel:
This will allow to handle, for example, when a user hits CTRL+C on up : it will cancel/close the request, etc… and could be used for more usefulness.
Depends on #239 (for the refactoring on Delete)
🐸
/cc @joshwget @ibuildthecloud @dnephin
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

@joshwget @ibuildthecloud how do you feel about this one ? :angel:

"LGTM" (not a maintainer), but interested in @joshwget and @ibuildthecloud's opinion :+1:

Really makes me wish Go had default values for arguments 😄 but LGTM!

yay, I'll make a followup PR to update the doc/example/README 😇


Implement Login backend service API

As a backend developer
I need to implement a login API
So that users can authenticate and access their accounts
Details and Assumptions
* The API must securely manage credentials and sessions.

Acceptance Criteria
Given a user's login credentials
When they attempt to log in
Then they are granted access if the credentials are correct

Done


[Backend] Java Client  SDK Client API

Describe your changes :

[Backend] Java Client SDK #4961

Type of change :

[x] Improvement
[x] New feature

Checklist:

[x] I have read the CONTRIBUTING document.
[ x] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[] All new and existing tests passed.

Reviewers

@mohitdeuex Thanks for the patch. Can we change openmetadata-sdk to openmetadata-clients . We should add ingestion clients into this module and building all different language clients in this module.

How are we going to publish this as a dependency in maven don't see any setup in pom.xml
We should provide a client stub. Also it's important to check the version of the server before making a request. Right now schemas are evolving so the user needs to update their client when they update the server. So to make the error obvious we are making a version call first and check if that version matches the client version then proceed if not throw an error in python client code

Not going to merge generated code , instead we will use swagger to generated client every time, already have created a new PR with those changes . Link https://github.com/open-metadata/OpenMetadata/pull/5149


Fix documentation for target option in the controls

The ol.control.Control subclasses accept a string as target option, and was missing some documentation for this option.

Thanks for the fix @EduardoNogueira.


Fixed font size when specified in configuration

If font_size is specified via configuration, then the fixed font size is used.
If the font size is not specified or the value = 0, the previous dynamic behavior will still be executed.
Refers to the Issue: https://github.com/k01ek/netbox-qrcode/issues/11

@k01ek Apologies for tagging - I know it's rather rude. But anything speaking against merging this? This feature would be awesome.

This probably needs to be updated, as the code has changed - However, I would also like this addition, and the opportunity to specify a different font_size per. object, e.g. different font_size used for cables vs devices

updated version in new pr includes this, thanks for your contribution.


still not working[iPhone 13, 16.5.1, misaka-v8.0.7]

+1

same

same iPhone13 iOS16.5.1

still crashing with 8.0.8


Try to concatenate all the files for shorter start time.

https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#option-to-concatenate-amd-and-system-modules-into-a-single-output-file

Won't happen.


Overwrite files message in vscode

When reloading Utopia with a file open with unsaved changes, then making a change to that code, trying to save the code will then ask if you want to overwrite, since the file on disk is newer.
I believe this to be caused by our writing of all project files to IndexedDB when starting the vscode-bridge, implying we could maybe fix this by checking if the file written to IndexedDB is already up to date before writing.

Is this still open?

Ah no, this is closed by #1107.


registerUser and authenticateUser API is returning http 401 error

Completed the setup of hygieia using using docker images, 3 containers - api, ui and mongo db are setup.
api to database connectivity is successful. api/ping is ok.
UI is up and shows API connectivity tickbox.
When tried to signup with a new user "admin", nothing happens on the screen

Analysis:
Checked api log and this is printed
2020-07-30 02:02:31,801 [http-nio-8080-exec-3] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=134, endPoint=/api/dashboard, reqMethod=GET, status=200, clientIp=<IP_ADDRESS>
2020-07-30 02:02:52,238 [http-nio-8080-exec-4] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=4, endPoint=/api/registerUser/, reqMethod=POST, status=401, clientIp=<IP_ADDRESS>
2020-07-30 02:02:55,843 [http-nio-8080-exec-5] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=1, endPoint=/api/registerUser/, reqMethod=POST, status=401, clientIp=172.22.

application.properties is as below
#Database Name - default is test
dbname=dashboarddb
#Database HostName - default is localhost
dbhost=db
#Database Port - default is 27017
dbport=27017
#Database Username - default is blank
dbusername=dashboarduser
#Database Password - default is blank
dbpassword=dbpassword
#This is ensure if you are keeping DB outside docker compose.
dbhostport=${SPRING_DATA_MONGODB_HOST}:${SPRING_DATA_MONGODB_PORT}
#API encryption key. Optional. See https://hygieia.github.io/Hygieia/setup.html#encryption-for-private-repos
key=${KEY:-}
logRequest=false
logSplunkRequest=false
corsEnabled=false
feature.dynamicPipeline=disabled
#Authentication Settings
auth.expirationTime=60000000
#Secret Key used to validate the JWT tokens
#auth.secret=${AUTH_SECRET:-hygieiasecret}
auth.authenticationProviders=STANDARD

Tried adding the user with http post request from api docker container as below and it was successful
curl -d "{\"username\":\"admin\",\"password\":\"password\"}" -H "Content-Type: application/json" -X POST http://localhost:8080/api/registerUser
However, cannot login with this new user "admin"
I might be missing some property settings. Any suggestions ?

for can you try login using incognito mode?

Tried with incognito mode on chrome, the same issue is appearing for both new user registration and admin user authentication

Hygieia setup is completed , but not able register user or  login
2020-08-26 17:32:56,377 [http-nio-8080-exec-1] INFO  o.s.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization completed in 14 ms
2020-08-26 17:32:56,436 [http-nio-8080-exec-1] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=49, endPoint=/api/dashboard, reqMethod=GET, status=200, clientIp=<IP_ADDRESS>
2020-08-26 17:32:57,293 [http-nio-8080-exec-2] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=5, endPoint=/api/dashboard, reqMethod=GET, status=200, clientIp=<IP_ADDRESS>
2020-08-26 17:33:18,628 [http-nio-8080-exec-3] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=2, endPoint=/api/registerUser/, reqMethod=POST, status=401, clientIp=<IP_ADDRESS>
2020-08-26 17:33:20,475 [http-nio-8080-exec-4] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=3, endPoint=/api/dashboard, reqMethod=GET, status=200, clientIp=<IP_ADDRESS>
2020-08-26 17:34:26,294 [MaintenanceTimer-1-thread-1] INFO  org.mongodb.driver.connection - Closed connection [connectionId{localValue:2, serverValue:27}] to localhost:27017 because it is past its maximum allowed idle time.
2020-08-26 17:35:25,372 [http-nio-8080-exec-5] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=1, endPoint=/api/registerUser/, reqMethod=POST, status=401, clientIp=<IP_ADDRESS>
2020-08-26 17:35:27,036 [http-nio-8080-exec-6] INFO  org.mongodb.driver.connection - Opened connection [connectionId{localValue:6, serverValue:31}] to localhost:27017
2020-08-26 17:35:27,038 [http-nio-8080-exec-6] INFO  c.c.d.a.t.JwtAuthenticationFilter - requester=READ_ONLY, timeTaken=19, endPoint=/api/dashboard, reqMethod=GET, status=200, clientIp=<IP_ADDRESS>


Update Gradle to 7.6

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Update Gradle to 7.6
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock mind please taking a look? ty

@dblock mind please taking a look? ty


Not clear

Hi!
It is not clear for me is you can log locally on  your machine which works against azure. My attempts failed.
/Declan

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

ID: f1179337-a2b7-4da2-d52f-8217966a1911
Version Independent ID: 52ce451e-16f3-81de-d77f-831bfdca7c27
Content: Speech SDK logging - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-use-logging.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @amitkumarshukla
Microsoft Alias: amishu

@dubbySwords Thanks for your question. We are checking on this and will respond to you soon.

@dubbySwords What is the version of SDK being used? This property should be available since 1.4.0
If it throws an error you can raise a bug in our speech services SDK repo.

@dubbySwords We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


test: fix main-page tcs to support sample app

Description
Fix main page test cases and delete user-page test cases
How Has This Been Tested?
It was tested locally
Checklist

[ x ] I have read the CONTRIBUTING doc
[ x ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have already been accepted and merged

Further comments
user-page test cases were deleted because this page is not validate for the repository

@Wennio-Oliveira I think would be great to have the cypress command in the package.json file :)


global name 'HCI_Cmd_LE_Set_Scan_Response_Data' is not defined

On Running advertising.py, I see following error. Any idea how to get around this?
pi@PiG-SNA3-019:~/BLESuite/docs/examples $ sudo python advertising.py
Traceback (most recent call last):
File "advertising.py", line 34, in
connection_manager.set_scan_response_data(ad_entries)
File "/usr/local/lib/python2.7/dist-packages/blesuite/connection_manager.py", line 847, in set_scan_response_data
self.stack_connection.set_scan_response_data(data)
File "/usr/local/lib/python2.7/dist-packages/blesuite/pybt/core.py", line 567, in set_scan_response_data
self.role.stack.set_scan_response_data(data)
File "/usr/local/lib/python2.7/dist-packages/blesuite/pybt/stack.py", line 147, in set_scan_response_data
self.command(HCI_Cmd_LE_Set_Scan_Response_Data(data=data))
NameError: global name 'HCI_Cmd_LE_Set_Scan_Response_Data' is not defined

I suspect this is due to the version of scapy you're using.  Could you find out which one you're using please?

@vinitatgithub I ran into the same issue and resolved by installing the recommended scapy from the docs. Try this:
pip uninstall scapy
git clone https://github.com/secdev/scapy.git
cd scapy
sudo python setup.py install

As long as you have the system deps installed you'll be good after that.

Thank you @ikelos and @dariushoule for the suggestions. Post reinstalling scapy things look better.


already exists class file,create new class file  no warning

already exists class file,create it file no warning, vscode erase original class code file.  data lost
Environment data
dotnet --info output:
VS Code version:
C# Extension version:
Steps to reproduce
Expected  behavior
Actual behavior

Hi! Without clearer repro steps and some basic information like your VS Code and C# extension version, it's difficult to understand the issue you're reporting. Do you have more details that could help us better help you?


Feature parity between wasm - Linux builds

Feature request
Description
As documented in the readme and in #73  a few features are currently missing from the wasm build, this ticket is to keep track of them. Most of them are currently file opening / saving related

[x] Loading projects from local storage
[ ] Saving projects (likely through a Download button)
[ ] Updating drawings

Wasm saving -> Download has been added to rfd 0.12, updating from the current version (0.11) should address it.


Fixed issue where string is appended to bytes.

I would expect that you add:

An explanation when this happens
A test case or a motivation why this is hard to test.

Thanks. :)

When this happens:
It happens when I try to write to hdfs.
def output(self):
    import datetime
    today = datetime.datetime.now()
    output_file_name = '{}/{}{}'.format(self.output_path,
                                        today.strftime("%y-%m-%d-%H-%M"), ".out")
    if bool(self.local_mode):
        return S3Target(output_file_name)
    else:
        return luigi.contrib.hdfs.HdfsTarget(output_file_name)

I really don't get it from your example, there's no writing going on there. Can you just create a failing test case to show that this is not just an arbitrary change?

I guess it will be better to integrate
from __future__ import unicode_literals

to whole luigi sources or at least to PR.

Closing as it's been stale for a while.


Dockerfile that installs GDAL fails

I've been trying to deploy an app that requires GDAL and geopandas, I got a Dockerfile that works locally:
https://github.com/ploomber/doc/blob/gdal/examples/voila/gdal/Dockerfile
But it fails when deploying it to the platform:

# 2024-02-24T19:42:51.191000 - done
# 2024-02-24T19:42:51.191000 - #
# 2024-02-24T19:42:51.191000 - # To activate this environment, use
# 2024-02-24T19:42:51.191000 - #
# 2024-02-24T19:42:51.191000 - # $ conda activate example
# 2024-02-24T19:42:51.191000 - #
# 2024-02-24T19:42:51.191000 - # To deactivate an active environment, use
# 2024-02-24T19:42:51.191000 - #
# 2024-02-24T19:42:51.191000 - # $ conda deactivate
# 2024-02-24T19:42:51.362000 - INFO Taking snapshot of full filesystem...
# 2024-02-24T19:44:47.902000 - The container failed due to insufficient memory

This error happens at the end of the docker build step, the conda env is installed correctly but it seems like it crashes when trying to snapshot the filesystem. I remember we had similar issues with pytorch, and that time we fixed by giving more resources to the container that builds the image. Given that we're already giving lots of resources I'm unsure if giving even more is a feasible strategy so I'd like to hear your feedback (perhaps the problem is something else or maybe there is something else we can do, like pre-built images)
For reference, these are resources I consulted to develop the dockerfile:
https://pythonspeed.com/articles/conda-docker-image-size/
https://jcristharif.com/conda-docker-tips.html
https://uwekorn.com/2021/03/01/deploying-conda-environments-in-docker-how-to-do-it-right.html
@idomic @kevin-ploomber

I'm closing this since I've fixed it, ended up using a different base image and it worked https://github.com/ploomber/doc/blob/main/examples/voila/gdal/Dockerfile


build: bump into calcite 1.37

@vbarua Bump calcite version for #261, please take a look, all tests passed locally.


[spec/logs] Sleep 0.8 seconds before publishing new log entry [LOG-8]

This change aims to fix a flaky spec. See a failure here.
Hypothesis: It's possible that the log entry is published via ActionCable before the ActionCable JavaScript in the browser has had time to subscribe to the relevant WebSocket.
Solution: Modify application code (sad) to add a globally accessible marker (window.davidrunger.connectedToLogEntriesChannel) when the ActionCable subscription has been created.
I actually saw this flake while working on this branch, after having added the wait_for to wait for window.davidrunger.connectedToLogEntriesChannel to be true, so apparently that alone is not sufficient. Therefore, let's also add a 0.5 second sleep after the ActionCable consumer has connected.
Hopefully these two changes together will eliminate the flakiness that we have seen in this spec.

It seems sort of suspicious that the first build on this branch flaked in spec file being modified herein:
https://github.com/davidrunger/david_runger/actions/runs/10306617320/job/28530087949?pr=4867#step:11:233
Failures:

  1) Logs app when user is signed in when user has a text log when there are no entries yet for the text log allows the user to submit log entries, edit them, and delete them
     Got 0 failures and 2 other errors:

     1.1) Failure/Error: visit(log_path(slug: log.slug))

          Ferrum::ProcessTimeoutError:
            Browser did not produce websocket url within 20 seconds, try to increase `:process_timeout`. See https://github.com/rubycdp/ferrum#customization
          # ./spec/features/logs_spec.rb:54:in `block (5 levels) in <top (required)>'
          # ./spec/spec_helper.rb:220:in `block (2 levels) in <top (required)>'

     1.2) Failure/Error: example.run

          Ferrum::TimeoutError:
            Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
          # ./spec/spec_helper.rb:220:in `block (2 levels) in <top (required)>'

Finished in 1 minute 6.61 seconds (files took 6.94 seconds to load)
37 examples, 1 failure

Failed examples:

rspec ./spec/features/logs_spec.rb:53 # Logs app when user is signed in when user has a text log when there are no entries yet for the text log allows the user to submit log entries, edit them, and delete them

However, that failing test was in a different example than the one being modified herein. And it doesn't actually seem very related. So, I guess maybe it's just a coincidence.

I got yet another timeout error, this time in a different spec altogether:
https://github.com/davidrunger/david_runger/actions/runs/10306838872/job/28530774129?pr=4867#step:11:234
Failures:

  1) Logging in as an AdminUser via Google auth when there is no AdminUser in the databse with the email does not create an AdminUser
     Got 0 failures and 2 other errors:

     1.1) Failure/Error: visit(admin_login_path)

          Ferrum::ProcessTimeoutError:
            Browser did not produce websocket url within 20 seconds, try to increase `:process_timeout`. See https://github.com/rubycdp/ferrum#customization
          # ./spec/features/admin_google_login_spec.rb:27:in `block (3 levels) in <top (required)>'
          # ./spec/spec_helper.rb:220:in `block (2 levels) in <top (required)>'

     1.2) Failure/Error: example.run

          Ferrum::TimeoutError:
            Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
          # ./spec/spec_helper.rb:220:in `block (2 levels) in <top (required)>'

Finished in 1 minute 10.97 seconds (files took 7.72 seconds to load)
37 examples, 1 failure

Failed examples:

rspec ./spec/features/admin_google_login_spec.rb:26 # Logging in as an AdminUser via Google auth when there is no AdminUser in the databse with the email does not create an AdminUser

This amount of flakiness seems really suspicious.
I am going to try rebuilding again and see what happens.


Masks take 3

This solves the MASKS generation issue by having rtic::export do the feature gating.

bors merge


Animation on swapfield

Is there a way i could add animation to show movement of elements in fieldarray while swapping them?
A simple persistence of background color of element would also work, but for that i would need to pass data to the fields; Fields.map only have a element name which is not much use.

This is quite out of scope here.
However, I use react-sortable-hoc, which works great for this. By default it will only animate the movement itself, but you could try other stuff as well.


Problems with expression parsing (purely cosmetic)

It seems that the query tab sometimes has problems understanding deep levels of nesting (though I've only encountered this in writing arguments to functions).

To reproduce, paste the following into the editor:
[{(:zd/search_articles_advanced_2
   {:n_results 10
    :filter_expr {:should [{:must [{:terminal_exprs {:matches_text "Water"}}]}]}})
  [:zd.Article/article_title]}]

Hi, thanks for the report.  The query tab has a number of small issues. My standard is to only leave issues open that will be fixed within a week or two.  If you care to submit a PR, we'd be glad to have it.  See the new Fulcro video on optimization on YouTube, as it shows an easy way to develop against Inspect.
If you don't plan on submitting a PR, please close this issue.

I can give more context on this, it is an incomplete implementation on the side of codemirror mode, right now it doesn't support regular generic Clojure maps, the code for the codemirror mode is here: https://github.com/fulcrologic/fulcro-inspect/blob/master/src/ui/com/wsscode/oge/ui/oge-mode.js
I don't have plans to get back on it soon, but a PR adding more support would be greatly appreciated.

Gotcha, thanks. I'll close this for now, I'm not sure if I can make time for a PR within the week.


Infinite loading screen when the user manually enters a reportID starting without a number

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

Action Performed:

Login to new expensify
Enter any letter after r/ in the URL
Infinite loading screen is displayed

Expected Result:
Open a chat room with Concierge and show the required error message
https://user-images.githubusercontent.com/28243942/127643049-15cd08f0-8dc4-4352-9d12-b523d21051b3.mp4
Actual Result:

https://user-images.githubusercontent.com/28243942/127643203-5948947d-3228-48c2-b208-095c4444fde2.mp4
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:

Where is this issue occurring?

Web
Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @kadiealexander (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Proposal
Explaination

It's happening because we're returning NaN here as a reportID
https://github.com/Expensify/App/blob/69d740aac6104126a210763c3fbd0dda88f72772/src/pages/home/ReportScreen.js#L61-L66

Solution
    getReportID() {
        const params = this.props.route.params;
        const id = Number.parseInt(params.reportID, 10);
        if (_.isNaN(id)) {
            handleInaccessibleReport();
        }
        return Number.parseInt(params.reportID, 10);
    }

We can redirect the user to Concierge's Chat and show an error message by defining a reusable function inside src/libs/actions/Report.js that can be named something like handleInaccessibleReport

/**
 * Handle the navigation when report is inaccessible
 */
function handleInaccessibleReport() {
    Growl.error(translateLocal('notFound.chatYouLookingForCannotBeFound'));
    navigateToConciergeChat();
}

This function can be reused here as well
https://github.com/Expensify/App/blob/69d740aac6104126a210763c3fbd0dda88f72772/src/libs/actions/Report.js#L397-L403

I was able to reproduce this via testing. Sending to engineering!

Triggered auto assignment to @pecanoro (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Triggered auto assignment to @Jag96 (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Job has been posted, @aman-atg your proposal looks good to me, I've invited you to the Upwork job. I'll assign you once you accept and then you're free to create a PR!

Accepted! (Proposal)


DOC : fontconfig package installation

Depending on your host system you must install fontconfig or libfontconfig to make phantomjs works. This is not automated in installation script.
On Centos:
sudo yum install -y fontconfig
On Debian/Ubuntu:
sudo apt-get install -y libfontconfig
Maybe a note on the README is necessary (to avoid loosing 3 hours as me...).

Ok, thanks. Now it is updated in the README .


parameter-description for context is missing in validate's docstring

it would be good to have a good description for every parameter in a docstring.

:+1:


[Bug]: Ignore screenshot tests when running regular local tests

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
When running the test tasks, screenshot tests are ignored: they simply pass but they do execute, which takes some time.

Discuss: confirm that we want to keep screenshot tests out of the default test tasks. Roborazzi has a flag to include them by default (roborazzi.test.verify=true)
Find the best way to ignore these tests, ideally so that no flags need to be added to the test execution commands on CI. Maybe @takahirom knows?
Implement!

Relevant logcat output
No response
Code of Conduct

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

Thank you for reaching out and considering this issue.
If you want to ignore screenshot tests during local test runs, you can use the following configuration:
// Use -PincludeScreenshot to include screenshot tests
it.useJUnit {
    if (!project.hasProperty("includeScreenshot")) {
        excludeCategories("com.google.samples.apps.nowinandroid.testing.category.ScreenshotTests")
    }
}

By excluding the -PincludeScreenshot property, the screenshot tests will be ignored as needed. We have a similar setting in DroidKaigi app.
Roborazzi doesn't support this filtering in the library due to simplicity, using JUnit's built-in features. More information can be found at Roborazzi issue #36.
It might be a bit confusing, but the flag roborazzi.test.verify=true enables you to call captureRoboImage() and generate an error if the images differ. This allows you to achieve the same behavior as ./gradlew verifyRoborazziDebug simply by running the ./gradlew testDebugUnitTest task. It's not meant for filtering.
I think the above solution should meet your requirements, but there might be a better way to approach this.

It might be a bit confusing, but the flag roborazzi.test.verify=true enables you to call captureRoboImage() and generate an error if the images differ. This allows you to achieve the same behavior as ./gradlew verifyRoborazziDebug simply by running the ./gradlew testDebugUnitTest task. It's not meant for filtering.

Yes, this is what I meant. I see that as the alternative to the solution proposed in this issue: instead of filtering, just run one task. However, I'd like to keep them separate.

I think the above solution should meet your requirements, but there might be a better way to approach this.

I'll look into this, thanks!


Option Request: Show Container

When you have dozens or even hundreds of forms, you always end up having duplicate keys, like 20 times btnOk.Text with no way to know to which form each one belongs. Going hunting for the form it belongs too is quite tedious.
A simple tooltip would suffice. Or, if you wanna take it over the edge, make a context menu entry "show only keys from this container" or something like that.

Isn't this exactly what the grouped view does?

Yes, but it doesnt allow you to sort.

I'm not sure what exactly you are missing, maybe you can just provide a PR?

For example as in this screen shot, make sure all controls with the same name have the same text and if not, check the respective form why its different, or as I 've had the other time, a few of the controls didnt have a resource in some languages at all, again, if so, I wanna know why by checking out the form.
For that I have to know in which form its located.

just filter by the key of interest and then group...

You are right, this works just fine. (although a tooltip wouldnt hurt :-) )

Feel free to provide a PR... 😏

Let me get rid of my current workload, then I might get into VS extensions and contribute a bit.

Or just read the status bar:

Reads "Multiple selection" (when "Cell Selection" is on, thats why I didnt see it)

"Cell Selection" is very limited, you should never turn that on if you don't really need it.

When not using the "Translation" tab, one has to use cell selection and copy/paste from translators. The Translation tab is good but has some limitations.

Exactly, that is the sole purpose of the cell selection. So when done, turn it off.


AssertionError running GAN samples

Hello,
I'm just beginning with TensorPack, and I was able to install it and run training on the ConditionalGAN-mnist example. Now, when trying to generate samples, I get the following output:
$ ./ConditionalGAN-mnist.py --load train_log/ConditionalGAN-mnist/model-2000.data-00000-of-00001 --sample
Failed to load OpenCL runtime (expected version 1.1+)
[0803 15:48:21 @varmanip.py:163] WRN Checkpoint path train_log/ConditionalGAN-mnist/model-2000.data-00000-of-00001 is auto-corrected to train_log/ConditionalGAN-mnist/model-2000.
Traceback (most recent call last):
  File "./ConditionalGAN-mnist.py", line 144, in <module>
    sample(args.load)
  File "./ConditionalGAN-mnist.py", line 123, in sample
    output_names=['gen/gen'])
  File "/home/adam/.virtualenvs/cv/local/lib/python2.7/site-packages/tensorpack/predict/config.py", line 43, in __init__
    assert_type(self.model, ModelDesc)
  File "/home/adam/.virtualenvs/cv/local/lib/python2.7/site-packages/tensorpack/predict/config.py", line 41, in assert_type
    assert isinstance(v, tp), v.__class__
AssertionError: <class '__main__.Model'>

Unfortunately I'm not a strong Python developer, so I'm having trouble debugging this on my own. I also wonder if this has anything to do with my use of Python2.

It is a bug.

Thanks for reporting !


CHAOS_PP_ASSERT_MSG doesn't fail when cond is false

Hi,
Even though this project is not alive anymore, I still use it in my own ones, either to learn/draw inspiration from it or just to use it normally. I don't know if pull requests are accepted, so please tell me and I will fix the code. Else I will just fork it for my own use and modify it.
Kind regards.
Axel

sure, if there's an obvious bugfix i can merge it, so please go ahead

Thanks (and sorry for the late reply). Will do so as soon as I have some time (this week)


add logResponsePayload option to log response returned value

This PR adds a new option logResponsePayload that, when true, adds the response returned value (Hapi request.response.source - Docs ) as responsePayload to the response event log.
Please, note that this information is not present at the NodeJS res object that nowadays is being logged.
This is useful when we want to track the returned response of our server

I need this fix for my project as well. Thanks for the change

I need this for my project too


[QST] Why does nvt.ops.Categorify in 23.06 add 3 to the cardinality of a dataset's column?

I'm fairly new to the field, so thank you in advance for your patience and time!
When using Categorify with a merlin tensorflow container there is something going on within that function that causes (in my opinion) erroneous metadata to be saved to the schema of the dataset. More specifically, the reported properties.embedding_sizes.cardinality for the columns is off by a constant. This causes the processed columns to start with the number 3 instead of 0 or 1 and MatrixFactorizationModelV2 to generate an extra set of 3 embeddings. Is this the expected behavior?
Containers used for testing this and the constants:
merlin-tensorflow 23.06 23.04 23.02 22.12
google vertex ai container onto which I manually installed merlin (hopefully correctly)

Container version    Extra rows
23.06                    3
23.04                    0
23.02                    0
22.12                    0

As environments:
VertexAI Workbook (both managed and user) using 2 x T4
Workstation with AMD processor and a 2080ti

I'll be more than happy to provide whatever information you need. I tried digging into it myself, but I am still green enough to not be able to figure it out.
Merlin-tensorflow 23.06

Merlin-tensorflow 23.04/23.02/22.12

Thank you again for your time and patience!

starting from release 23.06, Categorify op is designed to encode the categories of a given column in such way

reserve 0 for padding (you wont see 0s in your encoded dataset)
encode  nulls as 1 (if your dataset has nulls you will see them encoded as 1)
encode OOVs  as 2 (if your validation or test set has out of vocabularies, then these categories will be encoded as 2)
start encoding regular categories from 3 (your most frequent category in a categorical column will be encoded as 3 the second most frequent as 4 and so on so forth)

hope that answers your question.

My sincerest apologies... I was looking at outdated docs and code. Thank you for your time and again, please forgive my silly mistake!


error : invalid argument '-std=c++17' not allowed with 'C'

Plugin Version or Commit ID
v0.10.0
Unity Version
2021.3.3f1
Your Host OS
Windows 10 Pro
Target Platform
UnityEditor, Android
[Windows Only] Visual Studio C++ and Windows SDK Version
Visual Studio C++ : 14.29.30133
Window SDK : 10.0.19041.0
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
NDK : 21.4.7075529
[iOS Only] XCode Version
No response
Command Sequences
python build.py build --desktop cpu --android arm64 -vv
Log
c -o bazel-out/android-arm64-v8a-opt/bin/external/XNNPACK/_objs/jit_memory/memory.pic.o
Configuration: 7a3db7fbb1e9e1c115eeff7d61aefa767c812e76439a8ec70cc92f6b9a33bf81
Execution platform: @local_execution_config_platform//:platform
error: invalid argument '-std=c++17' not allowed with 'C'
Target //mediapipe_api/java/com/github/homuler/mediapipe:mediapipe_android failed to build
INFO: Elapsed time: 303.061s, Critical Path: 208.67s
INFO: 929 processes: 381 internal, 548 local.

Additional Context
I don't know if I posted the error log correctly.
There was a toolchain error earlier, but I solved it by looking at the Troubleshooting.
However, this error was not in Troubleshooting, so I left a post.
Help me plz. T^T

Install Bazelisk and add the location of the executable to %PATH% environment variable.

Have you installed Bazelisk, not Bazel?

Thanks for the quick reply.
I had bazel installed, so I reinstalled it with bazelisk.
After that, the old error disappeared and a new error appeared.
Configuration: fd42ac5739ac46ac722abb276fe7432014168e62660ea2a163f9f7d55e49aed9
Execution platform: @local_execution_config_platform//:platform
external/XNNPACK/src/qs8-gemm/gen/4x16-minmax-fp32-aarch64-neon-mlal-lane-prfm-cortex-a53.S:11:10: fatal error: 'xnnpack/assembly.h' file not found
#include <xnnpack/assembly.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
Target //mediapipe_api/java/com/github/homuler/mediapipe:mediapipe_android failed to build
INFO: Elapsed time: 214.694s, Critical Path: 171.90s
INFO: 703 processes: 209 internal, 494 local.

Install Bazelisk and add the location of the executable to %PATH% environment variable.

Have you installed Bazelisk, not Bazel?

Thanks for the quick reply.
I had bazel installed, so I reinstalled it with bazelisk.
After that, the old error disappeared and a new error appeared.
Configuration: fd42ac5739ac46ac722abb276fe7432014168e62660ea2a163f9f7d55e49aed9
Execution platform: @local_execution_config_platform//:platform
external/XNNPACK/src/qs8-gemm/gen/4x16-minmax-fp32-aarch64-neon-mlal-lane-prfm-cortex-a53.S:11:10: fatal error: 'xnnpack/assembly.h' file not found
#include <xnnpack/assembly.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
Target //mediapipe_api/java/com/github/homuler/mediapipe:mediapipe_android failed to build
INFO: Elapsed time: 214.694s, Critical Path: 171.90s
INFO: 703 processes: 209 internal, 494 local.

See https://github.com/homuler/MediaPipeUnityPlugin/wiki/Installation-Guide#windows-10

:warning: You cannot build libraries for Android with the following steps.
If you use Window 10 Pro, go to Docker Windows Container. Otherwise, go to Docker Linux Container.

thx bro


Create the concept of color themes and a easy way to rotate

Sometimes the dark is more comfortable than a light theme. But sometimes the place is very illuminated to use a dark theme.
But it will break old configs, but is not a rocket science fix the config file.
The idea is create two new config and a new action.
theme config with the name of the default theme.
themes config with a list of all themes. The colors key is exactly the same fo the current colors config.
RotateTheme a action to rotate between the theme.
theme: solarized-dark
themes:
  - name: solarized-dark
    colors: ...
  - name: solarized-light
    colors: ...

Does the following do what you want?
my-cool-theme: &theme
  primary:
    background: '0xff00ff'
    foreground: '0x000000'

my-uncool-theme:
  primary:
    background: '0x000000'
    foreground: '0xff00ff'

colors: *theme

Note that this is a yaml feature, so there's nothing Alacritty needs to do to support this. It should just work.

It's a possible solution, but the use will need to edit the file to switch the theme. I'll try it

The colors will switch without having to restart, that shouldn't be a problem.

This is what I ended up doing:
# Colors (Monokai Pro)
colors-monokai: @monokai
  # Default colors
  primary:
    background: '0x2D2A2E'
    foreground: '0xFCFCFA'

  # Normal colors
  normal:
    black:   '0x403E41'
    red:     '0xFF6188'
    green:   '0xA9DC76'
    yellow:  '0xFFD866'
    blue:    '0xFC9867'
    magenta: '0xAB9DF2'
    cyan:    '0x78DCE8'
    white:   '0xFCFCFA'

  # Bright colors
  bright:
    black:   '0x727072'
    red:     '0xFF6188'
    green:   '0xA9DC76'
    yellow:  '0xFFD866'
    blue:    '0xFC9867'
    magenta: '0xAB9DF2'
    cyan:    '0x78DCE8'
    white:   '0xFCFCFA'

# Colors (Pencil Light)
colors-pencil-light: &pencil-light
 # Default Colors
 primary:
   background: '0xf1f1f1'
   foreground: '0x424242'
 # Normal colors
 normal:
   black:   '0x212121'
   red:     '0xc30771'
   green:   '0x10a778'
   yellow:  '0xa89c14'
   blue:    '0x008ec4'
   magenta: '0x523c79'
   cyan:    '0x20a5ba'
   white:   '0xe0e0e0'
 # Bright colors
 bright:
   black:   '0x212121'
   red:     '0xfb007a'
   green:   '0x5fd7af'
   yellow:  '0xf3e430'
   blue:    '0x20bbfc'
   magenta: '0x6855de'
   cyan:    '0x4fb8cc'
   white:   '0xf1f1f1'

# Colors (Pencil Dark)
colors-pencil-dark: &pencil-dark
 # Default Colors
 primary:
   background: '0x212121'
   foreground: '0xf1f1f1'
 # Normal colors
 normal:
   black:   '0x212121'
   red:     '0xc30771'
   green:   '0x10a778'
   yellow:  '0xa89c14'
   blue:    '0x008ec4'
   magenta: '0x523c79'
   cyan:    '0x20a5ba'
   white:   '0xe0e0e0'
 # Bright colors
 bright:
   black:   '0x212121'
   red:     '0xfb007a'
   green:   '0x5fd7af'
   yellow:  '0xf3e430'
   blue:    '0x20bbfc'
   magenta: '0x6855de'
   cyan:    '0x4fb8cc'
   white:   '0xf1f1f1'

colors: *pencil-dark

And then I use my little theme toggle app to switch themes (it just runs a sed to change  colors: *pencil-dark)


Star Size In tableView Cell

Hi, thanks the library first! It's Great!
But I have some issue to user Cosmos View in TableView Cell
The star size is not fit the view size
like this:

Am I miss something?

Thanks for reporting. How do you position the Cosmos view in your cell? Do you limit its width and height?

Thanks for reply quickly.
Yes, I have limit its like this:

and I build for iOS 11 on iPhone 5s:

Debug View Hierarchy like this:

Is there something wrong?

Thanks for explaining your layout. Yes, this won't work, unfortunately. The size of cosmos view is determined automatically by the size of the stars and separation between them. It's like UILabel. In your layout the width of the cosmos view is limited by the leading and trailing constraints. It it can't fit the stars inside this width. I would suggest using just one constraint (leading or trailing) and let cosmos view grow to the size it needs. Same applies to height. Let me know if it helps. :)

Oh, I understand!
But for generally, developer usually give the view size in storyboard, and expect the star size would fit the view size I think.
In a word, thanks very much for your help. :)

But for generally, developer usually give the view size in storyboard, and expect the star size would fit the view size automatically I think.

Yes, that would be nice to implement, totally agree.

Thanks for your reply, if you agree with that, maybe we can implement in this way.
Let me know what you think, thank you. :)

I'm currently in the middle of the semester in uni and don't have time to develop new features. Pull request are always welcome :).

Ok, Good luck!
And I don't think I am entitled to pull request because I am just a beginner.
So, we can do that after end of the semester. :)

And I don't think I am entitled to pull request because I am just a beginner.

I'm a beginner as well.

So, we can do that after end of the semester. :)

Yeah, I hope so, but I would not put my money on it.

hi
But It is possible you can change size in storyboard as small as you want ,default is 20.
Library is awesome, but i need how to centre that starts in broader frame .