webdriver.window.setsize 'InputField.value' not optional?

Hello
Thought this would be simple, however not getting the desired result.
webdriver.window.setsize 380, 520 works fine. looking to create a ComboBox that allows user to select window size they desire. keep getting error (argument not optional)
any help on how this is required to be done, or an alternate method?
`webdriver.Start "chrome", TextBox1.Text
 webdriver.Window.SetSize ComboBox1.value
 webdriver.Get "/"`

my ComboBox value is set as 380, 520 so cant understand why this wont allow it as works using this logic for the URL in TextBox1.text
Thanks

I managed to resolve as my ignorance.
`webdriver.Start "chrome", TextBox1.Text
 webdriver.Window.SetSize ComboBox1.value, CombBox2.value
 webdriver.Get "/"`

Width and height have to be separate fields.


Investigate intermittent issue in OIDC automation tests

The User presents credential through OIDC Share: already signed-in step keeps failing intermittently in CI across numerous runs. We need to find out why this is happening and how to resolve it.
https://github.com/trustbloc/wallet/runs/7454997176?check_suite_focus=true#step:4:2801

Can reproduce this locally (intermittently):

ERROR: failed to validate presentation : JSON unmarshalling of verifiable presentation: invalid character 'u' looking for beginning of value

Throws here in mock adapter:
https://github.com/trustbloc/wallet/blob/main/test/mock/adapter/adapter.go#L461-L473


Update to use new bap interface

This updates bap-ida-python to use the new interface as per https://github.com/BinaryAnalysisPlatform/bap/pull/512
The regex magic being done is just this:

The regex can definitely be optimized further, but probably isn't worth the time required to understand it after the optimizations.

This PR is superseded by 1.1.0 release


Feature/cors plugin

Here is the cors plugin @thibaultCha and @thefosk

Coverage decreased (-0.42%) to 65.49% when pulling ee37526b9a20da8dd2aab909f6de16227e671b5f on feature/cors-plugin into 1cc8a87f54ab29fb40dc73b2076b3683836598b8 on master.

@thibaultCha any feedback on this?

It looks good appart for some code style but since it's a plugin, I don't know how long it will live in this repo anyways. (We should probably brace ourselves to the worst and expect them to be here for a looong time tho...)

Also, #139

Merging this will close #139
On Apr 24, 2015 7:58 AM, "Thibault Charbonnier"<EMAIL_ADDRESS>wrote:

Also, #139 https://github.com/Mashape/kong/issues/139
—
Reply to this email directly or view it on GitHub
https://github.com/Mashape/kong/pull/152#issuecomment-95955873.

Coverage decreased (-0.11%) to 65.8% when pulling 3bf7914193cd91973988def0d91d30a4cf40071e on feature/cors-plugin into 1cc8a87f54ab29fb40dc73b2076b3683836598b8 on master.

Changes Unknown when pulling c26260bdd546d7ae7b56a48fd5f8de45abdeedf0 on feature/cors-plugin into ** on master**.

Changes Unknown when pulling c26260bdd546d7ae7b56a48fd5f8de45abdeedf0 on feature/cors-plugin into ** on master**.

Merged and squashed with 6aebc40d6a833605ef99ffd1b444e989de49c528


Tachyons in src/layouts?

I'm a bit confused as to why put almost the entirety of Tachyons's source code in src/layout as opposed to declare (and use) it as a regular, upgradable dependency (in package.json)?
Thanks

Thanks, I was just curious if there was a reason. I'll chew on it.


Handle the reserved character ':' for HTTP server

Handle the reserved character ':' for HTTP server.

alluxio-bot, merge this please


Provide presto-admin on docker image

Each build should push docker image with presto-admin installed into docker-hub under teradata-labs organization so user can easily install Presto on docker cluster.
This could be done automatically by travis.
Image should be tagged with current version. Snapshot and release version should be tagged differently.

See #143 .

#143

I don't think we should push out a new docker image for every build. It makes more sense to push something for every release.


SA1008 when unpacking a tuple

I have this snippet:
var (variableA, variableB) = MyMethodThatReturnsATuple();

SA1008 is telling me I should not have a space before the opening parenthesis. Like this:
var(variableA, variableB) = MyMethodThatReturnsATuple();

I don't think this is correct.

This also applies to:
public (MyType, MyOtherType) MyMethodThatReturnsATuple()

It wants
public(MyType, MyOtherType) MyMethodThatReturnsATuple()

This problem only occurs when using C# 7.x in combination with StyleCop.Analyzers v1.0.2. Unfortunately this combination is not supported. C# 7.x support has been added in the 1.1.0-beta releases.

The newest 1.1.118 release doesn't resolve this...

@ChrisTorng can you file a new bug for that?


Code of Conduct

Ello. I've noticed you don't have a CoC yet. Care to accept one? I would suggest accepting Contributor Covenant's CoC, believe me it's an incredible CoC, everyone should accept it or at least try it. You would be amazed how great of a CoC it is.
Here is how you can accept a CoC: https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/
It's dangerous to live without a CoC these days, without a CoC you can accidentally hurt someone's feelings and not even notice it. Having a CoC is essential to building a safe space.

Please do, mkay?

Thank you @Koopiq for the issue, just added #b2d0f8.


CMK Encryption Support for Other US regions

Hi,
Is it on your roadmap to support CMK encryption for Central US?
[Enter feedback here]

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

ID: ade067f1-3f3e-73de-0321-bb8d07147cd3
Version Independent ID: e8dc38c4-0114-b7c2-887f-e1d2810206e8
Content: Server-side encryption of Azure Managed Disks - PowerShell - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/disk-encryption.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for the question. We are currently investigating and will update you shortly.

We do not information on this yet, you can use this link to stay informed of new features: https://azure.microsoft.com/en-us/updates/
Will update this thread if there is an update on the same.


Reclaiming pypush package name on PyPI

As you are no doubt aware, this package is using the name pypush on PyPI. This project has been abandoned for close to a decade, and does not appear to have any users or dependents.
I have created my own https://github.com/JJTech0130/pypush, for which unfortunately chose the same name. As I already have many people using it, it is a bit late to change the name, but I would now like to clean it up and publish on PyPI.
I was wondering if you would let me reclaim the package name? I've already reached out to you over email, but I wasn't sure if you received it so I am reaching out here as well.
I'd be really grateful if you'd be willing to do this, but could you please respond with your opinion either way so I know and can rename the project if necessary?
Thanks in advance,
JJTech

Hi, yes you are right that this project is not in active development. However, I do still use it occasionally. Unfortunately I don't think it's a good idea to have the same package name change to a completely different package, as it could cause confusion; and for anyone that still has it installed, it would create very unexpected behavior if they ever upgrade their pip packages.

Hi again!
I don't want to nag you, but I would really appreciate it if you might reconsider your decision. At this point, my pypush project has grown much bigger, to the point where if I rename it now it would cause quite a lot of confusion (referenced by name in a couple of news articles: https://www.wired.com/story/beeper-android-iphone-texting-blue-bubbles/ for example)
At this point, your project has been unmaintained for over a decade, and it is still based on Python 2, which is now completely obsolete.
Looking at the download statistics, it looks like all recent installs have been from recent version of Python, which wouldn't be able to run it, meaning they are either background noise from mirrors and other ecosystem projects, or they are people actually trying to install something else who have the wrong package name.
As you probably know, it's much harder to get a good name on PyPI nowadays, with most short, memorable package names being already taken like this one.
Feel free to reach out to me directly at<EMAIL_ADDRESS>Thanks again,
JJTech

Thanks for the additional context, awesome project! I remember reading about it in the news, didn't realize that was your project. I'd be happy to transfer it, let me know how to proceed. I'm still not sure how pip will behave if I try to upgrade the package after transfer, but there's probably very few people that still have it installed.

Sorry for the late reply, somehow GitHub didn't notify me...
I'm https://pypi.org/user/jjtech/ on PyPI, I think if you just add me in the collaborators tab I should be able to upload releases.
If you want I can start numbering my releases at 2.0.0, just to make extra sure there aren't any weird issues with it pulling the old version or something.
Thanks so much for considering this, really appreciate it!

Invited you as owner, feel free to delete the older releases also. Regardless, starting at version 2.0 seems like a good idea.

Invited you as owner, feel free to delete the older releases also. Regardless, starting at version 2.0 seems like a good idea.

Thanks so much!


Clarify an issue which confused a preview customer

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

#sign-off


Don't disconnect from sync nodes too soon

I noticed this while starting a node with high desired peer counts; it would start disconnecting from peers stating it's over the limit, while it was far from it. It appears that it was the condition checking if too many sync nodes are connected - I relaxed it so that it only goes into force when the node has at least the minimum number of peers.
In addition, since it's highly unlikely that this value will change in that context, the number of currently connected peers is now obtained just once, at the beginning, for improved performance
This PR has the potential to improve issues like https://github.com/AleoHQ/snarkOS/issues/1358.

@howardwu please approve this P1 PR

LGTM


Logging environment in enclave

Hello,
do you know a way to use the log crate inside an enclave? Adding
env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx", default-features = false, features = ["mesalock_sgx"] }

to the Cargo.toml in the enclave, I get errors like String not found in this scope.
Thanks in advance

Just add another example on env_logger's usage.

Thanks @dingelish!!
The sample code works perfectly and the README is very clear.
I was missing the TCSPolicy = 0 and the sgx_env.edl.

@dingelish:  It seems that logging somehow got broken in v1.1.0
If I apply the following patch to teaclave-sgx-sdk tag=v1.1.0
diff --git a/samplecode/logger/enclave/Cargo.toml b/samplecode/logger/enclave/Cargo.toml
index 95e2550d..120a5e52 100644
--- a/samplecode/logger/enclave/Cargo.toml
+++ b/samplecode/logger/enclave/Cargo.toml
@@ -15,7 +15,7 @@ sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }

 [dependencies]
-log = { git = "https://github.com/mesalock-linux/log-sgx" }
+log = { tag = "sgx_1.1.0", git = "https://github.com/mesalock-linux/log-sgx" }
 env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx" }

 [patch.'https://github.com/apache/teaclave-sgx-sdk.git']

then logging doesn't work anymore. Although the commit is the same:
https://github.com/mesalock-linux/log-sgx/commit/1f02c0fffc360b9efb6cd319f402c4a2b28d96e7

