YAML indentations

Ensure that yaml output is indented properly and the file produced by OpenAPi designer can be used/viewed in Swagger Hub.
Also, ensure that the yaml indentations are properly formatted and displayed in the "Editable output" view.

Could you elaborate this a bit?
I'm pretty sure we can trust the YAML library, and validating it with yet another library is just pointless. If you mean that some fields are on the wrong YAML level, then it's a problem with the editor/object structure and not YAML.
Input YAML validation also seems useless: the parser error message should be enough.


Scaffolder: Call the Catalog API instead of getting passed the template

Feature Suggestion
Right now, the Scaffolder gets called with the catalog entity which is to be templated. This should be replaced with a call to the catalog API to get the most recent and up to date version of the Template entity.
Possible Implementation
Using the tooling available when https://github.com/spotify/backstage/issues/2600 is merged, use call the the catalog API, and update the frontend to only pass the Template entity ID to the scaffolder.

Hey, @benjdlambert would like to pick this up! Would appreciate any leads. I am looking into it meanwhile.

Hey @mehuled I added you to the issue.
Currently there is an example of backend plugins using the discoveryApi it's in the auth-backend plugin.
Theres a CatalogIdentityClient(
https://github.com/spotify/backstage/blob/56215d02f09510f163156a976c0a09604eab65ea/plugins/auth-backend/src/lib/catalog/CatalogIdentityClient.ts) which i'd recommend we duplicate to the scaffolder-backend but change the name and update the logic to CatalogEntityClient or something.
you'll see in the POST v1/jobs route in the scaffolder-backend how the entity comes from the POST Body. This should be replaced with a call to the copied over client with only a name that comes from the POST Body and then in the scaffolder plugin (Which is the frontend part) you can remove the POSTing of the entire entity and just send the entityId for now.
Any questions let me know!
Then on the frontend, if you look at the scaffolder

sure, this really helps! On it.


Update usage-analytics.md

Added another FAQ for about usage summary reports reader role.

@JohanFreelancer9 Please copy review

issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/4798

@JohanFreelancer9


Ensuring js files are packaged with this version

@dsgouda,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add telemetry to capture when users are connecting to remote servers on Azure VMs

Want to size the market of users connecting to remote Jupyter servers running on Azure VMs without SSH.
Think looking for "azure" in the URL name is a good enough proxy. Open to suggestions for better classification (e.g. metadata that the Jupyter server exposes with information about the host it's running on).
Simply tagging existing events is sufficient to answer the question. We don't need to store hostname or connection information.

validated


Custom iteration count

Please consider this change which adds generateKeyFromPassword method which takes number of iterations as a parameter.
This is required for low-perfomance systems, like Android devices are, to be able to generate weaker keys but in much faster fasion. For example 10000 iterations take 3 seconds on Nexus 5, which is unacceptable when doing this on the main thread in Application's onCreate() method, where it's often needed.
I encoutered this issue when using @scottyab 's SecurePreferences, see here: https://github.com/scottyab/secure-preferences/issues/18. We solved it there by providing a constructor which takes the SecretKeys instance as a parameter. Now this change would allow us to generate it safely, although a bit weaker, but much faster.

Thanks very much! I like the idea of parameterizing this. We'll review & merge soon.

While the idea of parameterizing this feature is useful for some systems, it's not 100% reliable in all cases and places the burden of properly encoding the iteration count on later implementations. Instead, it would be safer the just modify the PBE_ITERATION_COUNT constant in your own code.


hyper theme print first_line

Describe the bug
theme hyper show print(first_line)
location: dashboard-nvim/lua/dashboard/theme/hyper.lua
line: 209
To Reproduce
Steps to reproduce the behavior:

Go to 'start nvim'

pd: I really don't know if it's a bug.

sorry a mistake

good work, thank for dashboard :)


Updated Cover image of issue #231 to 1200 X 800 pixels

Checklist

[x] You have read the Contribution Guidlines before creating this PR.
[x] You created a branch from dev branch
[x] Blog follows Blog Guidelines.
[x] Checked for all grammatical errors in the blog.
[x] Checked for any duplicate blog entry.
[x] You PR is raised on dev branch and not onmaster.

Description of change

Author Details for Blog Post Entry

@Ashumaurya Thanks for contributing. But we prefer relative URLs compared to absolute URLs due to multiple deployment environments.

@vyasriday Hello I think there been a misunderstanding I solved issue #231. I m new to open source so sorry for any inconvenience.

@Ashumaurya Okay. Please provide proper title to PR so that I can see properly what it's about.

@vyasriday Thankyou for being patient with me. I have updated the PR title to a relevant one. I hope this works.

Can you please rebase your branch with dev branch and then push it.

Sure I will do that.

@puneetsingh24 I changed the image size as requested now.

@puneetsingh24 Done with the requested change. Please have a look. :)


jsonUnmarshal fail from a jsonMarshal result of *network.Cookie

follow code will panic:
package main

import (
   	"github.com/chromedp/cdproto/network"
	"encoding/json"
)
func main() {
	b,err:=json.Marshal(&network.Cookie{})
	if err!=nil{
		panic(err)
	}
	var c *network.Cookie
	err=json.Unmarshal(b,&c)
	if err!=nil{
		panic(err)
	}
	return
}

same issue from https://github.com/chromedp/cdproto/issues/7

The aim of the generated package github.com/chromedp/cdproto is to drive Chrome through the CDP. According to Network.Cookie, the priority field is mandatory. And according to Network.CookiePriority, the allowed values are: Low, Medium, High. So it's reasonable to return an error when the json does not contain the priority field. Regarding the marshaling part, the browser passed network.Cookie to a CDP client, and it's the browser's responsibility to make sure the value is valid (according to the protocol). So it's working as intended.
I'm not sure why you use it in this way. Closing the issue for now. Let me know  if you think differently.


Reliability

Agent stuck with jobs in state New
[15:00:13 INF] Processing job 'application' (313) in state Running
[15:00:14 INF] Processing job 'application' (313) in state Running
[15:00:15 INF] Processing job 'application' (313) in state Running
[15:00:16 INF] Processing job 'application' (313) in state Running
[15:00:17 INF] Processing job 'application' (313) in state Running
[15:00:18 INF] Processing job 'application' (313) in state Running
[15:00:19 INF] Processing job 'application' (313) in state Running
[15:00:19 INF] Driver stopping job '313'
[15:00:20 INF] Processing job 'application' (313) in state Stopping
[15:00:20 INF] Stopping job 'application' (313)
[15:00:20 INF] Stopping heartbeat (application:313)
[15:00:20 INF] Heartbeat stopped for (application:313)
[15:00:20 INF] Stopping counters event pipes for job 'application' (313)
[15:00:20 WRN] [WARNING] No event source open for job 'application' (313)
[15:00:49 INF] Driver deleting job '313'
^C

Agent stuc in state Stopping
[22:00:23 INF] Processing job 'load' (214) in state Stopping
[22:00:23 INF] Stopping job 'load' (214)
[22:00:24 INF] Processing job 'load' (214) in state Stopping
[22:00:24 INF] Stopping job 'load' (214)
[22:00:25 INF] Processing job 'load' (214) in state Stopping
[22:00:25 INF] Stopping job 'load' (214)
[22:00:26 INF] Processing job 'load' (214) in state Stopping
[22:00:26 INF] Stopping job 'load' (214)
[22:00:27 INF] Processing job 'load' (214) in state Stopping
[22:00:27 INF] Stopping job 'load' (214)
[22:00:28 INF] Processing job 'load' (214) in state Stopping
[22:00:28 INF] Stopping job 'load' (214)

Duplicate of https://github.com/dotnet/crank/issues/571


adds migration type flag to 'generate model'; resolves #86

Signed-off-by: Mario Kozjak<EMAIL_ADDRESS>

Thanks for the PR. My concern with this approach is making sure to generate the correct SQL for each supported database type.
What do you think of this idea? Instead the migration-type flag either being fizz or sql we make it fizz, postgres, mysql, sqlite3 with fizz being the default.
If the migration-type is fizz the "current" behavior stands. If it's one of the other values, we take the results of the Fizz() function and run it through the appropriate translator, i.e. MySQL, Postgres, etc... and take that generated SQL and put it in the migration?
That way we don't have recreate the work that fizz is doing and we get the correct SQL generated for the appropriate database type.
Thoughts?

That seems good. Will try working on it when I get some time!

The https://github.com/markbates/pop (v3.x) repo has been moved to https://github.com/gobuffalo/pop (v4.x). The markbates/pop repo has been put into READ-ONLY mode and will no longer be updated. You may continue to use this repository, but be aware no more updates will be made on it.
If this PR is still relevant, please open a new PR on the new repository.
For more information on this move see https://github.com/markbates/pop/issues/164
Thank you so much and I apologize in advance for any trouble this may cause you.


[Extensibility Enhancements] Codeunit 1535 Approvals Mgmt, event OnBeforeIsSufficientPurchApprover

