EngineBuilder API: addDnsQueryTimeoutSeconds

Description: API for addDnsQueryTimeoutSeconds to configure behavior introduced in https://github.com/envoyproxy/envoy-mobile/pull/1580
Risk Level: low - optional builder API
Testing: updated suite.
Docs Changes: added
Signed-off-by: Jose Nino<EMAIL_ADDRESS>

@rebello95 @buildbreaker ready for review

@buildbreaker can I get a review to re-approve @rebello95's dismissed review?


Add an ALM guide?

Application lifecycle management seems kinda important, it sure would be handy to have a guide.
I'm not seeing one, hopefully, I'm missing it 🤞.
Feels like it's the next step in: Quickstart: Deploy an existing container image with the Azure CLI; post an update to your container app, how do I do that?  I published v1 but what about v1.1? 🤔
Snapshot of current guides:

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

ID: bff43652-6118-110e-9c79-01e51f0811f9
Version Independent ID: 2a8e983a-06a2-5c08-73c1-827ec8ff8f89
Content: Application lifecycle management in Azure Container Apps
Content Source: articles/container-apps/application-lifecycle-management.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

😂, just skimmed Tutorial: Deploy a Dapr application to Azure Container Apps using the Azure CLI & the next step is this ALM page so I'm not alone I guess 😊

@spottedmahn Thanks for your input.  Does the Application Life Cycle Management article meet your needs?  This article is under the Concepts section of the Container Apps documentation.

@spottedmahn Thanks for the feedback! I have assigned the issue to the content authors to investigate further and update the document as appropriate.

@spottedmahn  I'm sorry that you had to struggle with this.   Besides covering the az containerapp update and az containerapp revision copy commands, is there anything else that you feel would be useful in a guide such as you suggested?  Some areas that are vague, or particular use cases, or examples that you would like to see covered?

is there anything else that you feel would be useful in a guide such as you suggested?

related to ALM?  not that I can think of at the moment, thanks!

@spottedmahn  We really appreciate your input, it helps us improve our customer experience.   We have an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


test data mapbox_st_helens.png and terrarium.png result is not expected

env
google colab
steps
pip install -U pydelatin meshio
!wget -c https://raw.githubusercontent.com/kylebarron/pymartini/master/test/data/mapbox_st_helens.png
!wget -c https://raw.githubusercontent.com/kylebarron/pymartini/master/test/data/terrarium.png

code
import imageio.v2 as imageio
import meshio
from pydelatin import Delatin
from pydelatin.util import decode_ele, rescale_positions

path = './terrarium.png'
terrarium = imageio.imread(path)
terrain = decode_ele(terrarium, 'mapbox')
tin = Delatin(terrain, max_error = 30)
vertices, triangles = tin.vertices, tin.triangles
cells = [("triangle", triangles) ]
mesh = meshio.Mesh(vertices, cells)
mesh.write('terrarium.stl')

result

expected result
elevation is show accurately like mt_fuji.png in your github test data

best regards

terrain = decode_ele(terrarium, 'mapbox')

Well this is wrong. You're decoding a terrarium-encoded file as if it were encoded with mapbox encoding

terrarium.png result is expected when set decode to terrarrium
first post
st_helens is decode using 'mapbox'
this are try to decode st_helens using 'terrarium'

still not expected for st_helens.png
best regards

The St Helens file came from Mapbox, and so that should be loaded with "mapbox" decoding.
From your screenshot, the mesh from St Helens looks flat. You should be able to easily get the elevations of each vertex in the mesh and use numpy to get min/max values. Can you do that and verify that those min/max values are in the range of Mt. St. Helens?
I would not be surprised if the error is in the conversion to meshio, not in my code. I never had an issue with pydelatin or with pymartini in production.

how to get the elevations of each vertex in the mesh and use numpy to get min/max values ?
thanks and best regards


Issues with building on Manjaro

Hallo
I am coming from stock Irrlicht, and wanted to check this framework out. I have tried to build it on Manjaro , following git cloning the repo and following build commands:
cd Nabla
mkdir build
cd build
cmake ..
make

However it seem to fail giving me this error message (after 6% building complete):
  File "/home/../Desktop/nabla/Nabla/src/nbl/builtin/builtinHeaderGen.py", line 21, in <module>
    outp = open(outputFilename,"w+")