@brenzi
It's interesting. I can confirm that the enclave can build with your patch, but cannot print log to console. I guess the reason is that there are "two different log". The one without tag is initiated by env_logger, while the other with tag is not. But for some unknown reason, the env variable RUST_LOG only affects the log with tag which is not associated with env_logger.

Hello everyone!
I've added a logger in the untrusted part and it's working as expected, when I try to add the logger in the trusted part (enclave) the logger doesn't print anything on the console.  However, when I comment env_logger()::init() from the application part, the enclave logger appears. It seems I cannot use env_logger()::init() in both enclave and application simultaneously.
Is there any way to achieve this?


fix print to stdout of cli (#1812)

Type

[ ] Refactor
[ ] Feature
[x] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Updates the CLI Package: The error message for invalid commands will be printed out to stderr instead of stdout, as indicated by the related issue below.
Related

Closes #1812

Bug fixes are kind of breaking by definition :) I'd go with a patch


fix: repair bvm-init shims path

Previously used BVM_DATA_DIR does not work any more, use BVM_INSTALL_DIR instead.
closes: #26

Can someone help me with that shasum error?
---- test::list_command_with_installs stdout ----
thread 'test::list_command_with_installs' panicked at 'called `Result::unwrap()` on an `Err` value: Error("Error installing http://localhost/package3.json. The checksum 222e7d65cb2757e1c72a5fadf2cfdb4d4a68b6c39dac1dd1de1fbe33cb5ae6fc did not match the expected checksum of 862d242cd40cc28a535fbb1fdcad79c9fb2c3f6fac816076a24c5ac3c4298f4e.")', src/main.rs:1649:9
stack backtrace:

That is super weird that that happend. I reran the CI and it worked. There is one area where it's getting the checksum via .as_bytes() then storing the bytes later via .into_bytes() so I'm just going to do .into_bytes() first and only use the same bytes both times.

Yup, silly mistake on my part. Thanks a lot @muuvmuuv!
It's not super stable at the moment because #25 hasn't been implemented.


[FX-4787] Create tickets for major dependabot updates

FX-4787
Description
This pull request enables notify-jira-about-contribution action to create tickets for major dependabot updates.
⚠ Please note that pull request uses some temporary settings to simplify testing, they will be removed before merge
How to test

update title of https://github.com/toptal/staff-portal/pull/11998 pull request, rerun the https://github.com/toptal/staff-portal/actions/runs/7789224900/job/21243203956 action, and observe the output of the action

or

✅ when pull request title is Bump some-dependency from 2.30.0 to 3.1.0, it is detected as major dependency update like in https://github.com/toptal/staff-portal/actions/runs/7789224900/job/21243203956#step:5:329
✅ when pull request title is Bump some-dependency from 4 to 5, it is detected as major dependency update like in https://github.com/toptal/staff-portal/actions/runs/7789224900/job/21243283607#step:5:329
🔴 when pull request title is Bump some-dependency from 3.12 to 3.1, it is not detected as major dependency like in https://github.com/toptal/staff-portal/actions/runs/7789224900/job/21243334555#step:5:329

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers


Is the Thunderbolt and HDMI port working ?

Please let us know if these ports are working too.

Thunderbolt is working when you plug in the TB3 device before boot. HDMI is a little buggy. I turns the internal display black once you plug in the cable. Closing and reopening the lid fixes this until the next time you reboot the Laptop
So technically they're working with some caveats


DOC: <Issue related to /v0.2/docs/integrations/chat/huggingface/>

URL
https://python.langchain.com/v0.2/docs/integrations/chat/huggingface/
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
Hi! First of all, thanks to all of the team for their work!
I've been through some of your tutorials and I have faced many issue, I hope this issue might allow future new user not to be lost.
Since I don't want to give my credit card to OpenAI, I've completed most of Basics Tutorials with ChatOllama but I couldn't finish Build an Agent because it require a ChatModel that can make tool calling.
According to Component/Chat models, ChatHuggingFace has this feature, that's why I've decided to give it a try. It worked like a charm until i was unable to make the model returns a tool call, so I've decided to complete the HuggingFace cookbook.
Besides an error about the expected chat_model.model_id, I was not able to reproduce the return of tool_chain.invoke("How much is 3 multiplied by 12?") and I was getting [] instead of [Calculator(a=3, b=12)]. You also talk about text-generation-inference without giving any link to the reference and using a method different from the one given by Hugging Face in their blog
After signing up to MistralAI, I've compared results replacing ChatHuggingFace with ChatMistralAI and I get the expected result, that's why I think the information concerning the Tool calling's feature of ChatHuggingFace in your documentation is misleading (see related issue).
Idea or request for content:
So I think there is two issues with this cookbook:

on the expected result of chat_model.model_id which should be 'HuggingFaceH4/zephyr-7b-beta').
on the result of tool_chain.invoke("How much is 3 multiplied by 12?") which should be [] with the chosen model.

Also, the API Reference section is present twice.


Add docs for the new Twig Component syntax

Q
A

Bug fix?
no

New feature?
yes

Tickets

License
MIT

see #771

@weaverryan I resolved your comments! And I add a small paragraph for the embedded component 😁

Thanks Matheo!

@norkunas there were a few bugs - I hopefully fixed them all in #799


update-checkout: Explicitly use python3

This changes the shebangs for the update_checkout executable files to specifically call Python 3. The code is already compatible and functional with python3, so this removes any implied backward compatibility, and removes any ambiguity based on the user's current environment, especially since some systems, like macOS, still link the python command to Python 2.
This also removes the now unnecessary from __future__ imports.
This should be the first in a series of PRs to explicitly move to Python 3 and remove support for the now unsupported Python 2.

@swift-ci Please smoke test


Update naming convention and porter workflow in vanilla workspace

PR for issue #132
What is being addressed
As part of the InnerEye deployment vanilla workspace resources need to follow the agreed naming convention.
To test this the bundle needed to be installed using porter, hence the itteration on workflow.
How is this addressed

Update resource naming, and add missing parameters in terraform
Update porter bundles
Update install workflow to improve dev experience

Will look at #172 first.


Do not use/style links like buttons

In the current implementation of the Carbon Design Language, we show examples of buttons, links and paragraphs as buttons. This is can be misleading to screen readers and certainly an issue for anyone expecting an action instead of navigation on click.
Further, this opens up the possibility of links or other being used to act as if buttons when the two are functionally different.
NOTE:

Links are pure navigation elements
Buttons have special features. They perform actions which may be followed by navigation.

Environment

Operating system
Mojave

Browser
Chrome

Detailed description

What version of the Carbon Design System are you using?
10.1.0

What did you expect to happen?
Only buttons to be used for actions.

What happened instead?

Almost any  control can be used as a button
Steps to reproduce the issue

On this page https://www.carbondesignsystem.com/components/button/code
Select the first button
Press space and hold space, note the button is active.
Release space, a click happens
Select a link
Press space, note the page jumps as links do not process space. The same is true of 'alternative' root elements.

I can't quite understand what you're saying here.
On that component page we have examples of paragraphs as buttons?
When you click a link what did you expect to happen?
When you click the button what did you expect to happen?
Is this critique/commentary on the example page itself or the component(s) implementation?


VC Member additon error.

Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

Python version: 3.5.2
NetBox version:2.3.1

Description
When adding a device to an existing VC, It is unpacking multiple values, and erroring out.

I'm also seeing this on a fresh installation w/Netbox 2.3.1 and Python 3.6.4

I'm seeing the same error. The steps to reproduce for me are:

Create new VC with a single parent device (I specified it as 'position 0')
Navigate to parent device details view and click "Add Member" to Virtual Chassis section
If I try to add any additional device on the "Add New Member" screen, I get the validate_vc_position error above


Respect the "gravatar" configurable value everywhere

I realized that in the public activities we use gravatar_image_tag directly,
without caring whether the current Portus instance has gravatar support enabled
or not. Therefore, I'm introducing a helper method that abstracts this away,
and I've replaced all the wrong uses of the gravatar_image_tag with this new
helper method.
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

LGTM, good catch


Config files handling

Set of changes to incorporate a config file for setting parameters and identifying input files and output directories, etc. Also changed the name of SCINGE_Example.m and SCINGE.m to SINGE equivalents.
Closes #17

Can we close this now that it is replaced by #37?

Closed since being replaced by #37.


Make extension method public

Could we get this extension method made public to support adding additional conversions that ImageMagic already supports?
https://github.com/VerifyTests/Verify.ImageMagick/blob/d2b9508075710b2a327d9e9951acc4ac6883b6cb/src/Verify.ImageMagick/VerifyImageMagick_Pdf.cs#L11

happy to make it public. but i would rather add it as a OOTB supported conversion. So add the code in here https://github.com/VerifyTests/Verify.ImageMagick/blob/main/src/Verify.ImageMagick/VerifyImageMagick.cs
thoughts?

I was trying to add webp as an additional image format. Adding directly to this packages source definitely works I like having the extensibility in the interim and while authors are away enjoying some well earned rest :)

so you want to output to webp instead of png?

I am running tests over a WebP module for ImageSharp using ImageMagic as the comparison library.
So the result variable below represents a WebP image stream rendered by ImageSharp
Inside the test I am running the verify using:
await Verifier.Verify(result).UseExtension(nameof(ImageFormat.WEBP));

I was hoping the image conversion methods could be public so that we can do the below without having to create custom Convert methods.
VerifierSettings.RegisterFileConverter(nameof(ImageFormat.WEBP),
    (stream, context) => CustomVerifyImageMagick.Convert(stream, context, MagickFormat.WebP));

I should have included a link to this convert method as well: https://github.com/VerifyTests/Verify.ImageMagick/blob/main/src/Verify.ImageMagick/VerifyImageMagick.cs#L70

OK :)
this is now deployed


KAFKA-14358; Disallow creation of cluster metadata partition

With KRaft the cluster metadata topic (__cluster_metadata) has a different implementation compared to regular topic. The user should not be allowed to create this topic. This can cause issues if the metadata log dir is the same as one of the log dirs.
This change returns an authorization error if the user tries to create the cluster metadata topic.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the patch @jsancio. Just a couple of comments.
I tried creating __cluster_metadata on trunk and got a non-fatal error:
[2022-11-29 13:11:47,725] ERROR Encountered metadata application fault: Error applying topics delta in MetadataDelta up to 116 (org.apache.kafka.server.fault.LoggingFaultHandler)
org.apache.kafka.common.errors.InconsistentTopicIdException: Tried to assign topic ID Some(wlfZq-nVSIashndGhJaHgA) to log for topic partition __cluster_metadata-0,but log already contained topic ID AAAAAAAAAAAAAAAAAAAAAQ

