text:
XOXO Comics won't load the comics' pages

Source information
1.4.10
Source language
English
Source new URL
https://xoxocomic.com/
Other details
The site is still up but the comics pages won't load. When I open a page in webview I get a "page not found" error, so the URLs/links for the comics have changed. If I enter their website on a browser and search for the comic, I can read it normally.
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

There is an issue and the comics won't load. The pages point to broken links.

open a "bug report" instead of "domain change"

Before that, check WebView for errors with said chapters. From a quick test, seems like it's fine with the few I tried. Maybe internet-related issue or the source is missing the chapters/having issues themselves. If you do make a new issue request, list the problematic entries & chapters, otherwise, come to the Keiyoushi Discord repo-support channel if you have other questions/issues.

It was a cache issue, I apologize. It is fixed. Thanks guys!

authors: AwkwardPeak7 GitJakeTheJake Smol-Ame


text:
How to tell sikuli computer vision to click on a specific point? (x,y coordinates)

from user query

For sikuli, instead of clicking on a .png file, is there a way to ask sikuli to click on a point?
I'm asking this because there are cases where it's difficult to find a specific image that are unique.
In such cases, if there's a way to click on a point (e.g. by specifying the x, y co-ordinate), then it would be really useful.
For your advice, please.

Linking to another issue with details on how to see the X,Y coordinates in the first place - https://github.com/kelaberetiv/TagUI/issues/340#issuecomment-464337317

source: gharchive/issue

repo: kelaberetiv/TagUI

license_type: permissive

license_source: github-api


text:
ES-Module support (next)

This is #331 but against the next branch instead of master.

Back when i did this too, i made the original sources browser ready and only had a build for producing a commonjs version.
Did you consider this? It does mean any node specific things need to be dropped or conditionally used somehow (i.e. crypto).

@43081j yes, I did consider this. However I believe that this approach only really works with universal modules that don't have node- or browser-specific dependencies.
What would you suggest with respect to random number generation? It is absolutely vital that uuid uses a cryptographically secure pseudo-random number generator (CSPRNG) under the hood and so far the JavaScript language does not provide one so we have to rely on platform specific APIs like node's crypto module or WebCrypto in the browser.
So unfortunately I think in the case of uuid we will have to ship different builds for use in node and in the browser (until something like https://github.com/tc39/proposal-uuid gets through which might add a cryptographically secure pseudo-random number generator (CSPRNG) directly to the JavaScript language).

@broofa would it be OK for you to merge this issue without changing the RNG-behavior yet?
I have outlined my roadmap for the next major release in #343 (feedback very welcome!) and I would like to establish some browser tests before changing the API!
The only planned API change in this case is to make insecure RNGs opt-in.

source: gharchive/pull-request

repo: kelektiv/node-uuid

license: mit

license_source: bigquery


text:
Fixed a typo (I think?)

On line 21, my hunch is that you meant for “$[pL}” to be “${pL}”?

I most definitely did. I wonder how the tests passed without this... thanks for the fix!

Hey, anytime!
And I'm kinda curious myself about how the tests passed, so if by chance you end up learning how that got through the tests, I'd be rather interested to hear more about that (if you care to share).

authors: handcoding kellym

license: MIT


text:
Add proper .gitignore

If some code is added accidentally to the directory, git should ignore it.

The problem is that adding any code to the .gitignore would mean there is code. And .gitignore itself should also be ignored...

I'm using a custom .gitignore file in my nocode projects. Feel free to use it too:

There is easy workaround:
git config --global core.excludesfile $HOME/.gitignore.global
echo '*' > $HOME/.gitignore.global

authors: antonsmyk elorz007 lhcgoncalves santec

repo: kelseyhightower/nocode


text:
add swift-biome documentation

swift-json needs at least some documentation to be usable to a wider audience.

completed


text:
Error executing AlgoritmoDijkstra.c code

Error :
m.c: In function ‘Dijkstra’:
m.c:42:5: error: unknown type name ‘bool’
42 |     bool visitados[n]; // Variável que guarda true para os vértices visitados
|     ^~~~
m.c:37:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
36 | #include <stdio.h>
+++ |+#include <stdbool.h>
37 | //#include <stdbool.h>
m.c:59:28: error: ‘true’ undeclared (first use in this function)
59 |           visitados[min] = true; // Marca o valor a posição do minimo como visitado
|                            ^~~~
m.c:59:28: note: ‘true’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
m.c:59:28: note: each undeclared identifier is reported only once for each function it appears in
solution :
Add this library to the code #include <stdbool.h>

Thanks a lot @BDadmehr0. Fixed by commit f12e7b7556a2912e8906e54b5b194b8e0b8ba451


text:
Add verify

oj-verify でライブラリをテストする環境を導入する

YUKICODER_TOKEN の設定が必要
https://online-judge-tools.github.io/verification-helper/document.ja.html
https://help.github.com/ja/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets

YUKICODER_TOKENを設定しました

authors: kemuniku seekworser

repo: kemuniku/cplib


text:
voice pitch option?

can you add an option to lower voice pitch in setting?

Hello I am heavily reliant on the Read Aloud chrome extension. and I do like to speed up the voices, it would be great if you can could make the pitch control work on read aloud so I don't have to listen to a chipmunk.


text:
Require sidekiq/component in ServerMiddleware

Fixes https://github.com/kenaniah/sidekiq-status/issues/16
Kinda hacky fix for older versions but there's no easy way to detect which minor+patch version of sidekiq is being used

Looks like tests are failing due to the same timeout issues I'm getting locally, hard to reproduce and fix.

repo: kenaniah/sidekiq-status


text:
Table, List, UserPage... などのタブでUserPageのみリンクがないのは仕様でしょうか

UserPageにリンクがされていないのは仕様なのでしょうか？？

こちら、再度確認したらRecent Submissions などのタブに飛んだあとにリンクがされていないだけでした。すみません。

repo: kenkoooo/AtCoderProblems


text:
Update README.md

fix persist -> put

Good catch, thanks! 😄

authors: Schniz kenn

repo: kenn/redis-classy


text:
background-color detection possible

Is there any way to extend the plugin to detect and react to the brightness of the background-color of a div rather than just detecting an image's brightness? Perhaps integrate with jamiebrittain's colourBrightness.js... Thanks.

+1 here

authors: Zmove pjldesign

repo: kennethcachia/background-check


text:
Feature Request: Format reponse as HTTP Response Message Format

http://www.tcpipguide.com/free/t_HTTPResponseMessageFormat.htm
A helper method to format a response as shown in the URL above would be useful.

Requests is currently in a feature freeze. As such we aren't going to be implementing this. That said, if you wanted to implement this yourself, you would probably get 90% of the way there with dump_response from the toolbelt.

repo: kennethreitz/requests


text:
PL-84: Replace FieldAuditRecord ctor. with builder

Replacing ctor. with builder so that only one of the values can be passed and we don't need to pass any nulls

@amirz - FYI

repo: kenshoo/persistence-layer


text:
styling center slide not working

This issue has kind of been addressed in other tickets, but not exactly. As a newbie, I just need a little more help.
I've set up my slideshow in centerMode to show 3 slides at a time. I want all the slides to be darkened except the center one. How do I style just the center slide?
Here is my code so far:
$('.slick_slideshow1').slick({
'accessibility': 'true',
'adaptiveHeight': 'true',
'centerMode': 'true',
'centerPadding': '0px',
'slidesPerRow': '3',
'slidesToShow': '3'
});
...and my css:
.slick-slide
{
display: none;
float: left;
height: 100%;
min-height: 1px;
filter: brightness(30%);

-webkit-filter: brightness(30%);
-moz-filter: brightness(30%);
}
Can anyone advise please?

The problem was my tick marks around the properties and their values. When I removed them, then I could style the .slick-center class.

repo: kenwheeler/slick


text:
Added tests for new install functionality

based on PR #552

Thank you!

authors: mpeterv robooo

repo: keplerproject/luarocks


text:
Implement keptn k8s operator for shipyard files

Write operator that handles Shipyard CRs.
---
apiVersion: sh.keptn/v1alpha1
kind: Shipyard
metadata:
  name: project1
spec:
  stages:
  - name: "dev"
    deployment: "direct"
    test: "performance"
  - name: "production"
    deployment: "blue-green"
    test: "functional"

It should take care of creating the configuration needed (folder structure and template files).
Furthermore, the operator takes care of creating the namespaces for the app.
For example:
https://github.com/michaelHampel/shipyard-operator

Closing this issue for now. We need to reconsider what the operators tasks will be.

repo: keptn/keptn


text:
Add FFT Op

1D FFT:
https://www.tensorflow.org/api_docs/python/tf/signal/fft
https://pytorch.org/docs/stable/generated/torch.fft.fft.html#torch.fft.fft
https://jax.readthedocs.io/en/latest/_autosummary/jax.numpy.fft.fft.html
We can similarly add 2D FFT ops. These ops will be useful for porting FNet (present in KerasNLP).
@fchollet - I wanted to know where these ops should reside. Should they be inside https://github.com/keras-team/keras-core/blob/main/keras_core/ops/numpy.py? Or should we create a separate file for all fft ops?
CC: @mattdangerw

Matt's solution sounds good, let's go with the tuple approach.

repo: keras-team/keras-core


text:
Example on multimodal entailment

Textual entailment is a well-studied problem and is also a part of the GLUE benchmark. It's also highly useful for curating and moderating content on social media platforms. As we know social media content contains different data modalities -- texts, images, videos, audios, etc. Because of the nature of interaction that takes place on these platforms, it may be difficult to just use a single modality to learn the entailment task. This is beautifully presented in this ACL tutorial: https://multimodal-entailment.github.io/.
The tutorial mentioned above introduces a multimodal entailment dataset consisting of tweets and corresponding images labeled as entailment, contradictory, and no_entailment.
This example presents a baseline implementation of a multimodal model on the said dataset for encouraging further research in the field. Here is a Colab Notebook version.

@rchao @fchollet just wanted to gently ping about this PR.

@sayakpaul sorry for the delay. It's been quite busy and we're a bit short-staffed so thanks for your patience. We're try to get to this asap.

@fchollet addressed most of your comments and also added detailed notes about modality dropout and cross-attention.

@fchollet done. Thank you.

Thank you for the great contribution 👍

Also, fun fact: this is the 100th code example on keras.io!

Glad to have hit that century. Here's to 500 more.
Immensely thankful for all that you do to uplift the community.

authors: fchollet rchao sayakpaul

repo: keras-team/keras-io


text:
Pruning layer with ragged tensors

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 21.04
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version (use command below): v2.6.0-rc2-32-g919f693420e 2.6.0
Python version: 3.9.7
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce:

Describe the problem.
Pruning model with ragged tensors input is not working because of a failing conversion during tensor dot product.
Describe the current behavior.
Get TypeError: Failed to convert object of type <class 'tensorflow.python.ops.ragged.ragged_tensor.RaggedTensor'> to Tensor. when a layer wrapped with pruning method is getting a ragged tensor.
Describe the expected behavior.
A pruned layer that accepts ragged tensor.
Contributing.

Do you want to contribute a PR? (yes/no): yes
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing): Shouldn't the convert_to_tensor function in ops.py consider RaggedTensors like regular Tensors ?