Hello,
In codeunit 1535 Approvals Mgmt, there is an event OnBeforeIsSufficientPurchApprover with the following parameters:
local procedure OnBeforeIsSufficientPurchApprover(UserSetup: Record "User Setup"; DocumentType: Enum "Purchase Document Type"; ApprovalAmountLCY: Decimal; var IsSufficient: Boolean; var IsHandled: Boolean)

We have a scenario where we need to change the ApprovalAmountLCY and we would need to have this parameter ByRef (var):
local procedure OnBeforeIsSufficientPurchApprover(UserSetup: Record "User Setup"; DocumentType: Enum "Purchase Document Type"; var ApprovalAmountLCY: Decimal; var IsSufficient: Boolean; var IsHandled: Boolean)

Thank you!

So you want the decision on sufficiency to be based on an amount other than the one actually on the document? Seems confusing!

We have a situation that in case the DocumentType is Order the ApprovalAmountLCY := Abs(ApprovalAmountLCY);
So we will need to change the ApprovalAmountLCY inside the event OnBeforeIsSufficientPurchApprover and then use it in determining the sufficiency.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


checkProof 500 error

Please check Internal server error during call on checkProof endpoint.

This is still internal server error.
How to test it properly ?


cargo leptos watch Error: compile sass/scss

I used following cmd:
cargo install cargo-leptos
cargo leptos new --git https://github.com/leptos-rs/start
cd start-project
cargo leptos watch

and it show error:
Error: compile sass/scss: style/main.scss -> @pkg/leptos_start.css at `/Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-leptos-0.2.5/src/compile/style.rs:52:18`

can you help me?
Am I missing any configurations?
thank you.

Closing since you opened a duplicate at https://github.com/leptos-rs/leptos/issues/2178 I will answer over there.


Add purge test for TD

Jira: TER-92
Connection PR: https://github.com/keboola/connection/pull/4075
Before asking for review make sure that:
Checklist

[x] New client method(s) has tests
[x] Apiary file is updated
[x] You declared if there is a BC break or not (will affect next release of a client)

Release

[x] I gave the PR a proper label:

major (BC break)
minor (new feature)
patch (backwards compatible fix)
no release (just test changes)

Test: \Keboola\ManageApiTest\ProjectDeleteTest::testDeleteAndPurgeProjectWithData with data set "teradata with S3 file storage"
supervisor_1         | [command-15918]  - teradata backend removed
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,286 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing other metadata
supervisor_1         |
supervisor_1         | [command-15918] Removing triggers
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,313 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing access tokens
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,314 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing component configurations with dependencies
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,332 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing admins to project
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,335 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing snaphots
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,342 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing project limits
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,345 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing project metadata
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,347 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing project metrics
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,360 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing project invitations
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,362 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing project join requests
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,365 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing dev branches
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,381 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] ✔
supervisor_1         | [command-15918] Removing main branch
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,383 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] ✔
supervisor_1         |
supervisor_1         |
supervisor_1         | 2023-02-02 14:56:28,385 DEBG 'storage-queue-receive-commands' stdout output:
supervisor_1         | [command-15918] Project 'My test' (341) was successfully deleted


Strange bullets in front of Observatory Menu buttons

See here:

and here:

I think that these are just css issues with what is probably a <ul> element.

This issue should be resolved by #139. Waiting for cache to refresh to close.


_Columns slicing returns single _Column

Slicing a _Columns instance returns a single _Column:
import docx

document = docx.Document()
table = document.add_table(3, 3)
print(table.columns[1:])  # shows <docx.table._Column...>

This is similar to the behaviour for table rows raised in https://github.com/python-openxml/python-docx/issues/84. Slicing a _Rows instance now returns a list of _Row's as expected, but this behaviour doesn't seem to be implemented by _Columns.
I had a look in table.py and it seems like _Columns and _Rows are implemented in quite different ways. This also leads to other inconsistencies, e.g. the error messages if indexes are out of bounds are different. Is there any reason for this?
My current workaround is to imitate the approach taken in _Rows:
print(list(table.columns)[1:])  # shows [<docx.table._Column ...>, <docx.table._Column ...>]

No, no special reason. It would be better with slicing behavior.


[Help Needed] Setting the Min of an IntExpr in python

Hey there! I currently have this small script:
v1 = self.solver.IntVar(0, 10)
v2 = self.solver.IntVar(0, 7)
intex = v1 - v2
intex.SetMin(0)
print("Min: {} Max: {}".format(intex.Min(), intex.Max()))

This python script however prints the following:
Min: -7 Max: 10

Which is the correct way of setting the minimum value of an IntExpr?

Thanks! That sounds reasonable. Is there a way to have this IntExpr be ignored by the solver if either one of the IntVars is unperformed (maybe via PerformedExpr)? (i.e. to avoid that the evaluation of the resulting IntExpr is negative)


CoreS3

Hi,
I've flashed the M5Stack-SD-Menu to my CoreS3 but when the bin file loads it just reboots back into the menu, any ideas?
Thank you for your work!

hi,
do you mean one of your loadable apps bounces back to SD-Menu when you attempt to load it?
it sounds like the action button is triggered before checkSDUpdater() is called, can you share the setup() code from that app?
I just did a test with a basic example and it behaves normally, so I'll need more info to reproduce this issue e.g. library version, platform, core options (especially Partition Scheme).
otherwise if you feel adventurous, the next release candidate is still being tested on the 1.2.8 branch

Hi and thanks for getting back to me! I'll give that a go, to be honest it's actually the default apps from the SD Content. Maybe the apps themselves aren't compatible? I'll try with my own app later and see how it goes. Thanks again!

oh right, the zip file in the readme has a few precompiled applications but they're only supported M5GO/M5Fire devices and use an outdated version of espressif arduino-esp32 core where OTA partitions have a different offset.
I will remove this link from the readme, sorry for the confusion

Ok good stuff, so it's just compatibility with the bundled apps then. I should have realised sooner to be fair.
Have a great day!

