Update retention_in_days config to fix #99

This PR introduces a change to the logic used to set the Log Analytics workspace setting for retention_in_days to fix issue #99

NOTE: This is not a breaking change, but will result in an update to customer environments where this value has been modified in code but incorrectly applied in Azure,

Attaching evidence

Terraform plan after changing the value on an existing deployment

Resultant change visible in the Azure Portal

/azp run unit

/azp run unit


return

when generating a new project, main.cc will include a return 0; at the end of the int main() function
I think it's generally good practice to do so

Thank you!


add host/pod to ES doc for analysis

this is a trivial change to the fs-drift wrapper in support of fs-drift analysis code to be added in a separate PR

this PR separates fs-drift wrapper change from the ES analysis program PR that seems more controversial, ready to merge.


Add Game Popout Color.

Code to fix:
/Add Game Popout Color/
.theme-dark .addGamePopout-3yePJc {
background-color: var(--background-primary);
}

late reply, but can you make pr for this? including #7 aswell i don't use client mod lately so i can't fix this for now.

also use #app-mount instead of .theme-dark classes


Final touch ups to layout and Files completion of Beginner's Guide

Improved the layout to a more professional look. Added title to all buttons, Put icons for html,css,js and chose a logo for codera. Changed font to Roboto. Realigned the heading and refresh button also.
Also added the complete files for Beginner's guide
Hope u like it :)

Didn't like how you removed pokemon, but I admit, it does look good! merging all


is 4.0.0-beta.3 compatible with Alamofire 5beta6 ?

Quick question is this already compatible with Alamofire 5-beta6 ?
or only beta5

Seems to work fine, let us know if you see any issues.


Building frameworks should respect case sensitivity.

When building a project on a case sensitive filesystem, the Xcode linker was unable to find XZ.framework and BZip2.framework on my machine. As it turns out, the Makefile creates fat binaries and symlinks named "xz" and "bzip2", which are usually equal, since Macs per default ship with a case insensitive filesystem. However, choosing a case sensitive filesystem (doesn't matter if HFS+ or APFS) is possible, and the fix is very simple: Create the fat binaries embedded in the framework as well as the symlinks with respect to case sensitivity.
Regarding the pre built packages, it is sufficient to rename the binaries and recreate the symlinks, I was able to successfully link the frameworks after a simple rename.
I will create a pull request demonstrating the fix for the 3.6 branch.

Well that's annoying... Thanks for the report!

I've merged, #33, so I presume this is fixed; feel free to reopen if it's not.

Thanks!


Rate limit is exceeded

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Write "Hi" more than once
Any log messages given by the failure

Error: Rate limit is exceeded. Try again in 30 seconds.
Expected/desired behavior

OS and Version?

Windows 11

Versions

Mention any other details that might be useful
I have deployed the solution for more than a week, but this week it began to show this message.

Thanks! We'll be in touch soon.

Please refer to


Template literals brackets in build in Brackets colorizer

Issue Type: Feature Request
It is great that vs code now supports built-in brackets colorizer. one issue that I found with this is that it also colorizes the template literals variables with the sequence. I should not colorize it with the sequence
for example
    const res = await axios.get(
        `http://url.com/${id}`
      );

the template literal variable changes its color on the sequence it is
my request is that the template literal variables should have only one color.
VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:41:52.311Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

For template literals, it should, in fact colorize ${ and } in the same color, not $ in blue and the curly brackets in yellow/magenta/blue.
This is just one of the many issues with the new bracket pair colorization implementation, which frankly, seems to be low quality work overall, or at least the implications haven't been thought out properly. See https://github.com/microsoft/vscode/issues/132476 and https://github.com/microsoft/vscode/issues/132175 and https://github.com/rust-analyzer/rust-analyzer/pull/10186 and https://github.com/microsoft/vscode/issues/132762 and https://github.com/microsoft/vscode/issues/132432 and ... ok, need I go on?

@hediet Is there any progress on this? ${ } should have the same color in JS template literals.

Unfortunately, there is no easy fix for this.
The bracket pair colorizer algorithm cannot distinguish the following usages of {...}:
if (true) ${

}

vs
const str = `${myValue}`;

For some reason, the original bracket pair colorizer extension does not see template literals (and thus does not colorize such brackets), maybe that is due to the extension using an older version of the tokenization library.
We could add ${ ... } as colorized bracket pair though, which would cause $ in both examples to be highlighted.

This is just one of the many issues with the new bracket pair colorization implementation, which frankly, seems to be low quality work overall, or at least the implications haven't been thought out properly.

I'm sorry you feel like that. Please keep in mind that we iterate quickly and that the core priority has been the performant algorithm.

Thanks @hediet for https://github.com/microsoft/vscode/commit/d6b2e78477e9ac881278b838993f1f9b2900464f

What is the issue in HTML templates?
I think d6b2e78 solves this issue.

/verified


Compilation deps/prereqs

Error on running make CROSS_COMPILE=arm-none-eabi- imx
Was getting these on Ubuntu 20.04 LTS:
/bin/bash: arm-none-eabi-objcopy: command not found
make: *** [Makefile:77: example.bin] Error 127
/bin/bash: mkimage: command not found
make: *** [Makefile:84: example.imx] Error 127
Solution:
sudo apt install gcc-arm-none-eabi u-boot-tools
Would be nice to have in the readme.

Fixed in https://github.com/f-secure-foundry/tamago-example/commit/db1ea395455160bf879f82c9279ce5f178f09583
Thanks


Fix typo to view Rancher Compose

Fixes rancher/rancher#2352

@westlywright Next time, can you not use the word "fixes" in your PR? It auto closes tickets when the PR is merged and QA doesn't get a chance to review/close.

@deniseschannon will do :+1:


Correct %c, %l, %k, %s, %j format in Get-Date -UFormat

Related #4750.
In the PR we correct only obviuos formatting as set in ISO 8601 and RFC 3339

Correct %c format in Get-Date -UFormat

Add leading zero: now day of the month is from 01 through 31.
Before fix:
>Get-Date -UFormat %c
Thu Sep 7 17:49:48 2017

After the fix:
>Get-Date -UFormat %c
Thu Sep 07 17:49:48 2017

Correct %l format in Get-Date -UFormat

Single digits are preceded by a blank.
Before fix:
> get-date 2016-01-1 -UFormat %l
00

After the fix:
> get-date 2016-01-1 -UFormat %l
 0

Correct %k format in Get-Date -UFormat

Single digits are preceded by a blank.
Before fix:
> get-date 2016-01-1 -UFormat %k
01

After the fix:
> get-date 2016-01-1 -UFormat %k
1

Correct %s format in Get-Date -UFormat

Removed fraction part of seconds.
Before fix:
> get-date 2016-01-1 -UFormat %s -Millisecond 1
1451606400.001

After the fix:
> get-date 2016-01-1 -UFormat %s -Millisecond 1
1451606400

Correct %j format in Get-Date -UFormat

Add leading zeros.
Before fix:
>Get-date -Date 1/1/0030 -uformat %j
1

After the fix:
>Get-date -Date 1/1/0030 -uformat %j
001

#2195

@chuanjiao10 Thanks for #2195 - the PR fix it.

@SteveL-MSFT Could we have a conclusion from PowerShell committee? The Unix like formatting very problematic. It was acceptable in Windows PowerShell but in PowerShell Core it is confusing because users can get (out of PowerShell Core) native Unix formatting and one is different from PowerShell Core formatting.
So we could:

Keep this as is for backward compatibility with Windows PowerShell.
Make this formatting closer as possible to Unix original that PR brings. It may look still bad.
Think about complex portable solution. I have not considered this particularly deeply, but so far I believe that this is not possible within existing Windows and Unix implementations. In particular, different Unix/Linux clones have different implementations.

@PowerShell/powershell-committee reviewed this and is ok with the improvements in the PR and defer the locale concern til later as a separate PR

@SteveL-MSFT  Can you update your review?
@iSazonov merge conflicts need to be resolved?  If you don't want this reviewed, mark it as a wip

Merge conflicts was resolved.

@iSazonov Please review the PR summary again and see if the summary is still up-to-date. If things were changed in the final changes that were merged, then please update the PR summary accordingly. Thanks!

@daxian-dbw I updated the PR description.


[Bug]: Add show password button

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Login and signup page lack show password button
Add Screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

show password option already there.

Ohh, I thought it is a symbol


Problems with openssl support

I am trying to build rack-oauth2 for Debian and I am getting the following error.
Failures:

  1) Rack::OAuth2::Client#access_token! *args handling client authentication method when jwt_bearer auth method specified when private_key is given when EC key should be JWT bearer client assertion w/ auto-generated ES256-signed JWT assertion
     Failure/Error: private_key: OpenSSL::PKey::EC.new('prime256v1').generate_key,

     OpenSSL::PKey::PKeyError:
       pkeys are immutable on OpenSSL 3.0
     # ./spec/rack/oauth2/client_spec.rb:191:in `generate_key!'
     # ./spec/rack/oauth2/client_spec.rb:191:in `block (8 levels) in <top (required)>'
     # ./spec/rack/oauth2/client_spec.rb:89:in `block (5 levels) in <top (required)>'

Finished in 0.73756 seconds (files took 1.19 seconds to load)
403 examples, 1 failure

Failed examples:

rspec ./spec/rack/oauth2/client_spec.rb:197 # Rack::OAuth2::Client#access_token! *args handling client authentication method when jwt_bearer auth method specified when private_key is given when EC key should be JWT bearer client assertion w/ auto-generated ES256-signed JWT assertion

Please help in resolving.

this should fix it.
https://github.com/nov/rack-oauth2/commit/2803e1ba3c6a2946bf499255ca668127a27e6b3e

Thanks @nov , the commit did solve the issue.


No schema information for PostgreSQL database