I was able to create a different topic after this error, and the broker/controller seemed to restart fine (though the error happens again during replay). It seems like a user creating this topic is not disastrous, but we should certainly avoid it :)
Edit: Apparently the topic does appear in the topic describe output, but produce and consume do not work.

Yes. Before this change, if the user attempts to create this topic against a KRaft cluster the CreateTopics RPC will succeed but the replica manager wont find the log in the log manager.
The behavior under the ZK implementation is also unexpected. The topic creation will succeed and the user will be able to produce and consume from it but if the brokers restart then the user will not able to produce and consume from it. This is because the code for loading log in the log manager is different from the code that creates logs in the log manager.


Change all snippets from var to const

Changed all snippets that began with var to const. Didn't update the README, however, as I'm not sure if you wanted that as well.

Thank you so much for this! README will be rebuilt as soon as I run the script, don't worry about it. 👍


Add Emscripten support.

Makes the demo run in browsers, plus build system / CI scaffolding.
The asset files are bundled into the WASM blob and accessed through the Emscripten virtual filesystem, this allows to keep the synchronous file loading calls in place.
One thing I'm wondering: is the demo's render timing coupled to the audio output somehow to synchronize rendering with audio? When running on the web, the demo doesn't start until the WebAudio context gets activated (on sokol_audio.h this happens on a tap or click into the page).
Looks like this: https://floooh.github.io/demo-pd-cranktheworld/

a new section with build instructions for the web version in the readme
two new cmake presets for the debug and release Emscripten build
changes to CMakeLists.txt for the Emscripten version
GH Actions: the regular build.yml file now builds both the debug and release version on all target platforms, and a separate Emscripten build job has been added
a new manually triggered GH Action workflow to build and deploy the web version (this should then show up under https://aras-p.github.io/demo-pd-cranktheworld/
modified the GLSL shader so that it also compiles under the stricter WebGL2 shader compiler (mainly adding explicit casting)
added a 'click/tap to start' message only on the Emscripten build as long as the WebAudio is inactive

I'll need to check whether the Linux version still works (because of the changes to the GLSL shader code. (ok Linux version still working)
How to deploy the web version.
Theoretically it should be enough to go the Github Action tab and start the "Deploy Web Page" pipeline (just use the "main" branch instead of "emscripten")

If that fails, maybe the GH Pages features also needs to be enabled in the project settings.
If the pipeline is successful, the demo should be available here:
https://aras-p.github.io/demo-pd-cranktheworld/

Wow, very nice! And yeah, it is expected that demo would not "play" while audio is not playing, since the whole demo "timing" is based on audio playback time.

Thanks for merging :) I see you got the web upload working (didn't know that pages had to be explicitly enabled).
Btw, is it ok if I put a link to the demo into the sokol readme?

Btw, is it ok if I put a link to the demo into the sokol readme?

Absolutely!
I'll try to get it to letterbox the rendering tomorrow. Especially on the web, aspect ratio might be very different from what it expects it to be.


[BUG]Restore will get stuck if the restore error is not captured

Describe the bug
Right now some errors caused by replica restore are not captured by the longhorn manager and not recorded in engine restore status. Then there is no way to handle the error and continue the restore.
To Reproduce
Steps to reproduce the behavior:

Set backupstore for Longhorn
Create a regular Longhorn volume with the workload, then write data to the volume.
Create a backup for the volume, then launch a DR volume based on the backup.
Create a non-empty directory named volume-delta-<last restored backup name>.img for one replica. This directory will fail the following incremental restoration for the replica.
Write data to the regular volume then create a backup. Then wait for the DR volume incremental restoration result.
Check restoreStatus and lastRestoredBackup in the DR volume engine status. There is no   restoreStatus and engine.status.lastRestoredBackup is not updated.
Create 2 more backups for the regular volume. The DR volume won't continue to restore volume.

Expected behavior

The error should be recorded in restoreStatus and engine.status.lastRestoredBackup should be updated.
The replica that fails to restore the data will be marked as failed

Environment:

Longhorn version: v1.0.0
Kubernetes version:
Node OS type and version:

Integration test plan:
Test if the replica fails the incremental restore will be marked as ERROR.

Set a random the backupstore.
Create a regular volume and a backup (with some data).
Create a DR volume from the backup.
Create the 2nd backup for the regular volume
Wait for the DR volume incremental restore complete.
Pick up a replica of the DR volume, Create a non-empty directory named volume-delta-<last restored backup>.img in the replica directory. This operation will lead to replica incremental restore failure later.
7 Create the 3rd backup for the regular volume
Wait for the DR volume incremental restore complete. And check:
--> Check if the volume is Degraded state and the replica in step5 is ERROR.
--> Check if volume.conditions[restore].status == True && volume.conditions[restore].reason == "RestoreInProgress".
See if the DR volume still works fine. (e.g. Trigger more incremental restore, trigger expansion)
Activate the DR volume and check the data.

The PR for issue #1260 cannot completely solve this issue since there are some errors during the incremental restore not being recorded in the restore status. Then the longhorn manager cannot mark the related replica as failed.
The errors are not recorded in the sync agent server restore status:

Parameters check failure before restore status initialization.
Delta file check and cleanup error before starting the incremental restoration.
File coalesce error in the post inc restore function.
Replica reload error in the post inc restore function.
...
Besides, there is no related integration test covers those corner cases.

And the regular restore implementation has the similar issue, too.
If we want to cover those errors in the restore status, we need to check which error may be fatal for the replica (longhorn manager needs to fail the replica according to the restore status error msg) and which error won't affect the replica (longhorn manager doesn't need to fail the replica and simply retrying restore may be enough.). It means we need to refactor the whole restore, including incremental restore. I don't think we have time to do that in this release.
Actually I can fix the issue that triggered by the reproduce step, but I don't think that's what we want.

Have we fixed https://github.com/longhorn/longhorn/issues/1328 along with #1260 ?
Sounds like we need to move this out of 1.0.0.

@shuo-wu Can you assess the impact of missing the fix for this issue? E.g. in which case the user will have trouble, what's the workaround, etc.

No, #1328 will be fixed along with other issues later.
The fix for #1260 would only handle parts of the restore failure cases. We will record all found cases in #1337

Code merged, need the pre-merge checklist.

Pre-merged Checklist

[x] Does the PR include the explanation for the fix or the feature?
It's in the PR.

[x] Is the backend code merged (Manager, Engine, Instance Manager, BackupStore, etc)?
The PR is at:
https://github.com/longhorn/backupstore/pull/43
https://github.com/longhorn/longhorn-engine/pull/501
https://github.com/longhorn/longhorn-manager/pull/609

[x] Is the reproduce steps/test steps documented?
See the reproducing step.

[x] Which areas/issues this PR might have potential impacts on?
Area: Manager & Engine
Issues: Restore failure handling

[x] If the fix introduces the code for backward compatibility Has a separate issue been filed with the label release/obsolete-compatibility?
The compatibility issue is filed at

[x] If labeled: area/ui Has the UI issue filed or ready to be merged?
The UI issue/PR is at

[x] if labeled: require/doc Has the necessary document PR submitted or merged?
The Doc issue/PR is at

[x] If labeled: require/automation-e2e Has the end-to-end test plan been merged? Have QAs agreed on the automation test case?
The automation skeleton PR is at https://github.com/longhorn/longhorn-tests/pull/357
The automation test case PR is at https://github.com/longhorn/longhorn-tests/pull/357

[x] if labeled: require/automation-engine Has the engine integration test been merged?
The engine automation PR is at https://github.com/longhorn/longhorn-engine/pull/501

[x] if labeled: require/manual-test-plan Has the manual test plan been documented?
The updated manual test plan is at

Tried reproducing issue from https://github.com/longhorn/longhorn/issues/1188#issue-599512921
On V1.0.0, The DR volume is stuck in Restore in progress forever. - It can't be activated.
Volume name - volume-restore-stuck-test-1
longhorn-support-bundle_e27c1f86-2285-474c-8127-9c41cc352773_2020-07-09T23-36-05Z.zip
On master 97a869e, DR volume gets degraded but healthy. Also, checked the data after activation, data is intact.
Volume name - volume-restore-stuck-test-2
longhorn-support-bundle_516cbf10-706f-4852-860b-729747916e3d_2020-07-09T23-36-20Z.zip
In above set up I don't see restoreStatus and lastRestoredBackup empty.
@yasker Is this expected?

The error log in the v1.0.0 test means the status stored in the engine process is inconsistent with the engine object status. Since the restore error cannot be handled correctly in v1.0.0, the whole volume will mess up after the test then many kinds of weird issues may get triggered.
There will be a big refactor for the restore feature in the next release. This kind of error will be fixed after the reactor.

In general, I don't think we need to worry about the error you triggered in v1.0.0 test now.

Verified on v1.0.1-rc1
Validation- Passed
Followed the steps from https://github.com/longhorn/longhorn/issues/1188#issue-599512921 DR volume remains healthy.
Verified the restored data.


Add docker build environments

Run/build them using ./contrib/docker/setup.
Images are hosted here: https://hub.docker.com/r/electroncash/build/

My only issue here is I don't like you changing the buildozer spec like that.  I just download crystax to the downloads folder when I do the build.  I've never used the opt folder.

I might work on this at a later date, but for now I'm keeping this PR closed


Multi-tasking regression and classification problems

Dear contributor,
I am recently using this toolkit. However, my multi-task project is handling one regression problem and a multi-class classification problem. None of the models works well. I would suppose the current functions don't support classification. I would appreciate if you could suggest any way to modify the kernels and likelihoods to facilitate this type of classification problem
Best,
CY