Just tried to compile 1.2.8 but got these errors (going to see if I can solve it)
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:66:19: note: #pragma message: M5Sack CoreS3 detected
#pragma message "M5Sack CoreS3 detected"
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:149,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h: In function 'void lsPart()':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:120:5: error: 'Flash' has not been declared
Flash::digest_t digest;
^~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:149,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:126:15: error: 'Flash' has not been declared
meta  = Flash::getSketchMeta( part );
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h: In function 'void checkMenuStickyPartition(const char*)':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:175:7: error: 'Flash' has not been declared
if( Flash::getFactoryPartition() ) {
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:176:5: error: 'Flash' has not been declared
Flash::loadFactory(); // should trigger a restart
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:190:10: error: 'Flash' has not been declared
if (!Flash::comparePartition(running, nextupdate, sksize)) {
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:199:11: error: 'Flash' has not been declared
if (Flash::copyPartition( flgSD ? &dst : NULL, nextupdate, running, sksize)) {
^~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h: In function 'void drawM5Menu(bool)':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:19: error: 'flashUpdaterIcon16x16_jpg' was not declared in this scope
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:19: note: suggested alternative: 'sdUpdaterIcon15x16_jpg'
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~
sdUpdaterIcon15x16_jpg
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:46: error: 'flashUpdaterIcon16x16_jpg_len' was not declared in this scope
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:46: note: suggested alternative: 'sdUpdaterIcon15x16_jpg_len'
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdUpdaterIcon15x16_jpg_len
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h: In function 'void doFSChecks()':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:964:23: error: 'Flash' has not been declared
factory_partition = Flash::getFactoryPartition();
^~~~~
exit status 1
Compilation error: 'Flash' has not been declared

if you don't know how to update an arduino library from a repository I suggest you wait for the next release to pop in the library manager
unless you want to contribute there's no need to use the 1.2.8 branch to create your SD-Menu binary or compile your SD-loadable applicationss

Ok, I did update the library and those were the compile errors but never mind. Im actually attempting to get it working on this device for a project: https://github.com/Freenove/Freenove_Development_Kit_for_ESP32_S3
How feasible do you think this is, if needs be I'd happily pay for help :)

Freenove devkit does not seem to have a SD Card, I wouldn't recommend that board for a SD-Card based project :wink:

It does indeed, built into the board.Sent from my iPhoneOn 4 Oct 2023, at 17:32, tobozo @.***> wrote:
Freenove devkit does not seem to have a SD Card, I wouldn't recommend that board for a SD-Card based project 😉
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

well good news then :+1:
here's a roadmap to get M5Stack-SD-Menu to work on a Freenove devkit:

establish the pin map (SD card, TFT, Touch, buttons)
create a board profile (Arduino IDE/platformio)
create an LGFX config profile
create an ESP32-Chimera-Core device profile
add Freenove devkit profile to M5Stack-SD-Menu
test, test, test!

Freenove devkit is currently sold at ~65€ on amazon in my country but I already spent my monthly budget, so if you want this in october you'll have to either send me a unit or paypal me so I can purchase it myself and start working on a proof of concept.

Thanks for that, I'll give it a try. If I can't manage it I'll arrange for one to be shipped to you :)


Can use in Rails 3?

I try to use in Rails 3 project, can install by bundle but generator truck not found.

Hi Neokain,
We just brought in one of the forks (by Giles and then by Mike).  I haven't spent enough time testing it to bring it in to the main line, but it is available in the rails31 branch.  I can tell you that the generator works there.  Check it out.  If its working for you let me know as that will help us get it merged in to trunk.

Thank you very much.


Create mixin 'opacity' for compatibility reasons

Migrating from Bootstrap 3 fails on missing mixin 'opacity'.
Instead of the missing one:
// Opacity
236: @mixin opacity($opacity) {
237:   opacity: $opacity;
238    // IE8 filter
239:   $opacity-ie: ($opacity * 100);
240:   filter: unquote("alpha(opacity=#{$opacity-ie})");
241  }
you could add something simple like this, only for compatibility reasons:
@mixin opacity($opacity) {
opacity: $opacity;
}

Dump the mixin, it's unnecessary in v4. No reason to migrate and keep it around :).


Create uao.txt

I am sorry, I have to close this request without merging, because you requested to add a non-existent domain to this repository:
$ host uao.edu
Host uao.edu not found: 3(NXDOMAIN)

Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information. Thank you for the understanding!


Add clauses for cleanup of staging data

I've also made it more conservative with regards to nullable columns, that really aren't nullable due to Rails validations. Better safe than sorry, and FK constraints ignore null values. Gonna make those columns not-null soon, but we'll handle cleanup for that in another migration.

LGTM - you happy this doesn't affect prod data?

Yes, the foreign keys would've hit these additional statements in on my earlier test with production data.


WIP move Step class to lib/test-bot/step.rb

I'm working on adding a test. I just wanted to run it through CI to make sure it was ok so far.
I removed most of the require statements from lib/test-bot/step.rb, but I'm not sure if I removed too many. Also, I'm not sure if step.rb should have module_function set.

I'm working on adding a test.

Cool, will review once that's the case.

Also, I'm not sure if step.rb should have module_function set.

It shouldn't as it is an instantiated class.

@scpeters Any updates on this?

I haven't been working on a test. It can be closed until I have some more time to spend on getting one set up.


Notifications

changes between last time I approved this and now look fine, so I'm re-approving (but haven't re-checked all the code again)


"Language - Same as Microsoft Windows" selects locale, not UI language

To Reproduce

Have Windows 10 Pro with UI language different from locale (date/number formats etc);
Fresh-install the app or choose Language - Same as Microsoft Windows and restart the app;
The app chooses language based on locale, not UI language.

Expected behavior
The app should use the language that is consistent with the OS.
Locale is only used for region-specific things like date/number format.
Configuration (please complete the following information):

OS & Version: Windows 10 Pro 20H2
Theme: Dark
DevToys app version: <IP_ADDRESS>

same issue here using these settings:


Fix the systest

Motivation
Fix the systest wrong behavior when both clusters fail
Description

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge

bors merge


feat: add lyric icon

Description
Added an icon for lyric files, associated with the .lrc file type.
Contribution Guidelines

[ ] By creating this pull request, I acknowledge that I have read the Contribution Guidelines for this project
[ ] I have read the Code Of Conduct and promise to abide by these rules

well, I think sometimes it just need to distinguish between audio files, document file and lyric file

ok makes sense. Would you then mind to adjust this SVG a little bit more to the grid lines?

ok, adjusted

SIM-Card


[Event Change Request] codeunit 396 NoSeriesManagement - OnBeforeGetNextNo

Hello, can we get please a additinal variable LastNoSeriesLine for Event OnBeforeGetNextNo ?
OnBeforeGetNextNo(NoSeriesCode, SeriesDate, ModifySeries, Result, IsHandled, LastNoSeriesLine);
[IntegrationEvent(false, false)]
local procedure OnBeforeGetNextNo(var NoSeriesCode: Code[20]; var SeriesDate: Date; var ModifySeries: Boolean; var Result: Code[20]; var IsHandled: Boolean; var NoSeriesLine: Record "No. Series Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53020.


Release Testing: Wallaroo Documentation release script no longer tags docker image properly for rc branch

Is this a bug, feature request, or feedback?
Bug
What is the current behavior?
The documentation-release.sh script does not insert the current commit as the tag for the docker image on the rc branch, therefore any docker related command fails as it is using an older commit. This has no impact on the actual release version, only the rc testing version.
There are two ways to go about resolving this:

We update the documentation-release.sh script to update the tag in the config.toml file prior to releasing the documentation.

We no longer tag the docker images using a commit and tag using only the rc branch name and allow docker image overwrites so we do not have to worry about updating the config.toml file each time we release documentation on the rc branch.

Any thoughts on the better option @SeanTAllen ?

I thought #1 was being done @JONBRWN. Let's do that. Sorry, must have missed that when we reviewed together.

@SeanTAllen ok, I'll open a PR for # 1


Support elpa externals-list

ಠ_ಠ

Workaround is to just specify the recipe in your init-file.

I took another look at GNU ELPA, and it's actually much more horrifying than I thought. And then I realized that it's also entirely superfluous due to EmacsMirror. Goodbye!


Add Tailwind CSS

I've been using TailwindCSS for a while and this is a  badge I'd like someone to be able to help out and make.
https://tailwindcss.com/

I second this request


Italian language, english localization, no audio in game cutscenes, PAL CD.

Describe the bug
From the configurator, i selected italian language, the interface it's right, the dialogues are english subtitled and there's no audio to them.
To Reproduce
Steps to reproduce the behavior:

Select italian language
Start the first mission
Result, not hearing phone ring, dialogues cutscenes.
See error

Expected behavior
Hearing cutscenes in game with proper language and subtitles.
Environment and game (please complete the following information):

Game version:  7.4-rc1
Operating System: Windows 10 Pro 21H1
CPU model: i7-10700 2.90Ghz-4.80Ghz 8c/16t
GPU model: GTX 970 Strix asus.

Additional context
Video showcase:
https://streamable.com/ik1t62

Seems like you don't have FMVs and XAs extracted. The launcher could have run the BAT files for installations but setup requires Java.
On the translation - I need help on translating XA subtitles

i can translate if needed

Update: i managed to fix the issue since i had some time to do it. i just had to extract the files properly with the bat script. As for the italian localization, the CD i have contains italian localization for subtitles, menu and stuff. Would be useful to give them to help in the translation?


check which of the applied cheap_constraint constraints are met or not?

Hello, I have been using Nevergrad for a month so I want to know how to check which of the applied cheap_constraints are met or not?
I have already found this function "satisfies_constraints()" but it always returns False even if the constraints on x [0] and x [1] seem to be satisfied. Maybe I don't know how to use it, if this is true where can I find an example of use? Here is the way i test it
optimizer = ng.optimizers.OnePlusOne(parametrization=2, budget=100)
optimizer.parametrization.register_cheap_constraint(lambda x: x[1] > 1)
optimizer.parametrization.register_cheap_constraint(lambda x: x[0] > 0)
recommendation = optimizer.minimize(func)
print(optimizer.parametrization.satisfies_constraints())

Hi,
Sorry for the delay, I have been away from the project for some time.
The problem here is that you are checking that the initial parametrization satisfies the constraint. By default, given your inputs, it does not because it is [0, 0].
However, you could try recommendation.satisfies_constraints() which (hopefully) should return True
There is no way to actually check which one is not satisfied, mostly because it is not useful for the inner workings of the optimizers, and because I considered it is usually faster to try it yourself in that case,
eg :recommendation.value[1] > 0
Why would you need to check which one specifically?
Does that answer your question?

Thank you for reply :)
We need to check which one specifically 'cause the project will handle a tons of constraints so we want to know how many is satisfied.
And yes we have tried your recommendations and it was really helpful.

Then I would recommend keeping track of the constraints and computing them directly yourself. I would rather avoid adding a specific API for this since it is something one can compute easily oneself (and since we are in the process of changing a lot of stuff regarding constraints so any additional API would be unstable :s)
Also I would recommend waiting for #807 which will be more appropriate for handling large number of constraints, I'm afraid the current method would not be very satisfactory (it will probably just ignore the constraints if it can't satisfy them all at once :s)

Your recommendations are noted for the following.
Thanks for mentioning # 807. I'll keep tracking on it.

#807 and other PRs in progress (#934) should improve stuff but for complicated cases we have not yet implemented the state of the art. I hope I can find time for this.

Ok, and thanks for recommendation by mentioning #934  :-)

Did you try 934 and did you like it ? We have debates about merging it or not :-)

Use an auxiliary optimizer to check if each constraint is satisfied using distance penalization, right? I'm sure it will be really helpful when we want to find the best way to satisfy all the constraints.


[BUG] Antd table filtering with pagination.mode=client and filters.mode=off doesn't rebuild pagination

Describe the bug
Starting with the table-antd-table-filter example, I removed the onSearch and <Filter /> part, added pagination.mode="client" and filters.mode="off" to useTable. Also added filters={...} and onFilter{...} to the status <Table.Column />. The filter works, you can select for example "Draft" and it will show only the draft posts, but the pages doesn't contain the X/page rows, the amount of rows is  the draft posts that were originally on each page.
Steps To Reproduce

Go to codesanbox example
Click the filter icon on the Status column
Click one checkbox and click ok
Notice how the amount of rows on each page decreases to just the amount of matches the filter has

Expected behavior
Pagination should be rebuilt/recalculated when filtering on client side.
Screenshot
No response
Desktop
No response
Mobile
No response
Additional Context
No response

Hey @wxkk thanks for the report, we'll check it soon.

Hello @wxkk, I updated your example
This will completely cancel the refine's pagination logic and leave it to ant design, giving you full control over the pagination and filter.
changes:
pagination: {
      mode: "off",
}

<Table {...tableProps} pagination={undefined} rowKey="id">


update flight-data openapi

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

fix openapi linting issue


Inconsistent evaluation result when clone expert parameters from original FFN

Hi. I’m trying to continue training my model with FMoETransformerMLP. Intuitively, if i clone the parameters from original FFN layer to FMoETransformerMLP  experts. The evaluation result should be the same. But  i notice a inconsistent result even with 1 expert.
For a moe_ff expert, the parameters of experts.0.htoh4.weight、experts.0.htoh4.bias、experts.0.h4toh.weight、experts.0.h4toh.bias are copied, and since _Expert set the shape to [1, d_model, d_hidden] tensor, i use v.clone().unsqueeze(0) to expand my original FFN parameters.
Was there anything i have missed?

Hi. I’m trying to continue training my model with FMoETransformerMLP. Intuitively, if i clone the parameters from original FFN layer to FMoETransformerMLP  experts. The evaluation result should be the same. But i notice a inconsistent result even with 1 expert.
For a moe_ff expert, the parameters of experts.0.htoh4.weight、experts.0.htoh4.bias、experts.0.h4toh.weight、experts.0.h4toh.bias are copied, and since _Expert set the shape to [1, d_model, d_hidden] tensor, i use v.clone().unsqueeze(0) to expand my original FFN parameters.
Was there anything i have missed?

There is a bug during copy the parameters. I've closed the issue.


fix gradle ignore

Reasons for making this change:
Some java file that located at  'src/com/company/build/' would also be ignored.
So I add exclude expression.
TODO
Links to documentation supporting these rule changes:
TODO
If this is a new template:

Link to application or project’s homepage: TODO

As far is I understand the .gitignore documentation this should not be necessary. It states:

A leading slash matches the beginning of the pathname. For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".

So the existing rule /build/ should only match the build folder in the root of the repo.

I agree with what @drothmaler said.
Without more context about the change I'm inclined to close this out.


fix: timestamps should be defined by default

and should not be active if not actually defined in database

Codecov Report

Merging #218 (6432b23) into master (6ca4447) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   97.20%   97.24%   +0.04%
==========================================
  Files          42       42
  Lines        3073     3090      +17
==========================================
+ Hits         2987     3005      +18
+ Misses         86       85       -1

Impacted Files
Coverage Δ

src/bone.js
97.25% <100.00%> (+0.20%)
:arrow_up:

src/drivers/abstract/attribute.js
95.34% <100.00%> (ø)

src/drivers/postgres/attribute.js
100.00% <100.00%> (ø)

src/drivers/postgres/schema.js
100.00% <100.00%> (ø)

src/realm.js
100.00% <100.00%> (ø)

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 6ca4447...6432b23. Read the comment docs.


Improve the text at the top of the home page

Received the latest home page text from the product team

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: omja sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


test-upload.py is not a dronekit-python example

test-upload.py shows how to upload a file to a service with the Cloud (REST) API, using Python. IMO that makes it something that belongs in the cloud example code, NOT in the dronekit-python example code.
When you've created a place for the cloud docs and issues, I'll move this across (assuming you agree)

lets remove this example

I will delete

Closed by #82


Problems with dashboard.

Andrew,
there is one more issue with the dashboard. Here is the stacktrace - see below.
Feel free to ask me any data that you might need (e.g. to send you the backup of InfluxDB or anything like that).  Just give me instructions how to give it to you.
Also feel free to give me any debug scripts to temporarily place instead of normal ones (to dump my data on the screen - I will paste it here).
Thanks.
GET /scripts/bootstrap.min.js 304 3.740 ms - -
GET /css/style.css 200 430.211 ms - -
/opt/influxdb-dashboard/public/scripts/influxdb.js:48
var series = seriesNames[0];
^
TypeError: Cannot read property '0' of undefined
at /opt/influxdb-dashboard/public/scripts/influxdb.js:48:26
at /opt/influxdb-dashboard/node_modules/influx/index.js:181:14
at /opt/influxdb-dashboard/node_modules/influx/index.js:64:14
at InfluxRequest._request (/opt/influxdb-dashboard/node_modules/influx/lib/InfluxRequest.js:97:12)
at InfluxRequest._parseCallback (/opt/influxdb-dashboard/node_modules/influx/lib/InfluxRequest.js:115:19)
at Request._callback (/opt/influxdb-dashboard/node_modules/influx/lib/InfluxRequest.js:107:10)
at self.callback (/opt/influxdb-dashboard/node_modules/influx/node_modules/request/request.js:197:22)
at Request.emit (events.js:107:17)
at Request.onRequestError (/opt/influxdb-dashboard/node_modules/influx/node_modules/request/request.js:854:8)
at ClientRequest.emit (events.js:107:17)

What version of InfluxDB and statsd-jvm-profiler are you using?

profiler - 0.8.3  (made git clone 10 hours ago and built it).
influxdb - 0.9.2-rc1   (installed using instruction from https://influxdb.com/download/index.html)
OS = CentOS 6.6
the reason of using the last influxdb was the bug https://github.com/influxdb/influxdb/issues/3222 with stable 0.9.1, but frankly speaking in  0.9.2-rc1 it remains.

I've only tested the profiler with InfluxDB 0.9.1.  Are you able to try that version?
If that doesn't work out, can you send me your dashboard-config.json file, the arguments given to the profiler when you used it, and the output of running SHOW SERIES on the database where the profiler writes its data?

Andrew,
here https://drive.google.com/file/d/0B3DMXMfcPWF3SXo3ZG9hWGNEOTA/view
is a document with detailed configuration and description of what I am doing and what I am getting.  I am using the newest dashboard (just pulled it).
Please, help. Thank you in advance.
Regards,
Ihor

The error in your original comment happens when the dashboard queries for the heap.total.max measurement.  That metric was selected somewhat arbitrarily, but it should always be present and allows for a quick query to get all the valid tag values to populate those initial dropdowns.
It ultimately runs the query show series from "heap.total.max".  Can you run that and show me the results?

oh.... sorry -  the original message I posted from home.  it was a problem at home machine.  I will be there in an hour and will post you what was there.

I am sorry if I confused you. I am little bit tired after 16 hours of work every day.
So, in general there are two things:

at home (with not a mapreduce job)  I am getting problem "Cannot read property '0' of undefined" in the dashboard
at work (with a mapreduce job)  I am getting the problem that the dashboard is empry (doesn't allow to select values for tags and build the Flame chart) - here is the screenshot:
https://drive.google.com/file/d/0B3DMXMfcPWF3SXo3ZG9hWGNEOTA/view

Is this still a problem you're having after the changes you've made to deal with the OOM issues?

Let me know if you're still having any issues with this.


Use jest for testing, add some quality-of-life improvements

I'm mainly trying to move the conversation from #214 along.
This bakes some opinions into our template. I figure the changes are relatively non-controversial, since they should work for developers outside of OIT. I'm open to bikeshedding.

Somehow I expected more bikeshedding.


Add a project configuration file

See https://readthedocs.org/dashboard/import/manual/

ref https://github.com/scipy/scipy/issues/21879

ref https://github.com/scipy/scipy/pull/22076

I confirmed that the dataset was successfully downloaded, although it timed out because scipy was installed from the repository.


Explore IOA formal language for I/O automata

Explore IOA formal language for I/O automata

IOA is a formal programming language for describing reactive asynchronous concurrent systems in the I/O automaton model.
I/O automaton model
Distributed algorithms and systems in I/O automaton model are represented as a non-deterministic labelled transition systems, which can be composed from a set of compatible I/O automata. Each constituent I/O automaton is itself a non-deterministic labelled transition system that models a component of the system interacting with other components and/or the environment.
An I/O automaton represents a simple state machine with named transitions called actions. The actions are classified into three disjoint sets: input, output, and internal actions. Input and output actions are collectively referred to as external actions, which represent the external interface of the automaton for communication with its environment. Input actions are not controlled by the automaton but its environment; therefore, automaton must always be ready to handle any of its input actions, i.e. the automaton must be input enabled in any state. On the other hand, internal and output actions are fully controlled by the automaton and called locally controlled actions. An automaton with no input actions is called closed automaton.
An I/O automaton is defined with the following parts:

signature — the automaton's input, output, and internal actions;
states — the set of states that automaton can be in (may be infinite);
initial (start) states — the subset of states that the automaton can start its executions with (can be used to encode some input information);
transitions — the set of state transitions associated with actions, i.e. a relation between a current state, an action, and a successive state;
tasks — the partitioning of locally controlled actions (used for defining fairness conditions).

If in the transition relation there is a transition in the current state for a given action then the action is said to be enabled in the current state. Note that the state transition relation can represent a non-deterministic state machine, i.e. there may be more than a single possible successive state for a pair of current state and action. One can assign probability distributions to possible successive states and thus define probabilistic I/O automata.
An execution of an I/O automaton is a sequence of atomic state transitions according to the automaton's state transition relation, starting from an initial state. Enabled actions are executed in non-deterministic (unpredictable) order, one action at a time. An execution where all of the automaton's tasks get turns infinitely often is called a fair execution. A sequence of external actions corresponding to an automaton's execution is called a trace and represents automaton's external behavior. Traces corresponding to fair executions are called fair traces.
Compatible I/O automata can be composed together using the shared-action composition operation, which respects the trace semantics of constituent automata in combination. The composition works by identifying matching output and input actions, so that identified actions are executed together; state of individual automata remains disjoined in composition, i.e. there is no state sharing between automata in composition. There may be logically infinite number of automata in composition, which allows modeling dynamic creation of components by pretending that all possible components are there from the beginning.
In order to be composed together, I/O automate must be compatible. Compatible automata must have disjoined sets of internal actions and disjoined sets of output actions. The latter condition ensures that any action is controlled by at most one automaton. Moreover, input actions identified with output actions are hidden from the environment of the composition.
As means of abstraction, there is the hiding operation, which reclassifies selected output action into internal actions, thus removing them from the external interface of the automaton.
A typical description of a distributed system in the I/O automaton model is a composition of I/O automata representing processes and message channels, where process automata are connected with and communicate through the channel automata.
Properties of I/O automata can be stated as state invariants, trace properties, and simulation relations between different automata. A state invariants is a simple predicate over automaton's state that must remain true in any execution of the automaton. A trace property is a property describing external behavior of an automaton, which can be expressed with a temporal logic formula, that must hold for any possible trace of the automaton. Trace properties of compatible automata can be composed together, and a composition of the automata agrees with the resulting combined trace property.
A simulation relation from one automaton into another is a relation between the states of the automata such that any possible execution of the former automaton corresponds to some execution of the latter, respecting the trace semantics. The simulation relation allows reasoning about complex systems as a hierarchy of automata at different levels of abstraction and moving down the hierarchy through successive refinement given simulation relations between system descriptions at different levels of abstraction.
IOA language
IOA is a formal language for describing I/O automata described in the paper "Using I/O Automata for Developing Distributed Systems". It is based on precondition-effect (guarded-command) style of pseudo-code commonly used for describing I/O automata in literature. IOA was designed for proving correctness of specifications as well as for generating executable code. IOA specifications can be executed in a simulator; whereas interfaces to theorem-proving tools allow formal reasoning about correctness. IOA also allows generating actual code from specifications.
IOA is a statically typed language based on axiomatic mathematical, set-theoretic data types. It supports parametric polymorphism and user-defined abstract algebraic data types using Larch Shared Language (LSL) notation.
I/O automaton definitions in IOA consist of signature, state, and transition definitions; it can also include user-defined types. Automaton definitions can be parameterized with value and type parameters. Signature definitions specify automaton's input, output, and internal actions, which can be parameterized with variable or constant value parameters as well as constrained with where clauses expressed in predicate logic. State definitions specify state variables and their initial values using assignment with nondeterministic choice and/or constraint predicates.
The main part of automaton definition in IOA is transition definitions. Each transition definition specifies the action, preconditions, and effects. Transition preconditions are specified predicates on the current state using where clauses expressed in predicate logic. They can include non-deterministic parameters expressed with choose clauses, which resemble existential quantification. Transition effects that describe changes in automaton state can be expressed both in declarative and simplified imperative style, which supports assignment, conditional, and simple bounded loop statements. Enabled transitions are executed atomically in non-deterministic order; there is no explicit control structure for ordering execution of actions.
IOA provides notation for describing parallel composition of automata and hiding of actions. It also allows stating state invariants and simulation relations.


How to support language auto detect ?

Hello,
How can conversation or conversationTranscriber support language detection via class AutoDetectSourceLanguageConfig ?
Thank you.

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

ID: f1d88ac1-d269-5f91-fb1f-8901589c6b02
Version Independent ID: 3fa3ffe6-277a-547a-a434-7002c056b3b9
Content: Real time Conversation Transcription (Preview) - Speech Service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-use-conversation-transcription.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @markamos
Microsoft Alias: weixu

@wukun2015 thanks for reaching out. We will review your inquiry and get back to you shortly. Thanks.

@wukun2015 please refer to the following document on automatic detection for speech to text using Speech SDK. Thanks.


Cluster stuck in "updating" state after encoutering "netpolMgr: handleHostNetwork: error programming hostNetwork network policy for ns=default err=Put" error.

Rancher server - Build from master
Steps to reproduce the problem:
Create a custom cluster with following configuration:
2 control nodes
3 etcd nodes
3 worker nodes
Cluster stuck in "updating" state after encountering "netpolMgr: handleHostNetwork: error programming hostNetwork network policy for ns=default err=Put" error.
Following error message was presented to the user:
[network] Host [<ip>] is not able to connect to the following ports: [<ip1>:2379,<ip2>:2380]. Please check network policies and firewall rules
E0706 02:16:38.994564       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1beta2.ReplicaSet: Get https://<IP_ADDRESS>:6443/apis/apps/v1beta2/watch/replicasets?resourceVersion=709&timeoutSeconds=518: tunnel disconnect
E0706 02:16:38.994682       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1.Job: Get https://<IP_ADDRESS>:6443/apis/batch/v1/watch/jobs?resourceVersion=593&timeoutSeconds=520: tunnel disconnect
E0706 02:16:38.996683       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1.ClusterRoleBinding: Get https://<IP_ADDRESS>:6443/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings?resourceVersion=694&timeoutSeconds=519: tunnel disconnect
E0706 02:16:38.996773       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1.Namespace: Get https://<IP_ADDRESS>:6443/api/v1/watch/namespaces?resourceVersion=688&timeoutSeconds=501: tunnel disconnect
E0706 02:16:38.996828       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1beta1.Ingress: Get https://<IP_ADDRESS>:6443/apis/extensions/v1beta1/watch/ingresses?resourceVersion=1&timeoutSeconds=361: tunnel disconnect
E0706 02:16:38.996882       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1.Secret: Get https://<IP_ADDRESS>:6443/api/v1/watch/secrets?resourceVersion=695&timeoutSeconds=450: tunnel disconnect
E0706 02:16:38.996923       1 streamwatcher.go:109] Unable to decode an event from the watch stream: tunnel disconnect
E0706 02:16:42.122394       1 reflector.go:315] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to watch *v1.Event: Get https://<IP_ADDRESS>:6443/api/v1/watch/events?resourceVersion=828&timeoutSeconds=407: dial tcp <IP_ADDRESS>:6443: getsockopt: connection refused
E0706 02:16:46.232392       1 reflector.go:205] github.com/rancher/rancher/vendor/github.com/rancher/norman/controller/generic_controller.go:129: Failed to list *v1.Secret: Get https://<IP_ADDRESS>:6443/api/v1/secrets?resourceVersion=0: EOF
2018/07/06 02:16:47 [ERROR] netpolMgr: program: error updating network policy err=Put https://<IP_ADDRESS>:6443/apis/networking.k8s.io/v1/namespaces/default/networkpolicies/hn-nodes: EOF
2018/07/06 02:16:47 [ERROR] netpolMgr: handleHostNetwork: error programming hostNetwork network policy for ns=default err=Put https://<IP_ADDRESS>:6443/apis/networking.k8s.io/v1/namespaces/default/networkpolicies/hn-nodes: EOF
2018/07/06 02:16:47 [ERROR] NamespaceController default [secretsController] failed with : Post https://<IP_ADDRESS>:6443/api/v1/namespaces/default/secrets: EOF
2018/07/06 02:16:59 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:16:59 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:16:59 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:17:05 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:17:05 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:17:07 [INFO] ClusterController c-x74h6 completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 30s
2018/07/06 02:17:09 [INFO] Provisioning cluster [c-x74h6]
2018/07/06 02:17:09 [INFO] Updating cluster [c-x74h6]