I've connected to two different PostgreSQL databases. For both of them I couldn't see any tables. One was hosted by ElephantSQL and the other was a Redshift instance.
I've tried the above with v1.15.0 as well as v.1.7.0 and the results were the same.

I've also connected to one of the databases above using pgAdmin 4 and noticed that is has two schema. The public scheme indeed has no tables. However the dotnet schema has all the tables that I'm after.

I've also connected to a SQL Server and the tables were coming in fine.

@eMerzh has added schema support for good part of the app. But we have not released those changes yet. @eMerzh do you know if your changes solve this problem?

@maxcnunes the change might help a bit but won't fix the issue...
because it's not yet included in -gui ...
we need to add a schema selection in the connection or in the browser somewhere ...
didn't had too much time these days but i'll try to add it at the connection level since in the browser there is a lot more to change ....
Btw i'll close this as it's a duplicate of  #153


[Testing] Create a local step function test for the "create snapshot for a region that doesn't support export to S3" case

Subtasks:

Create the local step function testing platform.
Create the "create snapshot for a region that doesn't support export to S3" case E2E(End-to-End) test using the local step function testing approach. Steps:
2.1. Do everything in README.md->Pre-Requisites section (don't forget the steps below "In case your region doesn't support exporting a RDS snapshot to S3..." section). For [region] you can use eu-central-1 and for [ExportSnapshotSupportedRegion] you can use eu-west-1.
2.2. From the Setup section do points 1. and 2. (to create the deploy.yaml from the sam package command) and for the sam deploy command use the "the minimal Lambda-RDS access configuration" (to generate no costs) and "In case your region doesn't support exporting a RDS snapshot to S3" point:
sam deploy --template-file deploy.yaml --stack-name <user-defined-stack-name> --region <aws region> --capabilities CAPABILITY_NAMED_IAM --parameter-overrides vpcId=<vpcID> Subnets=<Subnets> SenderEmail=<SenderEmail> RecipientEmail=<RecipientEmail> UseVPCAndSubnets=false` ExportSnapshotSupportedRegion=<ExportSnapshotSupportedRegion> SnapshotCopyExportKmsKey=<SnapshotCopyExportKmsKey>
2.3. before you execute the below step don't forget to place the LambdaExecutionRole.Arn from the LambdaExecutionRole of the CD stack after it is created, into the ExportSnapshotSupportedRegion's KmsKey (otherwise the snapshot won't be able to be copied from the non-supporting export region(ex:Frankfurt eu-central-1) to the supporting region(ex:Ireland eu-west-1)).
2.4. the E2E test should use the following json input:
{
"identifier": "<identifier name>",
"task": "create_snapshot",
"isCluster": false
}
<identifier name> should be the RDS name you created (by default if you haven't changed the name the system creates a "database-1" name).
2.5. the E2E test should tear down everything that was created.
Link the E2E test in CI to be run after someone pushes the accept PR button (after the manual reviews happened), if possible, as running it takes time, and should not be executed on each commit or review.

Goal: Preventing someone accidently breaking the "create snapshot for a region that doesn't support export to S3" feature, by running it through CI and optionally locally.

You should end up with the state machine green path from the attached image.


Add std feature

Impl std::error::Error for DecodeError
Use Arc for storing BoxedResidueParams when available

Out of curiosity, what is it for?

Oh, using Arc means that values computed from other BoxedResidues can share the same BoxedResidueParams as the original value without cloning it each time


Enable dynamic modification of DataLossPrevention feature flag

Summary
Currently Feature flag is only read on start up. If we modify it to be dynamically modifiable, then we could modify it on all clusters and not require the Pods to be restarted.
Use Cases
When would you use this?

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@juliev0 I think we should prioritize on https://github.com/numaproj/numaplane/issues/170 instead of this

I am closing this issue altogether, as I believe the feature flag will be replaced by the new namespace level configurability. If you think it should be reopened, let me know.

reopening this since it sounds like we will use both concurrently for a little while

We can check the value each time either the PipelineRollout or the NumaflowControllerRollout or ISBServiceRollout reconcile occurs.
I've done a little thought to the scenario that something's in the middle of pausing when we turn the feature flag off. What would happen? (The reverse case of turning the feature flag on is definitely no issue)
if we suddenly turn feature flag off:
	what happens to Pipeline?:
		say Pipeline was paused because of us
		if we notice a difference between existing pipeline and pipeline we want (Running) then we will apply (may take 12 minutes)

	what happens to Numaflow Controller?:
		say Pipelines were paused because of us
		this means that our state in memory reflects that we "want pause".
		Once feature flag is off, Pipelines will notice a difference between existing pipeline and pipeline spec and perform an update (may take 12 minutes)

		What happens if the feature flag is turned back on? There is old memory still in there. Say it says "pause" and we don't want that. At some point, the Numaflow Controller Rollout will get reconciled, so this will reflect the truth.

closing this as this feature flag has been replaced


Add playbook to load Fedora CoreOS to SDCARD

Implement these instructions in ansible so that when playbook run is complete, we have a fully prepared SDCARD.

PR #2 currently fails to boot, even after extending the root volume to fill all available space in another tool. Comparison to a known good image shows that all of the same files are present.
Execution of the same steps via shell script results in failure due to "the special device /dev/mmcblk0p2 does not exist" despite appearing in /dev when inspecting with the shell. Pausing the script and manually entering the commands mount /dev/mmcblk0p2 /tmp/fcosefipart works as intended, as does the subsequent rsync (synchronize in our playbook). Unmounting, using gparted to expand the root volume, and then booting works.
Despite the use of butane, the resulting ignition configs are also failing to allow bootup to continue. This is tracked in a separate issue: https://github.com/darthlukan/ignition-configs/issues/3


Enhancement: Add regex limits for Lat:Lon

Describe the bug
Users often put too specifc Lat:Lons, should make a regex or limits in CI that limits this to a max of 3 decimals.

@maxibor do you know if there is a way to limit number of decimals in the schema somehow?

Not with regex, but still in json-schema:
{ "type": "number", "multipleOfPrecision": 0.01 }
https://stackoverflow.com/questions/27260587/decimal-precision-in-json-schema

Though that will force numbers to be exactly of this decimal precision

Mm poop. That's not good then. I guess will have to rely on manual checks for hat..

After a bit of exploring, the regex is indeed the best option:
Something like: ^[0-9]+\\.[0-9]{0,3}$

Perfect, thanks for the (procrastinating? ;) ) investigation! Will add this to the schema now.

Unfortunately it was not possible due to incompatibilities between the different requirements (numbers vs strings, regex limiting decimals vs max/min), so we will just have to rely on human reviewers.


mxchip press button send signal to Azure IoT

Can someone share an example or guidance how I can add that when a button in the mxchip IoT device is pressed the signal is sent to Azure IoT? I'm using this example to send devkit data to IoT hub.
I see the function in board_init.c that lights up the led:
`weak void button_a_callback()
{
WIFI_LED_ON();
AZURE_LED_ON();
USER_LED_ON();
if (BUTTON_A_IS_PRESSED)
{
val += 32;
if (val > 2047)
val = 2047;
RGB_LED_SET_R(val);
RGB_LED_SET_G(val);
RGB_LED_SET_B(val);
}
//set_led_state(true); I'd like to add something like this`
}
and in nx_client.c to set the led state (true or false) when the command is received from Azure IoT:
static void set_led_state(bool level) { if (level) {     printf("\tLED is turned ON\r\n");     HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET); } else {     printf("\tLED is turned OFF\r\n");     HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_RESET); } }
How can I link these two functions, meaning from button_a_callback to call nx_client.c set_led_state function?
Thanks a bunch

Apologies, wrong git to post, in case anyone else interested I've re-posted in the correct [repo](https://github.com/azure-rtos/getting-started/issues/349).


2.15.0 update?

Hi! I'm trying to install your plugin on the 2.15.0 version of OpenSearch Dashboards but of course it's saying it's not made for that version, If I just change the version should it compile?

Hi,
The version number must be changed in both opensearch_dashboards.json and package.json.
I am going to create the release for that.

Thank you very very much for your kind and super quick answer!
I was trying to create a new plugin for OpenSearch Dashboards to create a new visualizer, but understand the structure of how it should be done, it's not as easy as I hoped!

You're welcome.
Indeed the structure is not easy to understand. I did not write the plugin initially just forked and ported it to OSD.
The release is now available.


fix: Fix a couple of broken links

These changes should fix a couple of broken links on this page of website:
https://microsoft.github.io/SynapseML/docs/next/getting_started/installation/

/azp run

@elswork  thank you!!

Codecov Report

Merging #1266 (b465192) into master (1bbcb7b) will decrease coverage by 11.67%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1266       +/-   ##
===========================================
- Coverage   83.13%   71.46%   -11.68%
===========================================
  Files         300      248       -52
  Lines       13699    11984     -1715
  Branches      660      660
===========================================
- Hits        11389     8564     -2825
- Misses       2310     3420     +1110

Impacted Files
Coverage Δ

...la/org/apache/spark/ml/param/TypedArrayParam.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...oft/azure/synapse/ml/codegen/GenerationUtils.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...m/microsoft/azure/synapse/ml/codegen/CodeGen.scala
0.00% <0.00%> (-98.44%)
:arrow_down:

...microsoft/azure/synapse/ml/codegen/Wrappable.scala
10.25% <0.00%> (-89.11%)
:arrow_down:

...soft/azure/synapse/ml/cognitive/AudioStreams.scala
0.00% <0.00%> (-87.88%)
:arrow_down:

...ft/azure/synapse/ml/cognitive/AzureSearchAPI.scala
2.59% <0.00%> (-87.02%)
:arrow_down:

...osoft/azure/synapse/ml/cognitive/AzureSearch.scala
7.19% <0.00%> (-80.58%)
:arrow_down:

...osoft/azure/synapse/ml/codegen/CodegenConfig.scala
3.70% <0.00%> (-77.78%)
:arrow_down:

...e/synapse/ml/cognitive/FormRecognizerSchemas.scala
7.69% <0.00%> (-76.93%)
:arrow_down:

...ala/org/apache/spark/ml/param/EstimatorParam.scala
12.50% <0.00%> (-75.00%)
:arrow_down:

... and 88 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1bbcb7b...b465192. Read the comment docs.


Windows Subsystem for Android 1.8.32836.0 Support.

### DISCLAIMER :  I understand that WindowsSubsystemForAndroid_1.8.32836.0 is a beta product but though Id ask just incase.
I have been looking at using the new Windows 11 Windows Subsystem for Android as a possible future for getting my app in to more hands.
The one issue that I am finding is that when using MP4Composer in the pipe line to compress and edit the video is not working properly. After the compression the video gets about two frames at the beginning with in the first second of play back and then nothing more visually. Audio is working grate and can be heard through out.
Log from this run can be seen here.
https://github.com/adfwhitestar/MP4Compser-WSA-Video/blob/main/log.txt
The set up is pretty standard but I have tried all sorts of variations trying to get one to work or at least do something different.
Here are the two videos:
https://github.com/adfwhitestar/MP4Compser-WSA-Video/blob/main/pika-org.mp4
https://github.com/adfwhitestar/MP4Compser-WSA-Video/blob/main/pika-after-composer.mp4
PS sorry I missed the the 'o' in Composer .
This video was created using the MP4Composer sample running on WindowsSubsystemForAndroid_1.8.32836.0
on a Windows 11 Home ver. 10.0.22000
Any help would be greatly appreciated. I am also having issue playing any video in exoPlayer from Mp4Composer run on a separate device and that is throwing decoder errors I know that it maybe unrelated but maybe it is all information is helpful
setConfig(0xef1414a0:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
ACodec: codec does not support config priority (err -2147483648)
E/OMXNodeInstance: getConfig(0xef1414a0:google.aac.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)

Thank you in adavance.

If help is needed installing this on a windows 11 pc and the Microsoft Store isn't playing nice there is a guide here
install wsa: https://www.xda-developers.com/how-to-run-android-apps-on-any-windows-11-pc/
sideload : https://www.xda-developers.com/how-to-sideload-android-apps-on-windows-11/
it's very straight forward if anyone wants to help look at this.
Again Thank you in Advance


Support for Stored Procedure

Hi,
Does the generator create migration file for stored procedures as well. If not, good to have feature.

And views 👍

👍

Hi, I had the same issue and ended up writing my own package, if this is useful for anybody: https://github.com/AdrienPoupa/migrate-routines


#373 competencies service should triage competencies based on categories

Proposed changes
#373
create two functions to getAllcompetenciesByCategory  and listCategories.
To test the functionality of the functions, I console.log the result of functions and I got the inputs from my database.
Also, I create two tests inside of competencyServices test file and checked them with the yarn test in the terminal.
Checklist

[x] Are the issues being addressed linked to this PR?
[x] Do all commit messages to start with the issue number?
[x] Are all code changes sufficiently tested?

Great work, Naz.
I just merged #371, so it might need updating.


SDK URL should be case sensitive

It is appreciated that if you would consider this proposal, thanks!

@ToruMakabe : Thanks for your contribution! The author, @seguler, has been notified to review your proposed change.

@ToruMakabe - Thanks for submitting this fix.
#sign-off

@tamram: I'm sorry - only the author of this article, @seguler, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


OSM Tools accessibility areas not working

Hi,
I am trying to make some isochrones and I tried using the OSM tools. When I click to make the isochrones, the whole map becomes blank white, even though the new layers show on the layers list. Even if I delete the isochrone layers, the map remains blank white. Could you help me with this?
Thank you,
Panos

Hi Panos,
thanks for reporting!
I had this issue too. It happens when your map canvas is in a projected CRS. Try a geographic CRS (i.e. WGS84 or others) and it´s fine.
I added the functionality to zoom to the isochrone layer after calculation. I gotta read up on the function I used apparently. Thought it´d work the same as the context item 'Zoom to layer', but it doesn´t..
So, workaround for now: Right-click --> Zoom to layer on the isochrone.
Will fix in next version.

@astronaut4 Fixed in master branch and sent for approval for v.0.3.4. Should be available in plugin repo next week.

Great, thanks for letting me know Nils


Return a 400 BadRequest for HEAD and GET requests that include a body

WHY are these changes introduced?
This is necessary because the Remix handler throws, causing a 500 error
Fixes https://github.com/Shopify/hydrogen/issues/2282

WHAT is this pull request doing?
Return a 400 error within the remix oxygen handler:
curl -X GET \\n  -H "Content-type: application/json" -H "Accept: application/json" -d '{"param0":"hi"}' "http://localhost:3000"

HOW to test your changes?
Use curl to make a GET request with a body
Post-merge steps

Checklist

[X] I've read the Contributing Guidelines
[X] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[X] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

I tired to 🎩 this but the server just instantly die upon me doing a curl with bad request. Before or After the fix

I am missing something?

I am missing something?

@michenly try using an actual deploy or h2 preview. The vite dev server fails when the oxygen handler returns an error response, not sure why. But I don't think it matters. This is only an issue on prod deploys where bots spam the server with improper requests.


Web Worker's source code

Where is the source code for the Web Worker? Does it use this project or something else?
I'm trying to create my own TTS endpoint for a personal project that might have spurts of high volume, so I'd rather not hammer your web worker :-)

It does not use that project. The worker is closed source in order to keep it alive for longer. Email me (on my gh profile) and I'll see what I can do for your case :)

@owahltinez its open source if you know how to read script.js 😉

@Jokomaxino thanks, however OP is talking about the backend, which is closed source to lower chance of detection.

@Weilbyte Access to the backend code is paid - if so, how much will it be?)


StructBlock in StreamField inside standard Django Model (models.Model) that used as snippet works incorrectly in versions 3.0.2 and 4.0

Issue Summary
I faced this issue after upgrading one of my projects to Wagtail 4.0 from Wagtail 3.0.1.
I have snippet for page footer to use it through all website pages.
I use StreamField to populate footer with social network icons. Every Icon represents StructBlock with two field.
...

from wagtail.snippets.models import register_snippet

...

@register_snippet
class Footer(models.Model):
    social_links = StreamField([
        ('external_link', blocks.StructBlock([
            ('code', DocumentChooserBlock(label='SVG File')),
            ('link', blocks.URLBlock(label='Link')),
        ], label='Link', icon='link-external')),
    ], blank=True, null=True, use_json_field=True)
...

What I expect to see in Snippet menu for Footer model in admin:

When I click on 'Link' block button in admin there is form of two fields (SVGfile and Link) appears.
If i click (+) button and then on 'Link' button another form of two fields appears, etc.
When I click up or down arrows 'Link' block follows up and down respectively.
When I click on Trash bin buttons 'Link' block disapears.
This is how this snippet behaves in Wagtail 3.0.1

What I see in versions 3.0.2 and 4.0:

When I click on 'Link' block button there is form with only one field appears(SVG File). It Appears not instaed of the 'Link' button, but below it. There are no (+) buttons appears above and below form of 'Link' block.
If I click 'Link' block button one more time there is another form with one field appers. Up and down buttons disabled, Trash bin button collapses the form instead of deleting it. It is not posible to expand form back again.

Dev console in browser shows this error:
Uncaught TypeError: this.block is undefined
    getTextLabel http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    collapse http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    toggleCollapsedState http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    e http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    jQuery 9
    e http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    e http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    _createChild http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    _insert http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    _onRequestInsert http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    onRequestInsert http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    renderMenu http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    jQuery 9
    renderMenu http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    renderMenu http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    renderMenu http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    open http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    setState http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    e http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    render http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    initBlockWidget http://<IP_ADDRESS>:8000/static/wagtailadmin/js/telepath/blocks.js?v=4677dac8:1
    <anonymous> http://<IP_ADDRESS>:8000/admin/snippets/home/footer/add/:522
blocks.js:1:13966

Steps to Reproduce

Start a new project with wagtail start myproject
Add abovementioned code to home/models.py
makemigrations and migrate
runserver and check work of Footer snippet in admin

I did collectstatic to ensure that new JS files are pulled into static folder
I tried to drop existing database and migrate from zero with Wagtil 4.0
Downgrade to Wagtail 3.0.1 makes everything works fine.

Technical details

Python version: 3.8
Django version: 4.0.7
Wagtail version: 3.0.2 and 4.0
Browser version: Firefox 104, Edge 104

Fixed in #9124


feat: select today's date on datepicker

This MR adds the ability to select today's date by adding the datepicker-today-select attribute.

Hey @Ryczko,
Thanks for the PR and feature. I think it's nice, but I updated the naming of the data attribute to datepicker-autoselect-today.
Cheers,
Zoltan


added public content from the Meshery Catalog BookInfoForCatalogIstio

Signed-off-by: AryaArunB<EMAIL_ADDRESS>Notes for Reviewers
Just added public content from meshery catalog
This PR fixes #6749
Signed commits

[x] Yes, I signed my commits.

@aryabyte21  Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)


Istio Ingress Controller Comparison

How does Contour differ from the Istio Ingress Controller?

Hi @danehans Contour is somewhat similar to istio pilot, they are both ingress controllers which turn kubernetes configuration into envoy configuration. However Istio pilot is part of the larger and more complex istio pilot, Contour is aimed squarely at being a simple to use ingress controller.


ESM Dist files have different name than package.json

I'm using VITE bundler and I am getting import errors :
The module entry on package.json is :
{
"module": "dist/usefilepicker.esm.js",
}

however the build file is

For now, I'm importing directly from /dist/use-file-picker.esm.js which solves the issue, but It would be nice to fix it

We've just released new version 1.1.2 which incorporates the solution to the issue mentioned above. Everything should be working correctly right now.