Hi Chih Yu Lee,
In order to use classification you have to use the underlying GPR package.
I've just created an example of two channels, each with a different
likelihood (Bernoulli and StudentT's), which shows you how to do a simple
classification problem. I hope that helps!
https://games-uchile.github.io/mogptk/examples.html?q=08_Multi_Likelihood_Classification
Saludos cordiales,
Taco de Wolff
On Thu, Apr 20, 2023 at 7:19 PM ChihYuLee @.***> wrote:

Dear contributor,
I am recently using this toolkit. However, my multi-task project is
handling one regression problem and a multi-class classification problem.
None of the models works well. I would suppose the current functions don't
support classification. I would appreciate if you could suggest any way to
modify the kernels and likelihoods to facilitate this type of
classification problem
Best,
CY
—
Reply to this email directly, view it on GitHub
https://github.com/GAMES-UChile/mogptk/issues/62, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKOGHRR4KRYEQAKMKOI3QDXCG77ZANCNFSM6AAAAAAXGEPDLE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Dear all,
Thank you for making this into an example. I appreciate it, and I will let
you know if I run into further issue.
Best,
CY
On Wed, May 3, 2023 at 11:03 AM Taco de Wolff @.***>
wrote:

Hi Chih Yu Lee,
In order to use classification you have to use the underlying GPR package.
I've just created an example of two channels, each with a different
likelihood (Bernoulli and StudentT's), which shows you how to do a simple
classification problem. I hope that helps!
https://games-uchile.github.io/mogptk/examples.html?q=08_Multi_Likelihood_Classification
Saludos cordiales,
Taco de Wolff
On Thu, Apr 20, 2023 at 7:19 PM ChihYuLee @.***> wrote:

Dear contributor,
I am recently using this toolkit. However, my multi-task project is
handling one regression problem and a multi-class classification problem.
None of the models works well. I would suppose the current functions
don't
support classification. I would appreciate if you could suggest any way
to
modify the kernels and likelihoods to facilitate this type of
classification problem
Best,
CY
—
Reply to this email directly, view it on GitHub
https://github.com/GAMES-UChile/mogptk/issues/62, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABKOGHRR4KRYEQAKMKOI3QDXCG77ZANCNFSM6AAAAAAXGEPDLE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/GAMES-UChile/mogptk/issues/62#issuecomment-1533202774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY6ROQGVRSH4W74SXCE3K3LXEJXUTANCNFSM6AAAAAAXGEPDLE
.
You are receiving this because you authored the thread.Message ID:
@.***>


CRUD Pages Security

Hi,
I'm fairly new to the Django ecosystem and really impressed with the CRUD pages I've been able to generate using django-material.
I've read that Django admin pages should not be exposed to end users of a Django application and only be limited to administrators. Does that imply that CRUD pages generated using django-material should also not be exposed to end users of my application? Are there any specific measures I should be taking if I want to expose CRUD pages to end users?
The phrases "admin-line applications development" in the project description and "lightweight alternative to Django admin" in the docs are confusing me.
Thanks in advance

Unlike django admin, django-material crud is a composition of class-based views suitable for common projects
https://docs.djangoproject.com/en/3.1/topics/class-based-views/


KYLO-333 Fix Merge using PK for Cloudera

Tested on Cloudera 5.10 with Hive 1.1.

@freastro I have a question as to why do you use INSERT OVERWRITE for partitioned data in Dedupe and merge / Merge by PK, but not for unmerged data for Dedupe and merge?

@claudiu-stanciu Looks good. I can merge in if Travis CI passes.  What functions are you looking at that you think should be INSERT OVERWRITE?

SonarQube analysis reported 35 issues

 13 critical
 16 major
 5 minor
 1 info

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 TableMergeSyncSupport.java#L54: Make "conn" transient or serializable.
 TableMergeSyncSupport.java#L188: Define a constant instead of duplicating this literal "insert overwrite table " 8 times.
 TableMergeSyncSupport.java#L190: Define a constant instead of duplicating this literal " select " 13 times.
 TableMergeSyncSupport.java#L191: Define a constant instead of duplicating this literal " from " 16 times.
 TableMergeSyncSupport.java#L192: Define a constant instead of duplicating this literal " where processing_dttm = " 8 times.
 TableMergeSyncSupport.java#L207: Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
 TableMergeSyncSupport.java#L250: Define a constant instead of duplicating this literal "processing_dttm" 3 times.
 TableMergeSyncSupport.java#L446: Define a constant instead of duplicating this literal "select " 8 times.
 TableMergeSyncSupport.java#L446: Define a constant instead of duplicating this literal " from (" 6 times.
 TableMergeSyncSupport.java#L451: Define a constant instead of duplicating this literal " union all " 5 times.


Add Llama Scope SAEs & improvements to evaluating ce scores.

Description
This pull request includes the following updates:

add entries to Llama Scope SAEs in pretrained_saes.yaml
implement Llama Scope loaders in pretrained_sae_loaders.py
implement an option to not replacing bos activations when computing ce_loss_score in eval.py. This is necessary for SAEs trained with context starting with bos but is not trained with bos activations.

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

You have tested formatting, typing and unit tests (acceptance tests not currently in use)

[x] I have run make check-ci to check format and linting. (you can run make format to format code if needed.)

Performance Check.
If you have implemented a training change, please indicate precisely how performance changes with respect to the following metrics:

[ ] L0
[ ] CE Loss
[ ] MSE Loss
[ ] Feature Dashboard Interpretability

Please links to wandb dashboards with a control and test group.

It's OK, we just shouldn't merge PRs until CI passes in future


[Q] purpose of ibsg? what are 'boundaries'? no link to census? map view? project assistance?

From Philippe Lemarchand email correspondance:

[ ] [A] What do you call boundaries? Are they the geographical boundaries we select as "countyname"?

[ ] [B] I can now open the file and noted there is no difference to the SEAI file. I guess the benefit is that SEAI files are limited on the number of dwellings that can be downloaded in a single file. Your system collates them automatically rather than me doing it manually - is this correct?

[ ] [C] I had ticked the link to the 2016 census but I see no link in the csv file. Please could you tell me what information from the 2016 census we are supposed to see?

[ ] [D] Another thing you might help me understanding as Jason mentioned the use of tableau to have a map view. The BER data do not contain any street name so how is it possible to generate a more detail view of a specific area as it is done here: https://renewables.maps.arcgis.com/apps/webappviewer/index.html?id=360f7b3f6f484d7d89b967b41231daef

[ ] [E] I have never touched Tableau and I wonder, since you work in Codema, if you might be able to help us with our SEAI Stoneybatter Sustainable Energy Community project that is mentored by Codema. I have in mind to develop superposed layers of information regarding Stoneybatter area - is that possible? Is it something you would be interested in developing together?

Thanks for getting in touch Philippe!

[A] The Fetch Postcode BERs button is at postcode-level (i.e. countyname) so these are the boundaries, selecting only Dublin 1 will pull out all buildings in this postcode

[B] ibsg filters the raw data provided by the SEAI to remove erroneous data.  It does this by filtering the BER dataset through upper | lower bounds on a number of columns such as floor area, boiler efficiency etc.

[C] ibsg does not yet (09/07/2021) link to the Census for the Postcode BERs - it does however for the closed-access Small Area BERs.  By link I mean it looks up small area | period built in the census and fills the census with corresponding BER properties.

[D] We could extend ibsg to map the data but mapping is limited to Postcode level for the Postcode BERs so it mightn't be too useful for your Stoneybatter project.  I'll raise this as a feature request for someone to complete if they have the time or if seen as a priority.

[E] We're currently developing an interactive energy model that will let you select the Stoneybatter area and play around with the building stock in that area.  I'll link it to this thread when we have a working prototype deployed!

Thanks Rowan for the answers.
[E] Could you tell me more about the interactive energy model that you are developing (even before having a working prototype)? What features will it have?

No problem at all.  The README at this repository provides an overview of the functionality so far and will update as more features are added (depending on funding, deadlines and priorities for the Dublin Region Energy Masterplan project which is due to end September-ish).  Bear in mind that the linked webapp there is not currently stable!


The output of generate flashcard is not responsive

Describe the bug
The output of generate flashcard is not responsive
To Reproduce
Steps to reproduce the behavior:

Go to 'Generate Flashcard'
Click on 'Generare flashcard' after entering your input
The generated output will be outside the box size is you click on circle left side.

Expected behavior
The generated flashcard should be responsive
Screenshots

Smartphone (please complete the following information):

Device: [Samsung s23]
OS: [Android 14]
Browser [Chrome browser]

hey @Suraj-kumar00 please assign me this issue

Hi @haseebzaki-07, if you have read the contributing.md file there i have mentioned how to self assing.

.take


[OSS] Setup failure on bundle exec pod install

This fails on both master and most recent tag, with the following output.
$ bundle exec pod install
Analyzing dependencies
Pre-downloading: `Artsy+UIFonts` from `https://github.com/artsy/Artsy-OSSUIFonts.git`
[!] Unable to find a specification for 'Artsy+UIFonts'.

I'm not quite sure what's going on here. I see @ashfurrow recently committed an update; adjusting the Podfile to point to the previous tag doesn't seem to help matters.

Yikes, thanks for the issue. Would you mind trying a pod update on that one OSS font pod?

Yeah, unfortunately that didn't seem to change anything. I did discover that renaming the Pod name to Artsy+UIFonts (https://github.com/artsy/Artsy-OSSUIFonts/pull/6) sort of fixes matters, but then...
Generating Pods project
Abort trap: 6

(I'm using bundle exec, ruby 2.3.0)

Yeah, I had to deal with this on Eidolon over the weekend, I'll submit a PR to fix and let you know 👍


? instead of cyrillic symbols

Hello!
When I save cyrillic symbols(as a value) into my INI I get ������������_�������� instead of them.
Is it possible to save cyrillic symbols?
I tried omitting SetUnicode() or calling SetUnicode(1) with no success.

It works fine with unicode -- it was designed for unicode use. As long as
you are calling SetUnicode before using the object, and ensuring that
everything is properly encoded, it will work fine.You must be mixing your
encodings somewhere in your usage.
On Tue, 24 Aug 2021 at 06:44, Tommifninite @.***> wrote:

Hello!
When I save cyrillic symbols(as a value) into my INI I get
������������_�������� instead of them.
Is it possible to save cyrillic symbols?
I tried omitting SetUnicode() or calling SetUnicode(1) with no success.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brofield/simpleini/issues/54, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZ4MS3D7IVQ6X54R6E24TT6KXJHANCNFSM5CVLZ2HQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Thanks, it turns out that  the text is actually saved fine - the actual problem is reading it with standart windows notepad.
Thanks!
And thanks for this wonderful library.


Add support for changing config parameter definitions based on the value of others

This came up here but is also required for some HELTUN devices where config parameters change their definition entirely based on the value of others.

Another example: Aeotec Multisensor 6 has changing default values based on the selected temperature unit


Umbraco Dictionary Value Attribute

Branched off from #65 ... Spiking out to see how the Umbraco Dictionary attribute would work.

Closing PR, superseded by #65


Fix: Remove non-standard PURGE method

This PR

[x] removes the non-standard PURGE method from Method

What a BUG! Even an English-English dictionary can have problems.

Absolutely, @szepeviktor!
😉


Update URL for yadm

This tool has a website now, instead of just the GitHub landing page.

Thanks for the update!


Update mpd to 2.1.0

Please update my adapter ioBroker.mpd to version 2.1.0.
This pull request was created by https://www.iobroker.dev c0726ff.

RE-CHECK!

RE-CHECK!


integrate with Dapr as Dapr's gateway

Both the original and updated eShop application leverage the Envoy proxy as an API gateway, In the original eShopOnContainers implementation, the Envoy API gateway forwarded incoming HTTP requests directly to aggregator or back-end services. In the new eShopOnDapr, the Envoy proxy forwards the request to a Dapr sidecar.
I want to replace Enovy with Yarp  forwards the request to a Dapr sidecar 。
Some details
How many backends are in your application?

[ ] 1-2
[ ] 3-5
[*] 6-10
[ ] 10+

How do you host your application?

[*] Kubernetes
[ ] Azure App Service
[*] Azure VMs
[ ] Other Cloud Provider (please include details below)
[ ] Other Hosting model (please include details below)

What did you think of YARP?

Adding @nishanil and @jamesmontemagno here. I think it would be exciting to see a YARP-inclusive version of eShop.

Triage: @samsp-msft can you please describe what is the plan here? (sample?)

Plan is a proof of concept using YARP as a gateway into a set of DAPR services. based on the results of the POC we can decide if it should be a sample etc.

hi @samsp-msft , is there any progress about this feature ?

Sorry- No progress as of yet.

Almost a year later. Dapr has become even more dominant in the microservice space with Microsoft adopting it for Azure container apps. Easy integration (or really any type of integration) is essential for the health of a reverse proxy.
We have got this working in production with Ocelot by using our Dapr service IDs as host names in combination with Daprs own delegating handler and it works perfectly fine.
I'm just starting to look into it with YARP since Ocelot isnt being maintained anymore. But it looks like YARP doesnt directly expose anything that would make the integration easy like an .AddDelegatingHandler

I solved this problem by addressing the (internal)container name, and not use DAPR. I really love the Azure Container Apps and use YARP as a reverse proxy to my underlying API's. This https://github.com/nikneem/tinylnk-gateway is my solution so far and to be honest, works like a charm. But still, you have to stay within a K8s context for this to work.

I solved this problem by addressing the (internal)container name, and not use DAPR. I really love the Azure Container Apps and use YARP as a reverse proxy to my underlying API's. This https://github.com/nikneem/tinylnk-gateway is my solution so far and to be honest, works like a charm. But still, you have to stay within a K8s context for this to work.

Yeah, hard coding service addresses most definitely not the way. My initial look at this seems to show it is relatively trivial to at least get a proof of concept working with yarp/dapr integration. This is what it looks like right now.
First setup a dapr delegating handler.
`public class DaprDelegatingHandler : DelegatingHandler
{
private readonly ConcurrentDictionary<string, HttpClient> _httpClients = new();
public DaprDelegatingHandler(HttpMessageHandler handler)
{
InnerHandler = handler;
}
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
    CancellationToken cancellationToken)
{
    var daprEndpoint = request.RequestUri?.Host;
    if (string.IsNullOrEmpty(daprEndpoint) || !Utilities.IsValidDaprEndpoint(daprEndpoint))
        return base.SendAsync(request, cancellationToken);
    var client = _httpClients.GetOrAdd(daprEndpoint, key => DaprClient.CreateInvokeHttpClient(key));
    return client.SendAsync(request, cancellationToken);
}

}`
Next create a ForwarderHttpFactory and use the delegating handler.
public class DaprForwarderHttpClientFactory : IForwarderHttpClientFactory {     public HttpMessageInvoker CreateClient(ForwarderHttpClientContext context)     {         var handler = new SocketsHttpHandler         {             UseProxy = false,             AllowAutoRedirect = false,             AutomaticDecompression = DecompressionMethods.None,             UseCookies = false,             ActivityHeadersPropagator = new ReverseProxyPropagator(DistributedContextPropagator.Current)         };         return new HttpMessageInvoker(new DaprDelegatingHandler(handler));     } }
Then in your service setup, just add the IForwarderHttpClientFactory
services.AddSingleton<IForwarderHttpClientFactory, DaprForwarderHttpClientFactory>();
It seems to work fine for simple service-to-service invocation calls. I cant promise it works in every situation. This works by setting your destinations as your dapr ID. So if your service dapr ID is "users" then your destination address should be "http://users"

Heres the same thing as above with direct forwarding.
services.AddHttpForwarder();
services.AddSingleton<IForwarderHttpClientFactory, DaprForwarderHttpClientFactory>();
var app = builder.Build();
app.Map("/api/users", async (HttpContext context, IHttpForwarder forwarder, IForwarderHttpClientFactory factory) =>
    await forwarder.SendAsync(context, "http://users", factory.CreateClient(new ForwarderHttpClientContext()))
);

If anyone has any feedback on this I'd be happy to hear it. It's using the same clientfactory as the above method uses. I'm unsure how to go about getting the ForwarderHttpClientContext so I have to create a new one, which seems to work fine considering my client factory doesn't use the context at all.

factory.CreateClient(new ForwarderHttpClientContext())

This will create a new HttpClient for every request.
If you're already using custom logic there, you can drop the IForwarderHttpClientFactory indirection and create your handler once upfront.


tflite inceptionv3      the output is greater than 1.

HI，
demo :  tflite inceptionv3
May I ask why the output is greater than 1.
Thanks.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

Hi，
the ouput is tensorflow/tensorflow/contrib/lite/java/demo/  on adnroid device.
Thanks.

@ZeroZxj Hi, could you please describe the problem clearly.


go1.5 vendor experiment (https://golang.org/s/go15vendor)

Can't build however
romand@romand ~/iron/dockers/go go1.5vendorexperiment±
% docker build -t romand/go:latest .
…
Step 0 : FROM iron/base
 ---> b77c28b9b145
Step 1 : RUN apk update && apk upgrade
 ---> Running in baf4bbe95c4d
/bin/sh: apk: not found
INFO[0000] The command [/bin/sh -c apk update && apk upgrade] returned a non-zero code: 127

@treeder do I miss smth?

The iron/base image was wrong, should work now though. What are you trying to do exactly?

works now
I'm trying to build ironscheduler in docker (as supplied script suggests https://github.com/romand/go/blob/ironscheduler/ironscheduler/dockerbuild.sh#L4) using go1.5


README updates: update GIF of new demo scene; add screenshot and link to Unity Asset Store detail page; add Support + Credits sections (borrowed from blog post)

View a rendered preview here!

FYI:

that broken <img> references mozilla/master, so it'll be broken until this PR gets merged. but it's referencing this image:

Looks great r+ thanks!


Chrome JS console

Expected Behavior
Rendering with desktop chrome doesn't render same as with gotenberg docker image.
Possible Solution
Is there a way to get the chrome console output somewhere ?
Steps to Reproduce (for bugs)
Could be reproduced using https://github.com/mnater/Hyphenopoly

Hello,
The differences in rendering may come from different sources:

Google Chrome version
Google Chrome arguments
etc.

Currently there is no way to get the console output, but I'll consider this for v7 or a later version.

The following workaround can come in handy. This prints the console logs at the top of the the page. This must be inserted in the , before any other script.

@nahuelange @brrd
More than one year later (:trollface:): with the flag --log-level=debug, you may find the console outputs in the logs.
For instance:
2021/11/23 14:06:35.577 DEBUG   api.chromium.debug      <- {"method":"Runtime.consoleAPICalled","params":{"type":"log","args":[{"type":"string","value":"a simple message"}],"executionContextId":2,"timestamp":1.63767639557015e+12,"stackTrace":{"callFrames":[{"functionName":"","scriptId":"4","url":"file:///tmp/1db24452-c53c-4fd3-91b0-642846e752e3/index.html","lineNumber":11,"columnNumber":12}]}},"sessionId":"3AE1B52A64C178D8ECCBAE35E06DD9FA"}    {"trace": "cd0a00cd-cb94-4607-b3a7-d751e38b380e"}

Or:
api.chromium.debug      [1123/140635.576407:INFO:CONSOLE(12)] "a simple message", source: file:///tmp/1db24452-c53c-4fd3-91b0-642846e752e3/index.html (12)
        {"trace": "cd0a00cd-cb94-4607-b3a7-d751e38b380e"}


Fix blocking call in AsyncRestProxy

Fixes a blocking call in AsyncRestProxy reported by BlockHound.

API change check
API changes are not detected in this pull request.


operator/v1: add ingresscontroller

Introduce the IngressController API.
/cc @openshift/sig-network-edge @smarterclayton @deads2k

Some outstanding questions:

Cluster vs. namespace scoped?
v1 vs. v1alpha1?

2. v1 vs. v1alpha1?

Our operators need to be v1. We support them and we aren't going to be able to break them.

Need to update register.go.

Is this the operator type used to drive the Ingress cluster operator?  Is there a non-ClusterIngress variant?  I expected this type to match the co/ingress.

Cluster vs. namespace scoped?

I see the following reasons to be namespace scoped.

it is a non-privileged action to create this
the thing it creates is logically scoped to a single namespace
multiple conflicting names in different namespaces is a thing this must support

I don't think any of those apply.  I would expect to see this cluster-scoped the same way the clusteroperator is cluster scoped.

Is this the operator type used to drive the Ingress cluster operator?

Maybe? Can you rephrase the question? It's the resource admins create/configure and that the operator acts upon to materialize routers and stuff.

Is there a non-ClusterIngress variant? I expected this type to match the co/ingress.

Referring to config/v1/types_ingress.go? Can you explain a little more about your expectation?

I don't think any of those apply. I would expect to see this cluster-scoped the same way the clusteroperator is cluster scoped.

I also prefer the ergonomics of cluster scoped for this one (the namespacing seems to add only additional points of confusion), but we've gone back and forth on it before as a group. Let's see what others have to say.

@smarterclayton PTAL

@openshift/sig-network-edge @smarterclayton I think this is ready for another pass

@openshift/sig-network-edge @smarterclayton major changes with the last commit.

ClusterIngress -> IngressController
HA types refactored
.spec.ingressDomain -> .spec.domain

This is ready for another round of review.

Should be v1.  All our public APIs will be locked forever once we ship.

/approve

Shortened the IngressController doc by moving info closer to the relevant fields.

Reframe the DNS management behavior in terms of the LoadBalancerService publishing strategy which I hope makes more sense.

Tried to clarify the certificate behavior.

Tried to further clarify domain.

PTAL, I'm much happier with this rev, and am getting a lot of use from the feedback

We can iterate in follow up.
/lgtm


ExternalSecrets service

Started from here:
https://github.com/jx3-gitops-repositories/jx3-eks-terraform-vault
Got to install Git Operator.
Installed git operator and nothing happens after I hit this:
# lets wait for the ExternalSecrets service to populate the mandatory Secret resources
VAULT_ADDR=https://vault.secret-infra:8200 jx secret wait
waiting for the mandatory Secrets to be populated from ExternalSecrets...
jenkins-x-chartmuseum: key secret/data/jx/adminUser missing properties: password, username
jx-pipeline-git-github-github: key secret/data/jx/pipelineUser missing properties: token, username
knative-docker-user-pass: key secret/data/knative/docker/user/pass missing properties: .dockerconfigjson
knative-git-user-pass: key secret/data/jx/pipelineUser missing properties: token, username
lighthouse-hmac-token: key secret/data/lighthouse/hmac missing properties: token
lighthouse-oauth-token: key secret/data/lighthouse/oauth missing properties: token
nexus: key secret/data/nexus missing properties: password

Just kinda sitting there. Not sure what to do next.

is this still an Issue? Lots of folks have had success with terraform, EKS and jx now.
if it is, do you have the external secrets pod running & vault up? Eg try kubectl get pod -n secret-infra and posting the output here

It is no longer an issue. Secrets pod was running but Vault wasn't up for some reason. Vault was failing to go up, so I tore down and restarted. Didn't run into issue again.


Drop Python 3.5 support

Python 3.5 was a famous release (async/await syntax was introduced) but the version has reached end-of-life.
We can (and should) drop it.
Speaking as the maintainer of other libraries, I can say that it simplifies the code base a little

Agreed - I was surprised to see it still supported.
I do worry that dropping a language version likely means a major version bump, as that's definitely a breaking change, but it's a worthwhile one.


Tasks are "processing" but hooks are not called and cluster don't recgonize they are finished and "processed"

Hi there.
I am just trying to integrate django-q in an existing django project.
The problem: Tasks are executed, but the cluster does not recognize when they are done.
Just print the word "async" leads to following log:
15:00:04 [Q] INFO Q Cluster stairway-cat-low-nevada starting.
15:00:07 [Q] INFO 17668 will use cpu [0]
15:00:07 [Q] INFO Process-1 guarding cluster stairway-cat-low-nevada
15:00:07 [Q] INFO Q Cluster stairway-cat-low-nevada running.
15:00:10 [Q] INFO Process-1:2 monitoring at 3172
15:00:10 [Q] INFO Process-1:3 pushing tasks at 19652
15:00:10 [Q] INFO Process-1:1 ready for work at 17668
15:00:10 [Q] INFO Process-1:1 processing [hotel-wolfram-mockingbird-louisiana]
async

So, the asyn task is executed, but there is no "Processed" logentry that will indicate, that the process has finished. Also are no hook called.
Is there any known problem with any configuration or module that can lead to this problem?
Edit:
I dived in a little bit deeper.
The task is in result_queue - but it seems the queue in cluster.monitor is not triggered.

Nailed it.
gevent is used in the project and gevent monkey.patch_all not be called if "qcluster" is in the list of CL-arguments.
Maybe this can help other with the same problem.


Specificity of error message

For your own feature, see if there is any ambiguous error messages and include more specific ones.

i think filter function is good to go 👍


DynScalar abstraction (something that makes it easy to create scalar Datums)

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There is code like this in IOx that compare a value to 0
https://github.com/influxdata/influxdb_iox/blob/2a71fcbc76a695b1129895932746084a0a258bab/iox_query_influxql/src/window/non_negative.rs#L59-L60
This uses the now deprecated ly_dyn_scalar kernel
I would like to update to use the non deprecated kernel lt: https://docs.rs/arrow/latest/arrow/compute/kernels/cmp/fn.lt.html
However, to do so requires a "Datum" and thus I need some way to create a typed Datum for zero
Something like this is also needed to turn a ScalarValue into a Datum I think in DataFusion
Describe the solution you'd like
I don't really have a strong opinion, I just want something that will work reasonably for this usecase.
Describe alternatives you've considered
I found that arrow crate uses a function and Scalar  to do this: https://docs.rs/arrow-ord/46.0.0/src/arrow_ord/comparison.rs.html#36-221 however the Scalar appears to be strongly typed which makes it hard to use with a dynamically typed kernel  that takes &dyn Datum (aka is "type erased") without changing all callsites.
Here is one possibility to perhaps expose the code that Arrow uses internally:
/// A dynamic Datum that wraps an array and represents a single value
#[derive(Debug, Clone)]
pub struct ScalarDatum
{
    arr: ArrayRef,
}

impl ScalarDatum {
    /// Create a [`ScalarDatum`] of type `d` that represents the primtive scalar value `scalar`
    fn try_new_primitive<T: num::ToPrimitive + std::fmt::Debug>(
        d: &DataType,
        scalar: T,
    ) -> Result<Self, ArrowError> {
        Ok(Self {
            arr: make_primitive_scalar_array(d, scalar)?,
        })
    }
}

impl Datum for ScalarDatum {
    ...
}

Additional context
Came up while updating IOx: https://github.com/influxdata/influxdb_iox/pull/8577
Note I may misunderstand the API so any help here would be apprecaited

This appears to be reinstating an API that was explicitly deprecated and removed... #2837

This appears to be reinstating an API that was explicitly deprecated and removed... https://github.com/apache/arrow-rs/issues/2837

I would phrase it as "the deprecated API has a real usecase which the new API does not address"
If there is some reason this shouldn't exist in arrow, I think what will happen is  downstream crates will implement it  (I was actually going to do so in IOx but I got stuck on https://github.com/apache/arrow-rs/issues/4780).
I am not sure what the concern about a dynamic scalar is given the kernels are now dynamically typed

dynamic scalar is given the kernels are now dynamically typed

It is the slightly funny type coercion that makes me uncomfortable, it seems strange to me that I'd be able to create a TimestampNanosecondArray from a float, or a u64, etc... A lesser point is that this won't work for Decimal256. I don't have a good solution here, I can appreciate the importance of making it easy to create scalars representing zero, and possibly other values like 1 or -1, I'm just not sure how best to express this

pub struct ScalarDatum

FWIW this could just be Scalar<ArrayRef>

https://github.com/influxdata/influxdb_iox/blob/2a71fcbc76a695b1129895932746084a0a258bab/iox_query_influxql/src/window/non_negative.rs#L59-L60

I appreciate this is not a general solution, but in this particular case we can see two lines above that there are only two possible output types, which could simply be enumerated. This would also likely be significantly faster.
Also not a great solution but you could just use ScalarValue::new_zero :sweat_smile:

FWIW this could just be Scalar

That is good to know -- I did not realize that. Perhaps I will make a PR with some additional documentation about it in arrow-rs

Also not a great solution but you could just use ScalarValue::new_zero 😅

That would be just fine for this usecase -- but how can I use that? ScalarValue doesn't appear to implement Datum 🤔
https://docs.rs/datafusion/latest/datafusion/common/enum.ScalarValue.html
Or perhaps you are saying call https://docs.rs/datafusion/latest/datafusion/common/enum.ScalarValue.html#method.to_array and then make a Scalar<ArrayRef> 🤔  that could work

Or perhaps you are saying call

I believe there is a to_scalar method, possibly not released yet

Update here is that I could use ScalarValue::to_scalar successfully
So instead of
        let predicate = lt_dyn_scalar(&array, 0)?;

I did:
        let zero = ScalarValue::new_zero(array.data_type())?;
        let predicate = lt(&array, &zero.to_scalar())?;

Which seems to have worked nicely

Added some doc comments in DataFusion to make it easier to find: https://github.com/apache/arrow-datafusion/pull/7491

FWIW this could just be Scalar

Here is a PR that improves the docs to encode this (it was what I was missing when I first filed this, I think):  https://github.com/apache/arrow-rs/pull/4793


Move cosmosdb to cosmos

This PR moves the management plane libraries in sdk/cosmosdb into sdk/cosmos. Just a bit of tidy up before I adjust the pipeline generator to generate the management plane pipelines.

/check-enforcer reset

/check-enforcer evaluate


Set some vars in mapgen

i.e. dMove=3 something like that

Do not forget:

Update under cursor (new map, new item, delete items, etc)
Somehow set somethink like: SET_WRAP_STRING("string"). Also same for view. Separate issue?


Updated README.md with new documentation links

Updated documentation URLs for tutorials to latest on redux.js.org
Thanks for the PR!
To better assist you, please select the type of PR you want to create.
Click the "Preview" tab above, and click on the link for the PR type:

:bug: Bug fix or new feature
:memo: Documentation Fix
:book: New/Updated Documentation Content

Thanks!


Product historic data range

Running
hist = publicClient.get_product_historic_rates(
            'BTC-EUR',
            start='2015-07-18T14:41:12.809362',
            end='2017-07-18T14:41:12.809362',
            granularity=60)

print(hist[0][0],hist[-1][0])

1500369540<PHONE_NUMBER>
which is 2017-07-18T14:49:00 2017-07-18T08:12:00
Shouldn't the bucket start from 2015?

Maybe not relevant. Keep in mind that the request has a limit of 200 candles. So you are requesting 2 years of data for a granularity of 60 seconds. That well beyond 200 candles. That's why you may have just a cropped out bucket.


Connection to ZAP mobile wallet IOS

Do any of you guys mind sharing with me your love story with ZAP for IOS? I still cant connect, when scanning the QR on the mobile wallet it says "Unable to connect" Port 10009 is opened and node working like a charm, tho I have not used DNS service ( does it really matter ? ) since i truly dont know how that works .

Actually I succeeded to connect ZAP (iOS) in version 0.98. Used the freeDNS service as they suggested. Although I repeatedly got errors when I tried to send funds.
Now with the update to version 1.0 I have the same problem as you describe. Can't connect to the server by scanning the QR code. I have the feeling it has something to do with the DDNS though.

I will add the ZAP connection to a recheck for v1.1 But with v1.0 just 5 days ago I connected a friend of mine with ZAP iOS to his new RaspiBlitz. But also ZAP iOS has a rapid release cycle, its possible that something changed.

BTW make sure to be on the same local network. Also make sure that the WLAN has not IP-Isolation turned on, preventing WLAN clients to talk to other local network clients.

I will add the ZAP connection to a recheck for v1.1 But with v1.0 just 5 days ago I connected a friend of mine with ZAP iOS to his new RaspiBlitz. But also ZAP iOS has a rapid release cycle, its possible that something changed.

Is it compulsory to run the DNS service in order to connect to the ZAP mobile wallet? ithought i could simply connect by just opening the port on my router.

I have the feeling it has something to do with the DDNS though.

Prolly this, cuz i have tried almost everything except for connecting to the DDNS service and i have nor managed to make it happen.

If the DDNS is OFF its the scenario to just use ZAP mobile wallet while you are connected to the same local network. The script puts the localIP of the raspiblitz into the QR code (assuming it will be stable). So there needs to be no port opening on thr router for that. If you have problems check if the mobile phone can reach the raspiblitz in the local network .. for example activate the RTL and open the URL on the mobile phone.
If the DDNS is ON the script will put your DDNS-domain into the QR code. You then need to have the port 10009 forwarded from your router - that should make the connection even when you are on another network with your mobile.

The DDNS server simply works like a charm... It is a waste of time to try anything else... Thanks

It worked great before zap released newer updates and raspiblitz released version 1 anyone working on the issue?

@walletofsatoshi did you tried version 1.1 of raspiblitz. A fix was part of that release.

No I was not aware of v1.1. Will try it out

It’s still not working even with v 1.1 can’t comnect zap wallet

see this with the same problem: https://github.com/rootzoll/raspiblitz/issues/476


Feature: ability to override schema template

could you explain use case of this ?

We might want to include some project specific instructions in the migration file generated. Also, we might have some things that always have to be included (like an hrl file, etc..).

is including hrl files etc. a good idea ? migration files should be independent of source codes otherwise it will create problems while downgrading DB.


Update docs to v0.4

I get the impression that the docs still reflect v0.3, as this is still what is in the master branch. They will have to be updated for the new vertical structure, including the yeoman commands which have changed in the generator-meanjs project.
I'm willing to start looking at this and make some PRs if that would be helpful!

@JuanCaicedo any docs that you make for 0.4.0 would be extremely helpful, as we are planning to finalize 0.4.0 very soon and formally release it.

@ilanbiala For sure, I can put something out for that. For clarification, should I send PRs here to generator-mean-js?

Here would be better.

@ilanbiala Can we close this Issue and move 0.4.0 documentation discussions to #443 ?


Add support for a single key to stop live stream recordings gracefully

A key like "q" to end live recordings would be useful because Ctrl+C if sent to a running shell script and not a command directly on a terminal, exits the whole script and doesn't let it continue. A similar feature on ffmpeg is on "q" key which stops the recording and exits, gracefully muxing to mp4/mkv afterwards:
[https @ foo] Opening 'https://example.com/media_326110.ts' for reading

[q] command received. Exiting.

With Ctrl+C --live-pipe-mux muxes to ts which isn't always desirable and --live-real-time-merge does produce playable stream files and not segments but doesn't clean the segments folder afterwards and as said above has problems with shell scripts control (SIGINT)

同问，如何暂停，Ctrl+C可以直接退出整个脚本吗


New package: PyramidScheme v0.1.0

Registering package: PyramidScheme
Repository: https://github.com/JuliaDataCubes/PyramidScheme.jl
Created by: @felixcremer
Version: v0.1.0
Commit: 5e71df95e940a0d9738cb7a300242b4e41d6b154
Reviewed by: @felixcremer
Reference: https://github.com/JuliaDataCubes/PyramidScheme.jl/commit/5e71df95e940a0d9738cb7a300242b4e41d6b154#commitcomment-143797647
Description: Building pyramids from large raster data

[noblock] Let the pyramid schemes begin!


Image preview

Description
Previewing Images
Fixes # (issue)
Users can now see previews of the images they're uploading.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Test A

Checklist

[x] My code follows the style guidelines of this project
[x]I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

 Need an image preview for which image is being added to the listing


GlobalKey not saving all the fields

Hello,
I use the FormBuilder quite extensively in. my project and I found one weird error.
I have quite big forms. When I use the fbKey.currentState.save() or fbKey.currentState.saveAndValidate() functions it is not getting the value from all the fields defined inside a FormBuilder object.
I realised that the fields gotten by the currentState are different  depending if I scroll down to the bottom of the page or at the top.
The form contains 8 fields:
repetitions_0, weight_0, repetitions_1, weight_1, repetitions_2, weight_2, repetitions_3, weight_3
When it is on the top of the screen:

When I scroll down to the bottom:

The form is inside of a NestedScrollView widget.
Any idea why this is happening?

This is the code that you can try:

import 'package:fitwin/screen/client/activity/detail/calendar/day/exercise/form_not_working.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';

class ExampleNotWorking extends StatefulWidget {

  ExampleNotWorking();

  @override
  _ExampleNotWorkingState createState() => _ExampleNotWorkingState();
}

class _ExampleNotWorkingState extends State<ExampleNotWorking> with TickerProviderStateMixin {
  TabController _tabController;

  ScrollController _scrollViewController;

  final GlobalKey<FormBuilderState> fbKey = GlobalKey<FormBuilderState>();

  @override
  void dispose() {
    _tabController.dispose();
    _scrollViewController.dispose();
    super.dispose();
  }

  @override
  void initState() {
    _tabController = TabController(vsync: this, length: 1);
    _scrollViewController = ScrollController(initialScrollOffset: 0.0);
    super.initState();
  }
  @override
  Widget build(BuildContext context) {
    _save() {
      fbKey.currentState.save();
    }
    return Scaffold(
        appBar: AppBar(
          title: Align(
              alignment: Alignment.center,
              child: Text(
                "Example Not working",
                style: Theme.of(context).primaryTextTheme.subtitle2,
              )),
          actions:  [
            Container(
                padding: EdgeInsets.fromLTRB(0, 0, 10, 0),
                child: IconButton(
                  icon: Icon(Icons.save, color: Colors.white),
                  onPressed: () {
                    _save();
                  },
                )),
          ],
          automaticallyImplyLeading: false,
          centerTitle: true,
        ),
        body: NestedScrollView(
          controller: _scrollViewController,
          headerSliverBuilder: (BuildContext context, bool boxIsScrolled) {
            return <Widget>[
              SliverAppBar(
                automaticallyImplyLeading: false,
                pinned: true,
                floating: true,
                expandedHeight: 0.0,
                forceElevated: boxIsScrolled,
                stretch: true,
                bottom: TabBar(
                  tabs: <Widget>[
                    Tab(
                      icon: Icon(Icons.description, color: Theme.of(context).accentColor),
                    )
                  ],
                  controller: _tabController,
                ),
              )
            ];
          },
          body: TabBarView(
            //physics: NeverScrollableScrollPhysics(),
            children: <Widget>[
              FormWithManySliders(fbKey)
            ],
            controller: _tabController,
          ),
        ));
  }
}

This is the class with all the sliders:

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';

class FormWithManySliders extends StatelessWidget {
  final GlobalKey<FormBuilderState> fbKey;

  FormWithManySliders(this.fbKey);

  Widget buildTitle(BuildContext context, String title) {
    List<Widget> widgets = [
      Container(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: <Widget>[
            Text(title,style: TextStyle(color: Colors.black),),
          ],
        ),
      )
    ];
    return Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: widgets,
    );
  }

  Widget buildSlider(String attribute, double initialValue, double min, double max,
      {bool enabled = true, Function onChanged, int divisions = 1}) {
    return FormBuilderSlider(

      key: Key(attribute),
      enabled: enabled,
      name: attribute,
      inactiveColor: Colors.grey,
      activeColor: Colors.blueGrey,
      onChanged: onChanged,
      min: min,
      max: max,
      divisions: divisions,
      initialValue: initialValue,
      decoration: InputDecoration(
        border: InputBorder.none,
        contentPadding: EdgeInsets.symmetric(vertical: 4),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    List<Widget> attributes = [];

    for (int i = 0; i < 8; i++) {
      attributes.add(buildTitle(context, "Serie " + (i + 1).toString()));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildTitle(context, "Repetitions")));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildSlider("repetitions_${i}", 5, 1, 10, divisions: 9)));

      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildTitle(context, "Weight (kg)")));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildSlider("weight_${i}", 10, 0, 25.0, divisions: 25 * 2)));
    }

      return Stack(
        children: <Widget>[
          FormBuilder(
              key: fbKey,
              initialValue: {},
              child: Container(
                  child: ListView.builder(
                    padding: EdgeInsets.all(0),
                    itemCount: attributes.length,
                    itemBuilder: (context, index) {
                      return Container(padding: EdgeInsets.fromLTRB(0, 6.0, 0.0, 6.0), child: attributes[index]);
                    },
                  ) //it is calling the list builder widget which has all
                //the data which is to be displayed in the form of list.
              )),
        ],
      );

  }
}