Once rancher-server was restarted , cluster provisioning succeeded.
@galal-hussein's comments:
okay from what i can see, other than the netpolMgr error the cluster should have recovered, however the network check was failing because etcd was in exit state and the network port listener  didn't start on the node because of the that, so the network port check failed and the cluster provisioning fell in a loop (edited)
there are 2 issues here:

why the etcd container was in exit state and not in restarting state (because of restartpolicy always)?
why network port listener didn't start correctly on the cluster?

I tried with rancher latest master and i can't reproduce this issue, i don't see netpolMgr error anymore, regarding the etcd in exited state, i can't seem to reproduce it either in rke, i tried with different OSs and tried to interrupt the installation and it always seems to fell in a restart loop as expected and not exit state.


add a default dashboard for openLDAP

What does this PR do?

Adds the OOTB OpenLDAP Overview Dashboard.
I can be viewed on ddev here: https://dddev.datadoghq.com/dashboard/be8-8nz-b6u/openldap---overview?from_ts=1619679656311&live=false&to_ts=1619740304779&tpl_var_host=*
Motivation

We have created an OpenLDAP integration, so we want to provide customers with an OOTB dashboard.
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Removed the banner, added the overview, updated the metric section titles.


"null" response body from CWBI-Test on /timeseries/category for office LRL