Standalone code to reproduce the issue.
import tensorflow as tf
import tensorflow_model_optimization as tfmot

input = tf.keras.layers.Input(shape=(None, 10), ragged=True)
dense = tfmot.sparsity.keras.prune_low_magnitude(tf.keras.layers.Dense(units=5, activation="relu"))

x = dense(input)

Source code / logs.
Traceback (most recent call last):
  File "/home/melec/Documents/dev/force_estimation/pruning_test.py", line 7, in <module>
    x = dense(input)
  File "/home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/keras/engine/base_layer.py", line 976, in __call__
    return self._functional_construction_call(inputs, args, kwargs,
  File "/home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/keras/engine/base_layer.py", line 1114, in _functional_construction_call
    outputs = self._keras_tensor_symbolic_call(
  File "/home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/keras/engine/base_layer.py", line 848, in _keras_tensor_symbolic_call
    return self._infer_output_signature(inputs, args, kwargs, input_masks)
  File "/home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/keras/engine/base_layer.py", line 888, in _infer_output_signature
    outputs = call_fn(inputs, *args, **kwargs)
  File "/home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py", line 695, in wrapper
    raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:

    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow_model_optimization/python/core/sparsity/keras/pruning_wrapper.py:300 call  *
        return self.layer.call(inputs, **kwargs)
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/keras/layers/core.py:1232 call  **
        outputs = tf.tensordot(inputs, self.kernel, [[rank - 1], [0]])
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/util/dispatch.py:206 wrapper
        return target(*args, **kwargs)
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/ops/math_ops.py:5036 tensordot
        a = ops.convert_to_tensor(a, name="a")
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/profiler/trace.py:163 wrapped
        return func(*args, **kwargs)
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/framework/ops.py:1566 convert_to_tensor
        ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/framework/constant_op.py:346 _constant_tensor_conversion_function
        return constant(v, dtype=dtype, name=name)
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/framework/constant_op.py:271 constant
        return _constant_impl(value, dtype, shape, name, verify_shape=False,
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/framework/constant_op.py:288 _constant_impl
        tensor_util.make_tensor_proto(
    /home/melec/miniconda3/envs/force_estimation/lib/python3.9/site-packages/tensorflow/python/framework/tensor_util.py:551 make_tensor_proto
        raise TypeError("Failed to convert object of type %s to Tensor. "

    TypeError: Failed to convert object of type <class 'tensorflow.python.ops.ragged.ragged_tensor.RaggedTensor'> to Tensor. Contents: tf.RaggedTensor(values=Tensor("Placeholder:0", shape=(None, 10), dtype=float32), row_splits=Tensor("Placeholder_1:0", shape=(None,), dtype=int64)). Consider casting elements to a supported type.

@melecpetitpierre,
I can see that the code is working fine and it throws no errors in colab with TF 2.7.0. Please find the gist here. Thanks!

@sanatmpa1 thank you for your advice. Apparently pruning with ragged tensors is working fine with TF 2.7.0.
It solved also another problem linked to ragged tensors and sample weights.

repo: keras-team/keras


text:
Improve dtype inference of add, divide, maximum, minimum, multiply and subtract when using python native dtypes

This PR has addressed the dtype inference for these ops with python int and float numbers.
The manually casting in the layer implementation from the previous PR can now be removed.
This should enhance UX when implementing new layers to support mixed precision training.

Codecov Report
Attention: 51 lines in your changes are missing coverage. Please review.

Comparison is base (f0f29d1) 79.23% compared to head (6fb9b5c) 56.15%.

Files
Patch %
Lines

keras/backend/tensorflow/numpy.py
21.42%
29 Missing and 4 partials :warning:

keras/backend/torch/numpy.py
0.00%
18 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18820       +/-   ##
===========================================
- Coverage   79.23%   56.15%   -23.09%
===========================================
  Files         336      336
  Lines       34381    34419       +38
  Branches     6727     6755       +28
===========================================
- Hits        27243    19329     -7914
- Misses       5564    13624     +8060
+ Partials     1574     1466      -108

Flag
Coverage Δ

keras
56.15% <52.33%> (-22.95%)
:arrow_down:

keras-jax
?

keras-numpy
56.15% <52.33%> (-0.03%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


text:
replaced space by tab in DeLFTModel.label

See Mattermost conversation
When using a DL fulltext model, no figure and table data was generated.
That is because a tab is expected for the figure data generation and  table data generation.
I haven't test it yet, but might be related to https://github.com/kermitt2/grobid/issues/470
Since the WapitiModel.label function is already replacing spaces with tabs, doing the same in DeLFTModel.label seems to make sense.

Coverage decreased (-0.01%) to 38.226% when pulling e71a8b6d50151d805a5854f489405689c88aec8a on elifesciences:fix-dl-data-generation-space-vs-tab into 35c46b0f0db78dc775e5b76c025c9c9d53cf7af2 on kermitt2:master.

Thanks @de-code, indeed make sense !

authors: coveralls de-code kermitt2


text:
fix(search): include search by branch name

Description
Add the possibility of searching for a tree by branch name, as the text indicates
Visual Reference

Previous
Now

Merged

authors: lfjnascimento ricardodalarme

repo: kernelci/dashboard


text:
The engine "node" is incompatible with this module. Expected version ">=10.16.0 <=14.x.x". Got "16.13.0"

NodeJS version is outside of the range supported by Strapi v3.6.8 (Not Strapi v4).

@kevinadhiguna node version must be among even numbered versions such as 10 or 14.
Currently 16 is not supported.

authors: kevinadhiguna miralayipouya

repo: kevinadhiguna/strapi-dockerize


text:
Automatically parse request object

Be able to send the request object so body and urlParams can be directly parsed instead of explicitly having to set them.

This is in working progress status. In this branch https://github.com/kevinccbsg/config-req/tree/req-options 👍
It needs more documentation and better testing.

That's great!!! Will it be merged to master or will it live as an independent branch?

It will be merged with the master branch.

This was merged @inigomarquinez. I'd recommend checking this https://github.com/kevinccbsg/config-req#use-with-req-complete-object to use in your projects until V2 will be released.

authors: inigomarquinez kevinccbsg

repo: kevinccbsg/config-req


text:
Revert "test"

This reverts commit cb6f41e6273d635dd99cb96e059fd9f28b2e14e9.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kevinsalerno
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [kevinsalerno]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

@kevinsalerno: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/lgtm

authors: kevinsalerno spicy-chimken

repo: kevinsalerno/eks-distro


text:
🛑 FX perdigueiro (kty) is down

In 916895c, FX perdigueiro (kty) (https://perdigueiroimoveis.com.br) was down:

HTTP code: 503
Response time: 469 ms

Resolved: FX perdigueiro (kty) is back up in f73ee49.

repo: keviocastro/upptime


text:
🛑 FX corretor (kty) is down

In f52db54, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1dee6b6 after 6 minutes.


text:
🛑 FX blog (kty) is down

In ea96bec, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in a88dabb after 8 minutes.


text:
🛑 FX corretor (kty) is down

In fab03ba, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 0b740be after 7 minutes.


text:
🛑 FX blog (kty) is down

In d95f11a, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in e7bb5f5 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In 08f302f, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 414f34e after 24 minutes.


text:
🛑 FX blog (kty) is down

In a4e4bfe, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 3bd8eee after 6 minutes.


text:
🛑 FX corretor (kty) is down

In 9da425b, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 7127a3d after 17 minutes.


text:
🛑 FX blog (kty) is down

In ed6ea61, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 7b8817b after 5 minutes.


text:
🛑 FX corretor (kty) is down

In 5f50c27, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 37766ab after 29 minutes.


text:
🛑 FX blog (kty) is down

In ee64a83, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in e4eb747 after 38 minutes.


text:
🛑 FX net (kty) is down

In b8f6dec, FX net (kty) (https://foxter.net.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX net (kty) is back up in 2934f7b.


text:
🛑 FX corretor (kty) is down

In c236e01, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 8095ced after 10 minutes.


text:
🛑 FX corretor (kty) is down

In 3dd885c, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 24075e2 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 47b1491, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in ea88b2a after 29 minutes.


text:
🛑 FX blog (kty) is down

In 951d977, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in ee6b660 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 65215fc, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 7b9cf4e after 37 minutes.


text:
🛑 FX corretor (kty) is down

In eccd850, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 71f9e4a after 29 minutes.


text:
🛑 FX corretor (kty) is down

In fba64bb, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in ef8fb56 after 7 minutes.


text:
🛑 FX corretor (kty) is down

In 06c5ecc, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 66cd0e4 after 37 minutes.


text:
🛑 FX corretor (kty) is down

In aa9be9b, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1699725 after 7 minutes.


text:
🛑 FX corretor (kty) is down

In 8d3057c, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 914e889 after 18 minutes.


text:
Depend on newer version of flutter_hooks

Latest version of flutter hooks is 0.17.0 https://pub.dev/packages/flutter_hooks
Lib depends on ^0.16.0 https://github.com/kevlatus/flutter_fortune_wheel/blob/main/pubspec.yaml#L13
Mind to bump the dependency? It will solve the issue where each project needs to override dependency on their own.

0.17.0 of flutter_hooks is now a dependency in 1.0.1 of this package

authors: kevlatus vintage


text:
Do you include MolTrans in this repo

You have another DTI repo called MolTrans. I think you didn't include this model in this toolkit, am I right? If not, what is the difference between DTI model of MolTrans and other models in this repo. Which one is better? Thanks a lot.

Hi, currently, it is not included. MolTrans should have a better predictive performance for DTI but it has more complicated model architectures and also takes lots of time to train and tune hyperparameters. DeepPurpose is designed for fast prototyping and also supports Drug property, protein function, DDI, PPI predictions. It is for direct downstream use. The model architectures are also very simple (encoder-decoder framework).

So, depends on your use case. If it is for industry use, I would recommend DeepPurpose. If it is for research benchmarking, you could include both DeepPurpose and MolTrans.

Thank you

I found you still have an option of embedding method as transformer both for drug and protein. Are they different from MolTrans? Can I choose the transformer option for the drug or protein embedding method? Thanks

Hi, they are different. Since MolTrans has a specific decoder with interaction map + CNN.

Thank you. Actually, I tried your MolTrans, but I got errors. If you have time, please visit MolTrans repo. Hope to get your response. Thanks a lot.

Oh thanks for the reminder. somehow i didn't receive notification for that repo. I will checkout in the next two days.


text:
I didn't get airdrop

I registered on November 14 of this month one day before the airdrop, my account is verified and I had the golden icon of steller and I did not receive the airdrop, my username is miloslte

Like me bro

repo: keybase/client


text:
Device already provisioned for current user

Keybase GUI Version: 1.0.16-20160715110019+f0caa34
Keybase forgot me, then I've tried to login again and then I see this:

Gonna try to reinstall now.

Instead of that, can you do keybsae log send ?

Sorry, just trashed it :(. I'll do this instead next time.

What's interesting is that it didn't require me to re-enter my credentials after I reinstalled it. Is it supposed to be that way? I wasn't able to call keybase while it was in Trash.

Yeah, like the config directory wasn't trashed, nor were your device-specific private keys. You'd have to do a keybase deprovision to really blow that stuff away.

@maxtaco good to know, thanks

Got that one right now on 1.0.16-20160726160034+abf37ce (Linux amd64). Funnily enough, it seems that it is only a problem with the GUI. kbfs seems to work just fine (present, can write into it). The keybase command line app also seems to work fine.

@doudou can you do a keybase log send?

Just did. I updated the deb and re-ran run_keybase in the meantime, I hope it does not trash the log
log ID: bc0d4b66e46b541ff717811c
Just for my information, is it best practice to run a log send anytime I have a bug report "just in case" ?

The harm in it is that it could reveal some information about the names of your KBFS files.
Thanks @doudou  we will take a look!

(Cc: @patrickxb  this is CORE-3481 in JIRA)

Just chiming in: I also had this issue. Deleted my keybase keys and set everything up from scratch through the website, but now I cannot add this device under the name I'd like to, despite me not having any devices associated with my profille.

authors: Link-Satonaka doudou maxtaco yeswecan


text:
Disconnected

First try: I downloaded and installed the Windows client which seemed to work. Tried running a terminal command... long story, I uninstalled the app because it wasn't working.
Second try: Found workarounds online for using Keybase CLI application. Re-installed Windows client. But once opened, even after a restart, the client seems to be unable to connect to the internet.

my log id: 23e0c46b44d05f257dff561c
I'm excited about this app and will continue trying. I did not find exact situation online so submitting a ticket.
Cheers,
Ian

Thanks for the report, CC @zanderz @maxtaco @patrickxb
18096 2017-03-05T11:35:54.254920-05:00 - [DEBU keybase engine.go:66] 1b4 - RunEngine(ListTracking) -> ok
18097 panic: runtime error: invalid memory address or nil pointer dereference

@patrickxb can you take this one?

18103 github.com/keybase/client/go/libkb.(*IdentityTable).GetTrackList(0x0, 0x0, 0x0, 0x0)
18104 C:/Jenkins/workspace/windows-installer_0/src/github.com/keybase/client/go/libkb/id_table.go:1141 +0x2d

i'm already looking at it now, let me just put a PR

PR up in #6142

Ok, the PR is in.  I'm slightly concerned this is a workaround of a deeper problem.

It is common for the chat app to be looking for the internet, before I am connected to the internet.  I had this same issue this morning, with that same cute screen shot above.  It is never clear to me how to stop/start this application.  I have had this working with no problems for a couple of weeks now.  At the moment the problem has cleared.  I have since rebooted.  Thx

I am still experiencing this issue, however the occurrences are rare. If for example my connection drops for over 5-10 mins, Keybase will(sometimes) struggle to reconnect. I have to exit and restart the app to get it working.
@KidPluto You can 'quit' out of Keybase via the notifications area icon, click the Keybase icon, click the 'hamburger-ish' menu on the top right and click 'quit' at the bottom of that menu. (Windows)

Hello. I don't think it was connectivity related but I don't know much. I uninstalled and removed every file I could find (again) and started over. It worked this time!
If there was anything in the log submitted, I hope it helps fix issues for the future.
Ian

Hmm, I am having the same issue Keybase won't connect.

@adsactly @joshuaferrara Are you on Windows? One user experiencing this disconnected message had it solved with the fix contained in this special build, if you would like to try: https://s3.amazonaws.com/prerelease.keybase.io/windows/Keybase_1.0.21-20170428134902%2B4280d08.386.exe

@zanderz Yes, I am on windows. That build is working for me!

Still experiencing this issue on Windows 10 x64.

@Zenexer can you do a keybase log send at the Keybase Shell? Have you disabled any Keybase startup shortcuts?

@zanderz That was the first thing I checked; they were enabled.  I'll send the logs next time I'm at that computer.

I'm helping someone else who is using keybase, and they seem to be having this issue as well.  Was a permanent fix ever discovered?  I wonder if the same exe would function at this point or if it would be too outdated - this issue is almost 2 years old after all.  I'm on a mac, and not super familiar with Windows.

authors: KidPluto Sjgouws Zenexer adsactly cjb iangetz joshuaferrara maxtaco phoniks zanderz


text:
(WIP) Team buttons in chat inbox

@adamjspooner I managed to add them in the empty state, but not to the end of the inbox.

@keybase/react-hackers, this is ready for review.

@thebearjew, mind taking another look? 🙏

@adamjspooner duplicated rows here... not sure why.

@adamjspooner It seem to be coming from the logic when the inbox is empty. To produce this screen I hid all my chats and left all my teams.

authors: adamjspooner cecileboucheron thebearjew


text:
add local RPC to inject gregor ibm CORE-5975

Patch does the following:
1.) Add new RPC InjectItem, which will allow the frontend to add items to the Gregor state.
2.) Add a dtime parameter to the internal InjectItem so that these items can come with a pre-computed dismiss time.
cc @chrisnojima

The commits 4018a51d8ba2...6d4f0f4ea7e7 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

authors: keybase-ci-visdiff mmaxim


text:
Fix nil dereference bug in mdJournal.clear

Also add test coverage.

Looks good to me, thanks!

authors: akalin-keybase strib

repo: keybase/kbfs


text:
How do I login to keybase, retrieve my private key, and then use it to decrypt a message?

I recognize this is not directly related to kbpgp. However, without receiving the proper private key it is impossible to decode messages that were encrypted from keybase. Between keybase and kbpgp I have bee unable to find a solution to this problem.
The current code I am currently using is below:
/**
 *  Connect to get user keys
 */
connect = function() {

// AJAX login to get private key:
// Step One: Salt
$.ajax({
        async: true,
        type: 'GET',
        url: "https://keybase.io/_/api/1.0/getsalt.json",
        async: false,
        data: {"email_or_username": username},

        success: function(salt) {
            if(salt && salt.status && salt.status.name == "OK"){

                var scrypt = scrypt_module_factory(67108864);
                var pwh = scrypt.crypto_scrypt(scrypt.encode_utf8(user_passphrase),
                                               scrypt.encode_utf8(salt.salt),
                                               Math.pow(2,15), 8, 1, 224).slice(192, 224);

                var login_session = CryptoJS.enc.Base64.parse(salt.login_session);
                var parsed_pwh = CryptoJS.enc.Utf8.parse(pwh);
                var hmac_pwh = CryptoJS.HmacSHA512(login_session, parsed_pwh);
                hmac_pwh = CryptoJS.enc.Hex.stringify(hmac_pwh);

                var login_data = {
                    email_or_username: username,
                    csrf_token: salt.csrf_token,
                    hmac_pwh: hmac_pwh,
                    login_session: salt.login_session
                };

                // AJAX login to get private key:
                // Step Two: Login
                $.ajax({
                    async: false,
                    type: 'POST',
                    url: "https://keybase.io/_/api/1.0/login.json",
                    data: login_data,
                    dataType: "json",
                    success: function(login) {

                        if(login && login.status && login.status.name == "OK"){
                            console.log("successful login");
                        }else{
                            console.log("failed login: " + login.status.name);
                        }
                    },
                     error: function (request, status, err) {
                         console.log(err + status);
                     }
                });
            }else{
                console.log("failed salt");
            }
        },
         error: function (request, status, err) {
             console.log(err + status);
         }
     });

I receive an error: BAD_LOGIN_PASSWORD. However, I have checked and it is not incorrect. Any help anyone could give would be great.

this is very hard to debug, but it doesn't seem correct to treat salt.salt
as utf8 in your argument to crypto_scrypt  i think it should be binary data.
On Tue, Dec 1, 2015 at 4:06 PM, Austin Walters notifications@github.com
wrote:

I recognize this is not directly related to kbpgp. However, without
receiving the proper private key it is impossible to decode messages that
were encrypted from keybase. Between keybase and kbpgp I have bee unable to
find a solution to this problem.
The current code I am currently using is below:
/**

Connect to get user keys
*/
connect = function() {

// AJAX login to get private key:
// Step One: Salt
$.ajax({
async: true,
type: 'GET',
url: "https://keybase.io/_/api/1.0/getsalt.json",
async: false,
data: {"email_or_username": username},
    success: function(salt) {
        if(salt && salt.status && salt.status.name == "OK"){

            var scrypt = scrypt_module_factory(67108864);
            var pwh = scrypt.crypto_scrypt(scrypt.encode_utf8(user_passphrase),
                                           scrypt.encode_utf8(salt.salt),
                                           Math.pow(2,15), 8, 1, 224).slice(192, 224);

            var login_session = CryptoJS.enc.Base64.parse(salt.login_session);
            var parsed_pwh = CryptoJS.enc.Utf8.parse(pwh);
            var hmac_pwh = CryptoJS.HmacSHA512(login_session, parsed_pwh);
            hmac_pwh = CryptoJS.enc.Hex.stringify(hmac_pwh);

            var login_data = {
                email_or_username: username,
                csrf_token: salt.csrf_token,
                hmac_pwh: hmac_pwh,
                login_session: salt.login_session
            };

            // AJAX login to get private key:
            // Step Two: Login
            $.ajax({
                async: false,
                type: 'POST',
                url: "https://keybase.io/_/api/1.0/login.json",
                data: login_data,
                dataType: "json",
                success: function(login) {

                    if(login && login.status && login.status.name == "OK"){
                        console.log("successful login");
                    }else{
                        console.log("failed login: " + login.status.name);
                    }
                },
                 error: function (request, status, err) {
                     console.log(err + status);
                 }
            });
        }else{
            console.log("failed salt");
        }
    },
     error: function (request, status, err) {
         console.log(err + status);
     }
 });

I receive an error: BAD_LOGIN_PASSWORD. However, I have checked and it is
not incorrect. Any help anyone could give would be great.
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/kbpgp/issues/106.

@maxtaco There is a similar issue on keybase-issues:
https://github.com/keybase/keybase-issues/issues/1500
In which scrypt.encode_utf8 was also used.
From the js-scrypt we are both using:

The library enforces a strict distinction between strings and binary data. Binary data is represented using instances of Uint8Array.

scrypt.to_hex(Uint8Array) → String

Returns a lower-case hexadecimal representation of the given binary data.

scrypt.encode_utf8(String) → Uint8Array

Returns the binary equivalent of the argument, encoded using UTF-8.

I believe this is correct, I also found a function which converts hex2bin and it also fails:
function hex2bin(hex) {
    var bytes = [], str;
    for(var i=0; i< hex.length-1; i+=2)
        bytes.push(parseInt(hex.substr(i, 2), 16));
    return String.fromCharCode.apply(String, bytes);
}

This may indeed be the issue, but I have absolutely no idea how to check it.

If you were using node.js buffers, you'd do this new Buffer(salt.salt, "hex").  So take the salt from the server, decode hex into binary, and then pass the Uint8Array buffer into scrypt

Duplicate, found a solution with issue #105

authors: lettergram maxtaco

repo: keybase/kbpgp


text:
Fix for keybase-issues#1765

A start of a fix.  Need input from @oconnor663

This is pretty much final shape.  Comments welcome.

repo: keybase/libkeybase-js


text:
Call verify() from User.load every time

Right now we're calling it from various places after load(), like from tracksubsub or from load_me.  Just do the simple thing and call it every time.

Also, strip out subsequent calls from other places.

repo: keybase/node-client


text:
Client Allocation Request for:

Client Allocation Questions
Core Information

Name:
Website / Social Media:
DataCap Requested: 5TiB
Addresses to be Notarized: f021255
Notary Requested: philippbanhardt

怎么查看申请结果？？？

repo: keyko-io/filecoin-clients-onboarding


text:
fix git blame ignore entry for code style changes

The rebase before merging changed the commit id.

Codecov Report

Merging #992 (d3943af) into master (faee026) will increase coverage by 0.03%.
The diff coverage is n/a.

Flag
Coverage Δ

packit-e2e
56.68% <ø> (+0.03%)
:arrow_up:

testsuite
27.14% <ø> (+0.04%)
:arrow_up:

unittests
13.17% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

keylime/revocation_notifier.py
52.85% <0.00%> (+1.55%)
:arrow_up:

authors: THS-on codecov-commenter

repo: keylime/keylime


text:
🛑 Helen Oy is down

In 2753248, Helen Oy (https://www.helen.fi/en) was down:

HTTP code: 503
Response time: 1818 ms

Resolved: Helen Oy is back up in 102cef5 after 22 minutes.

repo: keywordnew/vantaa-watchtower


text:
Remove unneeded provider

Copy-paste error when I added kprovex.
extraConcreteRuleLabels is used in kprove to enhance the kompile pipeline. But when this step is applied in kompile is not needed in kprovex. It was also wrong because it was trying to extract the info from KProveOptions instead of KompileOptions.
Discovered this when I was working with @SchmErik. Now when you generate the dependency graph, you should see the KProveOptions instance disappear.

I checked out your pull request and I see that the generated PDF from the dot file no longer contains the KproveOptions when using kompile.

authors: SchmErik radumereuta

repo: kframework/k


text:
Faster parsing - cache calls to getTagForSymbolName

Using std::map as the cache was sufficient. I wanted to try some prefix/radix tree, but with this change, all the parsing time is spent elsewhere, so I didn't try it.

I didn't try any compile-time approach because it seemed to me to be more complex. I wanted to try the simplest solution that might reduce the problem - and this caching made it disappear.

Alright. I would only suggest one change to this pr, then. The getTagForSymbolName symbol should refer to the cached version, not the uncached version.

@dwightguth Would renaming the generated getTagForSymbolName into _getTagForSymbolName and having a global cache work? I assume there is no threading involved.

I mean, not with that name, no. C/C++ has undefined behavior if a global variable or function starts with an underscore followed by a lowercase letter. But in general, renaming the function ought to work. I would make the cache thread-local though just to be on the safe side. There is no threading within the interpreter itself, but if you have a global cache and someone tries to embed an interpreter into a threaded application, then you're going to end up racing on accesses to the cache. In general we want to support cases like that, so making the cache thread-local is a good idea. But it should just be a matter of adding the thread_local specifier to the variable.

I will take this over since @h0nzZik is no longer working on RV-Match.

repo: kframework/llvm-backend


text:
viewReference bug with ucjApprovable

https://nanopay.atlassian.net/browse/NP-7058

@sarthak-marwaha @kgrgreer this change is correct (UCJView' should be getting its context from UCJApprovable rather than the ApplicationController), however its in response to a but where UCJView was getting an empty context. Without parent specified, it should have been getting the context from ApplicationController which has all the nspecs right? It's also worth noting this behaviour was nondeterministic.

authors: KernelDeimos minsunny


text:
Single SSID instead of multiple SSIDs

Is it possible to show only single SSID on config portal instead of SSID1 and SSID2 on config portal? Is there any to disable it or we need to make change in src files?

Hi @geosys123
Thanks for using this new ESPAsync_WiFiManager Library.
Currently, it's not designed to have the single SSID feature configurable from sketch. If there are mrde demands, I'll consider to add the feature in future releases.
You can either

Use the previous version ESPAsync_WiFiManager v1.0.11, which uses only single SSID without the MultiWiFi feature.
Just ignore the extra SSID or make them duplicated.
Change in the src files of newer Releases v1.1.1+

Thanks for your quick reply. I may go with v1.0.11. But is there any major bug in v1.0.11 besides single SSID feature which I should  take care else I will go with newer version and modify source files.

No known bug in v1.0.11. Just single SSID feature.
You can read the releases history in its twin library
ESP_WiFiManager

Thanks for your quick reply.

Sorry to bump this thread. I'm interested too in single credential pairs. After 2 years it seems there's no way to configure the numbers of credentials from the user sketch. I think it should be enough to make the inputs hidden if there is a define for a single credential pairs:
#if SINGLE_CREDENTIALS
  #if DISPLAY_STORED_CREDENTIALS_IN_CP
  const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset>
SSID<input value='[[ssid]]' id='s' name='s' length=32 placeholder='SSID'>

Password<input value='[[pwd]]' id='p' name='p' length=64 placeholder='password'>

<input type='hidden' value='[[ssid1]]' id='s1' name='s1' length=32 placeholder='SSID1'>

<input type='hidden' value='[[pwd1]]' id='p1' name='p1' length=64 placeholder='password1'>

</fieldset>";
  #else
  const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset>
SSID<input id='s' name='s' length=32 placeholder='SSID'>

Password<input id='p' name='p' length=64 placeholder='password'>

<input type='hidden' id='s1' name='s1' length=32 placeholder='SSID1'>

<input type='hidden' id='p1' name='p1' length=64 placeholder='password1'>

</fieldset>";
  #endif
#else
#if DISPLAY_STORED_CREDENTIALS_IN_CP
  const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset>
SSID<input value='[[ssid]]' id='s' name='s' length=32 placeholder='SSID'>

Password<input value='[[pwd]]' id='p' name='p' length=64 placeholder='password'>

SSID1<input value='[[ssid1]]' id='s1' name='s1' length=32 placeholder='SSID1'>

Password<input value='[[pwd1]]' id='p1' name='p1' length=64 placeholder='password1'>

</fieldset>";
  #else
  const char WM_HTTP_FORM_START[] PROGMEM = "<form method='get' action='wifisave'><fieldset>
SSID<input id='s' name='s' length=32 placeholder='SSID'>

Password<input id='p' name='p' length=64 placeholder='password'>

SSID1<input id='s1' name='s1' length=32 placeholder='SSID1'>

Password<input id='p1' name='p1' length=64 placeholder='password1'>

</fieldset>";
  #endif
#endif

If you think this is worth to embed in the next commit I'll be glad to find it in the library, instead of hacking it every time I download it :-)

This is so easy way to read and do

Just ignore the extra SSID or make them duplicated.

I have no time to waste and interest in going backward.

Thank, very kind. Got it.


text:
Bookcatering page addition

Adding BookCatering which allows user to book catering for required events.

@sunny0625 please assign me this issue

@khushi-joshi-05 please assign me this issue.

@sunny0625 @khushi-joshi-05 please assign me this issue.

@sunny0625 @khushi-joshi-05 please assign me this issue.

@sunny0625 @khushi-joshi-05 please assign me this issue

@sunny0625 @khushi-joshi-05 please assign me this issue
and also add level label to the PR https://github.com/khushi-joshi-05/Food-ordering-website/pull/1427


text:
Adding Flashlight Mouse Pointer effect

Project title
Flashlight Mouse Pointer effect
Project Description
A simple flashlight effect that will reveal text when the mouse pointer hovers.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

/assign

repo: khushi-purwar/WebDev-ProjectKart


text:
Rotating Animation Navigation

Project title
Rotating Animation Navigation
Project Description
A site that rotates fully on landing page.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript
[ ] ReactJS

/assign


text:
Checkup config: read and parse checkup's config from ConfigMap object

This add the ability to read and parse checkup's configuration from a ConfigMap object.

Change: Fixed a problem discovered by the linter.

Change: Changed a commit message.

Changes: Optimized the unit test code.

Change: Fixed linter problems.

Changes: Fixed code review comments + linter errors.

Change: Moved types form loader_test.go to outside of Test*() functions.
Also changed their field names according to an offline code-review comment by @ormergi.

Change: Changed Config.Params to Config.EnvVars of type []corev1.EnvVar.

Change: Added config.ErrRoleNameIsIllegal.

Change: Fixed comments from code review in production code.

Change: Fixed comments from code review in unit test code.

Change: Added a test case - fail when ConfigMap object doesn't exists.

Change: Moved low level K8s client usage to a dedicated function.
Try to get ClusterRole and Role objects, only after successful parsing of their names.

Change: Extracted the parsing logic from config.Loader to a new entity.

Change: Fixed code review comments.

Change: Moved ConfigMap namespace and name back to loader.go.

Change: Rebase and integration with PR #9.

Change: Added a configmap package to unify actions against a ConfigMap object.

Change: Put the logic of splitRoleName() inline.

Change: Inlined testLoaderFailureWhenConfigMapIsMissing()

Change: Fixed commit messages.

Change: Changed commit messages.

@orelmisan
Thanks for the changes it look much better!
I have some more comments, most of them are suggestions to simplify the code even more,
Please take a look and see if it make sense to do.

Change: Answered code review comments.

Change: Fixed a small bug in newFakeClientWithObjects()

Change: Fixed a review comment.

authors: orelmisan ormergi

repo: kiagnose/kiagnose


text:
[traffic-gen-in-vm] Move affinity calculation to vmi package

Currently, the affinity calculation logic of the VMI under test, is located
under checkup.go.
This logic is going to be shared between the VMI under test and the
traffic generator.
Move the affinity calculation logic to a shared location.
Also add unit tests.

Tested against an OpenShift Virtualization 4.14 cluster.

repo: kiagnose/kubevirt-dpdk-checkup


text:
變異係數與標準差關係不為平方與方根關係

變異係數與標準差，為何兩者關係不為平方和方根關係？謝謝。
https://kiang.github.io/salary/map/#2016/playButton2/6502100-011
找到答案。

變異係數
變異數
兩者不同。變異數和標準差才為平方與方根關係。變異係數為標準差除以平均數。
ref: https://baike.baidu.com/item/变异系数

數字的顯示並不是透過程式計算，而是直接從財政部報告中取出，或許可以參考原始資料的報表
https://github.com/kiang/salary/tree/gh-pages/raw

找到答案。
變異係數
變異數
兩者不同。變異數和標準差才為平方與方根關係。變異係數為標準差除以平均數。
ref: https://baike.baidu.com/item/变异系数

authors: JefferyKu kiang

repo: kiang/salary


text:
[MBL-720] Configure Remote Config

📲 What
Configures a new RemoteConfigClient responsible for loading RC default values, fetching/activating values from the cloud, and providing helpers for determining specific key values.
🤔 Why
Remote Config is the feature flagging tool that we are replacing Optimizely with.
🛠 How

Once FirebaseApp.configure() is called in AppDelegate, we set a RemoteConfigClient instance in AppEnvironment to be used throughout the app.
On init the new client:

loads default values that we may want to change in the future
fetches any new values from the cloud. You can actually find these stored in a cached holding pattern on your device
"activates" those fetched values. When this happens, it applies those fetched values on top of our existing default values

RemoteConfigClient also helps us query our RC values. The way it works is that it gives us either a value from the cloud, if it found one, or a default value based on the provided key.

I've set up 2 keys in our Kickstarter-Alpha firebase project for testing. Changes to those will reflect in our Feature Flag screen in real time once I get to that bit.
Important note regarding the configuration crashes I was seeing during this setup
In order for RemoteConfig to be initialized the following has to be true:

The firebase instance has to be configured first

Only one copy of firebase can exist in an app. Since we're configuring firebase in AppDelegate we import Firebase into the main target. I tried to keep our new RemoteConfigClient in the Library target, but that requires importing Firebase there as well. However, since the, main target was already importing Library, and thus firebase again, a dependency conflict occurred showing the following error in the console Class FIRApp is implemented in both... causing a crash. I needed to keep RemoteConfigClient in the main target to get around this.
Google intentionally does this to keep multiple copies of Firebase from existing in one app.
See this doc on the Firebase iOS SDK GitHub for more details.

✅ Acceptance criteria

[ ] The should get the correct values from our firebase alpha project when RemoteConfigClient.fetchCloudValues is called.
[ ] Consent Management Dialog and Facebook Interstitial behave accordingly based on the RC value

Use the RemoteConfigFeature+Helpers to verify
⏰ TODO

Updating the feature flag debug menu and user defaults will be done in the next ticket

@msadoon this latest commit makes the suggested changes. However, this doesn't compile yet, I just wanted to get it up so you can take a look.
The error I'm getting is that  RemoteConfig does not conform to expected type RemoteConfigClientType. I tried to add all of the methods that I think are "required" into this type, but I'm not sure what I'm missing yet.

@scottkicks made some additional comments - were making some progress here.
Let's try to see if this strategy (update on next launch) will work by running build as-is on this branch and testing the scenario described above.

@msadoon i've made the changes we worked through today. A couple of issues still coming up...

RemoteConfig is still not conforming to RemoteConfigClientType even after the package upgrade
I started to update didUpdateOptimizelyClient, but it started leading me down a path that quickly became complicated. So I've left that commented out for now. It looks for an argument of OptimizelyClientType so it's not as simple as we first thought

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger

authors: msadoon nativeksr scottkicks

repo: kickstarter/ios-oss


text:
Pledge Over Time feature flag

📲 What
We need to add a new RemoteConfig feature flag so that we can work on the new Pledge Over Time feature.
🛠 How
Adding a new case pledgeOverTime  into the RemoteConfigFeature enum and the necessary configurations.
👀 See
Jira

Feature Flags screen

✅ Acceptance criteria

[x] The public function featurePledgeOverTimeEnabled should be created in the RemoteConfigFeature+Helpers.swift helper.
[x] The new feature flag is displayed in the Remote Config Feature Flags screen

LGTM 👍 Were you able to resolve the Beta config build issues you were having?
We decided recently to start having 2 reviewers/approvals per PR so please request review from Ingerid or Steve and get a ✅ from them before merging!

@scottkicks yeah I solved it by doing Clean Build Folder.
You're right, I forgot to set another reviewer... Steve added 👍


text:
fix: bump subpkg version

ticket

[x] add changelog to service reops
[x] update service repos to v1.0.0
[x] update lib repo to v1.0.0

merge 後會上一個PR填changelog

LGTM 👍

authors: duidae nickhsine

repo: kids-reporter/kids-reporter-monorepo


text:
[DMN-Editor] Prefix of imported file is used wrongly

There is a namespace error when using datatypes from an imported model. The attribute names are incorrectly showing the prefix of the type.
Assume we have a file that contains a data type:

That file is imported from another .dmn file, that consumes the data types:

Now in that file we create a decision, and specify the imported data type. We also give it some input:

If I open the Edit button on the decision, I am able to select an expression. I select decision table:

The input and output columns are filled automatically, but wrong:

As you can see, the attribute names are prefixed with the namespace of the imported file.
What I expected is this:

This clearly is a bug.

reproducer_Kie-issues_435.zip

I see now that I reported a similar issue: https://issues.redhat.com/browse/KOGITO-7601

Great catch. Definitely a bug. Thanks for all the issues you're reporting @hanjoosten! We still have a long way to go, but we'll get there. Please do keep reporting everything you find, and feel welcome to propose new ideas as well. Every contribution helps!

Will be fixed as part of #577.

authors: hanjoosten tiagobento

repo: kiegroup/kie-issues


text:
Provide Data Source annotation for processes

The datasource annotation is used to describe data sources.

For better backlog organization, we are tracking this only at https://issues.redhat.com/browse/KOGITO-7029

authors: StephenOTT ederign

repo: kiegroup/kie-tools


text:
[KOGITO-1031] Add Maven local deploy

Replace hardcoded "kogito-runtimes" string with function.
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has failed. Please check the logs.

The build has failed. Please check the logs.

Jenkins run BDD tests

Jenkins run BDD tests

The build has passed. You can find the build here.

The build has passed. You can find the build here.

authors: kie-ci radtriste

repo: kiegroup/kogito-runtimes


text:
[1.11.x] Updated 1.11.x ref

depends on https://github.com/kiegroup/kogito-operator/pull/1143

/jenkins test

/jenkins test

/jenkins test

tested ok on QE pipelines ...

repo: kiegroup/rhpam-kogito-operator


text:
issue: RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 32 but got size 31 for tensor number 1 in the list.

(workflow attached)
Images are generated normally at 2048x2048 and 1920x2048 resolutions. If you try to generate an image at 1984x2048, an error occurs, and once an error occurs, changing the resolution continues to cause errors. (event if 2048x2048, 1920x2048)
got prompt
It seems like you have activated model offloading by calling `enable_model_cpu_offload`, but are now manually moving the pipeline to GPU. It is strongly recommended against doing so as memory gains from offloading are likely to be lost. Offloading automatically takes care of moving the individual components vae, text_encoder, tokenizer, unet, scheduler, safety_checker, feature_extractor, image_encoder to GPU when needed. To make sure offloading works as expected, you should consider moving the pipeline back to CPU: `pipeline.to('cpu')` or removing the move altogether if you use offloading.
  0%|          | 0/25 [00:00<?, ?it/s]
!!! Exception during processing!!! Sizes of tensors must match except in dimension 1. Expected size 32 but got size 31 for tensor number 1 in the list.
Traceback (most recent call last):
  File "/mnt/teratera/git/ComfyUI/execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/git/ComfyUI/execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/git/ComfyUI/execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/git/ComfyUI/custom_nodes/ComfyUI-ELLA-wrapper/nodes.py", line 422, in process
    images = pipe(
             ^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py", line 971, in __call__
    noise_pred = self.unet(
                 ^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1561, in _call_impl
    result = forward_call(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = module._old_forward(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/diffusers/models/unets/unet_2d_condition.py", line 1281, in forward
    sample = upsample_block(
             ^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/teratera/venv-stable/lib/python3.11/site-packages/diffusers/models/unets/unet_2d_blocks.py", line 2512, in forward
    hidden_states = torch.cat([hidden_states, res_hidden_states], dim=1)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 32 but got size 31 for tensor number 1 in the list.

Prompt executed in 0.24 seconds
#2 [diffusers_sampler]: 0.24s

Seems to be a bug in the HiDiffusion code, couldn't find it myself, probably should report to their repository. There was another dimension specific bug they fixed, but it didn't fix this one.

authors: kijai ltdrdata

repo: kijai/ComfyUI-ELLA-wrapper


text:
routes with + in a S3 bucket are causing issues with Remix trying to resolve these chunks

Im trying to upload static assets from Remix to a S3 Bucket from Aws (public/build). The problem is that S3 is not friend of characters like + in the url. Since most of my Remix paths contains this + character, is there any way to deal with this situation?
Im using Remix + Express layer.

Interesting. I guess I can understand since, technically, a + in the URL is translated to a space.
Try adding this to your remix.config.js
  routes: async defineRoutes => {
    const routes = flatRoutes('routes', defineRoutes)
    // remove + in route ids
    const newRoutes = {}
    Object.entries(routes).forEach(([routeId, route]) => {
      route.id = routeId.replaceAll('+', '')
      if (route.parentId) {
        route.parentId = route.parentId.replaceAll('+', '')
      }
      newRoutes[route.id] = route
    })
    return newRoutes
  },

NOTE: If you use any route IDs in your app, you must update them to remove the +.

Thank you @kiliman for your quick answer! It worked just fine!

Awesome!

authors: alexhoo kiliman

repo: kiliman/remix-flat-routes


text:
Style the previous and next buttons in disabled state on EndOfSprintStatsModal

I believe they're in a setting-item-control element which should help?

Should be styled properly now 👌🏽  #39

Awesome, thanks @SlRvb

authors: SlRvb kinabalu

repo: kinabalu/obsidian-word-sprint


text:
我有一個問題

我怎么了？

不知道

xswl

authors: kingparks oMikoo

repo: kingparks/jetbra-activate


text:
Use config files for kube-proxy instead of command line args

Currently kube-proxy throws such warnings in its logs:
W0113 12:08:48.344275       1 server.go:226] WARNING: all flags other than --config, --write-config-to, and
--cleanup are deprecated. Please begin using a config file ASAP.

Fix the above warning by using the config files mounted from configmap.

Related https://github.com/kinvolk/lokomotive/issues/1284

Related https://github.com/kinvolk/lokomotive/issues/1284

Note that the configuration file is still in alpha: https://pkg.go.dev/k8s.io/kube-proxy@v0.20.2/config/v1alpha1. Do we want to rely on alpha features?

Note that the configuration file is still in alpha: https://pkg.go.dev/k8s.io/kube-proxy@v0.20.2/config/v1alpha1. Do we want to rely on alpha features?

Related #1284

@knrt10 isn't it kubelet only? While this issue deals with kube-proxy!

Note that the configuration file is still in alpha: https://pkg.go.dev/k8s.io/kube-proxy@v0.20.2/config/v1alpha1. Do we want to rely on alpha features?

That ASAP in the comment really got me.

Related #1284

@knrt10 isn't it kubelet only? While this issue deals with kube-proxy!

Note that the configuration file is still in alpha: https://pkg.go.dev/k8s.io/kube-proxy@v0.20.2/config/v1alpha1. Do we want to rely on alpha features?

That ASAP in the comment really got me.

@knrt10 isn't it kubelet only? While this issue deals with kube-proxy!

Yes, I meant related not duplicate :-). Someone taking up any of the issue can close both at the same time

@knrt10 isn't it kubelet only? While this issue deals with kube-proxy!

Yes, I meant related not duplicate :-). Someone taking up any of the issue can close both at the same time

authors: invidian knrt10 surajssd

repo: kinvolk/lokomotive


text:
🛑 Stats is down

In 4ffb4a5, Stats (https://stats.kiondaga.org) was down:

HTTP code: 500
Response time: 492 ms

Resolved: Stats is back up in dfa22b0.

repo: kiondaga/status


text:
return bounding boxes

Hey,
Is is possible to return the corners of the bounding box for each leaf? I would like to use the decomposition of an input point set in another algorithm.
Thanks!

Hi @krober10nd ,
Yes, it is possible. Each leaf contains an instance of the AABB class, which has the attribute limits. The corners can be derived from the limits using a function like this:
def limits2corners(limits):
    n_dim = len(limits)
    f = '{:0' + str(n_dim) + 'b}'

    n_corners = 2 ** n_dim
    corners = []
    for i in range(n_corners):
        inds = [int(s) for s in f.format(i)]  # convert i to list of 0s and 1s
        corner = [limits[ind] for ind in inds]
        corners.append(corner)
    return corners

I could add this as a property of the AABB class, then the corners of each leaf would be in self.aabb.corners for the leaf. Would that work?

Yes that would help! Thanks for that!

I added the corners property to the AABB class and updated to version 2.4.0. Thanks for the suggestion! Let me know if there are other features I could add.

repo: kip-hart/AABBTree


text:
error when using veff2 with basenji

I am trying to use this VEF tool but I'm getting an error when I try it on the Basenji model.  This is my code below:
from kipoi_veff2 import variant_centered

vcf_file = input.vcf'
fasta_file = hg19.fa'
model_name = 'Basenji'

output_file = 'output.vcf'

model_group = model_name.split("/")[0]

model_group_config_dict = (variant_centered.VARIANT_CENTERED_MODEL_GROUP_CONFIGS.get(model_group, {})
                           )

model_config = variant_centered.get_model_config(model_name, **model_group_config_dict)

#model_config.batch_size = 5

variant_centered.score_variants(
    model_config=model_config,
    vcf_file=vcf_file,
    fasta_file=fasta_file,
    output_file=output_file,
)

However, I get the following error
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 251, in score_variants
    vcf_file, fasta_file, sequence_length, model_config.batch_size
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 204, in batch_dataloader
    for interval in intervals
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 204, in <listcomp>
    for interval in intervals
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/vcf_seq.py", line 162, in extract
    seq = self._fetch(interval, istart, iend)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/vcf_seq.py", line 260, in _fetch
    Interval(interval.chrom, istart, iend))
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/fasta.py", line 49, in extract
    rc=rc
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 1046, in get_seq
    seq = self.faidx.fetch(name, start, end)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 635, in fetch
    seq = self.from_file(name, start, end)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 657, in from_file
    "Requested start coordinate must be greater than 1.")
pyfaidx.FetchError: Requested start coordinate must be greater than 1.

Any idea why this might be the case?

Hello, sorry about the late reply. Unfortunately I have not seen this error before. However, it seems there is a discrepancy between your vcf file and what pyfaidx expects. Specifically, it is coming from - this and this. Maybe printing out the start and end coordinate of the specific interval in question can offer some more idea?

Thanks, I will look into it out and let you know what happens.

Hi! Its been a while and I was wondering if you still need help. If your issue has been resolved may I close it?

Closing due to no acitivity

authors: cmlakhan haimasree


text:
Share svg sprite between loader instances

E.g. trough id

This will be great! I am using this in one library that is used in two different projects. And when I import one project into the other I got two svg declarations. Would be great that if they share the same id or something, just append the shapes instead. And if those exist, then just skip them.

authors: princed yorchv

repo: kisenka/svg-sprite-loader


text:
Remove Hardcoded Items and Implement Dynamic Task Management Functionality

This pull request removes hardcoded items from the tasks array, introduces a new JavaScript file for enhanced functionality, and implements several key features:

Removed hardcoded items

Created a new JavaScript file, index.js, specifically dedicated to the new functionality

Implemented a function that enables the addition of new tasks to the array. Each new task has the property completed set to false and the property index set to the value of the new array length

Delete Task Functionality: double click on list input can see the functionality to  delete

Edit Task Functionality

All changes made to the To Do List, including task additions, deletions, and edits, are now saved in the local storage

Live Demo Link

Changes Made

Moved addTask, deleteTask, and editTask functions to taskFunctions.js


text:
Test state controller

This PR is a way for me to hit two birds with one stone:

getting used to the kite API and the installer process
adding tests to the StateController as it appears to be a key component of the kite plugin

I’ll also try to refactor the code the I see something that can be improved.
The commit messages convention is based on the one used by Atom, see https://github.com/atom/atom/blob/master/CONTRIBUTING.md#git-commit-messages
It'd be great if one of the admin could enable Travis for this project as I don't have admin rights for this one.

I turned on Travis.  Please Slack me if you run into any issues with it or ever need any other admin actions in the future!

how would i go about running these tests on my host machine?

repo: kiteco/kite-installer


text:
Uncaught Error: Cannot find module 'classNames'

I tried version 0.6.3, I got this error.
hidekazu@jasper ~ $ ~/Applications/Kitematic\ \(Beta\).app/Contents/MacOS/Kitematic\ \(Beta\)
[2130:0531/145122:WARNING:dns_config_service_posix.cc(150)] dns_config has unhandled options!
[2132:0531/145122:INFO:renderer_main.cc(200)] Renderer process started
[2130:0531/145122:INFO:CONSOLE(109)] "Download the React DevTools for a better development experience: https://fb.me/react-devtools", source: /opt/homebrew-cask/Caskroom/kitematic/0.6.3/Kitematic (Beta).app/Contents/Resources/app/node_modules/react/lib/React.js (109)
[2130:0531/145123:INFO:CONSOLE(239)] "[Bugsnag] Invalid API key 'undefined'", source: /opt/homebrew-cask/Caskroom/kitematic/0.6.3/Kitematic (Beta).app/Contents/Resources/app/node_modules/bugsnag-js/src/bugsnag.js (239)
[2130:0531/145123:INFO:CONSOLE(326)] "Uncaught Error: Cannot find module 'classNames'", source: module.js (326)

@holidayworking fixed in master. AFAIK this only occurs in development.
Thanks for the issue!

@jeffdm Thank you fix.

authors: holidayworking jeffdm

repo: kitematic/kitematic


text:
🛑 Avance Import is down

In 3d76b81, Avance Import (https://avanceimport.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Avance Import is back up in 2debaf4 after 11 minutes.


text:
cyclic reference while garbage collection in triggers?

Hi,
Recently I wanted to see how garbage collection (GC) is handled in kivy, particularly on creating triggers. If I am correct, Python's GC cannot handle cyclic references (while Java's GC can)
In this regard I found one small problem (which could be a non-issue) when an object stores a trigger referring back to the object itself.
Consider the following example:
class tmpclass(Widget):
    def __init__(self, k=0):
        self.k = k
        super(tmpclass,self).__init__()
        self.trigger = Clock.create_trigger(self.tmpfunc) #self is bounded to trigger
    def tmpfunc(self):
        print 'triggering', self.k
    def __del__(self):
        print 'Deleting', self.k

l = []
for i in range(100):
    l.append(tmpclass(k=i))
l = []

By right, one would expect the output as "Deleting 0,1,2,3....". But, it does not happen. While looking at it further, I triggered all the triggers as
for i in l:
    l.trigger()

before the last statement (l=[]). Now, I can see that the objects being deleted.
What I dont know is whether the Clock has its own mechanism of dealing with garbage collection (or whether I did anything wrong in creating triggers.)

Shyam

Nice found, it's definitively an issue. Even if you test showed that we forgot to convert the callback into a weakmethod in our internal Clock class for trigger, the test is right only for them. It's not right for standard schedule.
We know about the "self bound" issue for callback, and using WeakMethod to resolve it. But, since weakmethod is slow to use, we are converting the callback to it only at the Clock.tick().
Mean in your example, the "l = []" will not trigger the gc, but only after the next Clock.tick().
Anyway, thanks for reporting, i'm pushing the fix right now.

Glad it is fixed right away. This was bothering me as one of my layout algorithm is using a lot of nested scatter widgets and they dont seem to get deleted cleanly. Hope this fixes the issue.
Thanks for your response.

authors: shyamdsundar tito

repo: kivy/kivy


text:
munmap_chunk(): invalid pointer;  Aborted (core dumped) - when Label text rendering (sdl2 provider)

the error appears when you start the application using this font:
https://www.dafont.com/bleeding-cowboys.font
from kivy.lang import Builder
from kivy.core.text import LabelBase

LabelBase.register(
    name='Bleeding_Cowboys',
    fn_regular='Bleeding_Cowboys.ttf',
    fn_bold='Bleeding_Cowboys.ttf')

KV = """
Label
    font_name: 'Bleeding_Cowboys'

    text: 'AR' # <-- 'munmap_chunk(): invalid pointer; Aborted (core dumped)'

#    text: 'aR' # <-- same error
#    text: 'bR' # <-- same error
#    text: '.R' # <-- same error

#    text: 'R' # <-- this works
#    text: 'Ar' # <-- this works
#    text: 'ar' # <-- this works

"""

class MyApp(App):
    def build(self):
        self.root = Builder.load_string(KV)

MyApp().run()

Result:

sdl2 provider:

munmap_chunk(): invalid pointer
Aborted (core dumped)

pil provider:
error doesn't appear but the render is incorrect (for example, the letter R is not fully rendered)

It might be better that you try opening issue on the underlaying library rather than us no?
Aka either SDL2/pygame, but they all uses freetype. If you find a segfault, nothing we could do here again. Report it to freetype!

Ok I'll try to report it to freetype.
some more info:

Pygame has about the same problem with core dumped (I created an issue):
https://github.com/pygame/pygame/issues/817

this font
https://www.dafontfree.net/freefonts-bickham-script-alt-one-f115107.htm
behaves about the same:

from kivy.lang import Builder
from kivy.core.text import LabelBase

font = 'BickhamScriptAltOne.ttf'
LabelBase.register(name=font, fn_regular=font,  fn_bold=font)

KV = """
Label
    font_size: 100
    font_name: 'BickhamScriptAltOne.ttf'

    text: 'rg' #sdl2 = app crash, pil = not fully rendered
#    text: 'r' # ok
#    text: 'g' # ok

"""

class MyApp(App):
    def build(self):
        self.root = Builder.load_string(KV)

MyApp().run()```

- sdl2: core dumped, crash
- pil: rendered, but not fully displayed

- Pygame app (not backend): **works fine**

You may also notice that in pygame this text rendered a little more smoothly then in kivy pil. (?)

Pygame code:

import pygame, sys
from pygame.locals import *
pygame.init()
windowSurface = pygame.display.set_mode((500, 400), 0, 32)
pygame.display.set_caption('Hello world!')
WHITE = (255, 255, 255)
basicFont = pygame.font.Font('BickhamScriptAltOne.ttf', 100)
set up the text
text = basicFont.render('rg', True, WHITE)
textRect = text.get_rect()
textRect.centerx = windowSurface.get_rect().centerx
textRect.centery = windowSurface.get_rect().centery
windowSurface.blit(text, textRect)
pygame.display.update()
while True:
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
sys.exit()

Yep. So i'll close this issue as it's actually not something we can fix in Kivy itself, but require the fix to be done in the upstream libraries.


text:
Fixes for Cython 0.27

Based on #5390 and trying to fix remaining issues. While it seems to be ok on py2, py3 for whatever reason tries to say kivy.graphics.instructions isn't available (it is actually ô_ô). Perhaps the error means I'm not on the right track?

Note how it says kivy.graphics.instructions., with a dot at the end. Maybe that is the problem?

Note that in CPython 3.5 and later, Cython now follows PEP 489 to improve the behaviour of module code. It is now very similar to Python modules, which also impacts relative imports, for example. Might be related.

FYI, 0.27.1 will disable PEP-489 support again. It has proven to cause too much instability on user side.

@scoder thanks for notifying! However, I guess you'd like to get it going asap? If that's the case, it's quite an issue for us. :)

I guess you'd like to get it going asap?

I guess you mean that we'd re-enable PEP-489? At some point, sure, but probably as an opt-in, or at least with safer defaults. Module reloading, for example, might not be allowed without user interaction.
You can try the latest Cython master branch, it's essentially 0.27.1 already.

Note that I would still recommend using proper relative imports (from . import xyz) in your modules, and preferably also from __future__ import absolute_import. It's cleaner and also faster, because it avoids relative directory searches for globally installed modules.

@scoder I agree we need to fix it, I was just confirming the tests pass again i.e. that it's the PEP489 we had an issue with (I somewhat doubt it).
@matham I changed fromlist to fromlist='*' which apparently fixed our issue with the new stable Cython version. We tend to limit exported symbols with __all__, however it's ignored all the same, therefore it shouldn't do much harm. I'm rather curious what exactly did it change for Factory because I'm apparently missing the result as the imports work the same:
Layout = __import__(name='kivy.uix.boxlayout', fromlist='*').Layout
Layout = __import__(name='kivy.uix.boxlayout', fromlist='.').Layout
import kivy.uix.boxlayout as b; Layout = b.Layout

although Layout isn't present in the __all__.

Anyone anything against? Tested with buildozer and seems to work fine.

\o/

authors: KeyWeeUsr inclement scoder


text:
Error importing kivymd.color_definitions when using kivymd_extensions.akivymd

Description of the Bug
The kivymd.color_definitions module cannot be found in the latest version of kivymd and throws an error when color and palette color are called from the color_definitions module. Upon perusal of the latest kivymd vs v1.1.1, the color_definitions module is not included in the latest version unlike v1.1.1. It appears kivymd_extensions.akivymd still relies on the color_definitions module.
Code example attached
my.zip
Reproducible
My steps were:

import kivymd_extensions.akivymd
created an AKBarChart using this example code https://github.com/subhranil2699/akivymd_codes/blob/main/02_barchart.py
ran main.py

Console Logs
Traceback (most recent call last):
File "C:\Users\CobbanT\Documents\kivy\main.py", line 285, in
MyApp().run()
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\app.py", line 955, in run
self._run_prepare()
File "C:\Anaconda\envs\kivy\lib\site-packages\kivymd\app.py", line 142, in _run_prepare
super()._run_prepare()
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\app.py", line 925, in _run_prepare
root = self.build()
File "C:\Users\CobbanT\Documents\kivy\main.py", line 147, in build
self.sm.add_widget(Site1Screen(name='site_1'))
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\uix\relativelayout.py", line 274, in init
super(RelativeLayout, self).init(**kw)
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\uix\floatlayout.py", line 65, in init
super(FloatLayout, self).init(**kwargs)
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\uix\layout.py", line 76, in init
super(Layout, self).init(**kwargs)
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\uix\widget.py", line 366, in init
self.apply_class_lang_rules(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\uix\widget.py", line 470, in apply_class_lang_rules
Builder.apply(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\lang\builder.py", line 545, in apply
self._apply_rule(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\lang\builder.py", line 667, in _apply_rule
self._apply_rule(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\lang\builder.py", line 667, in _apply_rule
self._apply_rule(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\lang\builder.py", line 667, in _apply_rule
self._apply_rule(
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\lang\builder.py", line 625, in _apply_rule
cls = Factory_get(cname)
File "C:\Users\CobbanT\AppData\Roaming\Python\Python39\site-packages\kivy\factory.py", line 155, in getattr
module = importlib.import(
File "", line 1109, in import
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Anaconda\envs\kivy\lib\site-packages\kivymd_extensions\akivymd\uix\charts.py", line 17, in
from kivymd.color_definitions import colors, palette
ModuleNotFoundError: No module named 'kivymd.color_definitions'
Versions

OS: Microsoft Windows 10 Enterprise Version10.0.19045 Build 19045
Python: 3.9
Kivy: 2.3.0
KivyMD: 2.0.1.dev0

kivymd_extensions.akivymd is not supported with the latest version of the KivyMD library

Hi @HeaTTheatR do you know if there are plans to support features available in kivymd_extensions.akivymd in latest versions of kivymd?

from kivymd.color_definitions import colors
Error: No module named 'kivymd.color_definitions'

What is the replacement of color_definitions in the new version od KivyMD? How to upgrade?

authors: BathyMapsAustralia HeaTTheatR tsrift

repo: kivymd/KivyMD


text:
Add option for icon in MDFlatButton.

Description of the Feature
I would like to see the option to have an icon at MDFlatButton. I tried using MDRectangleFlatIconButton but it has the border which doesn't have an option for disabling it.

@BananaMasterz
    from kivy.uix.screenmanager import Screen

    from kivymd.app import MDApp
    from kivymd.uix.button import MDRectangleFlatIconButton

    class Example(MDApp):
        def build(self):
            screen = Screen()
            screen.add_widget(
                MDRectangleFlatIconButton(
                    text="MDRectangleFlatIconButton",
                    icon="language-python",
                    line_color=(0, 0, 0, 0),
                    pos_hint={"center_x": .5, "center_y": .5},
                )
            )
            return screen

    Example().run()

https://github.com/kivymd/KivyMD/commit/970de13cc11e69a2d1361246e4f79cfc477d957e

@BananaMasterz
from kivy.uix.screenmanager import Screen

from kivymd.app import MDApp
from kivymd.uix.button import MDRectangleFlatIconButton

class Example(MDApp):
    def build(self):
        screen = Screen()
        screen.add_widget(
            MDRectangleFlatIconButton(
                text="MDRectangleFlatIconButton",
                icon="language-python",
                line_color=(0, 0, 0, 0),
                pos_hint={"center_x": .5, "center_y": .5},
            )
        )
        return screen

Example().run()

970de13

Amazing! Thanks!

authors: BananaMasterz HeaTTheatR


text:
extension captureVisibleTab not working

Describe the bug
I'm trying an extension to capture screenshot of an active tab.
the following code worked on Windows Edge but not on Android Kiwi Browser:
chrome.tabs.captureVisibleTab(
 (dataUrl ) => { console.log(dataUrl); }
);

api reference
the dataUrl is undefined and the error is: 'Unchecked runtime.lastError: No active web contents to capture'.
To Reproduce
as described
Expected behavior
as described
Screenshots

Smartphone (please complete the following information):

Device: Redmi Note 11
Android Version : 12 SKQ1.211103.001
Kiwi Browser Version: 116.0.5845.54

Additional context
The tab is still active, though, i can't update its properties such as 'highlighted' or 'selected'. Another weird finding is the tab's windowId is different from the only window's id?

I have observed the same issue.


text:
implement get_range

for https://github.com/sparks-baird/xtal2png/issues/80

given a list of elements, provide a range of the given encoding

I interpreted this as "encode the elements and then take the min and max as lower and upper bounds, respectively." Is that correct?

yea, it would follow the way matminer does it: Look at a bunch of structures, extract the elements you have in there, and then for the selected element encoding return the range.

authors: kjappelbaum sgbaird

repo: kjappelbaum/element-coder


text:
how to get list of upcoming lives on a youtube channel?

sorry i understand this is probably offtopic but i guess it is a good place to ask because people involved into the project know some undercovers of youtube. and also it would be a great addition to the library.
so the problem i have is that to get list of upcoming lives on a youtube channel i need to use search/list api that costs 100 quotas and i easily reach the limit of 10'000 quotas per day. is there any good way to get upcoming lives without using the api i.e. for free? would appreciate any help!

@fizzywhizbang yes it works, scheduled lives are listed there (could check on NASA channel id UCLA_DiR1FfKNvjuUpBHmylQ) but the scheduled lives entries look exactly the same as normal uploaded videos, there is no any attribute showing it is a scheduled live and actual start time too.

repo: kkdai/youtube


text:
Missing function in non-self-hosted Clojurescript

The challenge of writing a macro that generates different code for Clojurescript and Clojure, and the same code for self-hosted Clojurescript as it does for browser-based (i.e., JVM compiled) Clojurescript managed to get me.  There was supposed to be a macro that didn't use future when it was in Clojurescript, but it didn't work except in self-hosted Clojurescript.

Fixed in 0.4.1.

repo: kkinnear/zprint


text:
现在是不是用不了了?

可以用吧
我这个能支持版本很低的呢.
高版本也一定能用的.

我把PropsTypes删了就OK了

authors: kkkelicheng pheromone

repo: kkkelicheng/ReactNative-CountDownButton


text:
fix(#285): add composeWithStateSync to resolve issues with enhancer order

As discussed in #285. Added a new composeWithStateSync function which mimics the composer function and should replace that function when using more than one enhancer. When using one enhancer, the other API is still the same.
To accommodate this, I have also added 2 more things:

preventActionReplay was added to the options because in extensionCompose() we re-use the stateSyncEnhancer, but we do not want the actions to start forwarding there because then it will not pick up the ones dispatched by the middleware. We rather want them to start forwarding in the last part of the chain, hence forwardActionEnhancer.
To simplify the compose function, I have opted to check whether in renderer or main process, inside the lib. With that, I have also added a helper function stateSyncEnhancer which can wrap around the process specific enhancer to do the same thing.

Will see if I can write a test for it tomorrow. Do you want me to go ahead and update the README already as well?

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

Thanks for the contribution!
We will try to take a look at the change in next few days, you could also add some info into the README file, like you mentioned. I've also started a docs page for the project (/docs folder) - you might as well add a paragraph there or just add a placeholder so we can cover it later.
@Slapbox if you have some time, you might also take a look at this branch & try it with your issue #294 and redux-saga

I'd really like to give this a try!
Unfortunately my TypeScript noobishness may be getting in the way.
I cloned the repo, checked out the alpha branch, and ran yarn && yarn build, but I get an error like rollup has no idea what TypeScript is. Am I overlooking something obvious?

Friggin' Windows... Builds fine on Linux, will update soon.

@Superjo149 there's no code changes needed on our end to take advantage of these changes, right?
Unfortunately it doesn't seem to remedy the issue with Redux Saga.
I took a look at how to setup RxJS and it looks very similar to setting up sagas. Can you share the part of your store configuration where you're applying your enhancers and middlewares so I can compare it with our setup?

@Superjo149 there's no code changes needed on our end to take advantage of these changes, right?
Unfortunately it doesn't seem to remedy the issue with Redux Saga.
I took a look at how to setup RxJS and it looks very similar to setting up sagas. Can you share the part of your store configuration where you're applying your enhancers and middlewares so I can compare it with our setup?
I also tried importing composeWithStateSync and replacing our compose with that, but that leads to Error: Attempted to register a second handler for 'electron-redux.INIT_STATE_ASYNC'

@Slapbox There is some kind of code change required, yes. I will properly document this tomorrow along with the tests. But this is the jist.
Current approach:
const middleware = applyMiddleware(countMiddleware)
const enhancer = compose(middleware, mainStateSyncEnhancer())
const store = createStore(reducer, defaultState, enhancer)

Approach with multiple enhancers (Saga middleware,... etc) using composeWithStateSync:

Note that when using composeWithStateSync, neither mainStateSyncEnhancer or rendererStateSyncEnhancer are required as this will be handled by the compose function. This in line with how redux-devtools-extension works.

const middleware = applyMiddleware(countMiddleware)
const enhancer = composeWithStateSync(middleware)
const store = createStore(reducer, defaultState, enhancer)

@Superjo149 thanks so much for your help, that makes perfect sense now and I can confirm that everything seems to work properly!
Not only a fix, but a further streamlining of an already great API; wow, great work!

Oh, you can just wrap compose functions around compose functions. Never knew that, so that's the solution for Redux Devtools in case anyone is lurking this thread.

:tada: This PR is included in version 2.0.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Glad I could contribute to this 🎉

authors: CLAassistant Slapbox Superjo149 matmalkowski

repo: klarna/electron-redux


text:
Rotate Icon on Click only once

Hi!
Is it possible to have a nice SVGMorpheus effect with ONE rotation on click?
I don't want to change the icon, I only want to have the cool effect ;)

Please use CSS for that.

authors: happschinson urmilparikh

repo: klarsys/angular-material-icons