Adding MieleCloudService v1.0.5 to stable repo

according to issue https://github.com/Grizzelbee/ioBroker.mielecloudservice/issues/16

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.org are broken. Please fix.

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.
Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.
Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

RE-CHECK!

RE-CHECK!

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew

Ok, hp-ilo irrelevant here (was just "touched" because a space).

Tests are green too ...

RE-CHECK!

Automated adapter checker
ioBroker.hp-ilo

[ ] :heavy_exclamation_mark: [E504] found setInterval in "hp-ilo.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2020 Sebastian Schultz<EMAIL_ADDRESS>at the end of README.md

ioBroker.mielecloudservice

[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.

Add comment "RE-CHECK!" to start check anew


how to use a child element of a ref in a relation?

Sorry Simon for bugging you with so many requests!
I may have found an issue with ref:
workspace {
    !identifiers hierarchical

    model {
        foo = softwareSystem "Software System Foo"
        bar = softwareSystem "Software System Bar"

        ss = ref "SoftwareSystem://Software System Foo" {
            baz = container "Container Baz"
        }

        # (1) this works
        bar -> ss.baz "some relation"

        # (2) this does not work, but shoudn't it?
        foo.baz -> bar "some other relation"
    }

    views {
        systemLandscape {
            include *
            autolayout
        }

    }
}

If I modify an existing element by using ref and add a new child element, how do i refer to that child if I want to create a relation? Should foo.baz and ss.baz work? Apparently only ss.baz works.
I'm aware that ref is still considered experimental, but maybe this is a valid issue you might want to investigate.
Edit: I've removed my comments that suspected that !includes are somehow related.

The latest change that allows !refs to use identifiers instead of canonical names, solves the issue for me. I think this is really an improvement, thanks!
If people start to use !refs together with !includes, they will probably experience the issue with the order of definitions and relations. So you might want to keep that issue open until it is fixed or be very specific in the documentation about the limitations of the parser (i.e. circular imports and the order of definitions).
This issue here, however, can be closed.


Add benchmarks for RustCrypto SHA2 and SHA3 0.8.0

It should be possible to copy one of the bench crates and also add e.g. blake2, but this seems enough for now.
ref. #45

Thanks so much! Still working on the rebalancing code to make sure these are spread across runners correctly, hopefully will get these going soon.


update code example for form access

@fran-worley Is that how we want it?

Whoops... I have created a new PR with this and one more addition, forgot to check if it was already done.
https://github.com/trailblazer/trailblazer.github.io/pull/109


Create LICENSE

From the issue: https://github.com/descriptinc/audiotools/issues/91

This has been resolved, closing.


Fix invalid environment in athenz_ui script

Changes
I found an invalid environment ZMS_SERVER_URL -> ZMS_SERVER in athenz_ui script and fixed it.

Do I need to do anything else to get this PR reviewed?
Please let me know if I need anything to do other than a sign.

Thank you for the PR.

@abvaidya we should revisit this. I don't think the PR was correct. In fact it removes the capability for the caller to specify the ZMS_SERVER_URL with its own port number. We already verify on line 34 that ZMS_SERVER is set so there is no need to verify again on line 39. In fact the idea, iirc, was the caller to specify the ZMS_SERVER and then if they want they can specify ZMS_SERVER_URL and if one is not set, we'll generate one automatically.
@upgle can you clarify what issue where you having that changing the env variable fixed?

oh I missed the custom ZMS_SERVER_URL logic, will revert the PR. Thanks for catching this.

@havetisyan
Oh, I'm really sorry. I think I misunderstood the code.


Editorial edits - mostly copyediting.

Also some trimming of side comments that aren't important to the main
thrust of the paper.
I'll file some issues for the larger stuff.
Feel free to pull this, or adopt incrementally, or whatever works for you.

Thanks Titus. I will take a look.


Changing font family can result in "multiple" for font weight

Bug Description
Sometimes when changing the font family, "multiple" is shown as the font weight even if multiple font weights haven't been defined within the text.
It might be that the new font family doesn't have the font weight assigned and that causes it but this needs verifying.

Expected Behaviour
Display the closest available font weight?
TBD by UX

Steps to Reproduce

Add text element
Assign font family Open Sans Condendsed, font weight Light
Now change the font family to Playball
See "multiple" as the font weight.

Screenshots

Additional Context

Plugin Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Note: UX Needed to decide if we should assign the closest available value or the default value if the previous font-weight is missing.

cc @barklund for visibility since you implemented processing the content of the text for getting the font weight -- perhaps there was already some discussion on what should happen if the new assigned font family doesn't have the previously assigned font weight.

There's a larger underlying issue here about actually changing the inline font weights to available ones when changing font rather than "just" showing another value in dropdown. This was left as an open question in #1323.

Updated the description for clarity to specifically mention that it should be applied to the text, too.

This also begs the question: What happens if the user tries to bold a text (using keyboard shortcut or button) with a font, that doesn't support bold? Should we disable the button even or do we use faux-bold?
CC @pbakaus, @samitron7.

/cc @o-fernandez
My vote goes to allowing 'faux bold' (system level bolding) as fallback for when there's no bold variant.

Let's say I have a text in Roboto supporting many weights and I have some text in there in all of these weights:
300
400
500
600
700
800
900

I then switch to a font, only supporting 300 and 400. What happens then? Do we add 700 as a "supported" weight even though the font doesn't support it and collapse all to the nearest font weight like so?
300 => 300
400 => 400
500 => 400
600 => 700
700 => 700
800 => 700
900 => 700

Alternatively we round down, so 600 => 400.
Or we don't support bold at all - for many grotesque display fonts faux-bold won't make sense anyway, so showing a button for it but not actually visually changing the font would be senseless.

We discussed this in a recent call and agreed to fixing this. No "multiple" shown, we'll just have to do approximations in some cases. When switching fonts it is ok to approximate to closest supported weight and/or default to "normal".

@miina "Multiple" is a bug. To be clear, no input field for a single selected element should ever have a "multiple" value. Multiple only appears when you select multiple elements that share a similar attribute like color, opactiy..etc.
And ditto to approximating then default to normal as a fallback

@miina "Multiple" is a bug. To be clear, no input field for a single selected element should ever have a "multiple" value. Multiple only appears when you select multiple elements that share a similar attribute like color, opactiy..etc.

@samitron7 Yes, this is a bug issue, reported to address the problem to ensure that "multiple" wouldn't appear unexpectedly. Will update the "Expected behavior" to mention that "no input field for a single selected element should ever have a "multiple" value".

Thanks Miina. I think I also filed a separate ticket a long time ago to change "multiple" to mixed because "multiple" is too long of a word to fit inside some input field and not sure where that came from >__<.

@barklund and I have been going back and forth a little in this PR to reach a clearer understanding of what this ticket should fix.
As of this comment: https://github.com/google/web-stories-wp/pull/4734#issuecomment-704347155 we reached agreement of how this should be handled. That essentially, when the font family updates, we want the font weight to return to 400 (regular) for the entire text element. If 400 is not an available weight for that new font family we want to get as close to it as possible (so either 300 or 500 and so on).
My draft PR does this for when you have the entire text element either selected (highlighted) or the text element is in focus. This however does not make it so that when you swap font families while your cursor is in the text element but the editor state has editorState.getSelection().isCollapsed or when just part of the text is highlighted that the font weight for the entire element is reset.
I think that this bug has turned into more of a feature, where we want to actually handle the reset of the font weight separately from just setting a new font weight for the text element because we need to trick the selection into being the entire text element so that we can strip any other font weights and then reapply the other styles for the text element that aren't related to the weight so that we can have consistent functionality on this reset no matter what part of the text element is selected or focused (my understanding is that we have different functionality set up for when a cursor is active in a text element, when part of a text element is highlighted and the text element is in focus).
After some discovery, it's pretty clear that we would need to alter how the fauxSelection updates or add in another update possibly to make the faux selection when resetting the weight the entire element or pass in an additional prop through the process of setting a new weight to tell functionality that it's a reset and to do something different in (probably) components/formatters/weight, components/panels/textStyle/useRichTextFormatting, components/richText/styleManipulation and components/richText/useSelectionManipulation.
Overall, this feels like a complete edge case and could possibly benefit  from more discussion to figure out the best way to handle this to avoid more time getting sunk into it.
@bmattb @o-fernandez - thoughts on moving this to the backlog for the time being?

I don't think I fully follow, let me know if this is kind of true:

If a user changes the font family, we'll default to regular weight / 400 or the closest available for the selected font.
This may not happen if the user is editing the text/have some inline selection when they change the font family

Is that roughly right? I may be misreading/missing important details here, so want to check. @barklund @BrittanyIRL

Hey @o-fernandez  - thanks for summarizing, this is a sticky issue (my opinion!).
If you watch these two gifs on the comment i posted: https://github.com/google/web-stories-wp/pull/4734#issuecomment-704347155 you can see the difference.
Essentially yes, that second bullet point - but my understanding based off of talking to @barklund is that we want the same functionality regardless of where you are in the text selection which is reallyyyyy tricky to not create more bugs from in the process of overriding. But if it's ok that the font weight doesn't all go back to normal when the user swaps font families while actively in the text area then this is way easier. I think there's just not enough clarity on what the acceptance criteria for this actually is.

The original issue, what this ticket is trying to solve, is the scenario in which:

I start with an element with font family A, and a valid font weight (let's say Bold)
I switch font family from A to B, and suddenly the font weight drop down shows "multiple"

We want to avoid that scenario. Since there is actually just one font weight being used, not multiple, we shouldn't show multiple because the font wasn't resetting to a valid, available font weight.
In the GIF you added https://github.com/google/web-stories-wp/pull/4734#issuecomment-704347155 I see that the base case is that you do have multiple font weights in the font element. In that case, when you change the font family if you still have multiple font weights it's perfectly fine to have "multiple" in the font weight drop down, both before and after changing the font family. Ideally, we'd want font weights to be one of the valid font weights for that font family, but I don't think that's required for this bug.
So, to clarify acceptance criteria for this bug;

We just want to ensure that if you only have one font weight in the entire text element, and you switch font families, then you don't end up with font weight shown as "multiple" just because the existing font weight is not a valid font weight for the new font family.
In that scenario, it's preferable to reset to something else -- we agreed it was simplest to reset to regular / 400 or closest available.

thanks for clarifying the acceptance criteria here, @o-fernandez - i think i have a working solution, i'm going to reexamine it first thing Monday and then I'll update the PR and clarify here that it's working as expected.

Hey @o-fernandez -
Thanks again for the clarification. It turns out that just updating the "mixed" value for single font weights is impossible because we can have a variety of ways the text element is "selected" or in focus so it's hard to tell if we have 1 font weight or some inline weights set. Given that, I combined your focused directives with feedback from Morten and have the following:

When there is only 1 font weight in an entire text element and you switch font families, you will not end up with "mixed" - formerly "multiple" (placeholder was updated over the lifespan of this branch).
When an existing font weight is not available when you make said switch of font families, we will get the closest available weight to that previously existing weight.
When you have multiple font weights and you switch weights, if you have the entire text element in focus you will still see "mixed", BUT when you enter that text element, if you had "light" selected but now only regular or bold are options, it'll update the selected weight to be regular when you make that portion of text element active again.

I believe this takes care of the bug and could allow future edge cases surrounding the specifics to inline styles and the faux selection process that can sometimes inhibit the above updates occurring to be handled on a granular level with the attention it'll deserve since that will necessitate updates to more functionality.
Thoughts?

That sounds good, @BrittanyIRL, thanks much!

Verified in QA

Verified in QA


Please enforce No Explicit Any

Suggestion
Nobody likes to see the usage of any, please consider enforcing the policy.

Could you explain what you mean.
This codebase isn't using any anywhere (except here, where their use shouldn't be noticeable to end users)

@RebeccaStevens This is exactly what I meant. It's good that it's not exposed, but it's not very welcomed to see. Please see this comment to understand where I'm coming from.
Can't we get rid of those anys as well?

I would remove them, if possible, but I believe I had issues getting things to work without them.
Those anys are just generics within an extends clause of a conditional type.
Those lines essentially say "is given value a key that exists in the interface DeepMergeMergeFunctionURItoKind? The generics of that interface are not important".


How to use as dependency not documented

The README only says how to install and run the-graph itself (useful when developing),
but not how to use it in another project. Expected is some 'install via bower/componentio' or something to that effect...
There are also some example code in the repo (the-graph-editor/...html ), but these are also not mentioned in the docs. (having them in an examples/ subdir would also made it easier to find)

@jonnor : Saying «the docs», do you mean the readme.md or is there a documentation somewhere ?

There are no docs except for the Readme, or the code examples mentioned.

Ok, thanks. Just wondering.
I'm digging in this issue, I found no bower solution but with npm you can do the regular npm install the-graph --save to install it as an npm dependency. Gonna figure out how to use it now :)


Neko crashing without any errors

Basically if there are any runtime errors neko application window will simply close without any error messages. Here are my warnings, as far as I could google the AL message is simply about improper audio library closing so I guess that's unrelated.

Export/windows/neko/debug/haxe/ApplicationMain.hx:200: characters 88-106 : Warning : Use programPath instead
AL lib: (EE) alc_cleanup: 1 device not closed
[Finished in 7.9s]

Windows 7 x64

$ haxelib list
hxcpp: [3.2.205]
lime: 2.9.0 2.9.1 [3.0.0]
openfl: 3.6.0 3.6.1 [4.0.0]
$ haxe -version
3.3.0

How are you launching, though the command line or an ide?

Sublime text with haxe plugin. Without crash normal trace calls show up in my build result panel.

Do you get an error message if you launch from the command line?

test@test-HP MINGW64 /d/Dev/Sea (master)
$ openfl test neko
Export/windows/neko/release/haxe/ApplicationMain.hx:200: characters 88-106 : Warning : Use programPath instead
AL lib: (EE) alc_cleanup: 1 device not closed

Same result, split second of a window.
I'm testing with trace(null + 0) - compiles without errors yet I know will throw an exception in neko.

Try openfl test next -debug from the command-line

test@test-HP MINGW64 /d/Dev/Sea (master)
$ openfl test neko -debug
Export/windows/neko/debug/haxe/ApplicationMain.hx:200: characters 88-106 : Warning : Use programPath instead
AL lib: (EE) alc_cleanup: 1 device not closed
test@test-HP MINGW64 /d/Dev/Sea (master)

Same behaviour.

This is totally up to Neko -- some errors might not result in a stack trace, or perhaps, you have a different Neko version on your system than we normally use (with Haxe 3.3?) and it behaves differently

test@test-HP MINGW64 /d/Dev/Sea (master)
$ neko -version
2.1.0

I've tried directly:
package;

class Main
{
    public static function main() {
        trace(null + 1.0);
    }
}

test@test-HP MINGW64 /d/Dev/Neko
$ haxe -main Main -neko neko.n
test@test-HP MINGW64 /d/Dev/Neko
$ neko neko.n
Called from ? line 1
Called from Main.hx line 6
Uncaught exception - Invalid operation (+)
test@test-HP MINGW64 /d/Dev/Neko

Then I went to the build folder of my project and started it directly

test@test-HP MINGW64 /d/Dev/Sea/Export/windows/neko/debug/bin (master)
$ ./Sea.exe
AL lib: (EE) alc_cleanup: 1 device not closed

However, when just clicking on executable, it showed console window with more info for a split second, so I tried calling it from windows command line, not mingw:

D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe
Called from thx.fp.Map.Map_Impl::$statics line 1
Called from ApplicationMain::main line 143
Called from ApplicationMain::create line 26
Called from lime.app.Preloader::create line 58
Called from openfl.display.Preloader::start line 93
Called from NMEPreloader::onLoaded line 107
Called from openfl.events.EventDispatcher::dispatchEvent line 95
Called from openfl.display.DisplayObject::__dispatchEvent line 269
Called from openfl.events.EventDispatcher::__dispatchEvent line 237
Called from openfl.display.Preloader::display_onComplete line 129
Called from lime.app.Preloader::start line 242
Called from lime.app.Event_Void_Void::dispatch line 145
Called from ApplicationMain::init line 87
Called from ApplicationMain::start line 173
Called from Type::createInstance line 109
Called from DocumentClass::$init line 212
Called from DocumentClass::new line 239
Called from Main::new line 13
Uncaught exception - Invalid operation (+)
AL lib: (EE) alc_cleanup: 1 device not closed
D:\Dev\Sea\Export\windows\neko\debug\bin>

So I guess it's not openFL fault, maybe problem with stderr stream or something. When I'll find a solution I'll post it here.

I'm going to close this issue, but I've been debating whether we should consider contributing to Neko, and performing nightly builds on our build servers. This might be a valuable improvement :smile:


Prevent web font loading from sharepoint domain.

Category

[x] Question
[ ] Typo
[ ] Additional article idea

Question
Is there a way to disable segoeui and FabricMDL2Icons web fonts loading from external resource (which is https://static2.sharepointonline.com)?
In our sharepoint site, blank page does not load any fonts, but with added SPFX web part it start to load web fonts from sharepoint domain.
The problem is that client has private network which is blocking external resources.
We had overwritten these fonts with local ones to solve issue with displaying correct fonts/icons.
But since web part is still trying to fetch external ones - this is causing problems to page loading speed.
SPFX WebPart information:
It is raw SPFX web part template, which is created with next steps:

yo @microsoft/sharepoint
What is your solution name?: web-font-tester
Which baseline packages do you want to target for your component(s)?: SharePoint 2019 onwards, including SharePoint Online
Where do you want to place the files?: Use the current folder
Do you want to allow the tenant admin the choice of being able to deploy the solution to all sites immediately without running any feature deployment or adding apps in sites?: N
Which type of client-side component to create?: WebPart
What is your Web part name?: WebFontTester
What is your Web part description?: WebFontTester description
Which framework would you like to use?: React

And is built with next command:
gulp clean && gulp bundle --ship && gulp package-solution --ship

Environment details (development & target environment)

Your Developer Environment: [Windows 10 | yo v3.1.1 |<EMAIL_ADDRESS>]
Target Environment: [SharePoint Server 2019]
Framework: [Node.js v10]
Browser(s): [Chrome v87]
Tooling: [WebStorm]
Additional details: Web part package json dependencies

  "dependencies": {
    "react": "15.6.2",
    "react-dom": "15.6.2",
    "@microsoft/sp-core-library": "~1.4.0",
    "@microsoft/sp-webpart-base": "~1.4.0",
    "@microsoft/sp-lodash-subset": "~1.4.0",
    "@microsoft/sp-office-ui-fabric-core": "~1.4.0"
  },
  "devDependencies": {
    "@types/react": "15.6.6",
    "@types/react-dom": "15.5.6",
    "@microsoft/sp-build-web": "~1.4.1",
    "@microsoft/sp-module-interfaces": "~1.4.1",
    "@microsoft/sp-webpart-workbench": "~1.4.1",
    "gulp": "~3.9.1",
    "@types/chai": "3.4.34",
    "@types/mocha": "2.2.38",
    "ajv": "~5.2.2",
    "@types/webpack-env": "1.13.1",
    "@types/es6-promise": "0.0.33"
  }

I don't believe so... @StfBauer, are you aware of a way to block the loading of external fonts?


[SPARK-5839][SQL]HiveMetastoreCatalog does not recognize table names and aliases of data source tables.

JIRA: https://issues.apache.org/jira/browse/SPARK-5839

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27559/
Test FAILed.

test this please.

Test build #27562 has started for   PR 4626 at commit 530ccd9.

This patch merges cleanly.

Test build #27562 has finished for   PR 4626 at commit 530ccd9.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaStatefulNetworkWordCount

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27562/
Test PASSed.

Test build #27568 has started for   PR 4626 at commit 8833ac3.

This patch merges cleanly.

Test build #27568 has finished for   PR 4626 at commit 8833ac3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27568/
Test PASSed.

Test build #27590 has started for   PR 4626 at commit f779d85.

This patch merges cleanly.

Test build #27590 has finished for   PR 4626 at commit f779d85.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class AnalysisException protected[sql] (
 implicit class AnalysisErrorAt(t: TreeNode[_])
case class Origin(
case class ParquetRelation2(
case class IsNull(attribute: String) extends Filter
case class IsNotNull(attribute: String) extends Filter
case class And(left: Filter, right: Filter) extends Filter
case class Or(left: Filter, right: Filter) extends Filter
case class Not(child: Filter) extends Filter

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27590/
Test PASSed.


Export a single module

It'd be great if nbprocess could export a single module. My use-case would be to develop lightweight scripts in my day-to-day work e.g. this notebook/script which updates fastai's union annotations to the Python 3.10 union operator. cc @hamelsmu

How did you manage to do this for your site?  I saw that you did this anyways.  Just curious on the process you followed

I set #|default_exp __main__ then called nb_export(nb_path, nb_path.stem.replace('-','_')) at the end of the notebook. It exports to a package like my_script/__main__.py instead of my_script.py


Add nominee: prajakta-kuwalekar

Automatic addition of a new nominee submitted through the online form available at https://digitalpublicgoods.net/submission

Closing this PR; was earlier used for testing the submission form latest changes.


Code refactored and Moves implemented

I refactored the code so that all rotations are in one function. I've implemented the real moves of the Rubik's cube. Colors of the cube updated.

I love this idea! Thank you for taking the time to do this work! I like to keep the code in this repo matching the video so that viewers can follow along. I just posted the same thoughts in #1282 but I'll repeat here anyway!

You could submit your own version as a community contribution.
I could create a community "Rubik's Cube" project separate from the website that viewers could develop. I like doing this, but it often becomes difficult to manage.

What do you think?
(I'll also note that I am releasing part 3 tomorrow).

Hi Dan,
The reason behind this pull request is mostly the implementation of the moves and updating the colors. Also you said that you wanted to refactoring the rotation functions so I did that (not saying that this is the best way to do it but..... anyways it's there). So please think about implementing the moves for part 4 so that it will be easier once you try to do the AI (if you intend to use any algorithms of course). And yes I'll try to submit my version on the web.
Thank you
You're amazing.

@shiffman I updated part 3. Please take a look.

This is amazing! Could it be posted as a community contribution and linked from the challenge? Then I could refer to it if / when I continue the challenge.

This is amazing! Could it be posted as a community contribution and linked from the challenge? Then I could refer to it if / when I continue the challenge.

Yes, of course. But please do continue this series. The coding challenge turns out great. I know that the AI part might be difficult but you'll figure it out. You always do.

I'd like to leave this open for a little while pending a new pull request with a link to the code this code or even just a diff? This will be a helpful reminder if/when I return to the project!

Implemented along https://github.com/CodingTrain/website/pull/1373


Hyprland-systemd.desktop improvements

Describe your PR, what does it fix/add?
Rename Hyprland to Hyprland (systemd session) to differentiate it from non-systemd Hyprland.desktop, add missing keywords.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
No
Is it ready for merging, or does it need work?
Yes

Heads up, while I appreciate being able to tell the two desktop entries apart, it seems that this update breaks launching hyprland-systemd from uwsm
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Created slice User Background Tasks Slice.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Starting Bind graphical session to PID 1130...
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Started Bind graphical session to PID 1130.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Starting Environment preloader for Hyprland (systemd session), An intelligent dynamic tiling Wayland compositor...
Nov 01 17:44:43 lobster-framework-arch uwsm_env-preloader[1139]: Got malformed desktop names: "Hyprland (systemd session):systemctl"!
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Main process exited, code=exited, status=1/FAILURE
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Failed with result 'exit-code'.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Failed to start Environment preloader for Hyprland (systemd session), An intelligent dynamic tiling Wayland compositor.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Dependency failed for Preparation for session of hyprland-systemd.desktop Wayland compositor.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Dependency failed for Main service for Hyprland (systemd session), An intelligent dynamic tiling Wayland compositor.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Dependency failed for Session of hyprland-systemd.desktop Wayland compositor.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Job<EMAIL_ADDRESS>failed with result 'dependency'.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Job<EMAIL_ADDRESS>failed with result 'dependency'.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Triggering OnFailure= dependencies.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Job<EMAIL_ADDRESS>failed with result 'dependency'.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Triggering OnFailure= dependencies.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Stopping Bind graphical session to PID 1130...
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Stopped Bind graphical session to PID 1130.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]<EMAIL_ADDRESS>Triggering OnSuccess= dependencies.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Reached target Shutdown graphical session units.
Nov 01 17:44:43 lobster-framework-arch systemd[1009]: Stopped target Shutdown graphical session units.

I don't see anything in the desktop entry spec which would require no spaces in the name, so idk what's going on.

Maybe it's a uwsm bug. If it turns out not to be, we can change the name.

@b4shful  try renaming DesktopNames=Hyprland (systemd session) to DesktopNames=Hyprland in /usr/share/wayland-sessions/hyprland-systemd.desktop. Let me know if it works and how it affects the Hyprland entry's name. Ideally, it should still be named Hyprland (systemd session).
I can't test it myself, since I use neither uwsm nor a display manager.

@izmyname Hi, apologies for the delay on my end, hadn't gotten round to this until now.
I renamed DesktopNames=Hyprland (systemd session) to DesktopNames=Hyprland and indeed uwsm began working again.
Here's what shows when I run uwsm select after modifying the hyprland-systemd.desktop file:

Seems like the session name is still "Hyprland (systemd session)".
Also as @fufexan mentioned, this could be a UWSM bug, I'm not sure. DesktopNames is very poorly documented in the XDG spec, no idea if it's allowed to have spaces or not.

@Vladimir-csp is this an issue on our end?

It's not really about compatibility with uwsm or DMs. Judging purely by some examples, dash is ok, at least Gnome does it. So Hyprland-systemd would be fine, although is it really needed?
DesktopNames key serves to fill XDG_CURRENT_DESKTOP, XDG_SESSION_DESKTOP. Primary consumers are autostart solutions, portals, and any apps that have to be session-aware (apps opening files in other apps). Values are used in, among other things, file paths. Having a /home/username/.config/Hyprland (systemd session)-mimeapps.list would be weird.
It is still Hyprland session, but effectively with a different autostart solution (systemd xdg-desktop-autostart.target instead of, say, dex). If a differentiation is needed it can be , use Hyprland;Hyprland-systemd. Or  Hyprland-systemd;Hyprland to put -systemd variant into more specific spot. Personally I would leave it just Hyprland.

DesktopNames key serves to fill XDG_CURRENT_DESKTOP, XDG_SESSION_DESKTOP

Hm. In this case, I suggest leave DesktopNames=Hyprland in https://github.com/hyprwm/Hyprland/pull/8351 to avoid any headaches with those variables. We can differentiate systemd and no-systemd desktop entry solely by their Name=  values.
@fufexan, thoughts?

Sure, let's do that then.

@Vladimir-csp

BTW, starting it via uwsm makes little to no sense anyway.

What did you mean by this?
 It seems like a nice alternative to login/display managers and helps in achieving the "real computer" feel, rather than just being dumped into the tty when you log in.

Probably, @Vladimir-csp means, that starting hyprland-session.service via uwsm makes little sense, because uwsm already wraps Hyprland session into systemd units. This is the whole point.

Starting this systemd session variant via uwsm makes no sense. Compositor unit will end up containing only systemctl ... process, real compositor will be in its own unit, proper stop sequence and login session bind will probably not work.

Ah, I wasn't paying enough attention to this and have only just realised @Vladimir-csp is the author of uwsm :laughing:
Since the desktop file is fixed anyways I should probably cease the discussion below this PR.
But just for clarification, in my case how should I launch Hyprland if using uwsm?

But just for clarification, in my case how should I launch Hyprland if using uwsm?

By starting hyprland.desktop or Hyprland in uwsm. https://github.com/Vladimir-csp/uwsm#where-to-launch-from

Awesome, thanks so much to everyone for being so receptive and responsive to the feedback! <3


Add min-width to input-group-btn

Was:

Will:

I'm not sure about the complications here:

No .less file seems to be changed, did you change the .css file manually or am I missing something?
Surely small and large selects should have different minimum widths
Isn't this change only necessary for our amount currency select, therefore adding it to input-group-btn is too much?

I agree with Oliver's last point.  On 1, if no CSS was updated you need to run grunt and also commit the changed files.


Connectors: AzureDevOps.HttpRequest

These expressions work in Power Apps, but not in Fx Connectors:
Set(_r, AzureDevOps.HttpRequest("msazure", "GET", "/OneAgile/_apis/git/repositories/PowerApps-Client/items?path=/src/Language/PowerFxVersion.props&api-version=7.1-preview.1&includeContent=true&$format=json"))

Text(_r.content)

HttpRequest returns an Untyped object with json body this:
{
       "objectId": "cf70d4db49fc9148cc473f51cb9d87013b06ad6b",
        "gitObjectType": "blob",
        "commitId": "e10d0512ef1a948386473879fabef847cc24da99",
        "path": "/src/Language/PowerFxVersion.props",
        "content": "<Project>\n    <PropertyGroup>\n\t\t<!-- PowerFx Commit -->\n\t\t<!-- https://github.com/microsoft/Power-Fx/commit/137078ecae3042833bdab27bcf1a2ac9a21c6692 -->\n\t\t<!-- To find the build # given a commit id, go to https://aka.ms/PowerFxEngSys and find the\n\t\tcorresponding commit/Nuget version -->\n\t\t<PowerFxVersion>1.2.0-build.20231213-1002</PowerFxVersion>\n\t</PropertyGroup>\n</Project>\n",
        "url": "https://dev.azure.com/msazure/db635de9-6980-4e4a-9a68-c3252d82e537/_apis/git/repositories/8e69880b-41c2-4031-a2c6-f0af88baecd7/items?path=%2Fsrc%2FLanguage%2FPowerFxVersion.props&versionType=Branch&versionOptions=None",
        "_links": {
          "self": {
            "href": "https://dev.azure.com/msazure/db635de9-6980-4e4a-9a68-c3252d82e537/_apis/git/repositories/8e69880b-41c2-4031-a2c6-f0af88baecd7/items?path=%2Fsrc%2FLanguage%2FPowerFxVersion.props&versionType=Branch&versionOptions=None"
          },
          "repository": {
            "href": "https://dev.azure.com/msazure/db635de9-6980-4e4a-9a68-c3252d82e537/_apis/git/repositories/8e69880b-41c2-4031-a2c6-f0af88baecd7"
          },
          "blob": {
            "href": "https://dev.azure.com/msazure/db635de9-6980-4e4a-9a68-c3252d82e537/_apis/git/repositories/8e69880b-41c2-4031-a2c6-f0af88baecd7/blobs/cf70d4db49fc9148cc473f51cb9d87013b06ad6b"
          }
        }

Todo:

At design time, the signature should return UntypedObject.
At runtime, we see the response is json, and create a json impl of the untyped object.

This is not working in Power Apps

Not supported yet as the swagger defines a Dictionary in the return type, which we don't support
https://swagger.io/docs/specification/data-models/dictionaries/

This part of the swagger
    "_links": {
      "description": "Collection of links relevant to resource.",
      "type": "object",
      **"additionalProperties": {
        "$ref": "#/definitions/GenericLink"
      }**,
      "x-ms-summary": "Links",
      "x-ms-visibility": "advanced"
    },

Notes
Json payload contains \u0026 which should be &
Server returns 500


Can't find OT2 device via USB, except disable local PC's network card

overview
With Opentrons app version 3.7.0. It can't find OT2 device via USB.
current behavior
Can't find OT2 device via USB with Opentrons App.
steps to reproduce

Local PC's network card is enable.
Power ON OT2
Connect PC and OT2 via USB line.
Open Opentrons App in local PC.
==> Can't find OT2 device via USB and network status is unidentified network.

Note: Opentons App can find OT2 device if disable local PC's network card.
expected behavior
Opentrons App can find OT2 device via USB.

Hi @simonchih, from the description of your symptoms, this sounds like a problem with your computer's networking / routing setup. I recommend reviewing our networking requirements support document.
If you're still having issues, please reach out to our support team at https://support.opentrons.com or via in-app chat. I'm going to close this ticket because it is best handled by our support team, but I will re-open if we end up uncovering a bug or potential improvement to make!


Document batch process flow for users

Create documentation on the repo for how the batch process architecture and workflow is structured.
Should include

Visual of services involved
Sequential order

Duplicate of #221


Strange LoadingLimitException case

With the following fixtures files:
AppBundle\Entity\Server:
    server (template):
        hostedDomain: sample.net
        mac: <macAddress()>
        sshUser: toor
        sshPort: 4242
        mysqlHost: localhost
        mysqlRoot: <password()>
        webServer: apache
        webServerSslListen: <IP_ADDRESS>
        webServerSslPort: 443
        mysqlServer: true
        status: 1
        installedAt: <dateTime()>
    server_{1..9} (extends server):
        name: server_<current()>

I got the following error:
 [Hautelook\AliceBundle\Alice\DataFixtures\LoadingLimitException]
  Loading files limit of 5 reached. Could not load the following files: /home/sullivan/projects/project/src/AppBundle/DataFixtures/ORM/server.yml

And it works well if I remove this line:
        installedAt: <dateTime()>

I don't think this is the real error. I think upper exception is catched but no way to know what is happening.
Any solution for this?

If you have the time to debug it should be around here. Maybe the exception should give a part of the \UnexceptedException message or have a logger to log it rather than silencing it

It would be great to list all encountered exceptions when limit is reached on cli.

Or just show the exception message while processing. With the verbose option maybe?

Well, the thing is it's not something happening in the command but inside the loader, which have no idea about the verbosity set. So we can either put the messages of the exceptions encountered when the LoadingLimitException is thrown or put that in a logger.

I any case, having thoses message on cli result would be nicer. :-)

Just having an idea: Why not store each error messages and display all when the limit is reached?
Could be done with a verbose option (-v) for people that not want a huge display?
What do you think? Could work on it to see if it's possible.

It would be great to have a verbose mode, but as I said the issue is that the loader has no idea of the verbosity. It might be worth logging it but as always logging can easily lead to performance issues.
If you have some ideas about it I'm all ears. But the first (easy) move would be to enhance the LoadingLimitException message.

But the first (easy) move would be to enhance the LoadingLimitException message.

I would start this way so.

I encountered this bug in a different case, when a fixture made a reference to one in other file.
I use AliceBundleExtension https://github.com/theofidry/AliceBundleExtension and I load 2 files:
    And the fixtures file "Event.yml" is loaded
    And the fixtures file "Participant.Type.yml" is loaded

In Participant.Type.yml there is a reference to Event.yml :
Participant\Type:
    visitor:
        event: @event_1
        title: Visitor

The Event.yml is loaded but not the Participant.Type.yml. I have the following error:
Loading files limit of 5 reached. Could not load the following files: (...)/Participant.Type.yml (Hautelook\AliceBundle\Alice\DataFixtures\LoadingLimitException)
If I remove this reference event: @event_1, Participant.Type.yml  is loaded successfully.

@supertanuki I'll need more information:

where are you putting the Event.yml and Participant.Type.yml files? Are they the same for the Behat and the bundle?
Can you print the full stack of the loading in verbose mode?

yes there are the same for bundle and behat, its work when there is not links between fixtures
here the verbose mode:

And the fixtures file "Participant.Type.yml" is loaded                         # Fidry\AliceBundleExtension\Context\Doctrine\AliceORMContext::thereAreFixtures()
      Loading files limit of 5 reached. Could not load the following files: src/Bundle/InfrastructureBundle/DataFixtures/ORM/Participant.Type.yml (Hautelook\AliceBundle\Alice\DataFixtures\LoadingLimitException)

Hang on, does it works with HautelookAliceBundle but not AliceBundleExtension is that it?

Ok I found the problem, it is a problem in AliceBundleExtension. In AbstractAliceContext, in thereAreFixtures function, it load one file. When there is references in fixtures files, we need to load all files together.
So we need to have another step to load several files in same time : And the fixtures "Event.yml, Participant.Type.yml" are loaded for example.

Yes that's a step I had in mind for some time now but didn't find the time to do it. I would rather have something like:
Given the following fixtures files are loaded:
  | Event.yml |
  | Participant.Type.yml |

Should be quite easy to add it. Could you provide a PR for that one?


Remodel initialization

Could you consider remodelling initialization so it will follow two-phase model, like Flask-Security and a lot of other Flask extensions?
Here's an example of the pattern being used in application (FlaskBB):
Phase 1 - Module where all extensions' objects are defined
Phase 2 - Initializing all the extensions in function called form app factory function
AFAIK, it's currently impossible to do the two-phase initialization of Flask-User without making a circular import, because of object-creation-time dependencies:

flask_user.UserManager() extension object (defined in extensions.py)

flask_user.SQLAlchemyAdapter() helper object (defined wherever)

UserModel  model class (defined in users blueprint)

flask_sqlalchemy.SQLAlchemy() extension object (defined in extensions.py)

And here's how Flask-Security facilitates that.
Would you accept a pull request if I were to implement the change proposed here?

Greetings, just to clarify, what is the issue you are having specifically?  Would you like user_manager to be defined in an extension.py file like Flask-WTF, Flask-SQLAlchemy, Flask-Mail, etc., and then initialize them in the main app factory function?
This is how I do it:
user.py
from .ext import db
from .models import User

db_adapter = SQLAlchemyAdapter(db, User)
user_manager = UserManager(db_adapter)

ext.py
from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()

app.py
from .user import user_manager

def configure_extensions(app):
    user_manager.init_app(app)

Hi, thanks for fast reply.
I've already seen the pattern you described above in Flask-User-starter-app
.
You basically nailed it - I wanted to have all the Flask extension objects defined in one place.
It's more a matter of code organisation than anything else for me.
Do you see any reason against making this change in the initialization routine that I'm not aware of?
I am aware that it may be not needed for anything besides enabling this kind of 2-phase extensions init.
As far as I know, some extensions like db = SQLAlchemy() objects need to be defined in some global place and available early on, because a lot of other files depend on them (all the models).
I don't know if this is the case with UserManager object - does it need to accessed in code after initialization, or is it "fire and forget" kind of extension object?
I am aware that there is another way to access extension objects after the app is initialised, flask.current_app.extensions['user'] (one needs application context to use it, though), so as I said, as far as I understand, it's just a matter of code organisation.

I believe you are requesting to move the kwargs initialization from init() to init_app(). This seems a reasonable request.

This seems rather simple and a change that shouldn't break any existing apps.
Here is an example with tests passing in py2.7 and py3.4:
https://github.com/neurosnap/Flask-User/commit/89aeef671d9ef9baa0ce424c129b2c74834899f3
It might be a good idea to add a test or two for this new change, but this is a good start

Thanks @neurosnap . I've moved ALL the custom parameters to init_app() and added a kwargs param to __init__(). I will release this soon.

Thank you for such fast response times! You two are golden. :)

I've released v0.6.4.
@Xender : I have only tested this with __init__(db_adapter, app, ...), so please test this with init_app(app, db_adapter, ...). Also note the parameter order reversal. Needed this to ensure backwards compatibility.

@Xender @lingthio Happy to help, I think this is a good feature to add.

This is not neither fixeed nor released (v.<IP_ADDRESS>). The UserManager class requires you to hand over app,db and  user classes, which does not comply flask extension rules.
See also:  https://flask.palletsprojects.com/en/1.1.x/extensiondev/?highlight=extension development#the-extension-code
And: https://flask.palletsprojects.com/en/1.1.x/extensiondev/?highlight=extension development#approved-extensions

I've released v0.6.4.
@Xender : I have only tested this with __init__(db_adapter, app, ...), so please test this with init_app(app, db_adapter, ...) and let us know.
Also note the parameter order reversal. Needed this to ensure backwards compatibility.

This is neither fixeed nor released (v.<IP_ADDRESS>). The UserManager class requires you to hand over app,db and  user classes, which does not comply to flask extension rules.
See also:  https://flask.palletsprojects.com/en/1.1.x/extensiondev/?highlight=extension development#the-extension-code
And: https://flask.palletsprojects.com/en/1.1.x/extensiondev/?highlight=extension development#approved-extensions

This is neither fixeed nor released (v.<IP_ADDRESS>). The UserManager class requires you to hand over app,db and user classes, which does not comply to flask extension rules.
I believe you can pass any arguments and the initialization does not take place until init_app() is called. So perhaps it is a simple issue of introducing default values at __init__()?


Oversized table can cause infinite loop

Starting from v1.1 tables can span multiple pages. That solve the problem more elegantly.


chore(Dependencies) : update jsoniter-scala-core, ... from 2.20.7 to 2.23.3

About this PR
📦 Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.20.7 to 2.23.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #643.


MODE-2602 Updates the WF kit so that module names for built-in components don't require explicit configuration

@hchiorean, looks good.


Fix broken CircleCi build.

PR type: bugfix
Related issue(s)/PRs: N/A
Summary
Proposed changes

Install dependencies into virtual environments, to avoid conflicts with pre-installed packages.
Fix the version of Tensorflow and Tensorflow Probability used on CircleCi, to fix issue where the current latest versions aren't compatible.
Consistently use the newest version of pip on CircleCi.
Consistently turn off progress bars in pip on CircleCi, as progress bars are not useful in logs.

What alternatives have you considered?

Constrain the version of Tensorflow / Tensorflow Probability in our setup.py.

Minimal working example
N/A
Release notes

Fully backwards compatible: yes
If not, why is it worth breaking backwards compatibility:
N / A
PR checklist

[ ] New features: code is well-documented

[ ] detailed docstrings (API documentation)
[ ] notebook examples (usage demonstration)

[ ] The bug case / new feature is covered by unit tests
[ ] Code has type annotations
[x] Build checks

[ ] I ran the black+isort formatter (make format)
[x] I locally tested that the tests pass (make check-all)

[x] Release management

[x] RELEASE.md updated with entry for this change
[x] New contributors: I've added myself to CONTRIBUTORS.md

In principle I'm happy with anything that gets the build running again. Is there some way that allows for "consistent tf/tfp version" whilst making it harder to forget to check whether it works with an updated tensorflow version at all?


Supporting of #issue1050 changing host url

If you can please provide relevant maven dependency for this
https://github.com/springfox/springfox/issues/1050
changing host url

2.5.0. Have you read the docs?

@Configuration
@EnableSwagger2
public class SwaggerConfig {

    @Bean
    public Docket pscApi() {
        return new Docket(DocumentationType.SWAGGER_2)
                //.groupName("PSC");
                .apiInfo(apiInfo())
                .select()
                .apis(RequestHandlerSelectors.basePackage("restService.com.websystique.springmvc"))
                .paths(PathSelectors.any())
                .build();
        //PathSelectors.regex("/api/.*")
    }

    private ApiInfo apiInfo() {
        return new ApiInfoBuilder()
                .title("RestApiOfPSC")
                .description("REST API for PSC.")
                .build();
    }
}

In your docket where you define your bean add the following
docket.host("http://yand.ru")

It doesn't work for me
If you have time please look at
http://stackoverflow.com/questions/39147582/how-to-set-host-url-for-springfox-more-exact-springfox-swagger2-in-spring-mvc

I think you should not prefix with http/https, seems by default it is prefixing like below:
I think he makes use of protocols option and if not available takes it from server url's protocol.
Looks good, thanks for commit.

Hi,
I am facing the same issue, how to get the host name "yand.ru" if it is dynamic. in my case my rest service is running under DNS name and it doesn't need a port but in request spring url it appends the port to the dns when the rest call so the server is not reaching and get {error : no response from server }
can some one help how to configure the docket for the DNS and running under load balancer .
thank you


[mosquitto] Update container image to v2.0.14

Signed-off-by: Tero Paloheimo<EMAIL_ADDRESS>Description of the change
The container image is updated to the latest version.
Benefits
Having the latest version has possible fixes and / or improvements which may increase security or improve performance, etc.
Possible drawbacks
There may be new bugs or regressions in the new version.
Additional information

Checklist

[X] Title of the PR starts with chart name (e.g. [home-assistant])
[X] Chart version bumped in Chart.yaml according to semver.
[X] Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.

I should have checked that better :/ Sorry about that!


Code Generation - Seeking Free Resources

We're building a comprehensive resource collection for developers at Free For Geeks.
We're currently looking for high-quality, free resources on Code Generation to add to our website.
If you've come across any fantastic free Code Generation resources that you think would benefit our developer community, please share them in the comments below! We'd love to include them on our site with proper attribution.
Thank you for your contributions to empowering developers everywhere! ✨

Thank you for raising this issue. We're dedicated to enhancing our developer resources at Free For Geeks. We've curated high-quality, free resources on Code Generation, including comprehensive guides from JetBrains, open-source tools on GitHub, and robust frameworks like Swagger Codegen and Apache Velocity. These resources aim to empower developers with efficient code-creation techniques and automation tools.

I'm not sure what you mean with your message.
Would you like to contribute @AACHAL2303PATIL?

Yes I would like to contribute

Yes I would like to contribute

That is great news, please follow the CONTRIBUTING guidelines for details.
I will be happy to review your PR 😀


Update expand-os-disk.md

The line 225 has a closing brace missing in it, making an incomplete command.
PS C:\Users> ($vm.StorageProfile.DataDisks | Where ({$_.Name -eq 'Disk Name'}).disksizegb
Missing closing ')' in expression.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordExcep
tion
+ FullyQualifiedErrorId : MissingEndParenthesisInExpression
PS C:\Users> ($vm.StorageProfile.DataDisks | Where ({$_.Name -eq 'Disk Name'})).disksizegb
256
Thank you.

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

@kirpasingh - Hi, would you review the proposed update to your article?
Publishing in this repository is suspended until Tuesday, September 22; merging will resume at 7 AM Pacific Tuesday. With your #sign-off, we can merge the PR at that time.
Thanks.

#sign-off


Is there any way to hide the saparator in dock

Now I've successful remove finder icon and trash icon, but there is a separator in the right, I'm using Catalina
And i restart the computer,the separator is in the left ...

I don't know which file to edit, how to do this?

Hi!
Unfortunately my main computer isn't macOS right now; IIRC there wasn't an easy way to hide that separator. :(


Drawing a FBO to another FBO results in blurriness

Drawing an FBO to another FBO results in blurriness, especially noticeable with text, example below. This doesn't happen if you're drawing a FBO directly to the screen, only when you draw a FBO to another and then to the screen. Something to do with blending? The shader?

 Things get blurry. How do you draw to the second fbo?
Sent from my iPhone

On 16 Mar 2018, at 5.43, RandomErrorMessage<EMAIL_ADDRESS>wrote:
Especially noticeable with text, example below. This doesn't happen if you're drawing a FBO directly to the screen, only when you draw a FBO to another and then to the screen. Something to do with blending? The shader?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You were correct about it being a sub-pixel issue. Thanks a ton!


Adding support for "api_management_named_value" in API Management module

Named value is a key feature for the module, permits certificates and secrets import from AzureKeyVault.

hi @enricomitri, is this something you are willing and can contribute, or is this something you want us to add in the backlog? (cc @SergioMiyama)

Hi @arnaudlh, @SergioMiyama sorry for the late reply. It would be a better option if you add this to your backlog, due to my low experience and free time at the moment. I'm glad to contribute with testing. Thanks


Control Plane Quick Start documentation inconsistencies

Description
Control Plane Quick Start inconsistencies:
Prometheus operator deployment
Prometheus operator deployment command refers to the https://raw.githubusercontent.com/prometheus-community/helm-charts/main/charts/kube-prometheus-stack/crds/crd-servicemonitors.yaml,  which results in HTTP 404.
kyma alpha deploy command
kyma alpha deploy -k https://github.com/kyma-project/lifecycle-manager/config/control-plane

- Successfully connected to cluster (33ms)
- Deployed cert-manager.io in version v1.11.0 (4.454s)
- Used Lifecycle-Manager: europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager:latest (0s)
- Kustomizations deployed: [https://github.com/kyma-project/lifecycle-manager/config/control-plane] (5.66s)
X error patching CoreDNS: All attempts fail:
#1: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41
#2: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41
#3: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41 (4.075s)
Error: All attempts fail:
#1: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41
#2: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41
#3: Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41

This doc will be removed: https://github.com/kyma-project/lifecycle-manager/issues/1447


Adds conformance tests for AWS Secrets store component

Description
Adds conformance tests for the AWS Secrets manager component, so it can move to beta status
Issue reference
https://github.com/dapr/components-contrib/issues/3504
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

The cloud test isn't running on the PR. Looks like it's dependent on an env variable. Maybe we have that set for runs on master only?

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

Passing on docker: https://github.com/dapr/components-contrib/actions/runs/11695560360/job/32572844939
Passing on cloud: https://github.com/dapr/components-contrib/actions/runs/11695560360/job/32572844760

Draft PR here: https://github.com/dapr/docs/pull/4421


[chttp2] Enable new huffman encoder by default

umm, didn't we not want to do this immediately and wait for some time?

we've had a day of every test internally running this

(or will have by the time i hit submit)


[Question/Discussion] Deadlinks checker in documents across the repo/library

Just like I have this issue on https://github.com/neomatrix369/awesome-ai-ml-dl/issues/54, I have found a way to manually check for deadlinks in all of my markdown files in a repo.
I think there should be something that looks for such links in .rst and other document files as well.
When we find out, it would be good to add it to the pre-commit CI/CD GH action.
Can also be added to the local pre-commit.
In both cases it should be run when files that may contain hyperlinks are being committed

Why not just use python -m sphinx . _build -b linkcheck/make linkcheck inside the docs dir?

Great idea!

When we find out, it would be good to add it to the pre-commit CI/CD GH action.

Can also be added to the local pre-commit.

Anything that runs as a local pre-commit hook also runs in the GH pre-commit action.

Why not just use python -m sphinx . _build -b linkcheck/make linkcheck inside the docs dir

Nice! I think that would make for a great local pre-commit hook (so that feedback is faster than if you wait for the CI jobs)

IMHO having it as tox tests (e.g. tox -e docs and tox -e links) would make more sense, since the docs aren't changed that often and the tests take quite some time. I don't think anyone would want to wait 20sec per commit.

I didn't realise it took that long - sure, that makes sense then!

Looks like you guys have actioned this suggestion already - super cool!

Looks like you guys have actioned this suggestion already

Are you sure?  I didn't think we had 🤣

Oh! Really! You haven't :P  ! Few  ideas were thrown, in the conversations above - not worth pursuing? I was suggesting for the .md files and not just the docs generated.
But maybe it's not useful or applicable.

Yes, I think it's useful (thanks for the suggestion!), we just haven't got round to doing it yet

Yes, I think it's useful (thanks for the suggestion!), we just haven't got round to doing it yet

I'll give it a whirl, leave it to me, and if don;t then just beat me to it! ;)

@neomatrix369 the link check should be allowed to fail on CI, since servers might be temporarily down (e.g. codecov times out quite often).


Rename "Register" to "Point of Sale"

To maintain naming consistency with our product
https://www.sellercommunity.com/t5/General-Discussion/FYI-Square-Register-is-now-Square-Point-of-Sale/td-p/29322

Here are all the lines that still use the word "register".
~/Development/register-android-sdk salvatoret/rename-register-point-of-sale cat <(git grep register) <(git grep Register)

Most references are to URLs except for the Intent which will take a bit more song and dance to not break backwards compatibility.
.github/CONTRIBUTING.md:If you would like to contribute code to register-android-sdk, you can do so through GitHub by
README.md:[Get started](http://docs.connect.squareup.com/articles/register-api-android/)!
README.md:git clone https://github.com/square/register-android-sdk.git
README.md:cd register-android-sdk
build.gradle:  POM_URL="http://github.com/square/register-android-sdk/"
build.gradle:  POM_SCM_URL="http://github.com/square/register-android-sdk/"
build.gradle:  POM_SCM_CONNECTION="scm:git:https://github.com/square/register-android-sdk.git"
build.gradle:  POM_SCM_DEV_CONNECTION="scm:git:git@github.com:square/register-android-sdk.git"
point-of-sale-sdk/src/main/java/com/squareup/sdk/pos/PointOfSaleApi.java:  private static final String NAMESPACE = "com.squareup.register.";
point-of-sale-sdk/src/main/java/com/squareup/sdk/pos/RealPointOfSaleClient.java:      "register-sdk-" + BuildConfig.LIBRARY_VERSION + "-" + BuildConfig.GIT_SHA;
sample-bikeshop/bikeshop.properties.example:# See https://docs.connect.squareup.com/articles/register-api-android/#registerapisetup
Binary file sample-bikeshop/sample-bikeshop-release.apk matches
sample-hellocharge/hellocharge.properties.example:# See https://docs.connect.squareup.com/articles/register-api-android/#registerapisetup
sample-homecharge/homecharge.properties.example:# See https://docs.connect.squareup.com/articles/register-api-android/#registerapisetup
sample-homecharge/src/main/java/com/example/homecharge/App.java:    registerActivityLifecycleCallbacks(new ActivityLifecycleCallbacksAdapter() {
Binary file sample-bikeshop/sample-bikeshop-release.apk matches

Did you rebuild the APKs (I think it might be just bikeshop) and replaced them? They live in the repo to make for easy download.

@pyricau, I did!

squashed commits and moved the project name back to point-of-sale-sdk


done task7.txt

issue:#216
installed whiteshark and added link to screenshot showing http protocols

Hey @sanjitha006
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!

Hey @sanjitha006
Your PR has been merged 🥳🥳 and you have earned 20 points.
Thanks for contributing in OpenCode'24 ✨✨


Don't replace version in libraryDependencySchemes

This behavior surprised me: I have this set up in a build
ThisBuild / libraryDependencySchemes ++= Seq(
  "io.circe" %% "circe-core" % "early-semver",
  "io.circe" %% "circe-numbers" % "early-semver",
  "io.circe" %% "circe-jawn" % "early-semver",
  "io.circe" %% "circe-parser" % "early-semver"
)

and then some dependencies like "io.circe" %% "circe-parser" % "0.14.2",. The tool updated the early-semver strings to say 0.14.2, which is not valid. I think it should only replace strings where the "previous" value matches the number shown in the version diff.

👍 Good bug! Will fix 😄


NER

Imagining something like navigating to any page, invoking a shortcut that then pops up a textbox with NER-processed version of that page in Markdown, which you can then hit "accept" to replace the page with the NER'd blocks.
The example in this tweet with The Prince is a good one: the text was run through Named Entity Recognition to identify potential words/phrases to tag based on recognizing them as entities such as people, locations, etc. So rather than one having to manually tag the things they think should be relevant, this automatically identifies useful things to tag for you.

Roam42 Issue Log Audit - Could beome a RoamJS extension if user interest resurfaces


README.md: add Gentoo installation instructions

Hey, thanks for your contribution - I updated the docs on next which will be released soon.


Add re-sort button or capability

Right now, we don't want to automatically re-sort items as they change the scheduled dates or priorities per item, because the items could move, making the next action the user performs likely to misfire.
When the person is done making changes, we would like to re-sort.  This could be done by either:

Entering a mode for editing issues that when exited will automatically re-sort
Having a dedicated re-sort button (most straightforward)
Building in some time delay for re-sorting, with some auto-canceling of that if they try to change priority again.  There may not be a valid an unambiguous option 3 here.

I recommend implementing Option 2 first, and then monitoring usage of the feature.

This issue is closed by PR #21


WIP master <- develop

Merge the develop branch into the master branch and deploy

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/2a2b47a0-dffd-4bd3-bbbb-d31a77da032d/artifacts/0/index.html


Default compression settings of 10.0 trigger NegotiationError when connecting to buggy servers like bybit

I'm trying to use a websocket api from bybit, which you can find the manual in the link below.
https://bybit-exchange.github.io/docs/linear/#t-websocket
When used with "websockets 10.0", it raises exception when connecting to the websocket server, but I solved this by giving the argument "compression=None".
However, even with "websockets 9.1", I cannot receive any data from this websocket server.
I do not have any knowledge on websocket protocol, but when I used other library such as "websocket-client", or different languace, C#, I could receive data successfully. So, I suspect that this problem occurs because of the "websockets" library not by the bybit websocket server.
Below I add my code.
import asyncio
import websockets
import json

url_bybit = 'wss://stream.bybit.com/realtime_public'

async def get_bybit_price():
    ws_bybit = await websockets.connect(url_bybit, compression=None)

    data = {
        "op": "subscribe",
        "args": ["candle.1.BTCUSDT"]
    }
    await ws_bybit.send(json.dumps(data))

    while True:
        data = await ws_bybit.recv()
        data = data.replace("'", '"')
        data = json.loads(data)

        print(data)

asyncio.run(get_bybit_price())

Edit: I found that this code works with "websockets 9.0"

I suspect that this problem occurs because of the "websockets" library not by the bybit websocket server.

Your suspicion is wrong.
The server doesn't implement https://www.rfc-editor.org/rfc/rfc7692.html#section-7.1 correctly.
Could you please report it to bybit.com and add a link here, so that other affected users can figure it out easily?
Specifically, the server breaks this requirement:

A server accepts an extension negotiation offer with this parameter
by including the "server_max_window_bits" extension parameter in the
extension negotiation response to send back to the client with the
same or smaller value as the offer.

Note how there's no server_max_window_bits parameter in the Sec-WebSocket-Extensions header in the response, despite the Sec-WebSocket-Extensions header in the request containing this parameter:
DEBUG:asyncio:Using selector: KqueueSelector
DEBUG:websockets.client:= connection is CONNECTING
DEBUG:websockets.client:> GET /realtime_public HTTP/1.1
DEBUG:websockets.client:> Host: stream.bybit.com
DEBUG:websockets.client:> Upgrade: websocket
DEBUG:websockets.client:> Connection: Upgrade
DEBUG:websockets.client:> Sec-WebSocket-Key: zre7Cvol9I8nk0KKe9UyqA==
DEBUG:websockets.client:> Sec-WebSocket-Version: 13
DEBUG:websockets.client:> Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=12; client_max_window_bits=12
DEBUG:websockets.client:> User-Agent: Python/3.10 websockets/10.0
DEBUG:websockets.client:< HTTP/1.1 101 Switching Protocols
DEBUG:websockets.client:< Connection: upgrade
DEBUG:websockets.client:< Date: Tue, 12 Oct 2021 06:55:54 GMT
DEBUG:websockets.client:< Upgrade: websocket
DEBUG:websockets.client:< Sec-WebSocket-Accept: vyj9cBmZdB+VOCShw0sTY7zgqj8=
DEBUG:websockets.client:< Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover; client_no_context_takeover
DEBUG:websockets.client:< X-Cache: Miss from cloudfront
DEBUG:websockets.client:< Via: 1.1 16de6e3636993b2d3f832b9ae653bd69.cloudfront.net (CloudFront)
DEBUG:websockets.client:< X-Amz-Cf-Pop: CDG50-P1
DEBUG:websockets.client:< X-Amz-Cf-Id: DZcGZcQRgLbvu9uHCyM2Nzy0kyBof8DzFbfTfe4me1RUPPsU_c3CxA==
DEBUG:websockets.client:! failing connection with code 1006
DEBUG:websockets.client:x closing TCP connection
DEBUG:websockets.client:= connection is CLOSED
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/myk/.pyenv/versions/3.10.0/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Users/myk/.pyenv/versions/3.10.0/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
    return future.result()
  File "<stdin>", line 2, in test
  File "/Users/myk/dev/websockets/src/websockets/legacy/client.py", line 650, in __await_impl_timeout__
    return await asyncio.wait_for(self.__await_impl__(), self.open_timeout)
  File "/Users/myk/.pyenv/versions/3.10.0/lib/python3.10/asyncio/tasks.py", line 447, in wait_for
    return fut.result()
  File "/Users/myk/dev/websockets/src/websockets/legacy/client.py", line 659, in __await_impl__
    await protocol.handshake(
  File "/Users/myk/dev/websockets/src/websockets/legacy/client.py", line 332, in handshake
    self.extensions = self.process_extensions(
  File "/Users/myk/dev/websockets/src/websockets/legacy/client.py", line 221, in process_extensions
    raise NegotiationError(
websockets.exceptions.NegotiationError: Unsupported extension: name = permessage-deflate, params = [('server_no_context_takeover', None), ('client_no_context_takeover', None)]

Thanks for your careful review. I will forward your suggestion to the Bybit team.
Can you please check two more servers? They both work well with "websockets 9.1", but I cannot receive any data from both of them with "websockets 10.0".
import asyncio
import websockets
import uuid
import json

url_binance = 'wss://fstream.binance.com/ws/'
url_upbit = 'wss://api.upbit.com/websocket/v1'

async def get_binance_price():
    ws_binance = await websockets.connect(url_binance)

    data = {
        "method": "SUBSCRIBE",
        "params": ['btcusdt@kline_1m']
    }
    await ws_binance.send(json.dumps(data))

    while True:
        data = await ws_binance.recv()
        data = data.replace("'", '"')
        data = json.loads(data)

        print(data)

async def get_upbit_price():
    ws_upbit = await websockets.connect(url_upbit)

    data = [
        {"ticket": str(uuid.uuid4())[:6]},
        {"type": "trade", "codes": ["KRW-BTC"]},
        {"format": "SIMPLE"}
    ]
    await ws_upbit.send(json.dumps(data))

    while True:
        data = await ws_upbit.recv()
        data = data.decode('utf8').replace("'", '"')
        data = json.loads(data)

        print(data)

asyncio.run(get_binance_price())
#asyncio.run(get_upbit_price())

Version 10.1 is available on PyPI.


Lab Manual missing details

For Getting Started with the SharePoint Framework, on Exercise 1, step 5 (Select Create a new app catalog site option & select the OK button. ). I spotted the issue below.
This is right after I click OK.
Sorry, something went wrong
Updates are currently disallowed on GET requests.  To allow updates on a GET, set the 'AllowUnsafeUpdates' property on SPWeb.

According to this post, it may take some time. So a little background, I had recently setup an E5 trial tenant and after 20 mins I attempted to create the app catalog. I will try again later today. Hopefully it works by then.

It is working now. I guess it takes about an hour to resolve itself but I think is worth mentioning that in the article.


Use cloud config to provide Juju configuration options instead of rel…

This PR changes the way the juju provider obtains credentiials and other config information. Previously in the CLI version of the autoscaler, config was read from various yaml files placed in the container filesystem by the charm. The juju API can authenticate the same way using those files (the juju clientstore), and this method of authentication was used previously. However, the autoscaler can be provided a --cloud-config argument which is a file path to a cloud configuration file. This is how other cloud providers are configured, and aligns more closely with upstream configuration methods.
This new cloud configuration file is a simple yaml file:
username: username
password: secure_password
endpoint: <IP_ADDRESS>:12345
cacert: |
  -----BEGIN CERTIFICATE-----
 AAkssdfiasdfkasdflkasdfkasdf ...
  ...
  ...
  -----END CERTIFICATE-----
modeluuid: asdf-asdf123-asdfasdfasdf

The autoscaler application requires the cloud config option be provided like so:
./cluster-autoscaler --cloud-config=/path/to/jujuCloudConfig.yaml

Does it still handle multi-model?

Does it still handle multi-model?
I didnt think the CLI version handled multi model either.

Does it still handle multi-model?

It does now! Forgot the scale config covered that. I removed the model uuid from the cloud config so muti model should work as it did before.


Omit prefix from {{new_note_title}}

Is it possible to set {{new_note_title}} to not include the prefix?
My prefix is set to:
{{date:YYYYMMDDHHmm}} -
My refactored note template is set to:
---
tags:
alias: {{new_note_title}}
---
My goal is for the refactored note to look like this
---
tags:
alias: The Title
---
Instead of this:
---
tags:
alias: 20220220 - The Title
---

+1 for this feature request!

I too would like to see this functionality be made possible.
The way I would like to do it is if I could modify it to retain the original title as the new placeholder.


SPARKC-323: Fix Violation of Partition Contract

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

+1

+1


CPM counter

would be neat if this could be used to track your typing skills:

cpm counter for a-z, 0-9 and symbols separately
wpm counter based on spacebar
accuracy based on backspace use

@wmertens The idea of this project is to build a sophisticated Keylogger but not a typing skills project.
Anyone interested can just fork this repo and build that project on top of Keylogger.

I tried building, but it complains it can't open the HID when I run it :(

@wmertens That is strange. I have never encountered that error before. And apple documentation just mentioned about the possibility of that error but didn't mention any possible reasons for that though.
I have downloaded the project and ran in the Xcode. It runs fine.
So, can you try and answer these?

Did you build and ran the project in Xcode after downloading the repo without changing it? If you changed anything, can you please say which lines you have edited/changed so that I can reproduce the error on my machine?

Try to disconnect all the devices(maybe problem occurring due to other devices) and then try again with clean build project in Xcode.

Try to shutdown(all the applications closed) and start your mac(also disconnect all external devices) and then try again with clean build project in Xcode.

If all of them fail, try to download the binary from Releases Tab and run it once. Believe me the binary is safe and I didn't try to include any malware in that.

If all these fail(lets hope not), then I can't solve it because neither I nor others have never encountered this problem.

Strangely, I'm having the same prob with openHIDManager! Looking through the code but haven't made any progress

@wmertens @boltronic Any update? Did it work?

This is not working

How to hide it from the taskbar?

@ayush169 Unless you are gonna post screenshots or explain it properly, I have no interest in helping people who can't even ask questions properly or get back to me with a proper update.
And honestly what does your question/issue has to do with the CPM counter issue?
And here is a fun fact: I'm not a support girl/guy to ask you each and every question and walk you through the issue. Show some respect and effort before asking vague one-sentence questions. I don't have all day to keep asking you questions and waiting for your answers.
Want a proper and decent answer? Try to explain your issue in a new/old issue according to your existing issue with a detailed steps about what you did along with a proper error message or screenshots and explain what you want or expecting clearly.
I'm happy to walk you through the solution/answer but I'm not gonna do that for knowing what is your issue. If you can't even explain your issue properly I may have to visit your house to fix the problem because you are not gonna understand the solution/answer written here.
So, if you want a solution? Show some effort to explain it properly.
Sorry but not sorry...
Peace ✌🏻


Add missing ILoadBalancer parameter to http handlers

/azp run to confirm there are no surprises

No pipelines are associated with this pull request.

Cool, thanks pipeline bot... https://dev.azure.com/SteeltoeOSS/Steeltoe/_build/results?buildId=3687&view=results


v0.6.0 breaks aws_cloudwatch_log_group names

Describe the Bug
#74 actually breaks aws_cloudwatch_log_group names
# module.lambda_cloudtrail_lookup[0].module.cloudwatch_log_group.aws_cloudwatch_log_group.default[0] must be replaced
-/+ resource "aws_cloudwatch_log_group" "default" {
      ~ arn               = "arn:aws:logs:us-east-1:012345678910:log-group:/aws/lambda/compromised-keys-cloudtrail-lookup" -> (known after apply)
      ~ id                = "/aws/lambda/compromised-keys-cloudtrail-lookup" -> (known after apply)
      ~ log_group_class   = "STANDARD" -> (known after apply)
      ~ name              = "/aws/lambda/compromised-keys-cloudtrail-lookup" -> "namespace-environment-stage-/aws/lambda/compromised-keys-cloudtrail-lookup" # forces replacement
      + name_prefix       = (known after apply)
      ~ tags              = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-cloudtrail-lookup"
        }
      ~ tags_all          = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-cloudtrail-lookup"
            # (15 unchanged elements hidden)
        }
        # (2 unchanged attributes hidden)
    }

  # module.lambda_delete_key[0].module.cloudwatch_log_group.aws_cloudwatch_log_group.default[0] must be replaced
-/+ resource "aws_cloudwatch_log_group" "default" {
      ~ arn               = "arn:aws:logs:us-east-1:012345678910:log-group:/aws/lambda/compromised-keys-delete-key" -> (known after apply)
      ~ id                = "/aws/lambda/compromised-keys-delete-key" -> (known after apply)
      ~ log_group_class   = "STANDARD" -> (known after apply)
      ~ name              = "/aws/lambda/compromised-keys-delete-key" -> "namespace-environment-stage-/aws/lambda/compromised-keys-delete-key" # forces replacement
      + name_prefix       = (known after apply)
      ~ tags              = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-delete-key"
        }
      ~ tags_all          = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-delete-key"
            # (15 unchanged elements hidden)
        }
        # (2 unchanged attributes hidden)
    }

  # module.lambda_notify_security[0].module.cloudwatch_log_group.aws_cloudwatch_log_group.default[0] must be replaced
-/+ resource "aws_cloudwatch_log_group" "default" {
      ~ arn               = "arn:aws:logs:us-east-1:012345678910:log-group:/aws/lambda/compromised-keys-notify-security" -> (known after apply)
      ~ id                = "/aws/lambda/compromised-keys-notify-security" -> (known after apply)
      ~ log_group_class   = "STANDARD" -> (known after apply)
      ~ name              = "/aws/lambda/compromised-keys-notify-security" -> "namespace-environment-stage-/aws/lambda/compromised-keys-notify-security" # forces replacement
      + name_prefix       = (known after apply)
      ~ tags              = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-notify-security"
        }
      ~ tags_all          = {
          ~ "Name"                         = "namespace-environment-stage-compromised-keys" -> "namespace-environment-stage-/aws/lambda/compromised-keys-notify-security"
            # (15 unchanged elements hidden)
        }
        # (2 unchanged attributes hidden)
    }

Plan: 3 to add, 0 to change, 3 to destroy.

Expected Behavior
name should be not changed
https://github.com/cloudposse/terraform-aws-lambda-function/pull/74/files#diff-dc46acf24afd63ef8c556b77c126ccc6e578bc87e3aa09a931f33d9bf2532fbbR15
Possible solution: Provide all context variables except name
Steps to Reproduce

Create https://github.com/cloudposse/terraform-aws-lambda-function/blob/main/examples/complete/main.tf on v0.5.5
Update to v0.6.0

Screenshots
No response
Environment
No response
Additional Context
No response

@milldr also I'm curious - did you have tests that check upgrade (print out tf plan changes) from current version to changes in PR, or only test that PR pass tests?

@milldr also I'm curious - do you have tests that check upgrade (print out tf plan changes) from current version to changes in PR, or only test that PR pass creation-removal resources tests?

In most modules we do, but looks like we don't here. I'll revert the last release

To be honest, I think hardcoding /aws/lambda/ is creating issues. I understand that's by default what lambda does if you create it on the UI but we have the freedom to allow the user to chose their pattern if they wish. I will propose a new PR trying to deal with that, let me give another go :)

I've opened PR #79 to revert the changes and add tests and necessary outputs to catch any breaking changes going forward


shovel: feature request - optimize rpc call

Issues
I noticed that the amount of RPC call to the node is more than I have expected. I created 5 integration to index the data, and the amount of rpc call made to the node is proportionally to the integration I have. For context, all my 5 integration uses only eth_getLogs and eth_getBlockByNumber(no txs) and I only indexed the base sepolia blockchain.
I ran the shovel instance for about 55 minutes (i made some error thus started the instances late) and capture the amount of rpc method called, below is the excerpt of the relevant method used:

eth_getblockbynumber: 12426
eth_getlogs: 8263

Given that the block time of base sepolia blockchain is 2 seconds per block.
8264 / 55 / 30 ≈ 5
12426 / 55 / 30 ≈ 7.53
This means that for every integration table, a separate rpc call is made to get the logs.
proposal
Would it be possible that only one rpc call is made or at least fewer rpc call is made, then the event are being decoded and being processed to identify which table does the event data are supposed to be stored.
I am not familiar with go, but assume that all integration data are inserted into the db in a single transaction, the logic would require modifying the address constraint of the get_logs method, map the decoded event data to an array/array of struct/a data structure, then stored the data into db.
I am not familiar with go, so I can't help with it, but I figured I would give you some ideas as I found this to be a very useful program.

Firstly, thanks for the idea! I appreciate you taking the time to outline the scenario. Super helpful. Also, thanks for using Shovel. Glad to know you are getting some utility from it.
Here are some initial thoughts on this proposal:
Each integration in shovel maps to a task. A task has a source (rpc url) and a destination (pg table). Each task builds a filter based on the data requirements for the integration. When the task runs, it will use the filter to determine what sort of api calls to make. This process is somewhat described in the docs. In the case of logs, the task will use the filter to request only logs that are relevant to the integration. Downloading all logs will be slow when your integration only cares about a small subset of the block's logs.
Supporting a system where you can reduce the amount of logs that you download and coalescing log requests is possible but not a change that I will be making in the short term.
I'm not fundamentally opposed to this idea and I would invite a patch if you wanted to make one. If you do want to make a patch for this, please let me know and let's discuss the approach prior to writing code.
Finally, if you are interested in a more powerful and more efficient way of downloading logs, please take a look at the new Index Supply API: https://www.indexsupply.com
I am working on a sync tool that uses the Live Query API and this could be a good alternative to Shovel/RPC.
https://gist.github.com/ryandotsmith/c123ef9fd5f92bf300c8614964d043b9

I understand the bigger picture of the program now, it seems that this isn't an intuitive feature to implement as multiple chains are required to be supported. My initial thoughts are that since the eth_getLogs rpc call are made to the same blockchain, multiple address and events constraint can be made in a single call. However, when considering multiple blockchain are configured for a single shovel instance, then knowing which integration to combine/optimize that uses the same chain requires more planning.
I can't contribute to shovel yet, at least not now because I am not familiar with go lang😅. I will look into the Live Query API, thanks for the input!