Expected an empty JSON array if there are no categories

Thats fun.  I see whats wrong.   If the DAO returns an empty list would you rather get "[]" or something like 204 NO_CONTENT?


Add documentation, fixes, and cleanup

Added documentation. Did some moving around and cleanup. Changed name to autoFlipDirection since I think it will make it easier to find and understand. A few missed spots that I fixed.

Awesome, thanks kayblitz! Could you elaborate on the the missed spots? It looks like cleanup and refactoring to me with no logic changes or bug fixes, correct? If not I have my own forked version that I'm shipping today that I'll want to update

Just 2 logic changes: Adding the property for TypeAheadFormField class as well and in _SuggestionsListState change reverse to use the new direction property in the controller reverse: widget.suggestionsBoxController.direction. That just flips the list items properly when the direction changes to up.

Gotcha, makes sense.
fat-fingered on tiny keyboard
On Tue, Mar 26, 2019, 10:07 AM Kenneth Liang<EMAIL_ADDRESS>wrote:

Just 2 logic changes: Adding the property for TypeAheadFormField class as
well and in _SuggestionsListState change reverse to use the new direction
property in the controller reverse:
widget.suggestionsBoxController.direction. That just flips the list items
properly when the direction changes to up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zacwolfe/flutter_typeahead/pull/1#issuecomment-476750987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACEIAM6TYY-y6IXRXpHzQx7l5KkY3Kuaks5valPngaJpZM4cLmLa
.