You can put a breakpoint in the save method and check the value of fbKey.currentState

This is the code that you can try:

import 'package:fitwin/screen/client/activity/detail/calendar/day/exercise/form_not_working.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';

class ExampleNotWorking extends StatefulWidget {

  ExampleNotWorking();

  @override
  _ExampleNotWorkingState createState() => _ExampleNotWorkingState();
}

class _ExampleNotWorkingState extends State<ExampleNotWorking> with TickerProviderStateMixin {
  TabController _tabController;

  ScrollController _scrollViewController;

  final GlobalKey<FormBuilderState> fbKey = GlobalKey<FormBuilderState>();

  @override
  void dispose() {
    _tabController.dispose();
    _scrollViewController.dispose();
    super.dispose();
  }

  @override
  void initState() {
    _tabController = TabController(vsync: this, length: 1);
    _scrollViewController = ScrollController(initialScrollOffset: 0.0);
    super.initState();
  }
  @override
  Widget build(BuildContext context) {
    _save() {
      fbKey.currentState.save();
    }
    return Scaffold(
        appBar: AppBar(
          title: Align(
              alignment: Alignment.center,
              child: Text(
                "Example Not working",
                style: Theme.of(context).primaryTextTheme.subtitle2,
              )),
          actions:  [
            Container(
                padding: EdgeInsets.fromLTRB(0, 0, 10, 0),
                child: IconButton(
                  icon: Icon(Icons.save, color: Colors.white),
                  onPressed: () {
                    _save();
                  },
                )),
          ],
          automaticallyImplyLeading: false,
          centerTitle: true,
        ),
        body: NestedScrollView(
          controller: _scrollViewController,
          headerSliverBuilder: (BuildContext context, bool boxIsScrolled) {
            return <Widget>[
              SliverAppBar(
                automaticallyImplyLeading: false,
                pinned: true,
                floating: true,
                expandedHeight: 0.0,
                forceElevated: boxIsScrolled,
                stretch: true,
                bottom: TabBar(
                  tabs: <Widget>[
                    Tab(
                      icon: Icon(Icons.description, color: Theme.of(context).accentColor),
                    )
                  ],
                  controller: _tabController,
                ),
              )
            ];
          },
          body: TabBarView(
            //physics: NeverScrollableScrollPhysics(),
            children: <Widget>[
              FormWithManySliders(fbKey)
            ],
            controller: _tabController,
          ),
        ));
  }
}