forceDfu parameter not copied in DFUExecutor

The generic executor doesn't copy the the forceDfu parameter from the original initiator.
I think that in both startSecureDFU and startLegacyDFU then should also have:
dfuInitiator.forceDfu = initiator.forceDfu

Could you try the Version3 branch? This version is currently almost ready to replace the current master one.

Issue solved on Version3, Thanks!


Make EnumGroupAndName respect DisplayAttribute

We should make EnumGroupAndName respect the DisplayAttribute.Group of enum values, including running IStringLocalizer or looking things up on the ResourceType as appropriate. Similar to what we did for Display.Name in #5197 and #4215.

FYI ResourceType lookup should initially work correctly though we seem to have a test gap in that area. The code certainly uses DisplayAttribute.GetGroupName() (and therefore ResourceType) when EnumGroupedDisplayNamesAndValues is first evaluated.
Agree the Group-related equivalents of #5197 (left out IStringLocalizer support) and #5198 (don't re-evaluate the group name for different locales) are real issues.

Any news on this one? DisplayAttribute data annotations on enums does not seem to localize in 2.0.

Closing this issue as there was no community involvement for quite a while now.


Web - Chat - + button is outside the composer when refreshing page with expanded composer

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:

Go to staging.new.expensify.com
Go to any conversation
Enter enough line so that expand button appears
Tap on expand button
Close the keyboard
Refresh the page

Expected Result:
There is no visual issue with the composer
Actual Result:

button in composer is outside the box

Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/80a92a5d-682d-479a-b683-37fd8a8a746b
https://github.com/Expensify/App/assets/78819774/995bace4-b6b0-4a38-84d9-d21d45a97c32
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I am able to reproduce this on prod:

Removing deploy blocker label


[AIRFLOW-922] Update PrestoHook to enable synchronous execution

JIRA
https://issues.apache.org/jira/browse/AIRFLOW-922
Description
This updates PrestoHook so that it can block until a statement finishes executing. Currently, PrestoHook.run returns as soon as it sends a statement, so Operators that use it won't run synchronously.
There are other, minor changes too that seemed worth making (hence the separate commits), though they're unrelated to the primary goal of this PR. Of course if you'd rather jettison those, or put them in a separate PR, that's fine by me.
Tests
I added some under tests/contrib/hooks, though I wasn't sure if that was the proper location. (PrestoHook is built in, not user-contributed, but AFAICT there are no existing tests for it.)
Commits
I haven't squashed commits yet, because I wanted to keep the history easy to see until the code is in a satisfactory state. Once it is, I'm happy to rewrite the commit history (unless you plan to just squash and merge to take care of that?).

Sorry for letting this PR languish with broken tests! I had assumed using pytest was acceptable, since it was employed in an existing test. However, it looks like that test has been modified to no longer use pytest. I'll make similar updates to this PR.
The previous version of this hook included a fair amount of error message reformatting. But there was no logic to actually recover from the errors; they were just re-raised with the original error hidden. I thought it might be better to remove that reformatting (in https://github.com/apache/incubator-airflow/pull/2206/commits/ead2f33b9c6051e65c147f8d34c7ec92c11d4544). However, I see that https://github.com/apache/incubator-airflow/commit/6dd4b3bc1f366e1f4f4b42d6781f1caee7a5827a added more error message reformatting (though the new method doesn't appear to be called anywhere).
@artwr @mistercrunch Would you prefer then I that I revert ead2f33b9c6051e65c147f8d34c7ec92c11d4544 and incorporate 6dd4b3bc1f366e1f4f4b42d6781f1caee7a5827a?

The tests are passing.

@patrickmckenna are you still working on this PR?

As presto user I would love to see this one it. I have several use cases for this.
I wonder why this didn't get any comments/code review?

Apologies for my slow reply! All of the currently failing builds show the same 2 errors, which appear unrelated to this PR:

 failing tests
======================================================================
84) FAIL: test_scheduler_sla_miss_callback_exception (tests.test_jobs.SchedulerJobTest)
----------------------------------------------------------------------
   Traceback (most recent call last):
    tests/test_jobs.py line 3025 in test_scheduler_sla_miss_callback_exception
      sla_callback.assert_called()
    .tox/py35-backend_postgres-env_docker/lib/python3.5/site-packages/mock/mock.py line 906 in assert_called
      raise AssertionError(msg)
   AssertionError: Expected 'None' to have been called.
   -------------------- >> begin captured stdout << ---------------------
   [2019-02-01 00:36:45,730] {test_task_view_type_check.py:52} INFO - class_instance type: <class 'unusual_prefix_61c0ab525b75d060ea41c0aa11a98c88efc72c26_test_task_view_type_check.CallableClass'>

   --------------------- >> end captured stdout << ----------------------
   -------------------- >> begin captured logging << --------------------
   root: INFO: class_instance type: <class 'unusual_prefix_61c0ab525b75d060ea41c0aa11a98c88efc72c26_test_task_view_type_check.CallableClass'>
   --------------------- >> end captured logging << ---------------------
======================================================================
85) FAIL: test_scheduler_sla_miss_email_exception (tests.test_jobs.SchedulerJobTest)
----------------------------------------------------------------------
   Traceback (most recent call last):
    /usr/lib/python3.5/unittest/mock.py line 1157 in patched
      return func(*args, **keywargs)
    tests/test_jobs.py line 3069 in test_scheduler_sla_miss_email_exception
      'test_sla_miss')
    .tox/py35-backend_postgres-env_docker/lib/python3.5/site-packages/mock/mock.py line 925 in assert_called_with
      raise AssertionError('Expected call: %s\nNot called' % (expected,))
   AssertionError: Expected call: exception('Could not send SLA Miss email notification for DAG %s', 'test_sla_miss')
   Not called
   -------------------- >> begin captured stdout << ---------------------
   [2019-02-01 00:36:45,820] {test_task_view_type_check.py:52} INFO - class_instance type: <class 'unusual_prefix_61c0ab525b75d060ea41c0aa11a98c88efc72c26_test_task_view_type_check.CallableClass'>

   --------------------- >> end captured stdout << ----------------------
   -------------------- >> begin captured logging << --------------------
   root: INFO: class_instance type: <class 'unusual_prefix_61c0ab525b75d060ea41c0aa11a98c88efc72c26_test_task_view_type_check.CallableClass'>
   --------------------- >> end captured logging << ---------------------

I'm not sure how to understand this (and am all the more confused because the latest build of apache/master is passing). I'll try rebasing this branch to generate the same tree as the currently failing build but trigger a new test...

Codecov Report

Merging #2206 into master will increase coverage by 0.03%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##           master    #2206      +/-   ##
==========================================
+ Coverage    74.3%   74.34%   +0.03%
==========================================
  Files         426      426
  Lines       27867    27888      +21
==========================================
+ Hits        20706    20732      +26
+ Misses       7161     7156       -5

Impacted Files
Coverage Δ