If it all looks good, can you approve the merge, so it travels to the main TypeAhead PR?

Looks good!


Tasks that run java should use jar instead of directories in module-path

Tasks that run java (e.g., Test, JavaExec) should use jar from jar Task instead of output directories from compile* Tasks in module-path since:

java rejects having a module-info.class in a directory on the --module-path that exports a package that is supplied from another directory in --patch-module (see: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8210151)
modules can be created via META-INF/MANIFEST.MF or via jar file name

This is fixed in Gradle 6.4


How do do rep_matrix(scalar, rows, cols) for var matrix?

Description
Looking at the code for rep_matrix I'm kind of confused about how to do this for the new matrix type
template <typename T, require_stan_scalar_t<T>* = nullptr>
inline auto rep_matrix(const T& x, int m, int n) {
  check_nonnegative("rep_matrix", "rows", m);
  check_nonnegative("rep_matrix", "cols", n);
  return Eigen::Matrix<return_type_t<T>, Eigen::Dynamic,
                       Eigen::Dynamic>::Constant(m, n, x);
}

There's no information in the signature on whether it should be a var matrix or matrix var. I'm not really sure how to handle that in the language?

We have the same issue for matrix_cl overloads for all signatures that have scalar-only args but output an Eigen-type.
For varmat there are additionaly also signatures with scalar/scalar-array only arguments.
matrix identity_matrix(int)
row_vector linspaced_row_vector(int, real, real)
vector linspaced_vector(int, real, real)
row_vector one_hot_row_vector(int, int)
vector one_hot_vector(int, int)
row_vector ones_row_vector(int)
vector ones_vector(int)
matrix rep_matrix(real, int, int)
row_vector rep_row_vector(real, int)
vector rep_vector(real, int)
row_vector zeros_row_vector(int)
vector zeros_vector(int)

// only a problem for varmat
matrix to_matrix(int[], int, int)
matrix to_matrix(int[], int, int, int)
matrix to_matrix(real[], int, int)
matrix to_matrix(real[], int, int, int)
matrix to_matrix(int[,])
matrix to_matrix(real[,])
row_vector to_row_vector(int[])
row_vector to_row_vector(real[])
vector to_vector(int[])
vector to_vector(real[])

// for matrix_cl its also this one
int[] zeros_int_array(int)

We talked about this with @t4c1 and we narrowed it down to these options:

add a template to these functions. The type determines the output type
Probably the cleanest solution in a vacuum, but would break backwards compatibility as rep_matrix() would no longer work as before. Though this only requires a bump in Math.

add prefix_/_suffix
For example rep_matrix_varmat() or varmat_rep_matrix(). No backward compatibility issues. But would require stanc3 to either disallow these prefixes/suffixes for all functions or just these function. The latter complicates the stanc3 code with yet another list of functions to keep track of. The former is a bit restrictive, though I guess rep_matrix_varmat is not a common name someone would use.

add prefix__/__suffix
Since __ is restricted in Stan language this adds no additional restrictions. Its a bit of an ugly name for functions, but 2. isnt much better in that regard.

We have the same issue for matrix_cl overloads for all signatures that have scalar-only args but output an Eigen-type.
For varmat there are additionaly also signatures with scalar/scalar-array only arguments.
matrix identity_matrix(int)
row_vector linspaced_row_vector(int, real, real)
vector linspaced_vector(int, real, real)
row_vector one_hot_row_vector(int, int)
vector one_hot_vector(int, int)
row_vector ones_row_vector(int)
vector ones_vector(int)
matrix rep_matrix(real, int, int)
row_vector rep_row_vector(real, int)
vector rep_vector(real, int)
row_vector zeros_row_vector(int)
vector zeros_vector(int)

// only a problem for varmat
matrix to_matrix(int[], int, int)
matrix to_matrix(int[], int, int, int)
matrix to_matrix(real[], int, int)
matrix to_matrix(real[], int, int, int)
matrix to_matrix(int[,])
matrix to_matrix(real[,])
row_vector to_row_vector(int[])
row_vector to_row_vector(real[])
vector to_vector(int[])
vector to_vector(real[])

// for matrix_cl its also this one
int[] zeros_int_array(int)

We talked about this with @t4c1 and we narrowed it down to these options:

add a template to these functions. The type determines the output type
Probably the cleanest solution in a vacuum, but would break backwards compatibility as rep_matrix() would no longer work as before. Though this only requires a bump in Math.

add prefix_/_suffix
For example rep_matrix_varmat() or varmat_rep_matrix(). No backward compatibility issues. But would require stanc3 to either disallow these prefixes/suffixes for all functions or just these function. The latter complicates the stanc3 code with yet another list of functions to keep track of. The former is a bit restrictive, though I guess rep_matrix_varmat is not a common name someone would use.

add prefix__/__suffix
Since __ is restricted in Stan language this adds no additional restrictions. Its a bit of an ugly name for functions, but 2. isnt much better in that regard.

For (1), can't we add a template with a default to not-a-varmat?
The bigger issue is what to do in the language.  I'd rather not introduce the language "varmat", which is very implementation specific.  Can we call it something like "immutable"?  I know there is some code to make them modifiable, but I think that's both confusing and not something we want to encourage in performant Stan code.   Has the decision already been finalized to allow these things to be modified once constructed?

For (1), can't we add a template with a default to not-a-varmat?
The bigger issue is what to do in the language.  I'd rather not introduce the language "varmat", which is very implementation specific.  Can we call it something like "immutable"?  I know there is some code to make them modifiable, but I think that's both confusing and not something we want to encourage in performant Stan code.   Has the decision already been finalized to allow these things to be modified once constructed?

For (1), can't we add a template with a default to not-a-varmat? Or would we still need <> in the no-template args case? If so, we can add the template version, and then implement the original version to delegate to the appropriate template and then deprecate the original version.

That make sense.

The bigger issue is what to do in the language. I'd rather not introduce the implementation-specific type "varmat". Can we call it something like "immutable"? I know there is some code to make them modifiable, but I think that's both confusing and not something we want to encourage in performant Stan code. I'd prefer to see a mutable matrix created and assigned to an immutable one which then remains immutable. Though I really believe the best solution will be comprehensions.

The current plan that is ongoing is that the language will have no notion of varmat, this is compiler-internal stuff what we are talking about here (see link below).
So the user would still call rep_matrix() in Stan but the compiler would actually use rep_matrix<var_Value<Eigen::MatrixXd>() or rep_matrix_varmat() if applicable.

Has the decision already been finalized to allow a varmat type to be modified once constructed?

No, that is not plan at the moment. You can read the current plan here. This is what we plan for 2.27 but this can obviously change if someone comes with a better plan.
The current plan is intentionally conservative as while the goal number 1a is performance, goal 1b is no regression and this approach guarantees that.

Is this the kind of thing that requires a vote in the process now?

I guess anything is up for a vote if someone wants it. I think that is the idea.

For (1), can't we add a template with a default to not-a-varmat? Or would we still need <> in the no-template args case? If so, we can add the template version, and then implement the original version to delegate to the appropriate template and then deprecate the original version.

That make sense.

The bigger issue is what to do in the language. I'd rather not introduce the implementation-specific type "varmat". Can we call it something like "immutable"? I know there is some code to make them modifiable, but I think that's both confusing and not something we want to encourage in performant Stan code. I'd prefer to see a mutable matrix created and assigned to an immutable one which then remains immutable. Though I really believe the best solution will be comprehensions.