This is the class with all the sliders:

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';

class FormWithManySliders extends StatelessWidget {
  final GlobalKey<FormBuilderState> fbKey;

  FormWithManySliders(this.fbKey);

  Widget buildTitle(BuildContext context, String title) {
    List<Widget> widgets = [
      Container(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: <Widget>[
            Text(title,style: TextStyle(color: Colors.black),),
          ],
        ),
      )
    ];
    return Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: widgets,
    );
  }

  Widget buildSlider(String attribute, double initialValue, double min, double max,
      {bool enabled = true, Function onChanged, int divisions = 1}) {
    return FormBuilderSlider(

      key: Key(attribute),
      enabled: enabled,
      name: attribute,
      inactiveColor: Colors.grey,
      activeColor: Colors.blueGrey,
      onChanged: onChanged,
      min: min,
      max: max,
      divisions: divisions,
      initialValue: initialValue,
      decoration: InputDecoration(
        border: InputBorder.none,
        contentPadding: EdgeInsets.symmetric(vertical: 4),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    List<Widget> attributes = [];

    for (int i = 0; i < 8; i++) {
      attributes.add(buildTitle(context, "Serie " + (i + 1).toString()));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildTitle(context, "Repetitions")));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildSlider("repetitions_${i}", 5, 1, 10, divisions: 9)));

      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildTitle(context, "Weight (kg)")));
      attributes.add(Padding(padding: EdgeInsets.fromLTRB(10, 2, 0, 0), child: buildSlider("weight_${i}", 10, 0, 25.0, divisions: 25 * 2)));
    }

      return Stack(
        children: <Widget>[
          FormBuilder(
              key: fbKey,
              initialValue: {},
              child: Container(
                  child: ListView.builder(
                    padding: EdgeInsets.all(0),
                    itemCount: attributes.length,
                    itemBuilder: (context, index) {
                      return Container(padding: EdgeInsets.fromLTRB(0, 6.0, 0.0, 6.0), child: attributes[index]);
                    },
                  ) //it is calling the list builder widget which has all
                //the data which is to be displayed in the form of list.
              )),
        ],
      );

  }
}