airflow/hooks/presto_hook.py
63.38% <95.65%> (+25.38%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee5b8c2...bd1c4d6. Read the comment docs.

@patrickmckenna Can you pick up the latest suggestions from the PR?

@patrickmckenna Closing this for lack of activity.

@patrickmckenna  is there a chance you will continue to work on that? It's shame that this amazing work will go to waste.  This PR is important without it we can not schedule Presto jobs on Airflow as everything is considered success... we can not set dependencies.


Retraining and updating an existing Tensorflow model

I've been using Rasa NLU for a project which involves making sense of structured text. My use case requires me to keep updating my training set by adding new examples of text corpus entities. However, this means that I have to keep retraining my model every few days, thereby taking more time for the same owing to increased training set size.
Is there a way in Rasa NLU to update an already trained model by only training it with the new training set data instead of retraining the entire model again using the entire previous training data set and the new training data set?
I'm trying to look for an approach where I can simply update my existing trained model by training it with incremental additional training data set every few days.

this should (in theory) be possible with the tensorflow intent classifier, but you would have to make sure the countvectorfeaturizer can also do this (e.g. not shuffle the word order). So in theory yes, but would probably be a larger PR to get this to work.

Sorry I'm not quite sure if I get what you mean. Is there an inbuilt functionality in Rasa NLU to update an existing model with a new training data set without retraining it along with the previous training sets as well?
I'd really appreciate if you could guide me in this specific use case. Thanks.

no there is no such functionality at the moment. If you are interested in working on it, we would be happy to support you in creating a PR though!

@amn41 Can you guide what could be possible workaround for the same?

@Ghostvv is the best person to advise

@Ghostvv could you please tell any workaround for this?

You would need to add quite a bit of custom code in order to support continue training. First of all, if you expect for the new words to appear, then you'd need to create fix vocabulary and hack into intent_featurizer_count_vectors to feed it to sklearns's CountVectorizer. Second, you'd need to persist train_op in intent_classifier_tensorflow_embedding. Finally add a method that would use persisted tf.Session and train_op to update the weights (you could use this as an inspiration: https://github.com/RasaHQ/rasa_core/blob/b362fdc9c609c7078350a32198310137caa8c49f/rasa_core/policies/embedding_policy.py#L722)

Hi @Ghostvv , I am using supervised_embeddings for training my data, How can i achieve the same? i did't find anything related to this on rasa docs.

it is not supported, you'd need to modify it yourself. See above for a hint on how to do it

is it working?


LIBXSMM scalability problems on NUMA system

Hi,
we are using LibXSMM with OpenMP as discussed in Issue #353. As a qucik reminder, both of the following versions could be used in principle and were tested for this issue:
! in Fortran, the  save attribute forces xmm to be shared among OpenMP threads
TYPE(LIBXSMM_DMMFUNCTION), save :: xmm
!$omp single
CALL libxsmm_dispatch(xmm, m, n, k)
!$omp end single
IF (libxsmm_available(xmm)) THEN
  !$omp do
  DO i = LBOUND(c, 3), UBOUND(c, 3)
    CALL libxsmm_dmmcall(xmm, a(:,:,i), b(:,:,i), c(:,:,i))
  END DO
END IF

or with the handle as a shared variable:
! in Fortran, the  save attribute forces xmm to be shared among OpenMP threads
TYPE(LIBXSMM_DMMFUNCTION), save :: xmm
!$omp single
CALL libxsmm_dispatch(xmm, m, n, k)
!$omp end single
IF (libxsmm_available(xmm)) THEN
  !$omp do
  DO i = LBOUND(c, 3), UBOUND(c, 3)
    CALL libxsmm_dmmcall(xmm, a(:,:,i), b(:,:,i), c(:,:,i))
  END DO
END IF

Since issue #353 was resolved, OpenMP parallelization has worked without errors. However, the speedup does not scale with the number of threads when calculating on multiple sockets.
For example, I did a test on an Intel Haswell node on our high performance computer. This node contains 2 Intel Xeon CPU E5-2680 v3 (12 cores). The performance scales well, up to many threads are used. Even if this could have something to do with the First Touch principle and thus would be a known NUMA problem, this does not happen if we use our other two versions of matrix multiplication, which do not use LibXSMM.
The tests were compiled with the Intel Fortran Compiler <IP_ADDRESS>.
I hope the information provided is sufficient and i have not made any gross mistakes. thanks in advance for your help!
Erik

Erik, thank you for your report and for talking back!
I will of course try scaling to multiple sockets even on Haswell server (since this is the reported arch reproducing the problem). Anyhow, I noticed a problem in above code which might be just because of providing an excerpt rather than the full picture...
Suppose the above snippets are in a parallel region, dispatching the code works without data race in any of the cases (omp single). However, libxsmm_available can return .FALSE. for some of the threads while one of the threads ("single") just dispatches the code. This might be unintentionally without "fallback" (since there is no ELSE condition). LIBXSMM adjusted policy of when code is "available", which means libxsmm_available is almost useless as we guarantee libxsmm_dispatch to succeed and produce code (unless an unsupported case was requested). We currently limit Alpha, Beta, and TransA to 1, { 1, 0 }, and 'N' respectively (which also means TransB = {'N','T'} is supported). However, your code is constructed such that libxsmm_available is still necessary (one thread dispatches, others may rely on the result of that thread before work is completed).
There are two alternatives (beside of introducing a fallback).

Perform libxsmm_dispatch outside of the parallel region, i.e., prior to opening the region. This might be unsuitable due to modularization (running LIBXSMM really is deeply nested in a routine called in a parallel region.
Use below code.

TYPE(LIBXSMM_DMMFUNCTION) :: xmm ! no save attribute to avoid data race
CALL libxsmm_dispatch(xmm, m, n, k) ! code is contended among threads
!$omp do
DO i = LBOUND(c, 3), UBOUND(c, 3)
  CALL libxsmm_dmmcall(xmm, a(:,:,i), b(:,:,i), c(:,:,i))
END DO

Routine libxsmm_dispatch is synchronized internally and it is save for multiple threads to call the routine concurrently. The contention should be no concern since the DO-loop below easily amortizes the dispatch as well as the contention.

Hello Mr Pabst!
Many thanks for your reply!
As you yourself have already indicated, alternative 1 is unfortunately not suitable for our application.
But thanks for the hint with the libxsmm_available, I have removed it from the code.
Unfortunately, apart from that, we have already examined a variant that is like alternative 2. The scaling problem still existed.
It almost acts as if there was an upper limit to the achievable performance. I don't have these scaling problems for other (e.g. smaller) matrix sizes, with which I achieve a lower performance already for one Thread.
Thank you for your help and for addressing the problem!
Best,
Erik

I will create a proxy-code which is trying to reproduce the problem. I will play with different loop schedules and pinning schemes (OpenMP), and report scalability from 1st to 2nd socket for different hardware platforms including Haswell server. Ideally we would see 2x going from one to two sockets even if the code is memory-bound (because of harvesting/doubling the number of memory controllers when approaching the second socket). I will let you know!
Regarding the first-touch principle, I will both try with "ideal" initialization as well as single-core based data-setup. For the latter, I will also try interleaved pages (numactl -i all).

Thank you alot!
Another information that might be useful for you: the values for m,n,k are 16.

Hello Erik, thank you for the details!
I have extended the Fortran SMM sample code, and hopefully got it close enough to your case. Feel free to privately modify if necessary (or send a Pull Request if you want to keep your reproduces alive). I did the following experiment(s):
make -j
cd samples/smm; make -j
export OMP_PROC_BIND=CLOSE
./smm 16

Please use smm rather than smm.sh to control affinity on your own for this specific experiment (OMP_PROC_BIND works for both Intel and GNU compiler). Running above experiment with OMP_NUM_THREADS at half the number of total HW threads, I get a speedup of above or equal 1.9x by using the second socket on either Skylake server (specifically Cascade Lake) or Haswell server (specifically Broadwell). Either Intel Compiler or GNU Fortran (respective OpenMP runtime) reproduce the same behavior (alternatively, numactl or taskset can be used for the experiment as well). Given a scalability of more or equal to 1.9x, I cannot reproduce the problem. For this experiment a and b are likely initialized with the same affinity (hence no NUMA issue from that side) and c is kept uninitialized assuming Beta=0 (and hence no NUMA issue from this side). If your code uses Beta=1 to accumulate into c, please let me know!
Beside of the above experiment, I added some new capability to the Fortran interface: LIBXSMM_GEMM_FLAG_ALIGN_C_NTS_HINT_BETA_0, i.e., support for Non-Temporal Stores (NTS). The latter goes along with Beta=0 and the requirement for (SIMD-)aligned accesses (c array). The new function libxsmm_aligned tells whether an array and subsequent accesses are aligned. For general code, NTS only makes sense if c is somewhat large (does not fit into cache) and is not touched immediately after running the LIBXSMM kernel (otherwise it is beneficial to keep c "on record", i.e., in-cache (NTS writes through and may not keep the data in cache). Note, NTS requires aligned accesses but not all Fortran compilers easily (or sufficiently) align the allocated memory (Intel Compiler supports some attribute). If you experience some erratic timing during your experiments ("instable"), I believe it can be related to
        DO r = 1, repetitions
          !$OMP PARALLEL DEFAULT(NONE) SHARED(a, b, c)
          CALL smm_stream_abc(a, b, c)
          !$OMP END PARALLEL
        END DO

... which does not look ideal (since the parallel region is opened/joined within a loop). However, in your application you likely have more code inside the parallel region plus you may not repeat with such loop (it is only there for the sake of stable timing ;-).
Generally, your case (M,N,K=16) is memory-bound with above mentioned systems since all operands are streamed (a, b, and c). Further, NTS may not help too much: theoretically in the order of 25% (I measured ~15%) since the code reads a, b, and two times c (RFO) vs a, b, and one times c (NTS) which is "4 : 3" for NTS vs Read-For-Ownership (RFO).

If your case cannot easily initialize memory in a NUMA aware fashion, I suggest to try numactl -i all in front of your command. The latter interleaves all memory pages across both sockets (which does not get you all the bandwidth but perhaps somewhat better than populating all pages on socket-0).

Dear Mr Pabst,
I am sorry that I did not send you this information earlier: in our code, we indeed use Beta=1 to accumulate c.
I will think of an alternative formulation for Beta=0 and possibly try some things mentioned above.
Thanks until here!

No worries regarding the Beta=0, I wanted NTS to be supported in Fortran code anyway. I will add/try a case with Beta=1 just to make sure, but I believe it will scale similar to the currently implemented case. The only reason not to scale might be if c (where the writes go into) are not split at cacheline boundaries among threads (OMP DO). If the latter is true ("false sharing"), it can be fixed by giving some granularity to the OMP-DO-directive.

Just FYI, LIBXSMM/master now by default implements intercepting memory allocations in a very light-weight fashion with just the purpose of aligning buffers sufficiently. This has some different goal/purpose than building LIBXSMM_MALLOC=-1 (or LIBXSMM_MALLOC=1), which may take longer on a per-allocation basis but can potentially amortize multiple allocations that are in the same place. It is not yet decided if this "light-weight interception" can stay enabled by default. However, GNU Fortran can now close the gap with IFORT by also delivering aligned memory (always and without an attribute). In turn, this helps with NTS for the case with Beta=0 when relying on GNU Fortran.

Thank you for your help!

Thank you for your contribution!
( Of course, feel free to reopen the issue or to open a new issue depending on your findings. )


sc-6505 GDS UI: refact the logo on top of the sidebar

Scope of changes
sc-6505 GDS UI: refact the logo on top of the sidebar
Briefly add notes if applicable and include the story ID
Type of change

[ ] bug fix
[ ] new feature
[ ] documentation
[x] other (describe)

Acceptance criteria

Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[ ]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[ ]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #600 (14e5775) into main (d89847f) will decrease coverage by 8.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #600      +/-   ##
==========================================
- Coverage   46.33%   37.98%   -8.35%
==========================================
  Files         511      154     -357
  Lines       14914     2427   -12487
  Branches     1171      616     -555
==========================================
- Hits         6911      922    -5989
+ Misses       6953     1329    -5624
+ Partials     1050      176     -874

Impacted Files
Coverage Δ

web/gds-user-ui/src/components/Sidebar/NavItem.tsx

...-user-ui/src/components/Sidebar/SidebarContent.tsx

.../TechnicalResources/TechnicalResources.stories.tsx

...i/src/components/CertificateReview/TrixoReview.tsx

.../github.com/trisacrypto/directory/pkg/bff/admin.go

...user-ui/src/components/OtherJuridictions/index.tsx

...er-ui/src/components/ui/InputFormControl/index.tsx

...om/trisacrypto/directory/pkg/gds/emails/bindata.go

web/gds-user-ui/src/modules/home/service/index.ts

web/gds-user-ui/src/contexts/LanguageContext.tsx

... and 347 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d89847f...14e5775. Read the comment docs.


Remove 'node_modules' folder

Hi,
With first commit (be5832b) I removed 'node_modules' folder. Since it is not nice to have external dependencies in main library.
So before running tests in your build tool (I see you using Codeship), please run command:
$ npm install

To install all following dependancies.
Best regards,
Pavlo Voznenko

With second commits I fixed warnings at npm package file, also added npm test possibility.
Unfortunately there is still warning related to issue #62.

With 3rd commit I added possibility to build with travis. Issue #60

Hey Pavlo,
thank you very much for this pull request. It's awesome to see you contributing. However, we can't remove the node_modules folder as our platform doesn't invoke npm install on production servers yet.
Can you please provide a new pull request without removal of node_modules please? If you are updating the dependencies just commit them along with the the code changes.

Hi Igor,
Ok, no problem, I just saw that in .gitignore file you have folder node_modules ignored :)
One moment, will rebase.

Done.
Now this pull request contain:

(0f7ed84) fixed warnings at npm package file, also added npm test possibility;
(6d2dca4) added possibility to build with travis. issue #60.

Do you need help with Travis?
I also figure out when tried to solve issue #62 , changing library to sphere-node-sdk, that in test with new sdk client for some reason hangs :(
Any ideas why? Otherwise I could look at it a little bit later.
Have  nice day!

Hey @pvoznenko
Thanks for adding this here. Can you provide an error message or give an hint where it hangs. @emmenko could take a quick look.
Bests,
Martin

Hi @mmoelli
First of all, I used "sphere-node-sdk": "1.2.0" and in lib -> sphere.js:
var SphereClient = require('sphere-node-sdk').SphereClient;

I debugged a little bit and got following error:
% npm test

> sphereio-spec@ test /Users/pavlo/Projects/sphereio-api
> grunt test

Running "jasmine_node:spec" (jasmine_node) task
Possibly unhandled ConcurrentModification: Version mismatch. Concurrent modification.
    at /Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/lib/services/base.js:640:22
    at ProductService.BaseService._wrapResponse (/Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/lib/services/base.js:651:11)
    at /Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/lib/services/base.js:542:40
    at Request._callback (/Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/lib/connect/rest.js:210:14)
    at Request.self.callback (/Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/node_modules/request/request.js:373:22)
    at Request.emit (events.js:98:17)
    at Request.<anonymous> (/Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/node_modules/request/request.js:1318:14)
    at Request.emit (events.js:117:20)
    at OutgoingMessage.<anonymous> (/Users/pavlo/Projects/sphereio-api/node_modules/sphere-node-sdk/node_modules/request/request.js:1266:12)
    at OutgoingMessage.emit (events.js:117:20)

Error comes from lib -> sphere.js function createClient on creation of new instance of SphereClient.
So http error 409.
I not really familiar with changes that you did between versions. I believe you could easy see whats missing in spec -> sphere.spec.js file.
Hopefully it is useful information.
Unfortunately did not go deeper yet.

So I found out that behavior of Object BaseService.prototype._wrapResponse changed in sphere-node-sdk compare to sphere-node-client.
So thats why tests are failed. In test it expected something different then got back from new library.

I think now I found it, in old version you had method fail for client, in new version it called catch

So with updating fail to catch currently 9 test are failed.
Some errors just because of response signiture was changed like:
Expected spy self.emit to have been called with [ 'error', { statusCode : 404, message : 'Endpoint '/elasticio/customers/54' not found.', originalRequest : { endpoint : '/customers/54' } } ] but actual calls were [ 'error', { body : { statusCode : 404, message : 'Endpoint '/elasticio/customers/54' not found.', originalRequest : { endpoint : '/customers/54' } }, code : 404 } ], [ 'end' ]

Some contain test expected rebound error, but with new sdk instead of rebound it got 409 - this kind of test I have no idea how to fix, so will comment them for author of current library to check:
Expected spy executor.emit to have been called with [ 'rebound', 'Mismatched version for addVariant action on product with masterVariant sku: aMasterVariantReference' ] but actual calls were [ 'error', { body : { statusCode : 409, message : 'A duplicate combination of the variant values (sku, images, prices, attributes) exists.', errors : [ { code : 'DuplicateVariantValues', message : 'A duplicate combination of the variant values (sku, images, prices, attributes) exists.', variantValues : { sku : 'anSku', prices : [  ], images : [  ], attributes : [  ] } } ], originalRequest : { endpoint : '/products/anId', payload : { version : 3, actions : [ { action : 'addVariant', sku : 'anSKU', staged : false, attributes : undefined } ] } } }, code : 409 } ], [ 'end' ]

Another errors kinds funny :) :
Expected 'Internal Server Error' to equal 'Wow! Such error, very problem'.

Expected 'Internal Server Error' to equal 'Ouch'.

Expected 'Internal Server Error' to equal 'Ouch'.

So I can fix all test except with rebound problem, since I do not know what really it should expect.

Can you please send the link to the line of code with rebound?

@drobiazko https://github.com/elasticio/sphereio-api/blob/master/spec/actions/updateCustomers.spec.js#L85
test fail message:
  6) Sphereio update customers external id concurrency error should rebound message
   Message:
     Expected spy self.emit to have been called with [ 'rebound' ] but actual calls were [ 'error', { body : { statusCode : 409, originalRequest : { endpoint : '/customers/42', payload : { version : 12, actions : [ { action : 'setExternalId', externalId : '4200' } ] } } }, code : 409 } ], [ 'end' ]
   Stacktrace:
     Error: Expected spy self.emit to have been called with [ 'rebound' ] but actual calls were [ 'error', { body : { statusCode : 409, originalRequest : { endpoint : '/customers/42', payload : { version : 12, actions : [ { action : 'setExternalId', externalId : '4200' } ] } } }, code : 409 } ], [ 'end' ]
    at new jasmine.ExpectationResult (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at null.<anonymous> (/Users/pavlo/Projects/sphereio-api/spec/actions/updateCustomers.spec.js:86:31)
    at jasmine.Block.execute (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1064:17)
    at jasmine.Queue.next_ (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2096:31)
    at onComplete (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2092:18)
    at jasmine.WaitsForBlock.execute (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2576:5)
    at null._onTimeout (/Users/pavlo/Projects/sphereio-api/node_modules/grunt-jasmine-node/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2590:12)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

Are you talking about this one?
A rebound event is used to tell our runtime to re-deliver the message one more time because of a temporal error. For example, in this particular case 409 Conflict means we are updating a product version which is already updated. By rebounding the message we do a retry with a new version of the product.

Ah, I didn't see you answered already. Does my last answer help you?

@drobiazko no I see, it did not handle 409 because of signature of response changed. Thanks for showing me that!

If I didn't miss anything, here are all the rebounds:

https://github.com/elasticio/sphereio-api/blob/master/lib/actions/addPrice.js#L58-L59
https://github.com/elasticio/sphereio-api/blob/master/lib/actions/addVariant.js#L113-L116
https://github.com/elasticio/sphereio-api/blob/master/lib/actions/queryProductVariant.js#L47
https://github.com/elasticio/sphereio-api/blob/master/lib/actions/updateCustomer.js#L33

@drobiazko thanks!
I fixed tests, just checking code before commiting

Ok, one more thing with new SDK library SphereClient default logger does not work, it hangs:
logger = {
            silent: true,
            streams: [
                {level: 'info', stream: process.stdout }
            ]
        };

This works:
logger = {
            path: './sphere-elastic-debug.log',
            levelFile: 'debug'
        };

@drobiazko if to believe this doc logger was removed, is it true?

and as I see from the repository in folder 'node_modules' I should push only dependencies not devDependencies?

I believe I fixed issue #62. To make it easy to review my commits, I separate them in two chunks:

(a9ed8f0) updated sample to use sphere-node-sdk #62;
(e135034) updated node_modules folder for use of sphere-node-sdk #62.

So let me know guys what do you think and I am happy to help with Travis or maybe another stuff that I know.
Have a nice evening and best regards,
Pavlo Voznenko

Thank you @pvoznenko. Our team will review the pull request, test the stuff on our staging system and merge it.

Reviewed, i'll test it and then merge if all will be ok

@pvoznenko thanks!


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #5.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #5

@zhu0619 Since we import directly from RDKit and from Matplotlib, we should include these as explicit dependencies.
We can release this version as is, but I'll create a PR in Auroris to add these dependencies and then for the next conda-forge release, we will need to update the recipe manually!


Reduce Drone Navigation Speed

Hi
I using ROS Noetic, Ubunto 20.04. I'm new to Moveit. I there any possibility to slow down the drone while navigating.
Thanks

Hi I using ROS Noetic, Ubunto 20.04. I'm new to Moveit. I there any possibility to slow down the drone while navigating. Thanks

Hello, could you tell me if there are many problems using this repo with ROS Noetic?


Comment third party tool

Comment "Third party tools" div from the main page.

OK, display:none added to div and css, to avoid JS modification.


Docker for Mac - Build dockerfiles than run behind corp firewall proxy

I have reviewed the issues and have not found a concrete resolution for creating a dockerfile than will run behind specific proxy (HTTP_PROXY, etc) settings.
I have tried using ENV HTTP_PROXY, etc in the dockerfile but it does not build.  I would like to create a dockerfile that builds and runs with burned in corp proxy settings.
I am using the Docker for Mac beta to build and run the dockerfile.

When you say you say you tried to put HTTP_PROXY into the docker file, what do you mean? From the HTTP_PROXY setting seen here this option is meant for bootup with the docker daemon, meaning that each public facing service seems like it will need to be using the same proxy.
Can someone confirm that way of reading it? It's a bit confusing.

i've use the ENV HTTP_PROXY and HTTP_PROXY variables/flags in the docker file and was able to build successfully but the container could not get internet access.  also tried building with --build-args

What version of docker 4 mac are you using? IIRC it should be inheriting proxy settings from OSX.

Closing as this should really go in https://forums.docker.com/c/docker-for-mac
It will be much easier to provide support there since this is likely to be a docker4mac issue.
Thanks!

it pulls from the Network Settings.  my company uses a .pac file.  I monitored that that forum for issues but did not see a specific issue.  i would put my notes in there.


Could not compile erlport

I am getting this error compiling erlport:
** (Mix) Could not compile dependency :erlport, "/Users/mladen/.mix/rebar3 bare compile --paths "/Users/mladen/work/inSITE_Search/_build/dev/lib/*/ebin"" command failed.
I am getting this on a freshly installed macOS high sierra, while i never got this error on other Macs i tried.
I only found one user with similar error but without much luck fixing it:
https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=sr&ie=UTF-8&u=https%3A%2F%2Fteratail.com%2Fquestions%2F114967&edit-text=&act=url
I am using default python that comes with mac (2.7) and i don't have erlport installed via pip.
I also don't get any error besides "could not compile" or i don't know here to look for error logs.

Are you using OTP 21? there is a depreciation warning with OTP 21. The rebar config for erlport converts warnings to errors so it doesn't build anymore. I think PR #47 will fix this.

Hey thanks jeff, it actually works when i downgraded erlang to 20 and added it to path like so:
/usr/local/opt/erlang@20/bin
#47 PR doesn't seems to be working.
Thank you

did this ever get fixed? I require Erlang 21+ and am using this however I do not know how to build it myself and thanks to proxies am now having to do so but it keeps complaining.

@ilovemysillybanana in this repo, no, but it has been fixed over here: https://github.com/erlport/erlport which is also the repo that the hex package it being built from, if you use hex

@jeffutter Thank you, I'll reach out on that repo's issues.

@jeffutter Just wanting to clarify somethings.
You said the other repo you linked is the one used in the hex package, but which repo was used to create the binary packages on the website because they link to to this repo. And I am now wanting to try that out.
Source:
http://erlport.org/downloads/
Says git clone https://github.com/hdima/erlport.git

hdima (the original author and owner of erlport.org) seems to have abandoned this project (no contact in ~4 years), so we made a new repository with all of the crucial PRs merged. There is no active development going on there either, but if you have a patch, you'll have a realistic chance of it getting merged there, version bumped and a hex package uploaded with it.


Add env file flag support

PR for issue #204

Hey @fredwangwang just a heads up that our team is off site this week so we may be a bit slow to respond to this PR, but I'll check in with folks in the morning and share another update here afterwards.

We will make some time to look at this and catch up with you tomorrow!


Added temperature parameter to RequestBody

This addresses #1018 by adding the temperature parameter to RequestBody.

[!IMPORTANT]
Adds temperature parameter to RequestBody in batch.py, affecting request construction in BatchJob.create_from_messages().

Behavior:

Adds temperature parameter to RequestBody in batch.py with a default value of 1.0.

Classes:

Updates RequestBody class to include temperature.
Affects BatchModel class which uses RequestBody.

Methods:

Impacts BatchJob.create_from_messages() where RequestBody is instantiated.

This description was created by  for 366fc2865561c67331991958834ac7b9517c3813. It will automatically update as commits are pushed.

**kwargs passes this through, no need to add more kwargs

Thank you for re-opening this, @jxnl.


EVP_DigestFinalXOF must not reset the EVP_MD_CTX

It does not do it in legacy path and 1.1.1 so that must not change.
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Maybe this needs a test?

I do not see any problems with context reuse as long as it is not the incorrect reuse without proper DigestInit(_ex) call. It avoids re-doing some operations that would need to be done on reset context.

Travis error does not look related to this PR.

@slontis comments addressed, do you approve?
@beldmit do you still approve?

Yes, my approval still persists

The test I was expecting is that we actually call EVP_DigestFinalXOF() twice, to see that it produces the correct output.

The test I was expecting is that we actually call EVP_DigestFinalXOF() twice, to see that it produces the correct output.

It seems that's not going to work, so forget about that part.

I did a clean rebase to just run the CI

Still approved.

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

CI failures unrelated

Merged to master


add total_price property to events that implement the SALE interface

total_price should reflect amount * price

SALES are now always de-duped, so not needed anymore.


@conda-forge-admin, please re-render

@conda-forge-admin, please re-render.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/freexl-feedstock#15.


Move to cl2.hpp as it fixes outputting strings to text files

This fixes #39. Moving from cl.hpp to cl2.hpp.
I have set the CL_HPP_MINIMUM_OPENCL_VERSION and  CL_HPP_TARGET_OPENCL_VERSION to 120. I am not sure these are the best values for all platforms but they are good for macOS.

cl2.hpp might not be available in every platform.
Alternate fix is done https://github.com/krrishnarraj/clpeak/commit/62057eafa4d9848d9f637a4a03bfef158629cd54


No lables, cell_types, batches in AnnDataset()

Fixes #298

Hi Michael, Thanks for creating this PR. The travis-ci tests aren't passing just because of some extra white space. Would you mind fixing it?

Codecov Report

Merging #315 into master will increase coverage by 0.4%.
The diff coverage is 73.68%.

@@            Coverage Diff            @@
##           master     #315     +/-   ##
=========================================
+ Coverage   91.28%   91.68%   +0.4%
=========================================
  Files          31       31
  Lines        2547     2575     +28
=========================================
+ Hits         2325     2361     +36
+ Misses        222      214      -8

Impacted Files
Coverage Δ

scvi/dataset/anndata.py
86.36% <73.68%> (-10.52%)
:arrow_down:

scvi/dataset/dataset10X.py
93.82% <0%> (-0.02%)
:arrow_down:

scvi/dataset/dataset.py
94.29% <0%> (+4.69%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8750e72...94df893. Read the comment docs.

Thanks Michael!


fix(search): improve accessibility for multiple search components

Closes #1825

I'm going to close this since the issue it's related to has also been closed.


FEATURE REQUEST - Change the Path of transcripts

How can I change the path of PS_Transcripts?

We use the following to set the path to PS_Transcripts:
$psLoggingPath = 'HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\Transcription'
New-ItemProperty -Path $psLoggingPath -Name "OutputDirectory" -Value (Join-Path ${Env:UserProfile} "Desktop\PS_Transcripts") -PropertyType String -Force | Out-Null

You can modify this by executing the following in an admin PowerShell prompt:
$your_ps_transcripts_path = '<fill_in_with_your_path>'
$psLoggingPath = 'HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\Transcription'
Set-ItemProperty -Path $psLoggingPath -Name "OutputDirectory" -Value $your_ps_transcripts_path -Force


'content' section in the response object is optional

Current implementation assumes the content key in the response to be required, which it is not in the OAS.

Fixed in a previous release.


Launcher won't maximize, when doom is close

I'm stupid, and still learning C++ and QT. Silly me, just connect signal to minimize slots and it's worked, lol.


Can't use localhost:25000 for the cluster agent.py API

Hello,
I 've been trying to user the agent.py API in order to get the status of the cluster.
However localhost:25000/cluster/api/v1.0/status doesn't work. In fact, localhost:25000 doesn't work at all. I have attached the inspection tarball.
Thanks.
inspection-report-20200126_213715.zip

@ktsakalozos it doesn't really matter actually because calling localhost:25000/cluster/api/v1.0/configure doesn't work either, even when I send a json as body for the post request.

@giorgos-apo what error do you get when you call the configure endpoint?

@balchua I get a Couldn't get any response error. I am wondering though, in case I have microk8s running, is there any request I can do in order to know if cluster agent is running properly?

@giorgos-apo no status code is returned too? Thats strange.

@balchua I am actually making the call using postman and the response I get looks like that:

Could not get any response

There was an error connecting to localhost:25000/cluster/api/v1.0/configure
Why this might have happened:
The server couldn't send a response:Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectly Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:Change request timeout in Settings > General

Thanks, so its not hitting the agent.  Postman is not allowing the handshake because its self signed cert.
You need to turn off ssl cert verification in postman.

@balchua thanks but unfortunately I get the same error.
I am providing a screenshot:

Below you can see my general settings:

And below you can see my proxy settings:

@giorgos-apo what if you add a json body?
Lets try restarting kube-proxy.  And make sure we point to the master node https://masterip:25000
With the content-type as application/json
   {
     "callback": "xyztoken"
     "service":
     [
       {
         "name": "kube-proxy",
         "restart": True
       }
     ]
   }

@balchua hello again! so here is the outcome:

If I don't use https:// then it responds with the previous error (Could not get any response)

@giorgos-apo so this is looking good, i mean it is now hitting the cluster agent configure endpoint.
If you follow through the code, i guess it threw that error due to the wrong callback token.
Try creating a file under /var/snap/microk8s/current/credentials/callback-token.txt and add a row xyztoken.
Then hit the configure endpoint again with the same json body.

@balchua Unfortunately after creating the file and changed its ownership and permission to root:microk8s and 644, I still get the same error. If I change the callback on the json request (for example if I put "callback": "sjsjxy") then I receive a invalid token. So I feel like I am close...

@ktsakalozos @balchua hello both! I have been trying to run this:

As you can see I get an error 500 in the request.
So after viewing the logs I got that back:
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/app.py", line 2446, in wsgi_app
 microk8s.daemon-cluster-agent[1089]:     response = self.full_dispatch_request()
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/app.py", line 1951, in full_dispatch_request
 microk8s.daemon-cluster-agent[1089]:     rv = self.handle_user_exception(e)
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/app.py", line 1820, in handle_user_exception
 microk8s.daemon-cluster-agent[1089]:     reraise(exc_type, exc_value, tb)
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/_compat.py", line 39, in reraise
 microk8s.daemon-cluster-agent[1089]:     raise value
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/app.py", line 1949, in full_dispatch_request
 microk8s.daemon-cluster-agent[1089]:     rv = self.dispatch_request()
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/lib/python3.5/site-packages/flask/app.py", line 1935, in dispatch_request
 microk8s.daemon-cluster-agent[1089]:     return self.view_functions[rule.endpoint](**req.view_args)
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/scripts/cluster/agent.py", line 412, in configure
 microk8s.daemon-cluster-agent[1089]:     subprocess.check_call("{}/microk8s-disable.wrapper {}".format(snap_path, addon["name"]).split())
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/usr/lib/python3.5/subprocess.py", line 576, in check_call
microk8s.daemon-cluster-agent[1089]:     retcode = call(*popenargs, **kwargs)
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/usr/lib/python3.5/subprocess.py", line 557, in call
 microk8s.daemon-cluster-agent[1089]:     with Popen(*popenargs, **kwargs) as p:
 microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/usr/lib/python3.5/subprocess.py", line 947, in __init__
microk8s.daemon-cluster-agent[1089]:     restore_signals, start_new_session)
microk8s.daemon-cluster-agent[1089]:   File "/snap/microk8s/1173/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
 microk8s.daemon-cluster-agent[1089]:     raise child_exception_type(errno_num, err_msg)
 microk8s.daemon-cluster-agent[1089]: FileNotFoundError: [Errno 2] No such file or directory: '/var/snap/microk8s/1173/microk8s-disable.wrapper'

I believe the last line says everything... But could anyone explain me what that is? Why doesn't it exist? and what does it do if it exists?

@giorgos-apo you found a bug in our code.
In https://github.com/ubuntu/microk8s/blob/master/scripts/cluster/agent.py#L19 snap_path should be os.environ.get('SNAP'). If you follow the code of the configure you will see it tries to find the microk8s-enable.wrapper under  snap_path and that should be where the $SNAP variable point.
Would you be interested in a PR to fix this? Thank you.

@ktsakalozos sure I will do that the sooner possible! Thanks for the help anyway!

@ktsakalozos @balchua Hello both!  I am still struggling with this issue unfortunately.
I have been executing the following, having gpu enabled:

However, when I see the logs using journalctl -fu snap.microk8s.daemon-cluster-agent command, I face the following issue:
[2020-02-24 20:39:41 +0200] [1720] [CRITICAL] WORKER TIMEOUT (pid:4016)
[2020-02-24 20:39:41 +0200] [4016] [INFO] Worker exiting (pid: 4016)
[1172]: gpu
[1172]: Disabling gpu
[1172]: [2020-02-24 20:39:41 +0200] [15920] [INFO] Booting worker with pid: 15920

I am monitoring all namespaces using watch -n 1 microk8s.kubectl get all --all-namespaces and unfortunately nothing changes.
Any idea please?

@giorgos-apo if you run microk8s.enable gpu from command line is it going through?  Or you are seeing the same error?

@balchua I can run and execute anything from the command line. BUT, when I run microk8s.enable gpu it asks for sudo password. So, I was thinking that maybe this is the issue with the agent.

Oh you may want to add the user into the microk8s group.  If you run microk8s.status it should suggest you to add your user to microk8s group.

@balchua Unfortunately nothing changed. And the command microk8s.status doesn't suggest anything.

Can try something simpler like enabling dns?

@balchua same issue unfortunately. It says gpu enabled and then request
timeout
On Sat, Feb 29, 2020, 14:08 balchua<EMAIL_ADDRESS>wrote:

Can try something simpler like enabling dns?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ubuntu/microk8s/issues/937?email_source=notifications&email_token=ACC7O5QGNNTMGB2DAZP6EILRFD5C7A5CNFSM4KLYZS5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLYNKY#issuecomment-592938667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC7O5SABVBI2FNO5GIF3BDRFD5C7ANCNFSM4KLYZS5A
.

@giorgos-apo there are some addons that require sudo because it downloads binaries and keeps into directories that are owned by root.
What if you install and start microk8s as root?

@balchua Hello,

I  have reinstalled microk8s using sudo snap install microk8s --classic --edge.
I have created a file in the credentials directory called callback-token.txt with the content mytoken.
I have sudo chown root:microk8s callback-token.txt
I have sudo chmod 660 callback-token.txt
I have sudo microk8s.start
I have sent the following request:

I have received the following (microk8s.kubectl get all --all-namespaces on top and journalctl -fu snap.microk8s.daemon-cluster-agent on bottom):

Thats great!!

@balchua in what way? I mean it didn't work.

I didn't try gpu so i thought that it did enable gpu because it showed something in the log.
Again, when u execute enable gpu from command line, do you get enter password?

@balchua no I don't. I can enable it easily without password.


Split building of .o file from executable

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Splits the make rule to build executables into two parts. This allows a more natural way to encode #1186, but also allows things like make mymodel.o, which would allow the same sort of thing and speed ups like https://github.com/stan-dev/stanc3/pull/1350
Intended Effect:
How to Verify:
Side Effects:
None
Documentation:
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Question for the cmdstanr guys: is KEEP_OBJECT even needed with this, or can you just call make twice (make model.o, make model) to get to where you want?

Mostly it would be nice so that we don't need to change any of the existing code for compiling models. But as you mention it's only a single additional call, so it's not essential


Nft image smaller than it should be and i'm being able to zoom in and out of image

Its from canary only, production seems ok
comes from one of the recent merged PRs
image size:

enter and leave fullscreen and you end up with huge image on frame

Solved by

#10075


not working

please write a tutorial about this
i got urllib error

which version of python you are using
use python27 if you have some error send screenshot
and also check i updated the script

python 3.6.5 , and using updated script

Change all instance of urllib2 to urllib for python 3.*

after installing python 2.7

Install tesseract and add tesseract.exe containing folder to your path
Download tesseract installer from https://github.com/tesseract-ocr/tesseract/wiki

And update you bot.py file

As i see your files are not updated , update your bot.py file from repo

everything is working fine but it takes 20+ sec to answer

I am working for it


Min-Max-Sum

💥 Proposal
Given five positive integers, the aim is to find the minimum and maximum values that can be calculated by summing exactly four of the five integers.
Example:
arr = [1,3,5,7,9]
The minimum sum is 1+3+5+7 = 16 and the maximum sum is 3+5+7+9 = 24. So, the output will be:
16 24
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Use DevTools icon for pretty print

Source: https://chromium.googlesource.com/chromium/blink/+/master/Source/devtools/front_end/Images/src/toolbarButtonGlyphs.svg

Current icon is align right by MS Office icon and is a bit confusing:

But this one is used on Chrome DevTools itself also:

You're right, I couldn't find the SVG in iconfinder.net, I went with the first that made sense. This is much better. Thanks!

No problem, I think that is why you put this extension opensource so we can help on the software we love :)


[Feature Request]add inside downloader for model forme huggingface and civitai and add use vae

add inside downloader for model forme huggingface and civitai  add use vae

These features have already been supported. You can refer to the documentation here: https://www.iopaint.com/models#stable-diffusion-models

These features have already been supported. You can refer to the documentation here: https://www.iopaint.com/models#stable-diffusion-models

Hello, I wanted to say that I checked and it was vae, but if you can add an internal downloader to the program, it can be downloaded from https://civitai.com/, I mostly use colab, it would be good if it has an internal downloader.


client project as dev dep

also added a start target for conveniency

This PR created a postinstall to solve the double install issue: https://github.com/tink-ab/tink-connect-example/pull/10/files, so closing this one.


homebridge-bond open/hold/close

I'm using your plugin with homebridge-bond to control Somfy shades.
This is working fine, but I don't want to control it by setting the position in percentage.
How can I control it by just set it to push open, hold or stop button?
Thanks!

@barry74 -
You can just click/unclick the blinds button for a full open or close within the Home app (same way you would turn a light switch on and off). It just has the optional setting of being able to control the percentage.
Otherwise, if you literally just want buttons only, it sounds like you'd be better off setting them up using something like this:
https://github.com/Supereg/homebridge-http-switch
You would lose the "Opening..." and "Closing..." type behavior, as well as the blinds icons though.

Full open or close works fine, but there isn't a way to stop/hold the shade. Isn't there a way in the optional settings to add a stop/hold button instead of percentage-slider?

That behavior is all defined by Homekit (Apple), nothing much we can do. There might be a way to add an optional characteristic to a shade, not sure, but the simplest might be to just add another button in that case if you like using the repo I shared.
Did you try just clicking the button again in the middle of an open/close event? Haven't tested that myself.

By pressing the button in the middle of the event the shade opens or close. It does not hold/stop the shade.
How can I add an extra hold button?

OK. Use the same parameters for the 'hold' URL (method, token, etc.), and just create another button using:
https://github.com/Supereg/homebridge-http-switch
It's just a single HTTP call.

I would suggest using a stateless switch for this, by the way.

@barry74 I've figured out how to add a stop button in the latest release.
(You'll need to add show_stop_button = true in your config.json; see the README). Hopefully this is what you were after!


How to Conform to the MIT License

I've developed a page that uses your sass styles.
How should I conform to your MIT license, will putting a link to https://github.com/primer/primer/blob/master/LICENSE on the page's "Thanks to" section be enough?
Or may I copy your MIT license and put it into each html page's source code as a comment?

@ilyaigpetrov You just have to include it in the project itself, it doesn't have to be a link or even a comment in the pages.

You can find the information reference on Choose a License > MIT Page.
That said, I'm positive that there won't be any kickback if you provide a "thanks to" link just a kind gesture anyways.

You just have to include it in the project itself

I think it will be wrong if I include the license file into my private repository where nobody except me can read it. I think the license is meant to be included in the project in a accessible way, that's why I created a special page on the website devoted to all the licenses I use. I hope it's right.
Thank you for your assistance.