The current plan that is ongoing is that the language will have no notion of varmat, this is compiler-internal stuff what we are talking about here (see link below).
So the user would still call rep_matrix() in Stan but the compiler would actually use rep_matrix<var_Value<Eigen::MatrixXd>() or rep_matrix_varmat() if applicable.

Has the decision already been finalized to allow a varmat type to be modified once constructed?

No, that is not plan at the moment. You can read the current plan here. This is what we plan for 2.27 but this can obviously change if someone comes with a better plan.
The current plan is intentionally conservative as while the goal number 1a is performance, goal 1b is no regression and this approach guarantees that.

Is this the kind of thing that requires a vote in the process now?

I guess anything is up for a vote if someone wants it. I think that is the idea.

It looks like (1) is viable / backwards compatible
https://godbolt.org/z/x7TY7Y
So we could just have a default template parameter

It looks like (1) is viable / backwards compatible
https://godbolt.org/z/x7TY7Y
So we could just have a default template parameter

This was resolved by going with rep_matrix<var_ValueEigen::MatrixXd()


All domains lead to nginx welcome page

I am using version 3.0.0 and setting nginx as my drupalvm_webserver doesn't seem to setup the appropriate nginx vhosts. Switch to apache and it works fine. I would prefer to use nginx though.
The issue was raised before on a previous version: https://github.com/geerlingguy/drupal-vm/issues/486
As far as I can tell it wasn't resolved. The reporter of the issue was able to get around it by changing:
nginx_hosts:
  - server_name: "{{ drupal_domain }}"
    root: "{{ drupal_core_path }}"
    is_php: true

to the hardcoded:
nginx_hosts:
  - server_name: "dca13.dev"
    root: "/var/www/drupalcampatlanta"
    is_php: true

This represents a bug and if it doesn't work without being hardcoded then the documentation should be amended until it is fixed.

We have a CI test that does install Drupal VM together with the defaults + nginx, and it is still passing. https://travis-ci.org/geerlingguy/drupal-vm/jobs/131508783#L2537
Would you mind posting your config.yml? Maybe we can figure out what's going wrong here.

I'ved successfully used 3.0.0 with Nginx.

I switch to apache the moment it didn't work and I've only just got round to doing a vagrant destroy switching it back to my preferred nginx and predictable it worked fine!


Update disruptor to fix a race condition.

https://github.com/LMAX-Exchange/disruptor#342

Codecov Report

Merging #1526 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master   #1526      +/-   ##
===========================================
- Coverage     82.53%   82.5%   -0.03%
  Complexity     1669    1669
===========================================
  Files           251     251
  Lines          7774    7774
  Branches        759     759
===========================================
- Hits           6416    6414       -2
- Misses         1128    1129       +1
- Partials        230     231       +1

Impacted Files
Coverage Δ
Complexity Δ

...census/implcore/trace/export/SpanExporterImpl.java
90.41% <0%> (-2.74%)
8% <0%> (ø)

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 a662a77...af1a3a2. Read the comment docs.


Create a spoken_exact tag

Currently there's a spoken tag which takes a flag to say if it is highlighted.
Remove the highlight flag.
Have a new tag, spoken_exact which is like spoken but with a highlight.

Oh cool it auto closed. Resolved in the commit linked. New syntax
spoken "This is not exact"

spoke_exact "This is"


Added circle carousel (vertical)

Fixes Issue🛠
#1055
Description👨💻
Added a vertical circle carousel. The cards rotate around the circle vertically.
Type of Change📄

[ ] Bug fix (non-breaking change which fixes a bug)
[x] New feature (non-breaking change which adds functionality)
[ ] Style (non-breaking change which improves website style or formatting)
[ ] Documentation (non-breaking change which updates or adds documentation)
[ ] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[x] I am an Open Source contributor
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project

Screenshots/GIF📷

https://github.com/Rakesh9100/Beautiify/assets/124715194/115e8958-cea2-4018-912c-160775502d81

hello @Rakesh9100 could you review my PR?


[CARBONDATA-2621][BloomDataMap] Lock problem in index datamap

Problem
The locking for the index Datamap is not correct.
The HDFS lock is not working properly, because the lock is getting created the
the local filesystem instead of HDFS.
Solution
Corrected the system folder path.

[X] Any interfaces changed?
None
[X] Any backward compatibility impacted?
None
[X] Document update required?
None
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
Corrected the test case.
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5246/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6412/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5256/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6422/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5259/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6427/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5360/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5365/

LGTM...can be merged once build passes

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6436/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5267/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6441/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5272/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5371/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5281/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5543/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6733/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6952/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5740/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7055/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7065/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5799/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5841/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5805/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7110/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5886/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7205/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5980/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5870/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7258/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6034/

retest SDV please

Failled test case for the below build is unrelated. The same testcase is passing locally.
http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7258/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7375/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6136/

Failled test case for the below build is unrelated and random.
Checked locally its passing.
http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6136/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6168/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7409/

retest this please

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6186/


How to save/load GraphSAGE model with keras ?

Hello @sachinprasadhs @SuryanarayanaY
Please find the python script below. To run the part 1, it seems the model in baseline is missing (the name "model" is not defined).
https://github.com/Yaxin-Cui/Graph-Neural-Network/blob/main/code/graphstellar_updated.py
To try fix this issue, I tried to save the trained model in the part 0 with two options to see which one works efficient.
model.save("model.keras")  or model = keras.models.load_model("model.h5")
And after loading the model in part 1 with these lines:
model = keras.models.load_model("model.keras") or model = keras.models.load_model("model.h5")
In case of h5 format I received the following error

And in case of keras format I received the following error

Can you please help to see how to fix the issues or maybe if there is other way to save this model, which one can be the best.