You can put a breakpoint in the save method and check the value of fbKey.currentState

When we are on the top of the screen the fields are:

While at the bottom of the screen the fields are:

I think it is quite an important bug.

When we are on the top of the screen the fields are:

While at the bottom of the screen the fields are:

I think it is quite an important bug.

Hi, @dvirgiln, I hope you are having a good day,
Problem
In the code snippet that you attached, I can see that you are using ListView.builder to to layout your widgets, and that is the problem.
Explanation
The constructor builder for ListView builds widgets on demand when they are viewed on your screen, according to flutter documentation: "The builder is called only for those children that are actually visible.", so that explains why you are only seeing 8 or 7 widgets every time (depending on what you see on emulator).
Solution
I suggest that you use different method for your layout, like  SingleChildScrollView and inside it put your widgets.
And The code should be something like.
return Stack(
      children: <Widget>[
        FormBuilder(
          key: fbKey,
          initialValue: {},
          child: Container(
            child: SingleChildScrollView(
              child: Column(
                children: attributes,
              ),
            ),
          ),
        ),
      ],
    );

Hi, @dvirgiln, I hope you are having a good day,
Problem
In the code snippet that you attached, I can see that you are using ListView.builder to to layout your widgets, and that is the problem.
Explanation
The constructor builder for ListView builds widgets on demand when they are viewed on your screen, according to flutter documentation: "The builder is called only for those children that are actually visible.", so that explains why you are only seeing 8 or 7 widgets every time (depending on what you see on emulator).
Solution
I suggest that you use different method for your layout, like  SingleChildScrollView and inside it put your widgets.
And The code should be something like.
return Stack(
      children: <Widget>[
        FormBuilder(
          key: fbKey,
          initialValue: {},
          child: Container(
            child: SingleChildScrollView(
              child: Column(
                children: attributes,
              ),
            ),
          ),
        ),
      ],
    );