FileNotFoundError: [Errno 2] No such file or directory: '/home/../Desktop/nabla/Nabla/build/include/nbl/builtin/builtinResources.h'
make[2]: *** [src/nbl/CMakeFiles/builtin_resources.dir/build.make:191: include/nbl/builtin/builtinResources.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:5972: src/nbl/CMakeFiles/builtin_resources.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I have no idea how to fix this, or what i am missing . Is it a dependency i need? My plans are to try and use nabla as a submodule rendering framework.
Gracias

Our intern is working on an X11 implementation
https://github.com/Devsh-Graphics-Programming/Nabla/pull/187
watch his branch, he "should" be done by end-of September.


Improved demo, and Added support for function-less callbacks

No more need to decorate you functions with Callback, non dynamic answers can be easily specified using kwargs

That not good...


extra dependencies not being installed

Hi!
When following the instructions and running poetry install -E test -E doc -E dev, extra packages such as tox are not installed. I think this is related to closed issue 67.
This is related to this Poetry behaviour. Extra packages should come from dependencies and not dev-dependencies, otherwise they are not installed.
I have tried to move the dev-dependencies packages within the dependencies section in pyproject.toml and after having updated the poetry.lock it works fine.
Do you want me to send a PR with this? I you think it would be better to somewhat separate "dev" dependencies from other dependencies, an option would be to use Poetry dependency groups with something such as a [tool.poetry.group.test.dependencies] section. I can do that in the PR if you think it is better.

Hi Rémy,
thanks for taking the time to experiment with NannyML and help us improve!
Just setting a quick bit of context here: the reason why we moved stuff from dependencies to dev-dependencies is to make sure they are not included in the packages being built by poetry, as they are not required for running NannyML, only for development, testing or documentation tasks.
The link you've given to the dependency groups are pointing to the master version of poetry, i.e. a not-yet-official release. We've decided to stick with the latest officially released version (should be 1.1.13) so we don't force people to have to use preview releases. I'm guessing that you're running one of the 1.2.* versions? They have a different syntax for both defining the Poetry dependency groups and installing extra dependencies compared to the latest release version. I'm guessing that's why the poetry install -E test -E doc -E dev command doesn't work as expected.
I gave this a quick try yesterday on 1.1.13 and it seemed to work as expected.
Could you quickly confirm your poetry version? You can check by running poetry --version.
Cheers!

I was using poetry 1.1.11.
I believe the dependency groups are only available on later versions of poetry (>=1.2, to be checked), however the extras not being installed when specified in dev-dependencies seem to be a common behaviour in all versions. I will check on 1.1.13 and come back to you.
If your intent is to avoid packages being included on built packages, isn't the optional option specified in pyproject.toml enough, no matter if the package is specified in dependencies or dev-dependencies?

Okay, I did some quick experiments and I think that I can simplify the setup as follows:

Remove the dependency groups for now (until they become properly available on the new release). Use cases right are are just "build the package" vs. "do development on the package", which means dependencies vs. dev-dependencies should cover those cases right now.

Remove the optional = true setting from all dev-dependencies, since this is actually not correct in a dev-dependencies context (the official Poetry docs are not very clear about this one). By listing packages under the dev-dependencies they will be included by default when installing using poetry (unless providing the --no-dev option). They are however not included when building the package, which is exactly the behavior we require.

This means the pyproject.toml dependencies look like this:
[tool.poetry.dependencies]
python = ">=3.7.1,<3.11>"
# ...
seaborn = "^0.11.2"

[tool.poetry.dev-dependencies]
black  = "^22.3.0"
# ...
sphinx-copybutton = "^0.5.0"

Installation of the dependencies is now just poetry install and that's it.
What do you think?

It looks fine to me! 👍

Excellent, glad we got this cleaned up! Would you like to contribute this?

Sure, I will propose a PR soon.


Does TensorFlow 1.1 support CUDA 9.1?

Does TensorFlow 1.5 support CUDA 9.1? if not , shoud i degrade my cuda or upgrade tensorflow?

TensorFlow-gpu 1.1

How are you installing tensorflow? The current prebuilt binaries 1.5 and 1.6 are built against CUDA 9.0 so you will need this version of CUDA installed. You can use CUDA 9.1 if you compile tensorflow from source and specify that version during the configuration step.

No, tensorflow-gpu supports CUDA 9 since 1.5. Tensorflow < 1.5 is unable to be compiled with CUDA 9. I have tried to compile 1.4 with CUDA9, but I failed.
See the tested source configurations in the following site.
https://www.tensorflow.org/install/install_sources#tested_source_configurations

@xysmlx thanks a lot . here i met a new problem  . i've installed tensorflow-gpu with cuda 8.0 and i write a simple program, but it's freezed when running session = tf.session(). when use keras to train data. it's also freezed like this.

@LANRRI These information say that tensorflow can get a higher performance when compiled with these instructions but tensorflow can also run normally without them. These information do not affect your programs. If there are problems, please check your codes.

@xysmlx i mean when the code run to session = tf.session()  the thread is freezed with no error or exception in 1 hour . the program is no longer processing.
simply, just run one line code "import tensorflow as tf ; session = tf.session()"  the problem is still there.

@LANRRI If you cannot run the validation code, there must be errors in your installation. I recommend you to reinstall the tensorflow in this case.
https://www.tensorflow.org/install/install_linux#validate_your_installation
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

@xysmlx  thank you


Peer Discovery from Config and Mock

implements MPC helper peer discovery as a trait to allow for multiple methods of discovery.
Initial implementation uses a config file to describe peers, which should be enough to get us off the ground. We'll consider more sophisticated methods in the future, such as leader/follower style or C&C style.

reopening against main repo


Will this work on xml documents?

I will be parsing RSS feeds and am wondering if I can use querySelectorAll on an xml doc

I've never tried, but if anything, it will parse the XML as if it is HTML which you may not want. I plan to add a proper XML parser at some point, but I haven't gotten around to it yet. You can try it, and it may be good enough for what you need.

I should add that parseFromString only accepts text/html for now

Thanks for the explanation, interested in this too. I have routinely parsed XML with .parseFromString(xml, 'text/html') and it often seems to work; could you explain what it means to “parse XML as if it is HTML”?
Thanks for this awesome library.

There are some subtle differences. For example, HTML doesn't support self-closing elements other than void HTML elements, while XML does. Also if the XML looks like HTML, the parser might shuffle around nodes without warning to fit with the rules of HTML, while XML should never do that.

I see, thanks.

Hi, I'm also facing the need to parse RSS feeds for a CLI version of Meta-Press.es (press meta-search-engine).
Parsing RSS XML files with text/html content-type allows to get the content of some elements (such as titles) but not links nor pubDates (which aren't HTML).
In my use case, as long as I can querySelector() elements and reach their textContent it's OK, I don't need strict parsing nor element order.
(well, to be true, over the nearly 1000 scrapped newspaper websites sometimes I need to reach attributes and sometimes I use XPath)


fixed build

Thank you for you PR! Would you mind adding IF(UNIX AND NOT APPLE) checks before linking the X11 library? This wouldn't work on Windows OR MacOS

Just a nitpick and then I'll merge. You could link Zeuron once and X11 inside the if without an else. Also looks like the IF has indentation which is odd


Avoid using System.exit because it kills the JVM

Avoid using the System.exit instruction because it kills the JVM in the server. Specifically it kills the Jenkins instance running in the same machine. For example, when this process is called with wrong arguments.
@reviewbybees @kohsuke

I think that at the point where the System.exit is called there is no other threads created and it's safe to do a return instead of a System.exit.

JENKINS-53394 I presume. Please maintain cross-links.


Developer Experience blog article

Description
Developer Experience article whispering Platform Engineering and a sprinkle of AI
Although practitioner-friendly. This article targets lead/manager-level professionals and is friendly to share with others that may be a decision step above, or business focus types.
Checklist:

[ ] I have reviewed the style guide.
[ ] If blogging, I have reviewed the blogging guide.
[ ] I have manually confirmed that all new links work.
[ ] I added aliases (i.e., redirects) for all filename changes.
[ ] If making css changes, I rebuilt the bundle.

@scottslowe I made the changes, and added a question at the bottom and a meta image, but now there is a new error and I don't know where it is. It gives me no clues!


Expose ProjectCleaner API to Blueprints

Based on request of users(like #29), it will be good decision to expose some API functions used in ProjectCleaner itself.

Done. Available in v.1.6.0 releases.


Search by file types done

Hello @wmarquardt! Thanks for opening this PR.


What fields do we need?

We use the Rational field for tests, but this is mostly for historical reasons. Rationals are not very efficient and we're not going to use them in production, so maybe we should just ditch them entirely.
On the other hand the Jubjub field is much less efficient for some reason (I guess, inversion is expensive?). And in our tests Rational is faster than even F17.
But maybe this is because we generate way too many tests involving stuff like asInteger (1/2) that just fails immediately?
This needs to be investigated.
Also F17 is too small. We should have some bigger field, like F97 just so that we can fit more tests into it (some tests in the compiler repo are disabled, because F17 is too small) while still testing overflows.
And probably we need a field of around 10^6/10^7 elements so that we can test some big expressions while retaining the efficiency of F17.

Did we not add a field library at some point?  If I recall correctly that would give you F97 (or ℤ/pℤ for any other prime p) for almost no work.

Yes, but it doesn't seem efficient. I have an idea on how to use the library, but get optimized operations.

It should be pretty easy to implement prime fields efficiently.  You just want the integers modulo p with the usual addition, subtraction and multiplication.  The tricky part is calculating inverses, which you do with the (very fast) extended Euclidean algorithm: https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm .
Given a prime p and an integer a such that p doesn't divide a (ie a ≠ 0 modulo p), the EEA gives you integers m and n with am + pn = 1, and then module p you've got am = 1, so m is the inverse of a modulo p (and you might want to reduce m to get 0 ≤ m ≤ p-1).  That will give you an implementation of 𝔽_p which should be pretty much optimal.
It would be interesting to know why the galois-field package is inefficient: I imagine that's what it's doing underneath, for prime fields anyway.  I'll have a look.

Data.Galois.Field.Prime  seems to be inheriting most of its operations from Data.Mod, which in turn uses [GHC.Integer.GMP.Internals](GHC.(http://hackage.haskell.org/package/integer-gmp-<IP_ADDRESS>/docs/GHC-Integer-GMP-Internals.html, which does most of its work using the GMP library (https://gmplib.org/).  For example, inverses are calculated using recipModInteger, which uses a GMP function via the FFI to do the hard work.  It's hard to see why any of this would be particularly inefficient, except that there's a lot of type-level stuff and you have to go through quite a few typeclasses.  You'd think that GHC would be able to compile that pretty efficiently though.

Data.Galois.Field.Prime seems to be inheriting most of its operations from Data.Mod, which in turn uses GHC.Integer.GMP.Internals, which does most of its work using the GMP library (https://gmplib.org/). For example, inverses are calculated using recipModInteger, which uses a GMP function via the FFI to do the hard work. It's hard to see why any of this would be particularly inefficient, except that there's a lot of type-level stuff and you have to go through quite a few typeclasses. You'd think that GHC would be able to compile that pretty efficiently though.

recipModInteger is O(log n), right? Given that -1 is<PHONE_NUMBER>5126190479447740508185965837690552500527637822603658699938581184512 in Jubjub.F, it might cause slowdowns
if dictionaries do not get inlined, that also can easily result in much less efficient code
FFI calls are unsafe there, so they should be very cheap indeed

Given that Jubjub.F is around an order of magnitude slower than F17, I don't think it's something too surprising.

Actually, I was thinking about -1.  Since all these fields are circular,
can we have an optimisation step that tries to remove negative numbers?
On Fri, Apr 10, 2020 at 5:06 PM effectfully<EMAIL_ADDRESS>wrote:

Data.Galois.Field.Prime seems to be inheriting most of its operations from
Data.Mod, which in turn uses GHC.Integer.GMP.Internals, which does most of
its work using the GMP library (https://gmplib.org/). For example,
inverses are calculated using recipModInteger, which uses a GMP function
via the FFI to do the hard work. It's hard to see why any of this would be
particularly inefficient, except that there's a lot of type-level stuff and
you have to go through quite a few typeclasses. You'd think that GHC would
be able to compile that pretty efficiently though.

recipModInteger is O(log n), right? Given that -1 is
52435875175126190479447740508185965837690552500527637822603658699938581184512
in Jubjub.F, it might cause slowdowns
if dictionaries do not get inlined, that also can easily result in
much less efficient code
FFI calls are unsafe there, so they should be very cheap indeed

Given that Jubjub.F is around an order of magnitude slower than F17, I
don't think it's something too surprising.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/effectfully/tiny-lang/issues/67#issuecomment-612069558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASOTJN4NVDZCM3MND7V6GDRL4YWFANCNFSM4ME4OJYA
.

--
Jakub Zalewski
FUNCTIONAL COMPILERS ENGINEER | POZNAN, POLAND
Website: www.iohk.io https://iohk.io/
Skype: jakubz.pl
Twitter: @jakzale
PGP Key ID: B7E7CE31
https://pgp.mit.edu/pks/lookup?op=get&search=0x33D0FF67B7E7CE31
[image: Input Output] http://iohk.io/
[image: Twitter] https://twitter.com/InputOutputHK [image: Github]
https://github.com/input-output-hk [image: LinkedIn]
https://www.linkedin.com/company/input-output-global [image: YouTube]
https://www.youtube.com/channel/UCBJ0p9aCW-W82TwNM-z3V2w [image: Facebook]
https://www.facebook.com/iohk.io/ [image: Reddit]
https://www.reddit.com/r/cardano/ [image: Meetup]
https://www.meetup.com/pro/cardano/ [image: CardanoAnnouncements]
https://t.me/CardanoAnnouncements

Actually, I was thinking about -1.  Since all these fields are circular,
can we have an optimisation step that tries to remove negative numbers?

Fields are circular, but at least currently field elements represent integers. This is going to be important once #69 is implemented, and we already use the "integer" semantics of field elements in stuff like xs [ i ].
And UX of that would be pretty terrible. Your program works, you change something benign, the optimization no longer fires, the program breaks.


updatecli is messing with indents 😓

Describe the bug
after a updatecli apply it messes with indents on a list.
To Reproduce
updatecli.d/argocd.tpl
source:
  kind: githubRelease
  spec:
    owner: "argoproj"
    repository: "argo-cd"
    token: "{{ requiredEnv .github.token }}"
    username: "{{ .github.user }}"
    version: "latest"
targets:
  argocd:
    name: argo-cd
    kind: yaml
    prefix: https://github.com/argoproj/argo-cd/manifests/cluster-install?ref=
    spec:
      file: argocd/kustomization.yaml
      key: bases[0]
    scm:
      github:
        user: "{{ .github.user }}"
        email: "{{ .github.email }}"
        owner: "owner"
        repository: "repo"
        token: "{{ requiredEnv .github.token }}"
        username: "{{ .github.username }}"
        branch: "master"

argocd/kustomization.yaml
bases:
- https://github.com/argoproj/argo-cd/manifests/cluster-install?ref=v1.6.1
resources:
- certificate.yaml
- argocd-ingress-webhook.yaml
- appprojects/core-services.yaml
- appprojects/env-proxy.yaml
- appprojects/system-services.yaml
patches:
- argocd-service.yaml
- argocd-cm.yaml
- argocd-rbac-cm.yaml

Expected behavior
only the bases line is updated without touching indents as we are trying to follow a style.
Screenshots

Version (please complete the following information):

OS: linux
Version v0.0.20

Indeed lists are aligned with the key, this is the default behavior from go-yaml/yaml the yaml library.
Regarding indentation, at the moment, it's set to 2 but we could easily modify the code to provides it as an option in the yaml spec.

ha apparently in your case it's the opposite happening here, let me look, I am wondering if the problem is not coming from  the SetIndent

I am closing this ticket as this is the default behavior for the YAML library that we are using. Feel free to reopen in the future, if a better solution exists.


Fix duplicate of toggle buttons for dark mode

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?.
Summarize what this PR fixes:-
fixes #954

Remove duplicate Toggle Button
Rearrange in the DOM

What ISSUE NUMBER does this fix?
Fixes #
fixes #954
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue - I created the issue

There isn't a duplicate toggle and this changes the placement of it from the mockup. It has a mobile version and a larger version. The mobile circle is a little off in alignment, but otherwise the toggle is fine.

Ok, thank you. However when there are two toggle buttons, one for mobile and one for desktop it causes problems with maintainability and they are also out of synch with each other. If you toggle dark mode when in mobile version and then scale up the screen to make the desktop one appear, they are not synched in how they are visualized. But thank anyways for the review.


static variables is not working v0.9.9

static variables are not working (both in watch and on hover) with or without namespaces regardless of the breakpoint location.

Also fixed in 693d20ec1a7d5147abe2e1ec64a6ef15caa4639e. Will push a new build with this fix shortly.

Thanks for all the hard work.
I tried the build and static variables are only showing up for struct/class. It doesn't work for global static, static within namespace and static in Base/Derived configuration.

Are you sure that these statics are being referenced in your example? If the symbols are stripped because they are not being used, they effectively don't exist to the debugger.

Yeah you are right, I didn't knew symbols will be stripped in debug mode. It works fine, sorry for the negligence.
Btw nice take on c_plus_plus haha

No problem, glad it's working! :)


Added the security section into CHANGES

To explicitly call out the future security fixes in Beam Java/Python/Go SDKs, we propose to add the new section (i.e., Security Fixes) to the template of CHANGES.md

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Somehow my local formatter causes a lot of diffs. Close this for now.


Support S3 uploads with a directory

Overview

Currently, the dir key isn't being properly supported when uploading to S3. The UI works fine, but the server-side validations fail.
We're checking a couple pieces of data formio sends to the server for consistency, and they just aren't intended to be consistent in this case -- the file name is the basename, but key is the full S3 object key.
Checklist

[x] tests/ added or updated
[x] CHANGELOG.md's Unreleased section is updated
[x] Documentation is updated

Coverage remained the same at 87.485% when pulling d32c348308a32453eb2be827d1130cf369825c70 on s3-uploads-with-dir into 2ccd519ab0c1b597eaf42ad7415778fb078730ab on develop.


Model shorthand does not work under local-users

Many playbooks depend upon a shorthand for cross-model work, e.g., -m openstack; however, these were created under a single-user environment where the models resided under a namespace for that single user. Juju would assume the admin/ prefix.
Under local-users, the prefix is now assumed as the current Juju user, breaking the playbooks:
$ juju config -m openstack designate-bind
ERROR model foundations-maas:jlettman/openstack not found

Searching the juju documentation for environment variables, it appears there is no variable available to change the assumed prefix.
If we can find a way to change the behavior through a configuration option, it would be incredibly helpful for any transition to a split user environment.

I will spelunk through the source to find where it's making the assumption shortly.


Answering a few Why questions and a tiny formatting fix

Hey @deitch please take a look.

This was a really good idea. So much easier to see the specific open questions this way in a short focused PR. Comments will be inline.

Most of it helps quite a bit. I added questions on the areas that weren't full clear to me.
Can you also comment on some of the other grub patch stuff, especially here and here ?

Hey @deitch any chance you can let us know if there's anything in this thread still work keeping? I think we've transitioned to other PRs at this point -- but I wanted to ask you explicitly.

Nope, everything has been incorporated. I pushed on last night to capture all of our discussion so we could get it while fresh. We are good here.


Disk Space Usage Alert With Elastalert

Hello Everyone,
I've set up the ELK stack for monitoring.   Can anyone help with setup disk space alert?

The following information may be helpful
How do you make a rule that sends an alert when there is, for example, only 80% disk space left? Low disk space rule #1807
elastalert_filesystem_watch.yaml


Dde light mode support

Description
This PR fixes #
Added a function to identify whether the user's system is using light mode or dark mode, based on that the color of the logo changes

Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Will you also change the background color of the three rounded rectangles?


[SPARK-43985][PROTOBUF] spark protobuf: fix enums as ints bug

What changes were proposed in this pull request?
Currently, when deserializing protobufs with enums.as.ints set to true, repeated enum fields will raise an exception. This is because the UnsafeArrayData type (which is the array type for primitives) does not support the .set method, and we should instead use .setInt.
Why are the changes needed?
Fixes a bug in the current code.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit tests were added to highlight this use case.

cc @rangadi @SandishKumarHN

LGTM. @justaparth do you need to update the descriptor file? Btw, with #41377, we don't need to.

ah good catch, i updated and added to the PR.
#41377  looks awesome, thanks for doing that!

@gengliangwang, @LuciferYang could one of you merge this?

Merged to master.


Add ble support b u585i

This patch introduces the Bluetooth Low Energy (BLE) feature to the board.
The board utilizes the STM32WB5MMG as the BLE module. However, As there
was no BLE controller available for this module. Therefore, a board
support package has been added to enable the STM32WB5MMG module to act as
a BLE controller. This is achieved by running Zephyr's hci_uart example on
the STM32WB5MMG module which enables communication with the main
microcontroller over the H:4 HCI transport protocol. So, users must first
build the BLE controller for the BLE module and upload it via on board
ST-Link,then they can uses Zephyr Bluetooth demos on the development board
Note that there was no hardware flow control wiring available on the
board, which is why it has been disabled in the both main board and BLE
module Device Tree. As the board doesn't support HW flow control, users
must must set CONFIG_BT_HCI_ACL_FLOW_CONTROL=n in project files.

@javad123javad Please fix compliance issue

@javad123javad Please fix compliance issue

Sure, As it is approved, what is the proper way to do it? should I rebase to my commit or to the base commit?
You explained it here, but I didn't understand it correctly.

Sure, As it is approved, what is the proper way to do it? should I rebase to my commit or to the base commit?

Yep: fix and force-push. Avoid rebase if not required. You'll lost approval, but we should be able to identify change easily and re-approve quickly.


add ability to continue from certain step

Would be nice to continue from a certain step if you stopped part of the way through. With prompt config this shouldn't be too bad.
what would be really nice is to continue from certain step and steer it in another direction (like if you didn't like where it went when it ran the first time)...something to think about

Here we can probably do "steering" to different image when continuing. This is just a thought, I haven't tried it. But here's what I had in mind:
Say you're going from image A -> image B. At step 50 out of 200 you start not liking the outputs, or they become nsfw. Maybe here we lerp A->B at a certain "continuation step", then introduce a new image (image C), and start to lerp between the combined AB embedding and C.

Closing with #42


[Feature] support spring boot 3.0+spring cloud 2022

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
support spring boot 3.0+spring cloud 2022
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

This is too general, and we had latest SpringMVC support.
Notice, SkyWalking community wouldn't track plugins development, it is pure driven by contributors themselves.


Automated Package Upgrade

:tada: This PR is included in version 28.5.77 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update injectable_antibiotics.json

This measure is less suitable for inclusion in the Improvement Radar.
I have added the variable:

"radar_exclude": true

Reviewed measure content, review dates updated.


Wait long time to find the image in UI after finish pushing it

After finish pushing images, need to wait a least 2 minutes to find them in UI. Any way the decrease the interval?

Which version of Harbor does you use? Could you provide the logs?

After the image pushed, there is one error about notification from docker registry. Maybe this is the root cause. The Core Services component can not immediately get the notification about the image status.
In my test env, code is from the master branch, the last commit msg:
commit 11687b2789c510b360729dab70ae9935704b9188
Author: yhua<EMAIL_ADDRESS>Date:   Mon Sep 5 15:40:49 2016 +0800
add version support in env

Log from docker_registry.log
Sep 13 15:02:53 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:02:53.251374495Z" level=debug msg="filesystem.PutContent("/docker/registry/v2/repositories/test/speed/_manifests/tags/0.1/current/link")" auth.user.name=admin go.version=go1.6.3 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host=harbor.vclound.com http.request.id=3dfe701f-5585-4476-8d1f-6fd3918b48b5 http.request.method=PUT http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/test/speed/manifests/0.1" http.request.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux arch/amd64" instance.id=9c4b26be-f776-4e22-af07-8f13044d9f32 service=registry trace.duration=1.007436ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent" trace.id=9013a01f-a945-43f1-8f57-2015988eaa5c trace.line=95 vars.name="test/speed" vars.reference=0.1 version=v2.5.0
Sep 13 15:02:53 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:02:53.251573104Z" level=info msg="response completed" go.version=go1.6.3 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host=harbor.vclound.com http.request.id=3dfe701f-5585-4476-8d1f-6fd3918b48b5 http.request.method=PUT http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/test/speed/manifests/0.1" http.request.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux arch/amd64" http.response.duration=13.810735ms http.response.status=201 http.response.written=0 instance.id=9c4b26be-f776-4e22-af07-8f13044d9f32 service=registry version=v2.5.0
Sep 13 15:02:53 harbor.vclound.com docker/registry[23561]: <IP_ADDRESS> - - [13/Sep/2016:07:02:53 +0000] "PUT /v2/test/speed/manifests/0.1 HTTP/1.1" 201 0 "" "docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux arch/amd64"
Sep 13 15:02:54 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:02:54.347895792Z" level=error msg="retryingsink: error writing events: httpSink{http://ui/service/notifications}: error posting: Post http://ui/service/notifications: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers), retrying"
Sep 13 15:02:59 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:02:59.353713248Z" level=error msg="retryingsink: error writing events: httpSink{http://ui/service/notifications}: error posting: Post http://ui/service/notifications: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers), retrying"
....
Sep 13 15:03:29 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:03:29.39480293Z" level=error msg="retryingsink: error writing events: httpSink{http://ui/service/notifications}: error posting: Post http://ui/service/notifications: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers), retrying"
Sep 13 15:03:32 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:03:32.980692039Z" level=debug msg="authorizing request" go.version=go1.6.3 http.request.host="registry:5000" http.request.id=c22f23d4-2682-4264-aeec-7edc49191f59 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:42996" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" instance.id=9c4b26be-f776-4e22-af07-8f13044d9f32 service=registry version=v2.5.0
Sep 13 15:03:32 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:03:32.980825715Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.6.3 http.request.host="registry:5000" http.request.id=c22f23d4-2682-4264-aeec-7edc49191f59 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:42996" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" instance.id=9c4b26be-f776-4e22-af07-8f13044d9f32 service=registry version=v2.5.0
Sep 13 15:03:32 harbor.vclound.com docker/registry[23561]: <IP_ADDRESS> - - [13/Sep/2016:07:03:32 +0000] "GET /v2/ HTTP/1.1" 401 87 "" "Go-http-client/1.1"
Sep 13 15:03:33 harbor.vclound.com docker/registry[23561]: time="2016-09-13T07:03:33.015415698Z" level=debug msg="authorizing request" go.version=go1.6.3 http.request.host="registry:5000" http.request.id=a556eb18-38f3-4f9e-8b8d-112749521f6f http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:42997" http.request.uri="/v2/_catalog?n=1000" http.request.useragent="Go-http-client/1.1" instance.id=9c4b26be-f776-4e22-af07-8f13044d9f32 service=registry version=v2.5.0

Yes, the notification error caused the problem. It seems that the registry can not connect to the notification service hosted in UI container.
Could you try whether you can ping the UI in registry container by running "ping ui"? If it works well, you can try to set the timeout longer, the configuration file is under directory Deploy/config/registry/config.yml, modify the timeout in notifications part.

I can "ping ui" in regitstry container. After change the timeout of notification from 3000ms to 30000ms, there are no errors in registry any more. But still have to wait long time to find the image and the operation log in UI.

@supereagle I noticed the hostname was "harbor.vclound.com" are you deploying harbor on a cloud? or a regular local docker host?

On a local docker host, not cloud.

@supereagle are you using Harbor heavily, based on your logs seems the network between containers are not stable, this problem falls out of Harbor's scope, but I'm really curious about the root cause

Just use Harbor for test, not heavily use it. Could you help to explain the mechanism of UI to get the image status? When use the default timeout of notification, there are error from registry. After increase the timeout of notification, there is no error for notification, so the notification should has been sent to UI.
Any another way for UI to get the image status except notification? I notice that no matter whether the notification is correctly sent to UI, UI can get the image status several minutes later.

UI gets the status of image from an cache and the cache sync with registry every several minutes. So even the notifications did not work, the UI could get the latest images by synchronization.
Could you provide the logs of UI and registry?

Both the log of UI and registry have no error.
Log from docker_registry.log
Sep 21 18:19:11 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: time="2016-09-21T10:19:11.142349063Z" level=debug msg="filesystem.PutContent("/docker/registry/v2/repositories/test/
centos/_manifests/revisions/sha256/286ba285793d1ba00fdd8565a7dea5a79605e0ea83329c5b4be41195df89bf72/link")" auth.user.name=admin go.version=go1.6.3 http.request.contenttype="application/vn
d.docker.distribution.manifest.v2+json" http.request.host=jenkins-slave-gkkvm.vclound.com http.request.id=65748511-5f2c-4e1c-bd1a-e9001b39688a http.request.method=PUT http.request.remoteadd
r=<IP_ADDRESS> http.request.uri="/v2/test/centos/manifests/7" http.request.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux
arch/amd64" instance.id=0a76a6cc-0ebb-4283-9b15-af1479df774c service=registry trace.duration=998.109µs trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.
go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent" trace.id=5bd92454-464d-475c-8b5f-4997fa664564 trace.line=95 vars.name="test/centos" vars.refe
rence=7 version=v2.5.0
Sep 21 18:19:11 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: time="2016-09-21T10:19:11.143751574Z" level=debug msg="filesystem.PutContent("/docker/registry/v2/repositories/test/
centos/_manifests/tags/7/index/sha256/286ba285793d1ba00fdd8565a7dea5a79605e0ea83329c5b4be41195df89bf72/link")" auth.user.name=admin go.version=go1.6.3 http.request.contenttype="application
/vnd.docker.distribution.manifest.v2+json" http.request.host=jenkins-slave-gkkvm.vclound.com http.request.id=65748511-5f2c-4e1c-bd1a-e9001b39688a http.request.method=PUT http.request.remote
addr=<IP_ADDRESS> http.request.uri="/v2/test/centos/manifests/7" http.request.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/lin
ux arch/amd64" instance.id=0a76a6cc-0ebb-4283-9b15-af1479df774c service=registry trace.duration=1.08103ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/bas
e.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent" trace.id=df584efc-bd95-45b4-b21e-e3b4a093af93 trace.line=95 vars.name="test/centos" vars.re
ference=7 version=v2.5.0
Sep 21 18:19:11 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: time="2016-09-21T10:19:11.144793679Z" level=debug msg="filesystem.PutContent("/docker/registry/v2/repositories/test/
centos/_manifests/tags/7/current/link")" auth.user.name=admin go.version=go1.6.3 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host=jenkins-s
lave-gkkvm.vclound.com http.request.id=65748511-5f2c-4e1c-bd1a-e9001b39688a http.request.method=PUT http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/test/centos/manifests/7" http.re
quest.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux arch/amd64" instance.id=0a76a6cc-0ebb-4283-9b15-af1479df774c servic
e=registry trace.duration=955.265µs trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/dri
ver/base.(*Base).PutContent" trace.id=4e8c9405-e4d0-42b2-bd3a-206f5f06d829 trace.line=95 vars.name="test/centos" vars.reference=7 version=v2.5.0
Sep 21 18:19:11 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: time="2016-09-21T10:19:11.144921298Z" level=info msg="response completed" go.version=go1.6.3 http.request.contenttype
="application/vnd.docker.distribution.manifest.v2+json" http.request.host=jenkins-slave-gkkvm.vclound.com http.request.id=65748511-5f2c-4e1c-bd1a-e9001b39688a http.request.method=PUT http.r
equest.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/test/centos/manifests/7" http.request.useragent="docker/1.10.3-el7.centos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.
x86_64 os/linux arch/amd64" http.response.duration=13.866499ms http.response.status=201 http.response.written=0 instance.id=0a76a6cc-0ebb-4283-9b15-af1479df774c service=registry version=v2.
5.0
Sep 21 18:19:11 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: <IP_ADDRESS> - - [21/Sep/2016:10:19:11 +0000] "PUT /v2/test/centos/manifests/7 HTTP/1.1" 201 0 "" "docker/1.10.3-el7.ce
ntos go/go1.4.2 git-commit/0b4a971-unsupported kernel/3.10.0-229.el7.x86_64 os/linux arch/amd64"
Sep 21 18:19:37 jenkins-slave-gkkvm.vclound.com docker/registry[23561]: time="2016-09-21T10:19:37.80906515Z" level=debug msg="authorizing request" go.version=go1.6.3 http.request.host="regi
stry:5000" http.request.id=65161fca-5c46-45ca-8961-e4646cc711a1 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:59491" http.request.uri="/v2/" http.request.useragent="Go-http-cl
ient/1.1" instance.id=0a76a6cc-0ebb-4283-9b15-af1479df774c service=registry version=v2.5.0
Log from docker_ui.log
Sep 21 18:19:16 harbor.vclound.com docker/ui[23561]: 2016-09-21T10:19:16Z [DEBUG] [notification.go:98]: receive an event: ID-0bd4f9b4-1cf3-4f0e-8ed9-22a47aee5608, target-test/centos:, digest-sha256:ca5dfc813bf0bd816e05c30827d4ed588d461b15b500404b6999b13e5866cfda, action-push
Sep 21 18:19:16 harbor.vclound.com docker/ui[23561]: 2016/09/21 10:19:16 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 382.104µs        | match      | /service/notifications                   | #033[0m
Sep 21 18:19:21 harbor.vclound.com docker/ui[23561]: 2016-09-21T10:19:21Z [DEBUG] [notification.go:98]: receive an event: ID-1fcf01e9-2bbd-479d-a32a-959c105857fa, target-test/centos:, digest-sha256:ca5dfc813bf0bd816e05c30827d4ed588d461b15b500404b6999b13e5866cfda, action-pull
Sep 21 18:19:21 harbor.vclound.com docker/ui[23561]: 2016/09/21 10:19:21 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 337.284µs        | match      | /service/notifications                   | #033[0m
Sep 21 18:19:22 harbor.vclound.com docker/ui[23561]: 2016-09-21T10:19:22Z [DEBUG] [base.go:132]: Loaded HeaderScriptInclude file: sections/script-min-include.htm
Sep 21 18:19:22 harbor.vclound.com docker/ui[23561]: 2016/09/21 10:19:22 #033[1;34m[router.go:829][D] | GET        | /repository                              | 2.100701ms       | match      | /repository

Sorry for the late replay, could you try the new version of Harbor?


WMT JP/ZH/KO Tokenization

We don't tokenize JP, ZH & co prior to computing the BLEU Score, which means its computed on the entire sentence, as JP & ZH don't use spaces;
I can fix this when I have some time, just noting it here for now~

essentially we'd need to add the packages for chinese, jap, kor, thai listed somewhere on this page: https://spacy.io/usage/models
& then check for the lang and tokenize it

I'm hesitant to add additional packages just for those langs to do the tokenization (To calculate BLEU score correctly, we need 私はシンガポールが好きです。　 --->  私　は　シンガポール　が　好き　です　。)
I was thinking if it wouldn't be possible to just train a tiny gpt to do the tokenization; we could then just download it from hug face and use it before calculating the bleu score - Do you that would make sense @leogao2?
I'd love to try it out

That sounds significantly more complicated than just using existing segmentation packages. I think adding more dependencies for segmentation instead is fine.

Even if they're GPL licensed?

Can't we use jieba/nagisa for zh/jp? Both of those are MIT

Yep, but for Korean I was gonna use https://github.com/LuminosoInsight/mecab-ko-dic which requires Mecab which is GPL
KoNLPy is also GPL (https://konlpy.org/en/latest/#license)

Does ko need segmentation? I thought it uses spaces

Hm my knowledge of Korean is unfort. immensely limited, but in this repo using python main.py --model m2m --weights facebook/m2m100_418M --data en-ko --sample 500
I get
BLEU: 36.651343611373036 with tokenization & BLEU 2.9324395566566337 without (rmving it in the data folder).
E.g. a sentence like 그래서 이것은 우리가 알고있는 것을 어떻게 알고 있는지에 대한 이야기입니다. is turned into
그래서 이것 은 우리 가 알 고 있 는 것 을 어떻게 알 고 있 는지 에 대한 이야기 입니다 .
I think tho we can ignore it for now - even though the BLEU may be a bit lower for Korean, relative comparisons should still make sense s long as the BLEU is calculated the same way.
I'll open a PR for Jap & Zh - Other languages like Thai, we can do lateron ad-hoc i think.


s3 glacier

First of all, thanks for such a great tool.   Local backups are working great!
I configured a backup job to backup to s3 glacier.  The backups are created in the /tmp/backups folder as they should be, but the upload to s3 fails with error:
{"code":"MissingParameterValueException","message":"Required parameter missing: API version","type":"Client"}
According to:  https://docs.aws.amazon.com/amazonglacier/latest/dev/api-common-request-headers.html
We are missing header 'x-amz-glacier-version'.  The current api version is: 2012-06-01

Here's what I propose:

We add another option to BACKUP_TYPE to be GLACIER.
It uses all the same settings above as S3 I am going to assume
I insert the extra header when communciating.

That right there should be easy, however if it differs from how S3 works it would be more challenging as I don't have access to Glacier to do some testing.
I will add this to a develop branch at some point and get your feedback before going any further with investigating alternate solutions.


deconz is constantly logging

Hello,
every few seconds I'm getting these messages on my console output:
16:30:59:109 apsUseExtPanid is 0xDDDDDDDDDDDDDDDD but should be 0, start reconfiguration
16:30:59:109 Skip automatic channel change, TODO warn user
16:31:07:404 don't close database yet, keep open for 900 seconds

What does these messages mean? What do I need to do to solve the problem?
I'm using deconz version 2.05.78 on a synology with the Conbee II.
Best Regards

@DenisLug you can turn down the log level of the container by setting the environment variable -e DEBUG_INFO=0.
As for why this issue is happening, you will need to raise an issue on the deCONZ repo. Thanks!


Hide deleted team members from Details

cc @maxtaco

Is the current situation really bad? They are automatically sweeped in open teams.
In a sigchain world I'd ideally want to present user the actual state instead of smoke and mirrors.

I'm with you on showing the user the actual state. Max pointed out that even if a cryptomember of the team is deleted, the clients do not box new keys for them. If an owner deleted and is hidden. In order for anyone to exercise that hidden power the deleted owner would have to undelete. So maybe the actual state of the team is the team's sigchain together with the merkle world. It's likely not quite that simple since not everyone loads everyone else.
The problem I'm trying to solve, and maybe there's a better way, is this. An owner cannot remove a deleted owner.

Also a row saying someone has deleted with a button to "Remove" them when they are already deleted arguably isn't valuable.

ok I now convinced myself that this is a good idea. let's go!

Rebased so this one can go first


UTF8 characters in url

I would like to have a nicer urls by non-escaping all the special characters.
How can I make following url?
http://example.com/#/path/to/øæå
or
https://github.com/angular-ui/ui-router/issues?utf8=✓&q=is%3Aissue+is%3Aopen+utf8
(note ✓  in url)

This is more up to the browser. http://stackoverflow.com/questions/6625035/utf-8-characters-in-urls

Modern browsers show the decoded url in the addressbar, but use the encoded version to send the request

so the encoded is there and its up to the browser to display it

Thanks.


Fix usleep call in modfb

The unit for usleep is microseconds, so the argument should be 1000 to sleep for 1 millisecond.

Looks correct to me. Thanks!


[Bug]:   Stops working after first mini-break

Version

[X] I'm using version 1.9.0

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

What operating system are you using?
Windows
Operating System Version
Windows Server 2012 R2 Standard
Reproduction steps

Stretchly loads on Windows startup
After the first mini-break, it crashes with "Stretchly has stopped working".

...
Reproduces how often: [What percentage of the time does it reproduce?]
Happens every time.
Expected Behavior
The mini-break should complete and be set for the next break.
Actual Behavior
The application crashes after receiving the mini-break message and countdown.
Relevant log output
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	Stretchly.exe
  Application Version:	<IP_ADDRESS>
  Application Timestamp:	619588ac
  Fault Module Name:	Stretchly.exe
  Fault Module Version:	<IP_ADDRESS>
  Fault Module Timestamp:	619588ac
  Exception Code:	c0000005
  Exception Offset:<PHONE_NUMBER>00b273
  OS Version:	6.3.96<IP_ADDRESS>.272.7
  Locale ID:	1033
  Additional Information 1:	971d
  Additional Information 2:	971dac060c9a912a4552ce36b4f341f8
  Additional Information 3:	1f7f
  Additional Information 4:	1f7f1ba7f5ec73fa944a5f53f6a9be7e

Preferences
No response
Additional information
No response
Code of Conduct

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

Hi, can you get me the Stretchly logs? Preferences -> About -> Ctrl+D and there will be location of file

Here they are. Thanks.
From: Jan Hovancik @.>
Sent: Wednesday, January 12, 2022 9:40 AM
To: hovancik/stretchly @.>
Cc: Rothenberg, Phil @.>; Author @.>
Subject: Re: [hovancik/stretchly] [Bug]: Stops working after first mini-break (Issue #1083)
Hi, can you get me the Stretchly logs? Preferences -> About -> Ctrl+D and there will be location of file

Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhovancik%2Fstretchly%2Fissues%2F1083%23issuecomment-1011112182&data=04|01|prothenberg%40marchofdimes.org|57c2727454aa42e9ef4b08d9d5d96192|d04741962ae84e50ae987cce17178c10|0|0|637775951906574589|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=nRXTxACraMUyqo%2FcECYxlFMDGKpdfaTumQD7wOyzftM%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXFSBU52PLK4GZBIQEL7PJ3UVWHDFANCNFSM5LK6JPJA&data=04|01|prothenberg%40marchofdimes.org|57c2727454aa42e9ef4b08d9d5d96192|d04741962ae84e50ae987cce17178c10|0|0|637775951906574589|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=SmbA0TcgCPWHN215D8lO8oMtceJ%2BO8sBqML1fp%2Fms9A%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|prothenberg%40marchofdimes.org|57c2727454aa42e9ef4b08d9d5d96192|d04741962ae84e50ae987cce17178c10|0|0|637775951906574589|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=PxZkC0c9SmJqpmVwQxIbswBtuEnKruvOt%2BeTNxGCKzA%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|prothenberg%40marchofdimes.org|57c2727454aa42e9ef4b08d9d5d96192|d04741962ae84e50ae987cce17178c10|0|0|637775951906574589|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=kvKbsNNvXHpwkEG%2FRTc4E%2FVvPaB7u1Ex6uDT7hSIHdQ%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello! My Windows 8 also crash at the same place. Dunno if it's the same bug, but I noticed, it crashes always when playing crystal sound, either after break or in settings (pressing at loudspeaker). Does not crash when I switch to tic-tac sound.

I have a similar problem, though it doesn't happen every time.
Operating System Ubuntu 20.04.3 LTS
Stretchly Version 1.9.0 via Snap
[2022-01-17 07:39:36.024] [info]  Stretchly: initializing...
[2022-01-17 07:39:36.032] [info]  Stretchly: loading preferences
[2022-01-17 07:39:36.039] [info]  Stretchly: starting Idle time monitoring
[2022-01-17 07:39:36.040] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-01-17 07:39:37.392] [info]  Stretchly: checking for new version (local: v1.9.0, remote: 1.9.0)
[2022-01-17 08:04:26.044] [info]  Stretchly: showing Mini Break notification
[2022-01-17 08:04:36.299] [info]  Stretchly: showing window 1 of 1
[2022-01-17 08:04:36.300] [info]  Stretchly: starting Mini Break
[2022-01-17 08:04:56.302] [info]  Stretchly: finishing Mini Break
[2022-01-17 08:18:44.001] [info]  Stretchly: pausing breaks because of idle time
// IT CRASHED SOMETIME HERE, AND I HAD TO RESTART IT
[2022-01-17 18:35:37.853] [info]  Stretchly: initializing...
[2022-01-17 18:35:37.861] [info]  Stretchly: loading preferences
[2022-01-17 18:35:37.868] [info]  Stretchly: starting Idle time monitoring
[2022-01-17 18:35:37.869] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-01-17 18:35:39.116] [info]  Stretchly: checking for new version (local: v1.9.0, remote: 1.9.0)
[2022-01-17 19:00:27.871] [info]  Stretchly: showing Mini Break notification
[2022-01-17 19:00:38.162] [info]  Stretchly: showing window 1 of 1
[2022-01-17 19:00:38.163] [info]  Stretchly: starting Mini Break
[2022-01-17 19:00:58.165] [info]  Stretchly: finishing Mini Break
[2022-01-17 19:25:48.167] [info]  Stretchly: showing Mini Break notification
[2022-01-17 19:25:58.407] [info]  Stretchly: showing window 1 of 1
[2022-01-17 19:25:58.408] [info]  Stretchly: starting Mini Break
[2022-01-17 19:26:00.613] [info]  Stretchly: postponing Mini Break
[2022-01-17 19:27:50.590] [info]  Stretchly: showing Mini Break notification
[2022-01-17 19:28:00.816] [info]  Stretchly: showing window 1 of 1
[2022-01-17 19:28:00.816] [info]  Stretchly: starting Mini Break
[2022-01-17 19:28:20.819] [info]  Stretchly: finishing Mini Break
[2022-01-17 19:38:06.448] [info]  Stretchly: pausing breaks because of idle time
[2022-01-17 19:52:16.763] [info]  Stretchly: resuming breaks after idle time

main.log

Thanks for the logs! There is no error here:
[2022-01-17 20:15:37.771] [info]  Stretchly: pausing breaks because of idle time
// IT CRASHED SOMETIME HERE, AND I HAD TO RESTART IT
[2022-01-17 21:31:22.826] [info]  Stretchly: initializing...

So seems to me that something kills Stretchly when computer goes idle. Maybe some app for PC optimization or antivirus?

Or I might be wrong, seeing what c0000005 means: https://docs.microsoft.com/en-us/shows/inside/c0000005.
There are multiple issues with such an error in Electron https://github.com/electron/electron/search?q=c0000005&type=issues but they seem to close them without action

@hovancik it could be something killing it...
I am on Ubuntu though, not Windows.
Let me know if there is any more information I can provide!

@byarbrough there were issues in past with ubuntu and libappindicator: https://github.com/hovancik/stretchly/issues/633#issuecomment-716394124

Having the same issue using Sway, and the Waybar tray on NixOS.
Logs:
[2022-02-09 16:52:29.690] [info]  Stretchly: initializing...
[2022-02-09 16:52:29.700] [info]  Stretchly: loading preferences
[2022-02-09 16:52:29.705] [info]  Stretchly: starting Idle time monitoring
[2022-02-09 16:52:29.706] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-02-09 16:52:36.061] [info]  Stretchly: setting 'isFirstRun' to 'false' (was 'true')
[2022-02-09 16:52:45.508] [info]  Stretchly: setting 'fullscreen' to 'true' (was 'false')
[2022-02-09 16:52:54.026] [info]  Stretchly: setting 'microbreakInterval' to '1200000' (was '600000')
[2022-02-09 16:52:59.982] [info]  Stretchly: setting 'microbreakDuration' to '30000' (was '20000')
[2022-02-09 16:53:10.001] [info]  Stretchly: setting 'breakInterval' to '5' (was '2')
[2022-02-09 16:53:18.484] [info]  Stretchly: setting 'breakInterval' to '2' (was '5')
[2022-02-09 16:53:19.099] [info]  Stretchly: setting 'break' to 'false' (was 'true')
[2022-02-09 16:53:30.188] [info]  Stretchly: setting 'silentNotifications' to 'true' (was 'false')
[2022-02-09 16:53:36.602] [info]  Stretchly: setting 'checkNewVersion' to 'false' (was 'true')
[2022-02-09 16:53:53.348] [info]  Stretchly: skipping to Mini Break
[2022-02-09 16:53:53.604] [info]  Stretchly: showing window 1 of 3
[2022-02-09 16:53:53.605] [info]  Stretchly: starting Mini Break
[2022-02-09 16:53:53.610] [info]  Stretchly: showing window 2 of 3
[2022-02-09 16:53:53.622] [info]  Stretchly: showing window 3 of 3
[2022-02-09 16:54:23.606] [info]  Stretchly: finishing Mini Break
[2022-02-09 16:54:46.965] [info]  Stretchly: initializing...
[2022-02-09 16:54:46.971] [info]  Stretchly: loading preferences
[2022-02-09 16:54:46.976] [info]  Stretchly: starting Idle time monitoring
[2022-02-09 16:54:46.976] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-02-09 17:14:36.978] [info]  Stretchly: showing Mini Break notification
[2022-02-09 17:14:47.157] [info]  Stretchly: showing window 1 of 3
[2022-02-09 17:14:47.158] [info]  Stretchly: starting Mini Break
[2022-02-09 17:14:47.158] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-09 17:14:47.171] [info]  Stretchly: showing window 2 of 3
[2022-02-09 17:14:47.172] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-09 17:14:47.201] [info]  Stretchly: showing window 3 of 3
[2022-02-09 17:14:47.202] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-09 17:15:17.160] [info]  Stretchly: finishing Mini Break
[2022-02-09 17:15:17.165] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-10 18:48:34.412] [info]  Stretchly: initializing...
[2022-02-10 18:48:34.418] [info]  Stretchly: loading preferences
[2022-02-10 18:48:34.423] [info]  Stretchly: starting Idle time monitoring
[2022-02-10 18:48:34.424] [info]  Stretchly: starting Do Not Disturb monitoring
[2022-02-10 18:48:49.504] [info]  Stretchly: skipping to Mini Break
[2022-02-10 18:48:49.760] [info]  Stretchly: showing window 1 of 3
[2022-02-10 18:48:49.760] [info]  Stretchly: starting Mini Break
[2022-02-10 18:48:49.761] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-10 18:48:49.779] [info]  Stretchly: showing window 2 of 3
[2022-02-10 18:48:49.780] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-10 18:48:49.790] [info]  Stretchly: showing window 3 of 3
[2022-02-10 18:48:49.791] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-10 18:49:19.762] [info]  Stretchly: finishing Mini Break
[2022-02-10 18:49:19.767] [error] Error: write EIO
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at WriteStream.Socket._writeGeneric (node:net:795:11)
    at WriteStream.Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at WriteStream.Writable.write (node:internal/streams/writable:334:10)
    at console.value (node:internal/console/constructor:285:16)
    at console.log (node:internal/console/constructor:359:26)
    at consoleLog (/nix/store/cxcm7r7q1821yax97kbq3254q9cmnbrk-stretchly-1.8.1/share/stretchly/app.asar/node_modules/electron-log/src/transports/console.js:100:17)
[2022-02-10 18:50:24.360] [info]  Stretchly: initializing...
[2022-02-10 18:50:24.366] [info]  Stretchly: loading preferences
[2022-02-10 18:50:24.371] [info]  Stretchly: starting Idle time monitoring
[2022-02-10 18:50:24.372] [info]  Stretchly: starting Do Not Disturb monitoring

That's rather strange error ;/ Tried googling around but haven't found anything useful.
@mixedCase any chance you could test in another DE?

@hovancik it's the only compositor I run I'm afraid. It's not a full DE, so there's very little that can go wrong.
The tray I use is libappindicator-compatible FWIW.
Is there any way to up the verbosity to try to get better logs?

some people used dgb https://github.com/hovancik/stretchly/issues/633#issuecomment-687633349

is this still issue? I'll close and can reopen if this still persists with the latest version.

It is no longer an issue. Thanks.
From: Jan Hovancik @.>
Sent: Thursday, December 22, 2022 7:25 AM
To: hovancik/stretchly @.>
Cc: Rothenberg, Phil @.>; Author @.>
Subject: Re: [hovancik/stretchly] [Bug]: Stops working after first mini-break (Issue #1083)
is this still issue? I'll close and can reopen if this still persists with the latest version.

Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhovancik%2Fstretchly%2Fissues%2F1083%23issuecomment-1362778635&data=05|01|prothenberg%40marchofdimes.org|86760be6de494b66bce008dae417851d|d04741962ae84e50ae987cce17178c10|0|0|638073086942729776|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=BTv%2F7wQsXxejVe2n0nEtLl%2FKcdgiRAbkcsmfQp58C8Q%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXFSBU475EXJZ3LX7N4OL4LWORCBBANCNFSM5LK6JPJA&data=05|01|prothenberg%40marchofdimes.org|86760be6de494b66bce008dae417851d|d04741962ae84e50ae987cce17178c10|0|0|638073086942729776|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WT7zs9%2B3eRsP8p2Uj0tUVzR3GCtNDFSNXxfTjoDciZ0%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


documentation for vaadin.gwt.outputDirectory

introduced in #191

Thanks @christoph-frick for the pull request!


Test Issue for GitHub trainee

[] this is a test issue to check the knowledge of trainee

Thanks !! Learned how to create a issue and assign to team 👍


Fixing bug when datasource has been deleted

Coverage decreased (-0.03%) to 71.147% when pulling 262523e6bfc067782a0c8a38df31ac4cc26c0162 on fix_delete_datasource into 93405dc23a3056da63bbf4d15ec33e6576f7f20a on master.


Bug: createComputedAsync Not Updating

Example
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:signals/signals_flutter.dart';

void main() {
  SignalsObserver.instance = LoggingSignalsObserver();
  runApp(const App());
}

class App extends StatelessWidget {
  const App({super.key});

  ThemeData createTheme(BuildContext context, Brightness brightness) {
    return ThemeData(
      colorScheme: ColorScheme.fromSeed(
        seedColor: Colors.blue,
        brightness: brightness,
      ),
      brightness: brightness,
      useMaterial3: true,
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: createTheme(context, Brightness.light),
      darkTheme: createTheme(context, Brightness.dark),
      themeMode: ThemeMode.system,
      home: const CounterExample(),
    );
  }
}

class CounterExample extends StatefulWidget {
  const CounterExample({super.key});

  @override
  State<CounterExample> createState() => _CounterExampleState();
}

class _CounterExampleState extends State<CounterExample> with SignalsMixin {
  late final Signal<int> signal = createSignal(0);
  late final FutureSignal<int> computed = createComputedAsync(() async {
    await Future.delayed(const Duration(seconds: 2));
    return signal.value;
  });
  // Sync version works
  // late final Computed<int> computedSync = createComputed(() {
  //   return signal.value;
  // });

  void _increment() {
    signal.value++;
    // Works if uncommented
    // computed.reload();
  }

  @override
  Widget build(BuildContext context) {
    String state = switch (computed.value) {
      AsyncDataReloading<int>(:final value) => "Reloading: $value",
      AsyncDataRefreshing<int>(:final value) => "Refreshing: $value",
      AsyncData<int>(:final value) => "Data: $value",
      AsyncError<int>() => "Error",
      AsyncLoading<int>() => "Loading",
    };
    // String state = computedSync.value.toString();
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter Counter'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'State is: ',
            ),
            Text(
              state,
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _increment,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Behavior
The initial state is Loading then after two seconds Data: 0 is displayed. Which is expected. But, if the "increment" button is hit, the widget is rebuilt, but computed function is never called again, thus the result is still Data: 0.
The expected behavior, would be the once signal.value is updated through _increment, the state changes to Reloading: 0, then after two seconds, the state becomes Data: 1.

Might be intended behavior, I see

It is important that signals are called before any async gaps with await.

in the docs.

That is correct, this is to match Angular behavior! You can add them manually in the dependencies array

So

the state changes to Loading, while it should be Reloading: 0

Seems like the only unintended behavior here.


Kernel version of Radondb mysql? maybe should highlight it on readme?

General Question

Thanks for you advice, now the version of RadonDB MySQl kernel is 5.7.33, we'll highlight it on readme.


elastalert2 memory leak

hi
@jertel
A memory leak occurs。memory keeps growing
esalert2 version：2.2.1
elasticsearch version： 7.x
Looking forward to your reply
suspicious logs:
2022-11-08 01:47:26,492    ERROR           elastalert Traceback (most recent call last):
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/cib/bin/python3.9/lib/python3.9/http/client.py", line 1347, in getresponse
response.begin()
File "/cib/bin/python3.9/lib/python3.9/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/cib/bin/python3.9/lib/python3.9/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/cib/bin/python3.9/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/cib/bin/python3.9/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 447, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/cib/bin/python3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9200): Read timed out. (read timeout=20)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/cib/bin/python3.9/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py", line 77, in perform_request
response = self.session.send(prepared_request, **send_kwargs)
File "/cib/bin/python3.9/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/cib/bin/python3.9/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=9200): Read timed out. (read timeout=20)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/cib/bin/python3.9/lib/python3.9/site-packages/elastalert2-2.2.1-py3.9.egg/elastalert/elastalert.py", line 1349, in handle_rule_execution
num_matches = self.run_rule(rule, endtime, rule.get('initial_starttime'))
File "/cib/bin/python3.9/lib/python3.9/site-packages/elastalert2-2.2.1-py3.9.egg/elastalert/prometheus_wrapper.py", line 34, in metrics_run_rule
return self.run_rule(rule, endtime, starttime)
File "/cib/bin/python3.9/lib/python3.9/site-packages/elastalert2-2.2.1-py3.9.egg/elastalert/elastalert.py", line 946, in run_rule
if not self.run_query(rule, rule['starttime'], endtime):
File "/cib/bin/python3.9/lib/python3.9/site-packages/elastalert2-2.2.1-py3.9.egg/elastalert/elastalert.py", line 694, in run_query
self.thread_data.current_es.clear_scroll(scroll_id=scroll_id)
File "/cib/bin/python3.9/lib/python3.9/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
File "/cib/bin/python3.9/lib/python3.9/site-packages/elasticsearch/client/init.py", line 1289, in clear_scroll
return self.transport.perform_request(
File "/cib/bin/python3.9/lib/python3.9/site-packages/elasticsearch/transport.py", line 318, in perform_request
status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
File "/cib/bin/python3.9/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py", line 85, in perform_request
raise ConnectionTimeout('TIMEOUT', str(e), e)
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='<IP_ADDRESS>', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:47:26,492    ERROR           elastalert Uncaught exception running rule rule_191: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool

And other logs a lot of timeout requests
eg：
2022-11-08 01:49:29,956    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:50:31,848    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:51:33,621    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:52:36,496    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:53:40,844    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:54:41,173    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:55:43,589    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:56:47,165    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:57:48,901    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:59:54,856    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='', port=9200): Read timed out. (read timeout=20)

2022-11-08 01:49:29,956    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:50:31,848    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:51:33,621    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:52:36,496    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:53:40,844    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:54:41,173    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:55:43,589    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:56:47,165    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:57:48,901    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20))
2022-11-08 01:59:54,856    ERROR           elastalert Error running query: ConnectionTimeout caused by - ReadTimeout(HTTPConnectionPool(host='xxxxx', port=9200): Read timed out. (read timeout=20)

Check if it happens in the latest version, not the old version!

Is it recommended to upgrade to the latest version?  Because it is an online environment, the upgrade cost is high

I'm talking about the latest version of elastalert2. Although it is OSS. What do you mean?

Have you tried closing or deleting unnecessary past data? . When I store a large amount of metricbeat data, it uses a lot of CPU/memory just by moving it, so I've improved it by closing or deleting data for a certain period of time.

Index Lifecycle Management(ILM)


Listener filter to detect protocol

Like tls inspector, we'd like to add another listener filter which will detect the protocol, e.g. HTTP, by sniffing the packet. The listener filter can add the value to application protocols or maybe other fields to guide the filter chain match.
From istio side, the change will simplify the user configuration. Would the community consider to add the feature? Please let me know and I'd like to implement it.

Note that we might want to have a lot of reasonably small protocol-specific inspectors (e.g. envoy.filters.listener.http_inspector for HTTP, etc.) instead of a generic one.
e.g. HTTP inspector (which would work only for plaintext connections) should be able to set:

detected transport protocol -> raw_buffer,
requested application protocol -> either http/1.1 or h2,
requested server name -> extracted from Host or :authority headers.

An HTTP inspector sounds reasonable to me.

requested server name -> extracted from Host or :authority headers.

@PiotrSikora Not sure about this item, the Host or :authority is per request property (esp. HTTP/1.1 keep-alive or H2), which shouldn't stick into connection.

@PiotrSikora Not sure about this item, the Host or :authority is per request property (esp. HTTP/1.1 keep-alive or H2), which shouldn't stick into connection.

That's fine, you can still latch to a filter chain that includes requested server name in it's server_names, otherwise you're going to be limited to having only a single HTTP filter chain per listener, so the selection is going to be persistent for the connection anyway.
Also, this is not very different from the existing case with TLS inspector, where requests are latched to a filter chain based on the SNI from the first request, even though subsequent requests can be for a different Host or :authority.

I don't think we should extract Host or :authority from the requests. The Host and :authority are L7 information, I don't think we should use to it do filter chain match in L4. For example:
filter_chains:
    - filter_chain_match:
         server_names: a.com
    - filter_chain_match:
         server_names: b.com

The first request (host: a.com) matches the first filter chain. The second request (host: b.com) from the same connection will use the first filter chain which doesn't make much sense to me.

I don't think we should extract Host or :authority from the requests. The Host and :authority are L7 information, I don't think we should use to it do filter chain match in L4. For example:
filter_chains:
    - filter_chain_match:
         server_names: a.com
    - filter_chain_match:
         server_names: b.com

The first request (host: a.com) matches the first filter chain. The second request (host: b.com) from the same connection will use the first filter chain which doesn't make much sense to me.

How is this different from the case when you don't extract Host and/or :authority? Both requests are going to use the first filter chain anyway, since there won't be any other selector to act upon.
As mentioned previously, we already act on TLS Server Name Indication in TLS Inspector, and if those request are sent over the same TLS connection, then both are going to be matched to the first filter chain.

I think TLS SNI is a little bit different that hosts. The TLS SNI sticks to each connection but host is per request. I am not sure if we should use host in filter chain match. I think server name in filter chain match should use some criteria that are constant for TCP connection, for example, destination IP:port or SNI.


BIGTOP-3279. Bump Zookeeper to 3.4.13

Confirmed this patch worked on CentOS 7 & 8, Debian 9 & 10 and Ubuntu 18.04 at least.

+1

Thanks! Just merged the PR.

@sekikn you can do PR merge in Github and it'll be merged to ASF repo as well.

Oh I didn't know that. Thanks!


STORM-2234: heartBeatExecutorService in shellSpout don't work well with deactivate

+1 Thanks for finding missed spot.


Added Hint/Solution to "Area Template" Challenge

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good @NotTheBest, thanks for contributing to freeCodeCamp!


[Docs] Track 1 azure-eventhub does not have EventProcessorHost properly populated

So, start of this is that this URL is no longer present: https://docs.microsoft.com/en-us/python/api/azure-eventhub/azure.eventprocessorhost.eph.eventprocessorhost?view=azure-python
The azure-eventhub package is NOT one of the packages we GA-ed last week, so I was a bit confused as to why the content being generated changed.
After doing some digging, I’m 99% certain it’s because of the following:

azure-eventhub 1.3.1 (the GA version) requires azure-storage-blob~=1.3
azure-core and the other newly GA-ed packages rely on azure-storage-blob>=12.0.0
The doc generation build uses the same virtual environment for all packages being generated
By the time execution gets to doc gen for azure-eventhub, azure-storage-blob 12.0.0 has already replaced the 1.3 that EventProcessorHost needs.
This error occurs [1]
The generated sphinx doesn’t have the EventProcessorHost landing page as a result (yml is not generated)
a.  The page “disappears” on the portal

I have contacted the documentation team for next steps.
[1]
2019-11-05T23:58:06.4410436Z <Matched Warning>: D:\a\1\s\source_code\68\azure_eventhub-1.3.2\doc\azure.eventprocessorhost.rst:12: WARNING: autodoc: failed to import module 'azure.eventprocessorhost.abstract_checkpoint_manager'; the following exception was raised:
2019-11-05T23:58:06.4410617Z Traceback (most recent call last):
2019-11-05T23:58:06.4410755Z   File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\azure\eventprocessorhost\__init__.py", line 11, in <module>
2019-11-05T23:58:06.4410921Z     from azure.eventprocessorhost.azure_storage_checkpoint_manager import AzureStorageCheckpointLeaseManager
2019-11-05T23:58:06.4411458Z   File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\azure\eventprocessorhost\azure_storage_checkpoint_manager.py", line 15, in <module>
2019-11-05T23:58:06.4411609Z     from azure.storage.blob import BlockBlobService
2019-11-05T23:58:06.4411718Z ImportError: cannot import name 'BlockBlobService'

Latest update is that this is not possible. We cannot have two CI pipelines merge into a single ToC.yml right now. It is not a supported scenario.
As such, we will leave the current eventhub part of the eph mitigation, and flowing into the original azure-python moniker. That will fix broken links, but it will not appear on the ToC.
Meanwhile, I am adding azure-eventhub to the legacy moniker such that it WILL be populated. I am currently awaiting a doc build to complete. ETA a couple hours to check this.

Resolved. Waiting for PR build validation, then merging.


TCP query via socks5 proxy?

Can I do this?
Like in https://github.com/qiuzi/dns2socks/blob/master/DNS2SOCKS.c

Yes you should do that.

I've been planning on hacking around with it but I simply don't have enough time. I'd love to see a VPN or proxy via DNS.


[Translation] The Fall of House Lynch

What kind of translation do you want to add (mark with an X, e.g. [X] Descent)?

[X] Mansions of Madness
[ ] Descent

The Fall of House Lynch

Translation File
Localization.Polish.txt

Done.

Thanks! Closing issue.


[FEATURE REQUEST] Antlers

Is your feature request related to a problem? Please describe.
Antlers are a common material used in various crafts, particularly indigenous crafts.
Describe the solution you'd like
Moose should drop Antlers. Additionally, they should be used to craft items with increased durability (if that item can be damaged).
Describe alternatives you've considered
Might be unnecessary bloat for the mod.

added in bb62537


ALDocument.send_button_html() does not close all elements properly

The ALDocument.send_button_html() method captures any text you put after it.

Looking closely at the HTML, it appears all of the elements are properly closed. It might just be an issue with the Mako parser.

When I worked on #65, I noticed a missing </td> in def table_row and added it.


Changed all unowned self to weak self.

What where you trying to do
I've created a wrapper class for Dropdown that represents the button used to open the menu.
What actually happened
I'd like this wrapper class to be IBDesignable, but the "unowned self" in your closures make it crash the IBAgent.
Details
I've been developing on Xcode 9.1, macOS 10.13 high sierra, targeting iOS 9.1
Thank you for your awesome pod! 🚀

Hello @TizianoCoroneo 👋
Thanks a lot for this PR 👍


Encode uri components ?

When injecting parameters into the a url, e.g. /users/:id/:action, the contents of each parameter should be encoded using encodeURIComponent. This will permit specific characters to be converted, for example, converting spaces to %20.

This is already done in https://github.com/RasCarlito/url-composer so no need for it in backbone-highway


Typo in the document

This is in reference to https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/2846

@scanum just want to confirm that we can move this onto the next steps please?

@LolaJacobsen PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[TM-1451] Site polygons GET endpoint for research.

https://gfw.atlassian.net/browse/TM-1451

I'll look into why the lint / build step is failing on Monday. It all passes locally.


Errors, Filling objects

The image wasn't tampered with when I filled the object, I ran text_editing_SDXL.py

Hi,
You can play with the hyperparameters, such as using a lower --blending_start_percentage.
Best,
Omri


New Maintainer Needed

This was a fun project while it lasted, but I no longer have time to commit to maintaining it. If you're up for adopting it, please let me know below.

Hi clavicle:
We have been using php captcha on our non-profit website and it's been a really helpful captcha. Recently, we have switched servers to one running Mac OS Sierra and the  aptcha script has stopped loading the image created. When I copy the same files to my laptop running Mamp it works fine. I think the problem lies in the Apple's System Integrity Protection interferring with the captcha code on the OSX Sierra server. I tried to go to phpcaptcha.org for help but the website can't be reached. Sorry for sending this question to you here but I thought your might be aware of potential incompatibilities with Mac OSX Sierra.
Any insights would be much appreciated.
Thanks.
Todd

Apologies on the autocorrected greeting. :-)

yeah sure.. do u have any todo list as well?

Awesome. Just need to address the two PRs and whatever open issues still may be there. The rest is really up to you. I'll send a request.

Looks like you need to rename your fork (or delete it) before I can transfer.

i have deleted mine

Sent!

got it thanks.. plz share suggestions if there comes any to you :)


Cannot import name 'get_easyDict_from_filepath' from 'utils'

from chatdev.chat_chain import ChatChain
File "/content/ChatDev/chatdev/chat_chain.py", line 12, in
from chatdev.chat_env import ChatEnv, ChatEnvConfig
File "/content/ChatDev/chatdev/chat_env.py", line 16, in
from ecl.memory import Memory
File "/content/ChatDev/ecl/memory.py", line 15, in
from utils import get_easyDict_from_filepath,log_and_print_online

It seems you are encountering an ImportError.  You can check the utils.py file to make sure it is in the correct directory and accessible from where you are trying to import it.


Workflow UI not showing the workflows

Workflow UI not showing the workflows when i run "java -jar conductor-server-3.9.2-boot.jar"
Now , I am running Conductor standalone (or a non-docker setup) in Windows machine. I run command "java -Dconductor.indexing.enabled=true -jar conductor-boot.jar" .. I am getting this error... Please help me in fixing the issue
image

Can you provide more details about how you are starting up the UI?

Can you provide more details about how you are starting up the UI?

I am using "yarn run start" from Visual studio code

Now i am running through docker.
Change conductor.indexing.enabled=true in \conductor\docker\server\config\config-local.properties and \conductor\server\src\main\resources\application.properties. Now i can see the data in workflow execution


Provide high-level function to load all the point/axes in ephemeris files

Provide a high-level interface function to allow the user to automatically load (when possible) all the points and axes that are stored within the loaded ephemeris provider, similarly to GODOT's addEphem.

Done with #54 .