Hi @HripsimeS ,
We won't debug the code from third party libraries.Please submit minimal code snippet  in the form of colab gist to reproduce the issue without third party library dependencies.
However I can provide some pointers here.
Keras3 supports only .keras saving format. From the error log this might be due to the presence of custom objects in the model that are not explicitly serialized/deserialized by overriding the get_config() and from_config() methods. You need to check this tutorial for more details on custom objects.
Alternatively you may try installing tf-keras package and set environment variable os.environ["TF_USE_LEGACY_KERAS']="1".


Spleeter_dynamic_library: Solutions and steps to implement the executable file of the algorithm

Spleeter(C++)_dynamic_library: Solutions and steps to implement the executable file of the algorithm
https://github.com/KangChou/spleeter_dynamic_library

What do you expect in this reported Issue?

What do you expect in this reported Issue?

It is hoped that the project can be deployed on the Android side, and the GPU is also expected to be used for prompts on the problem of model inference speed, hoping to further deepen cooperation.

There are already lots of efforts and contributions available for Android Side, one them is https://github.com/FaceOnLive/Spleeter-Android-iOS

There are already lots of efforts and contributions available for Android Side, one them is https://github.com/FaceOnLive/Spleeter-Android-iOS
This repo's goal was never to build Android App. It is Library port (Generic) for general use.

Unfortunately, the Android version is paid, I would like to implement the process from source build to deployment.

Solution steps and implementation of executable is already provided in README.md. Support for Android App is not scope of this repo. Though it is highly encouraged to contribute App version of code as PR if you like. I close this issue.


Matrix3: determinant and inverse methods implementation

Tested it on windows and html5 on different matrices and checked with Inverse & Determinant
3 x 3 Matrix Calculator on Wolfram|Alpha WIdgets:
http://www.wolframalpha.com/widgets/view.jsp?id=35f68681262e42ea89b0834caa51635b

Excellent, thank you very much!


Create a CA cluster issuer step fails

the step "Create a CA cluster issuer" fails with "no endpoints available for service "cert-manager-webhook"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ada58160-dc50-b977-d3bc-65f92406e16d
Version Independent ID: 5c596e04-fddb-effe-3b72-575f4df42d4e
Content: Create ingress with automatic TLS - Azure Kubernetes Service
Content Source: articles/aks/ingress-tls.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

seems a K8S issue on my side

Thanks for sharing the update.


gen-host-js: Top-level await compatibility via $init promise

This adds a new compatibility feature, --tla-compat which is enabled under the --compat flag as well. Top-level await support is wide, but still gives some gap on browser compatibility (around 5% of browsers support modules but not TLA), so is still useful for maximum JS support.
When used, all top-level Wasm loads and instantiations that rely on await get wrapped in a single $init promise, which is exported and must be awaited before any component functions can be called. This only applies to ESM instance mode and not --instantiation.
If calling any exported component functions before initialization has been completed, an error is thrown informing that the $init promise must first be awaited. The $init export name is used as it should be an invalid world export name I believe.

@alexcrichton the problem is I don't know of a single JS optimizer short of closure that will unwrap async function init () {}; await init(). Byte size in JS is important and a feature of this output.

I've managed to remove one branch with an update commit. The remaining 6 branches are for:

One branch for the $init function itself
One branch for exported functions to throw if called when unitialized
Three branches to hoist the memory, realloc and postReturn variable definitions from const function definitions to out-scope let definitions. I'd prefer not to collapse this branch since that would involve removing const declarations which could be useful optimization information for an optimizer on non-tla-compat source
One branch to vary the WebAssembly instantiation routine from setting the local const versus global let variable in TLA compat.

With the current output size constraints I'm not sure I can simplify more than this, but I'm open to refactoring suggestions.

Ok, I've unified on just the single branch as discussed, leaving any unwrapping to rather be the job of an optimizer.


Support for delay to drag element

Hi,
This is an issue regarding mobile devices, when a user wants to scroll a page filled with a draggable SVG it requires the event (and the e.preventDefault() of course) to be delayed for a time (as a parameter if possible) so this way:
1- A user may scroll on the screen if the touch lasts for less than the delay.
2- If the touch over the element lasts longer the user may drag the element as usual.
Other solutions to allow the user to scroll the page if the SVG file fills all the window are welcome (on mobile devices) if you think any other solution please comment this issue.
Thank you!

Hey, interesting thoughts. Unfortunately you cant prevent a scroll from happen within in a few milliseconds. whenever an element is dragged, it calls preventDefault() to prevent the custom behavior from happening (in your case scrolling). If you dont do that immediately it doesnt work.
Imo the responsibility of this problems lays by the programmmer. e.g. you can disable the draggable functionality whenever a scroll could happen next or you can allow the drag only on doubleclick.
Be creative - I myself cant think about a solution which would be build in.

/* External code must be used to achieve scroll on mobile devices */


Can't compile on go 1.20

Describe the bug
Can't compile on go 1.20 and return asm: assembly of<EMAIL_ADDRESS>faile. Because the<EMAIL_ADDRESS>can't support go 1.20, and it should be upgraded to v0.0.16.
To Reproduce
Steps to reproduce the behavior:

go build or go run

Expected behavior
Build or run without error.
Kitex version:
0.4.4
Environment:
GOVERSION="go1.20"

Thanks for your feedback. We will update this in the next version.

can use the version v0.5.0(kitex), it is because the dependency lib needs to adapt with go 1.20


SMP-1917: Add validations to check if values/override had bee

Added validations to check if values/override.yaml is migrated to follow the new structuring

the chart.lock can be ignored


Add some packages to docs/requirements.txt that I had to install

…after running pip install -r requirements.txt with the existing requirements.txt.
Potentially this is not necessary, because potentially poetry uses a different store of dependencies?
cc: @hwchase17

This requirements is not used,closing.


Provide a way to set a different "description" metatag for each page

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[x] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Currently it is only possible to set a single "description" metatag for the entire web app.  This is set in the index.html file.
Expected behavior:
It is possible to set a different "title" metatag for each page, by setting it on the "App" itself when the page is opening.  It would be helpful to be able to set the description tag in the same way.
This feature is necessary to help with SEO for the web app.  Having the same description show up for every page is very undesirable in search engine results.
Related code:
    public ionViewDidEnter() {
        // Set document title (not shown on UI) for use by search engines
        this.app.setTitle("Nice informative title");

        // It would be nice to set the description in the same way :
        this.app.setDescription("Great description of my page filled with searchable keywords");
    }

Hello! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to ionic-team/ionic-feature-requests#233

An alternative spot for setting this, rather than the ionViewDidEnter lifecycle, could be in the @IonicPage decorator:
@IonicPage({
  name: 'detail-page',
  title: 'Nice informative title',
  description: 'Great description of my page filled with searchable keywords',
  segment: 'detail/:id',
  defaultHistory: ['list']
})

I'd consider setting titles and descriptions more of a metadata responsibility than a code thing, so that seems like a better place.


Refactor Create API Key Modal, Add in teams for creating projects

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on restructuring API key creation components and introducing lazy loading for the Create API Key dialog.
Detailed summary

Moved CreateKeyInput interface to a separate file
Updated CSS variables in globals.css
Refactored LazyCreateAPIKeyDialog for conditional rendering
Introduced createApiKeyStub function for generating API key stubs
Added lazy loading for CreateAPIKeyDialog in SettingsApiKeysPage and ProjectSelectorUI components

The following files were skipped due to too many changes: apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx, apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4583  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


FE-homework-14

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
0

code_smells
3

reliability_rating
A (0 Bugs)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
b:x: ERROR/b

bugs
0

code_smells
3

reliability_rating
A (0 Bugs)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0


{CI} Pin azdev to latest version

There is a PR https://github.com/Azure/azure-cli/pull/14438 that we have to release azdev and fix CI at the same time. I don't want to create a broken status for our CI system. Let's pin azdev version first.

@haroldrandom  We need change Azdev Release Pipeline as well to add one more step to bump version in our CI system.

CI


include tests in release

please include the tests in the MANIFEST.in, since we're consuming them downstream for pysal/pysal now.

@ljwolf Based on the previous sub-module template I had been using, there was no MANIFEST.in file. Is there a sub-module you suggest for reference for a proper manifest file that includes tests?

Actually, I think it's sufficient to add an __init__.py to your test directory. That'll make Python understand the tests folder as a module.

Ok, seems even simpler, will do.

Wait, actually, I already had an __init__.py.

This should now be remedied.


"Tail" needs host randomization

Need to rewrite the tail code to include randomization of the IPs from the list so as not to hit them in sequential order.

Handled in 2.0 by the way the IPs are recorded.


🚀 Feature Request: Add a loading indicator between page changes

Problem Overview 👁🗨

Users with slow connections currently have no way of knowing if the app is loading, which leads to poor UX if they are stuck looking at a blank screen
What would you like? 🧰

A loading indicator between page changes
What alternatives have you considered? 🔍

NA
Additional details ℹ

NA

Would like to take this up

@nik72619c I have assigned you to the issue. Looking forward to your PR. :)

got it 👍


id added to Dialog component does not appear in HTML

If I add an id property to Dialog component in JSX, it will not appear in HTML:
   <Dialog
        actions={<Actions {...props} />}
        id='dialog' // does not appear
        modal={false}
        onRequestClose={props.close}
        open={props.isOpen}
        title={props.title}
    >
        {props.content}
    </Dialog>

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I would expect the id property to be visible in HTML of Elements tab of Chrome Dev Tools and be able to document.querySelector('[id="dialog"]')
Current Behavior

No id property is present in HTML page, hence document.querySelector returns null.
Steps to Reproduce (for bugs)

Go: https://codesandbox.io/s/54300o8jxn
Find that id of a Dialog inside /src/pages/index is 'dialog'
Open Chrome Dev Tools.
Click on SUPER SECRET PASSWORD button.
Navigate to the HTML element of the dialog that appeared on the screen.
See that there is no 'id' property.

Context

I am trying to uniquely identify the dialog in my application, which is ever-present on the screen no matter whether it's visible to the user or not.
Your Environment

Tech
Version

Material-UI
0.19.4

React
16.2.0

browser
Chrome 66.0.3359.139 (Official Build) (64-bit)

etc
macOS Sierra 10.12.6

@LAITONEN For performance consideration, the Dialog is only mounted into the page when visible. You can keep is mounted with the keepMounted property:
<Dialog keepMounted


Figure out a way to display all of our methods

I think it would be really cool to have some sort of centralized resource where we could see all of the methods that have been created in this project. Kind of like an API doc.
It would be really cool to do this programmatically so we don't have to maintain it.
I figure we could write a script that reads the files of our lib folder, similar to the way that lib/index.js does currently, but it writes to a JSON file that lives within the app. We could then fetch from the JSON file and render it into some sort of front end. I think the stretch goal here would be to have the script first check the key it's updating, and not update it if it already has data attached. This would allow us to fill in a "description" property for each method (I don't see a way of doing that programmatically) that would not be overwritten the next time the script was run. The description would be additional data that we could display to the front end. The object could also contain data like "lastUpdatedAt" or "category". Something along those lines.
// data.json
{
  sum: {
     description: 'Adds the first two parameters.',
  },
  difference: {
     description: '',
  }
}

This is just to bring up a talking point. If anyone has any thoughts on this, please feel free to share them! cc @ktilcu @andreasgruenh @ contributors!!

Good point, IMHO I think it would be ideal to handle everything from jsdocs that way we could use something like this to extract the documentation and put it in a template. This means we would need to refactor some functions to have proper jsdocs annotation.

Nice @luisvillalba ! I think you're onto something here. That is a really cool package. I'm gonna leave this one here too: https://github.com/jsdoc2md/jsdoc-to-markdown/
It looks like it utilizes the one you mentioned.

And yeah- a pretty major refactor would have to happen, but it could happen in chunks.

@BlakeGuilloud I'd be happy to start working through some of the methods and adding in docstrings. Not sure how far I'll get but I can do some of the grunt work. I'd make sure to only touch completed methods to avoid conflicts.

That would be awesome @FranceJ ! Feel free to reach out here with any questions or email me<EMAIL_ADDRESS>Thanks man!!


Accelerate the limited TorchMD_GN with NNPOps

[x] Integrate NNPOps
[x] Tests
[x] Benchmarks

Depend on https://github.com/openmm/NNPOps/pull/40/

@PhilippThoelke @stefdoerr can you review?