Thanks a lot. it makes total sense. I will need to modify many parts of my code :) thanks to you @ShadyZekry

Thanks a lot. it makes total sense. I will need to modify many parts of my code :) thanks to you @ShadyZekry

This issue is resolved?


Support for padding currency values

Currently if you use the currency helper on a value such as 123.00 it will format it as $123 and 123.30 will be formatted as $123.3. However when displaying currency you almost always want two decimal places. Is there a way to do this?

check https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat, and look for custom formatters, which allow you to define the exact options to be passed into that constructor under the hood when formatting messages like:  something {value, number, myOwnConfig}.
As for the assumption of all currency values should have 2 decimal places, that's not accurate, that really depends on the locale, and the currency denomination of each region, you should let the engine to decide that for you depending on the locale.


Create an update script

Create a function an command to upate everything.
Install:

GoInstallBinaries (x-ray/go)

Update:

GoUpdateBinaries (x-ray/go)
mason-tool-installer: this emits an event on update, use that from the command line possibly?

Not really necessary now in LazyVim.


Create KMP algorithm

kmp algo done
please review @abhaysinghr516

It will be updated soon.

please review rest of the pull request

It will be updated soon.

i think ,it is not registerd yet i request you to please look what the problem is

plz star the repo.

sure


Question: How to break out of broadcast to focus keyboard on one host

Let say I run:
i2cssh -b -m host1,host2,host3
If I type in one window, it goes to all hosts. Great!
But now let's say I want to focus the keyboard on just host1.
I fix whatever I need to fix on host1 and now I want to go back to typing to all hosts.
How do I toggle the sending-the-keyboard to either 1 host or all hosts?
Thanks! Awesome tool!

Hi! You can hit Cmd-shift-i to toggle broadcast, or in the iterm2 menu Shell -> Broadcast input.

@wouterdebie , you rock! Thanks!!!


Consider basing samples on latest Server Core version

This is what I see today:
docker pull mcr.microsoft.com/dotnet/framework/samples:aspnetapp
docker history mcr.microsoft.com/dotnet/framework/samples:aspnetapp
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
716eefe0c490        2 weeks ago         powershell -Command $ErrorActionPreference =…   25.7MB
<missing>           2 weeks ago         powershell -Command $ErrorActionPreference =…   41kB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   41kB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   41kB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   41kB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   183MB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   363MB
<missing>           3 weeks ago         powershell -Command $ErrorActionPreference =…   41kB
<missing>           3 weeks ago         cmd /S /C \Windows\Microsoft.NET\Framework64…   1.02GB
<missing>           3 weeks ago         cmd /S /C #(nop)  ENV COMPLUS_NGenProtectedP…   41kB
<missing>           3 weeks ago         cmd /S /C powershell -Command         $Progr…   735MB
<missing>           3 weeks ago         cmd /S /C powershell -Command         $Progr…   1.13GB
<missing>           3 weeks ago         Install update ltsc2016-amd64                   3.46GB
<missing>           3 years ago         Apply image 1607-RTM-amd64                      7.68GB

I can some reasons for doing this (breadth), but they come with a lot of tradeoffs. I think these sample images should demonstrate the best that Windows Server has to offer. Some people won't be able to use them, but I suspect most developers will.

For clarity 20H1 is the host version being used.

The reason for this behavior is because the Host OS is a pre-release version which we have not added support for yet within the multi-platform tags.  The manifest for this tag looks like the following:
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3547,
         "digest": "sha256:d1c248fd91b81a296b84dbf4f2cef06a19e3d9cd4f0ffeac483fcfa7dc64c5d1",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.14393.3326"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3546,
         "digest": "sha256:ce426b324d0950c248d402fb350ce04527f4469e53d18775bc8c69413ec7932e",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.17763.864"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3119,
         "digest": "sha256:04e6a4379e1ee7e676bc67b1e7e3b7a352e06f06798f17245477aae63158cf4f",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.18362.476"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3197,
         "digest": "sha256:6f8773ffbf40ce4a9f243a78dcca97d3aab5e7113d6de4972fc1b8cf3db9bf4a",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.18363.476"
         }
      }
   ]
}

The Docker manifest resolution logic does the following:

Filter out all entries that don't match the Host OS (Windows/Linux) and Architecture
Find first entry that matches the host OS version only comparing the first 3 parts - major.minor.build  The 4th part of the version is ignored.
If an exact version match is not found, the first manifest entry is returned.  The Docker code has a TODO comment to prioritize higher version numbers.

Based on this logic, the LTSC2016/1607 image is getting pulled.  We could change this behavior by re-ordering the manifest so that the highest versions are listed first.  Making this type of change to previously released tags would be a breaking change.  It would be potentially damaging in situations where users are running non-released OS versions.   Given this problem only exists for pre-release OS versions and that the correct images are pulled for released Windows versions I don't recommend making any changes to the .NET manifests.  The best change to make for the whole Docker ecosystem would be to address the TODO comment referenced earlier within the Docker code.