text:
Updated to Gymnasium v0.26.2

Description
Changed the dependency on gym to gymnasium at v0.26.2.
Fixes # (issue)
A list of the changes:

Changed the output of step from obs, reward, done, info to obs, reward, termination, truncation, info.
Removed return_info in reset() and returns obs, info all the time.
Added render_mode to the environments.
Changed the tests to use gymnasium and adapt to the new output of reset() and step().
Removed seed()

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Could you make the suggested changes. Is there a test that runs check_env with all of the miniworld envs ? This is for a future pr or release where we change the randomness to use the env.np_random

test_env_checker() runs check_env() on all of the environments
@pytest.mark.parametrize("env_id", gym_miniworld.envs.env_ids)
def test_env_checker(env_id):
    if "RemoteBot" in env_id:
        return

    env = gym.make(env_id).unwrapped
    warnings.simplefilter("always")
    with warnings.catch_warnings(record=True) as w:
        check_env(env)

    for warning in w:
        if warning.message.args[0] not in CHECK_ENV_IGNORE_WARNINGS:
            raise gym.error.Error(f"Unexpected warning: {warning.message}")

    env.close()

repo: Farama-Foundation/Miniworld


text:
Add a new bypass to loot-links.com

Link
https://loot-links.com/s?fkxm
Version
Manifest-v3
What browser(s) are you using?
Firefox browsers, Chrome browsers (includes brave, edge, opera, etc)
What platform are you using?
Computer (Windows, Linux, MacOS)
(Optional) Anything else?
No response

Dear @kedaitinh12,

Your problem has been solved! https://github.com/FastForwardTeam/FastForward/commit/15c2b048ac051bfe9528c3011a2103939957d393

source: gharchive/issue

repo: FastForwardTeam/FastForward

license: Unlicense

license_type: permissive

license_source: github-api


text:
[Feat] SearchFlow 구현

⚠ 이슈 번호

#113

✌ 구현/추가 사항

FavorSearchBar 리팩토링
SearchVC 구현
SearchResultVC 구현

💬 코멘트

추가한 기능에 대한 설명 및 리뷰 참고 사항

1. FavorSearchBar
hasBackButton 프로퍼티를 추가해서 뒤로가기 버튼을 활성화/비활성화 할 수 있게 바꿔줬어!

비활성화 했을 때

test

test2

test

test2

test3

아직 기능 구현이 다 안돼서 다 냅뒀어!
다른 파일들에도 비어있는채로 냅둔 곳이 많아서
어느정도 마무리 되면 그때 한번에 정리하자 🙃

source: gharchive/pull-request

repo: Favor-Gift-Reminder/Favor-iOS


text:
attribute error

This issue hasnt fixed yet.still getting the same error after i deployed the latest code(Just tried now)
https://github.com/FayasNoushad/GoFile-Bot/issues/15

Fixed. Deploy branch now.

authors: FayasNoushad rsoorajs

repo: FayasNoushad/GoFile-Bot

license: MIT


text:
⚠ Avatar API Endpoint has degraded performance

In 0822c6f, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5104 ms

Resolved: Avatar API Endpoint performance has improved in b116b53 after 13 minutes.

repo: FearedFusionX/Ro-Status


text:
⚠ Thumbnails API Endpoint has degraded performance

In 1143b90, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 5687 ms

Resolved: Thumbnails API Endpoint performance has improved in 59db1e9 after 2 minutes.


text:
0.9.3 sending coins to multisig addresses of 0.8.x clients not working

Due to the prefix change for multi-signature addresses from '3' to 'f' it is not possible to send coins from a 0.9.3 client to a multisig address running on a 0.8.x client

I think so. Should be eliminated 0.8.x client.

That does not fix the problem, because the 'old' multisig addresses are exsisting even if all 0.8.x clients are gone.
coins may be lost here.

A quick fix would be to "De Multi sig" the payment in 0.8
ie send it to a single signature address - and then update to 0.9.
The multisig was "experimental / beta in 0.8", so very few were probably sent in reality...

We need to create some update documentation and mention that process.
Has anybody an idea how to publish the update process efficiently?
Also if people add the Linux repositories to their list of trusted repositories, the update may come automated.
I know for sure, that this is the case for opensuse. You still have the possibility to check upfront, but I think ,that most people simply click 'accept' ;)

solvet with pull request #83

authors: cqtenq wellenreiter01 wrapperband

repo: FeatherCoin/Feathercoin

license: mit

license_source: bigquery


text:
KeyError # Check for duplicates

When I used the ft.calculate_feature_matrix to Calculating Feature Matrix for New Data with selected features(after ft.encode_features), I got KeyError # Check for duplicates; But When I used more features , I got no error;
Here is the example.
import pandas as pd
import featuretools as ft

import numpy as np

ncustomer = 1

# card id1 unique
a = pd.DataFrame({'id1': [str(i) for i in range(ncustomer * 5)],
                  'id2': ['0' + str(i) for i in range(ncustomer)] *5,
                  'time_a': pd.date_range('1/1/2018 01', periods=ncustomer * 5, freq='D')
})

# customer id2 unique
b = pd.DataFrame({
    'id2': ['0' + str(i) for i in range(ncustomer)],
    'bvalue': [1] * ncustomer
})

# transtion time_tran unique
c = pd.DataFrame({
    'id4': [str(i) for i in range(ncustomer * 5)] * 10,
    'cvalue': list(range(10 * ncustomer * 5)),
    'time_c':pd.date_range('12/1/2017', periods = 10 * ncustomer * 5, freq='D')
})

d = pd.DataFrame({
    'id3': [str(i) for i in range(ncustomer * 5)] * 10,
    'dvalue': list(range(10 * ncustomer * 5)),
    'time_d':pd.date_range('12/1/2017', periods = 10 * ncustomer * 5, freq='D')
})

es = ft.EntitySet()
es = es.entity_from_dataframe(entity_id = 'a', dataframe = a, index = 'id1', time_index = 'time_a')
es = es.entity_from_dataframe(entity_id = 'b', dataframe = b, index = 'id2')
es = es.entity_from_dataframe(entity_id = 'c', dataframe = c, index = 'id', time_index = 'time_c')
es = es.entity_from_dataframe(entity_id = 'd', dataframe = d, index = 'id', time_index = 'time_d')

rel_ab = ft.Relationship(es['b']['id2'], es['a']['id2'])
rel_ac = ft.Relationship(es['a']['id1'], es['c']['id4'])
rel_ad = ft.Relationship(es['a']['id1'], es['d']['id3'])
es = es.add_relationships([rel_ab, rel_ac, rel_ad])
es.add_last_time_indexes()

feature_matrix, feature_defs = ft.dfs(entityset = es,
                                     target_entity = 'a',
                                     cutoff_time = a[['id1', 'time_a']],
                                     training_window = ft.Timedelta('3 days'),
                                     agg_primitives = ['count', 'sum'])

feature_matrix_enc, features_enc = ft.encode_features(feature_matrix, feature_defs)

use more features
feature_matrix = ft.calculate_feature_matrix(features_enc[25:], es)
use selected featrues
feature_matrix = ft.calculate_feature_matrix(features_enc[26:], es)
here is the full stack trace
<ipython-input-99-4688a9793fd9> in <module>()
----> 1 feature_matrix = ft.calculate_feature_matrix(features_enc[26:], es)

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_feature_matrix(features, entityset, cutoff_time, instance_ids, entities, relationships, cutoff_time_in_index, training_window, approximate, save_progress, verbose, chunk_size, n_jobs, dask_kwargs, profile)
    265                                                  cutoff_df_time_var=cutoff_df_time_var,
    266                                                  target_time=target_time,
--> 267                                                  pass_columns=pass_columns)
    268
    269     feature_matrix = pd.concat(feature_matrix)

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in linear_calculate_chunks(chunks, features, approximate, training_window, profile, verbose, save_progress, entityset, no_unapproximated_aggs, cutoff_df_time_var, target_time, pass_columns)
    528                                           cutoff_df_time_var,
    529                                           target_time, pass_columns,
--> 530                                           backend=backend)
    531         feature_matrix.append(_feature_matrix)
    532         # Do a manual garbage collection in case objects from calculate_chunk

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_chunk(chunk, features, approximate, training_window, profile, verbose, save_progress, no_unapproximated_aggs, cutoff_df_time_var, target_time, pass_columns, backend, entityset)
    349                                            ids,
    350                                            precalculated_features=precalculated_features,
--> 351                                            training_window=window)
    352
    353             id_name = _feature_matrix.index.name

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/utils.py in wrapped(*args, **kwargs)
     34         def wrapped(*args, **kwargs):
     35             if save_progress is None:
---> 36                 r = method(*args, **kwargs)
     37             else:
     38                 time = args[0].to_pydatetime()

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in calc_results(time_last, ids, precalculated_features, training_window)
    323                                                     precalculated_features=precalculated_features,
    324                                                     ignored=all_approx_feature_set,
--> 325                                                     profile=profile)
    326             return matrix
    327

~/anaconda3/lib/python3.7/site-packages/featuretools/computational_backends/pandas_backend.py in calculate_all_features(self, instance_ids, time_last, training_window, profile, precalculated_features, ignored, verbose)
    103                                                  time_last=time_last,
    104                                                  training_window=training_window,
--> 105                                                  verbose=verbose)
    106         large_eframes_by_filter = None
    107         if any([f.primitive.uses_full_entity for f in self.feature_tree.all_features if isinstance(f, TransformFeature)]):

~/anaconda3/lib/python3.7/site-packages/featuretools/entityset/entityset.py in get_pandas_data_slice(self, filter_entity_ids, index_eid, instances, entity_columns, time_last, training_window, verbose)
    392                 self._add_multigenerational_link_vars(frames=eframes,
    393                                                       start_entity_id=filter_eid,
--> 394                                                       end_entity_id=child_eid)
    395
    396             eframes_by_filter[filter_eid] = eframes

~/anaconda3/lib/python3.7/site-packages/featuretools/entityset/entityset.py in _add_multigenerational_link_vars(self, frames, start_entity_id, end_entity_id, path)
   1255                     frames[child_entity.id] = merge_df.merge(child_df,
   1256                                                              left_on=r.child_variable.id,
-> 1257                                                              right_on=r.child_variable.id)
   1258
   1259     @classmethod

~/anaconda3/lib/python3.7/site-packages/pandas/core/frame.py in merge(self, right, how, on, left_on, right_on, left_index, right_index, sort, suffixes, copy, indicator, validate)
   6387                      right_on=right_on, left_index=left_index,
   6388                      right_index=right_index, sort=sort, suffixes=suffixes,
-> 6389                      copy=copy, indicator=indicator, validate=validate)
   6390
   6391     def round(self, decimals=0, *args, **kwargs):

~/anaconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py in merge(left, right, how, on, left_on, right_on, left_index, right_index, sort, suffixes, copy, indicator, validate)
     59                          right_index=right_index, sort=sort, suffixes=suffixes,
     60                          copy=copy, indicator=indicator,
---> 61                          validate=validate)
     62     return op.get_result()
     63

~/anaconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py in __init__(self, left, right, how, on, left_on, right_on, axis, left_index, right_index, sort, suffixes, copy, indicator, validate)
    549         (self.left_join_keys,
    550          self.right_join_keys,
--> 551          self.join_names) = self._get_merge_keys()
    552
    553         # validate the merge keys dtypes. We may need to coerce

~/anaconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py in _get_merge_keys(self)
    855                             right_keys.append(
    856                                 right._get_label_or_level_values(
--> 857                                     rk, stacklevel=stacklevel))
    858                         else:
    859                             # work-around for merge_asof(right_index=True)

~/anaconda3/lib/python3.7/site-packages/pandas/core/generic.py in _get_label_or_level_values(self, key, axis, stacklevel)
   1380             values = self.axes[axis].get_level_values(key)._values
   1381         else:
-> 1382             raise KeyError(key)
   1383
   1384         # Check for duplicates

KeyError: 'id3'

@minkvsky thanks for reporting. we are able to reproduce. until we fix it, you can calculate all the features and drop the ones you don't need

I meet the same problem, so the bug was fixed now?

it should be. can you provide more details about who you are hitting this error?
also can you run featuretools info from the command line and share the output?

authors: kmax12 licsh minkvsky

repo: Featuretools/featuretools


text:
Try making a .NET 5.0 port and test on Wine

Apparently .NET 5 works well on Wine, so we could try this.
I'm not going to get my hopes up that it won't continue to be an order of magnitude slower than Framework 4.7.2, but at least it should work much better on Linux.

WinForms still doesn't work worth a damn on Wine even though they claim ".NET 5" works perfectly, so back to the junk bin until MAUI comes out for yet another whirl at it

repo: FenPhoenix/AngelLoader


text:
Cannon firing angle should depend on shell velocities

BulletBehavior.cs picks a vertical velocity for shells so that when gravity accelerates them back into the ground, they land on target. Independently of this, Turret.cs just aims the gun at the target, or toward the sky if artillery.
In reality the relationship between vertical and horizontal velocity is determined by how the gun is angled. If a shell is fired with vertical velocity 1000 and horizontal velocity 500, that should mean the cannon is tilted up quite a bit; if the velocities are equal then it's at 45 degrees etc. If we determine the barrel angle from the velocities needed, we won't need to make a distinction between howitzer and tank cannons.
The angle X can be calculated as tan(X) = vertical velocity / horizontal velocity

Done in db6cac3e

repo: FieldWarning/projectFieldWarning


text:
🛑 logs.zzls.xyz is down

In d498329, logs.zzls.xyz (https://logs.zzls.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: logs.zzls.xyz is back up in c1dd0b6.

repo: Fijxu/justlog-instances-uptime


text:
Unable to Sign on S3 if Chunking is Enabled

Type of issue

[ ] Bug report
[ ] Feature request
[1] Support request

Uploader type

[ ] Traditional
[1] S3
[ ] Azure

Bug Report
Fine Uploader version
{example: 5.5.1}
Browsers where the bug is reproducible
{example: "Firefox" and "IE11"}
Operating systems where the bug is reproducible
{example: "iOS 9.1.0" and "Windows 8.1"}
Exact steps required to reproduce the issue
For example:

Select 3 files
Pause the 2nd file before it completes, but after it has started.
Attempt to resume the paused file.

All relevant Fine Uploader-related code that you have written
{simply copy and paste the JS used to control Fine Uploader browsers-ide}
{also include your template HTML if related to a UI issue}
Your Fine Uploader template markup (if using Fine Uploader UI and the issue is UI-related)
{simply copy and paste your template markup}
Detailed explanation of the problem
{describe the bug here}

Feature Request
Feature request details
{why is this feature important, not just for you, but for many others?}

Support Request
Fine Uploader version
{example: 5.5.1}
Question
Hello sir, we are making a chunking request with fine uploader on S, but is giving error "SignatureDoesNotMatch". We are making signature according Fine Uploader and Amazon S3 documentation, but still its not working. On disabling 'chunking' its working fine.
I'm also attaching here the request screenshot here.
Please help me out in this.

Related code
 var s3Uploader = new qq.s3.FineUploader({
      debug: false,
      autoUpload: true,
      element: document.getElementById('fine-uploader-s3'),
      template: 'add-art-template',
      request: {
        endpoint: "https://s3-ap-southeast-1.amazonaws.com/****************",
        accessKey: "****************",
        region: 'ap-southeast-1'
      },
      signature: {
        endpoint: "http://192.168.30.29:2000/v1/upload/s3/signature",
        version: 4
      },
      objectProperties: {
        region: 'ap-southeast-1',
        bucket: '**************',
        host: 's3-ap-southeast-1.amazonaws.com'
      },
      uploadSuccess: {
        endpoint: "http://192.168.30.29:2000/v1/upload/success",
        params: {
          isBrowserPreviewCapable: qq.supportedFeatures.imagePreviews
        }
      },
      multiple: true,
      cors: {
        expected: true
      },
      chunking: {
        enabled: true
      },
      maxConnections: 5,
      resume: {
        enabled: true
      },
      retry: {
        enableAuto: true,
        maxAutoAttempts: 2,
        autoAttemptDelay: 10
      },
      validation: {
        allowedExtensions: [
          'jpeg', 'jpg', 'png', 'zip'
        ]
        // ,
        // itemLimit: 5,
        // sizeLimit: 30 *1024 *1024, // 50 kB = 50 * 1024 bytes,
        // allowEmpty: false
      },
      callbacks: {
        onComplete: function(id, name, response) {
          if (response.success) {
            $scope.imgLink = 'https://s3-ap-southeast-1.amazonaws.com/dauble-bulk-upload/' + response.data;
            launchEditor($scope.imgLink);
          }
        },
        onError: function(id, name, reason, xhrCache) {
          console.log(reason);
          // moveUpload({from: 'active', to: 'error', hash: activeUpload.hash}).then(() => bad(new Error('upload error - ' + reason)));
        },
        onUploadChunk : function (id,name,chunkData) {
          console.log(id,name,chunkData);
          // s3Uploader.uploadChunk(id,name,chunkData);
        }
      }
    });
</details>

The message indicates that you are not signing the request correctly

authors: abhisharkjangir rnicholus

repo: FineUploader/fine-uploader


text:
Estou com erro na função de calculo de frete

Estou utilizando react e segui o exemplo que esta no seu gitHub porém quando executo a função estou recebendo um erro de retorno:
  Could not get the stack frames of error:  Error: The error you provided does not contain a stack trace.
Sabe se houve alguma alteração em como fazer a request?
Abraço!

import requests
import json

url = "https://proxyapp.correios.com.br/v1/simulador/preco-prazo?servico=&cepOrigem=32146057&cepDestino=06474240&tipoObjeto=E&comprimento=16&largura=16&altura=0&diametro=0&vlDeclarado=0.0&peso=0.3"

payload={}
headers = {
  'content-type': 'application/json',
  'user-agent': 'Dart/2.18 (dart:io)',
  'app-check-token': 'SEU_TOKEN_DE_API'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

O resultado será algo parecido com isso
[
    {
        "codigo": "04014",
        "nome": "SEDEX A VISTA",
        "valor": "35.10",
        "valorFinal": "35.10",
        "prazoEntrega": 2,
        "dataMaxima": "2022-11-09T23:58:00",
        "urlLogo": "/public-resources/img/04014.png",
        "habilitaAlternativaEntrega": false,
        "servicoDeUnidadeDigital": false,
        "servicoAdicional": [
            {
                "codigo": "039",
                "nome": "AVISO DE RECEBIMENTO A VISTA",
                "valor": "7.0",
                "tipo": "A",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "046"
                ]
            },
            {
                "codigo": "046",
                "nome": "AVISO DE RECEBIMENTO ELETRONICO A VISTA",
                "valor": "7.0",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "039"
                ]
            },
            {
                "codigo": "011",
                "nome": "ENTREGA NO VIZINHO",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "excludentes": [
                    "002",
                    "015",
                    "042",
                    "045",
                    "062",
                    "097"
                ]
            },
            {
                "codigo": "045",
                "nome": "MAO PROPRIA A VISTA",
                "valor": "8.25",
                "tipo": "M",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "011"
                ]
            },
            {
                "codigo": "032",
                "nome": "VALOR DECLARADO NAC A VISTA",
                "tipo": "V",
                "indicador": "P",
                "valorMaximo": "10000.0",
                "valorMinimo": "23.5",
                "selecionado": "N"
            }
        ]
    },
    {
        "codigo": "04510",
        "nome": "PAC A VISTA",
        "valor": "24.80",
        "valorFinal": "24.80",
        "prazoEntrega": 6,
        "dataMaxima": "2022-11-16T23:58:00",
        "urlLogo": "/public-resources/img/04510.png",
        "habilitaAlternativaEntrega": false,
        "servicoDeUnidadeDigital": false,
        "servicoAdicional": [
            {
                "codigo": "039",
                "nome": "AVISO DE RECEBIMENTO A VISTA",
                "valor": "7.0",
                "tipo": "A",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "046"
                ]
            },
            {
                "codigo": "046",
                "nome": "AVISO DE RECEBIMENTO ELETRONICO A VISTA",
                "valor": "7.0",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "039"
                ]
            },
            {
                "codigo": "011",
                "nome": "ENTREGA NO VIZINHO",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "excludentes": [
                    "002",
                    "015",
                    "042",
                    "045",
                    "062",
                    "097"
                ]
            },
            {
                "codigo": "045",
                "nome": "MAO PROPRIA A VISTA",
                "valor": "8.25",
                "tipo": "M",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "011"
                ]
            },
            {
                "codigo": "064",
                "nome": "VALOR DECLARADO STANDARD VDS",
                "tipo": "V",
                "indicador": "P",
                "valorMaximo": "3000.0",
                "valorMinimo": "23.5",
                "selecionado": "N"
            }
        ]
    },
    {
        "codigo": "10030",
        "nome": "CARTA REGISTRADA A VISTA SELO SE",
        "valor": "15.55",
        "valorFinal": "15.55",
        "prazoEntrega": 7,
        "dataMaxima": "2022-11-17T23:58:00",
        "urlLogo": "/public-resources/img/logo_servico_padrao.png",
        "habilitaAlternativaEntrega": false,
        "servicoDeUnidadeDigital": false,
        "servicoAdicional": [
            {
                "codigo": "039",
                "nome": "AVISO DE RECEBIMENTO A VISTA",
                "valor": "7.0",
                "tipo": "A",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "046"
                ]
            },
            {
                "codigo": "046",
                "nome": "AVISO DE RECEBIMENTO ELETRONICO A VISTA",
                "valor": "7.0",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "039"
                ]
            },
            {
                "codigo": "060",
                "nome": "IPTU",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N"
            },
            {
                "codigo": "045",
                "nome": "MAO PROPRIA A VISTA",
                "valor": "8.25",
                "tipo": "M",
                "indicador": "P",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "011"
                ]
            },
            {
                "codigo": "015",
                "nome": "POSTA RESTANTE PEDIDA",
                "valor": "3.35",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N",
                "excludentes": [
                    "011",
                    "042",
                    "057",
                    "097"
                ]
            },
            {
                "codigo": "040",
                "nome": "TRANSCRICAO BRAILE",
                "valor": "4.25",
                "tipo": "O",
                "indicador": "P",
                "selecionado": "N"
            },
            {
                "codigo": "047",
                "nome": "VALOR DECLARADO MENSAGEM E MKD",
                "tipo": "V",
                "indicador": "P",
                "valorMaximo": "100.0",
                "valorMinimo": "23.5",
                "selecionado": "N",
                "requeridos": [
                    "024"
                ],
                "excludentes": [
                    "027"
                ]
            }
        ]
    },
    {
        "codigo": "10014",
        "nome": "CARTA SIMPLES A VISTA",
        "valor": "8.55",
        "valorFinal": "8.55",
        "prazoEntrega": 7,
        "dataMaxima": "2022-11-17T23:58:00",
        "urlLogo": "/public-resources/img/logo_servico_padrao.png",
        "habilitaAlternativaEntrega": false,
        "servicoDeUnidadeDigital": false
    }
]

@jhowbhz Onde eu consigo o token?

authors: alt-art jhowbhz joaovitorcorrea06

repo: FinotiLucas/Correios-Brasil


text:
NullPointerException during login

java.lang.NullPointerException: Cannot read field "iPlayer" because "player" is null
at com.firemerald.custombgm.providers.Providers.setMusic(Providers.java:121) ~[CustomBGM-1.18.2-1.4.4.jar%23129!/:1.4.4] {re:classloading}
at com.firemerald.custombgm.client.ClientState.getCustomMusic(ClientState.java:204) ~[CustomBGM-1.18.2-1.4.4.jar%23129!/:1.4.4] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.handler$bih000$getSituationalMusic(Minecraft.java:8346) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:dynamiclightsreforged.mixins.json:MinecraftClientMixin,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:chunkpregen.mixins.json:client.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91107_(Minecraft.java:2444) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:dynamiclightsreforged.mixins.json:MinecraftClientMixin,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:chunkpregen.mixins.json:client.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.sounds.MusicManager.m_120183_(MusicManager.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:classloading,xf:fml:twilightforest:music}
at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1700) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:dynamiclightsreforged.mixins.json:MinecraftClientMixin,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:chunkpregen.mixins.json:client.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1021) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:dynamiclightsreforged.mixins.json:MinecraftClientMixin,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:chunkpregen.mixins.json:client.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:dynamiclightsreforged.mixins.json:MinecraftClientMixin,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:chunkpregen.mixins.json:client.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%23288!/:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.84.jar%2351!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%2339!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57) [ForgeWrapper-mmc2.jar:mmc2] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?] {}
at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175) [NewLaunch.jar:?] {}
at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185) [NewLaunch.jar:?] {}
at org.polymc.EntryPoint.listen(EntryPoint.java:144) [NewLaunch.jar:?] {}
at org.polymc.EntryPoint.main(EntryPoint.java:74) [NewLaunch.jar:?] {}

fixed as of 874ab7dc3f1f3cc5f56d207ddab1f3de590005ee

repo: FirEmerald/CustomBGM


text:
Added toggle to enable H2 heading underlines

I love the theme but I find my notes much easier to read when the H2 headings have underlines.
If you're cool with it, I'd like to add the toggleable option to have underlines under H2 headings with this commit.
I've left the option off by default so as to not affect users who do not wish for the change/option.

Worth noting that I'm not very knowledgeable with CSS or skilled in styling, so I borrowed the underline from the Things theme.  Do I need to make any changes / rewrite of the little block/how it's done, or is it acceptable?

The styles seem alright, though there seems to be an unused width: 100%. I'm going to move over the styles to the spots that make more sense for end users (header setting will go into its own heading under Elements with the other element modifications and the styles under the style setting related toggles section below the comment). I'll have to clean up some other ordering but I'll do that later on the main branch.
I'm considering adding other header level toggles for lines, do you think it would be better to have all headers able to get an underline like h2? If so, this might be a setting to be nested in another level of Style setting header (e.g. Elements > Headers > Underlines) in the case of future changes.
In any case, thanks for the pull request! I'm making some more minor adjustments (setting naming scheme, etc.) and will merge soon.

The styles seem alright, though there seems to be an unused width: 100%. I'm going to move over the styles to the spots that make more sense for end users (header setting will go into its own heading under Elements with the other element modifications and the styles under the style setting related toggles section below the comment). I'll have to clean up some other ordering but I'll do that later on the main branch.
I'm considering adding other header level toggles for lines, do you think it would be better to have all headers able to get an underline like h2? If so, this might be a setting to be nested in another level of Style setting header (e.g. Elements > Headers > Underlines) in the case of future changes.
In any case, thanks for the pull request! I'm making some more minor adjustments (setting naming scheme, etc.) and will merge soon.

@FireIsGood Sweet, I love your edits. I thought where the setting ended up was a bad spot but hadn't really figured out how to do things better.
I do agree that it may be useful to have the option to underline any of the headers.  Doesn't make sense to have the option on just one level since everyone has their own needs.
Are you adding more formatting options?  I was actually just looking to change the color of bold because I've decided to use a bold H1 as my page titles and regular H1 as the first level of headings, and realized it along with heading styling wasn't exposed in the Style Settings.  Was considering just modifying the theme to expose all of them so I don't have to modify CSS every time, but then I'm basically forking and I don't feel confident I'd do it in the best way :P

Yeah, I'll try and add options for all the headers when I get some time.
For formatting with headers and bold, I could add a toggle for the emphasis stuff to disable the color changes in headings and/or all text, though I think semantically it should always be a single h1 and all other cases should be h2 or below. If you want, I could write a snippet really quick to fix header bold colors for you use case, though!
If you want to ask more questions more synchronously, I'm active on the Obsidian Members Group Discord at @fireisgood, though here is fine as well.

I'll hop on discord.  Just to round out the convo on this thread, I was just thinking of making bold a green color I'd choose after some experimentation.
I was leaning towards re-using the H1 because it feels kind of wasteful to use it only once in a note, but that's how we used it back in the html days, and it helps keep things organized, so that's a fair pushback.  Really I was being lazy.  I just wanted to shift the current heading styles down one and slip in a new one for the actual page titles, and figured it was easier to just bold the H1 at the top of the page... but I wanted to chose my own color themed by vault for that.

authors: FireIsGood Tejeev


text:
[firebase_admob] Crash on launch for iOS (Needs better setup documentation)

Steps to Reproduce
Could not reproduce in another application.
It just started happening in my iOS application after cocoapods upgrade. When running the app with flutter run it works 100% of the times. But when building the app and installing via the .ipa file or through xcode it will crash on start ~40% of the times.

Go to xcode and run the app on a real device
See files added
error.txt

Logs
Analyzing Levconomy...
No issues found! (ran in 2.0s)

[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale en-SE)
    • Flutter version 1.2.1 at /Users/admin/Documents/flutter
    • Framework revision 8661d8aecd (8 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (1 available)
    • Roberts iPad • b54711fbe84c3679a1a4c726638f0f78394e4ee8 • ios • iOS 9.3.5

! Doctor found issues in 1 category.

@RobertBrunhage
The issue at https://github.com/flutter/flutter/issues/30962 has been closed and moved here. Future collaboration on this issue will be done here.

@RobertBrunhage is it still the same with current flutter stable and firebase_admob 0.9.0+7?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.

authors: BondarenkoStas iapicca kroikie

repo: FirebaseExtended/flutterfire


text:
🐛 [PLUGIN_NAME_HERE] Your issue title here

Bug report
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Hi @xavkir-Howkoq-sycwu3
When opening an issue, please try to provide all of the information indicated in the template.
Closing this issue, since no information has been provided.
Thank you.


text:
FATAL EXCEPTION: Firebase-Messaging-Intent-Handle

firebase_messaging: ^7.0.3
Public to Google play was rejected, and the feedback reported an error:
01-25 18:49:58.993: E/AndroidRuntime(11990): FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
01-25 18:49:58.993: E/AndroidRuntime(11990): Process: com.google.android.youtube, PID: 11990
01-25 18:49:58.993: E/AndroidRuntime(11990): java.lang.NoClassDefFoundError: aewt
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at aewu.b(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.a(PG:230)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.get(PG:247)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at aevw.b(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at dud.al(PG:5)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at dud.aw(PG:4)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at dud.bg(PG:8)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.a(PG:232)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.get(PG:247)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at afke.a(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at aeri.b(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at dud.fv(PG:4)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.c(PG:269)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.get(PG:247)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at amfk.a(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at eiu.K(PG:5)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at dud.fV(PG:7)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.d(PG:334)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at duc.get(PG:247)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at com.google.android.apps.youtube.app.common.notification.FcmMessageListenerService.b(PG:1)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at com.google.firebase.messaging.FirebaseMessagingService.g(PG:53)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at avgp.run(Unknown Source)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at usj.run(PG:2)
01-25 18:49:58.993: E/AndroidRuntime(11990): 	at java.lang.Thread.run(Thread.java:831)

Hi @kecson
Please see https://stackoverflow.com/a/64839467/7007353.
Closing since this is not an issue with the plugin itself.
Thank you

Hi @kecson
Please see https://stackoverflow.com/a/64839467/7007353.
Closing since this is not an issue with the plugin itself.
Thank you

Hi @kecson
Please see https://stackoverflow.com/a/64839467/7007353.
Closing since this is not an issue with the plugin itself.
Thank you

Ok.

Hi @kecson
Please see https://stackoverflow.com/a/64839467/7007353.
Closing since this is not an issue with the plugin itself.
Thank you

Ok.

authors: kecson markusaksli-nc


text:
🛑 Liga Ardyti is down

In 3da181f, Liga Ardyti (https://ligaardyti.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Liga Ardyti is back up in 09a965e.

repo: FirenzeDigital/upptime


text:
List of hellish json files

https://destiny.plumbing/en/raw/DestinyHistoricalStatsDefinition.json
https://destiny.plumbing/en/raw/DestinyGrimoireCardDefinition.json
https://destiny.plumbing/en/raw/DestinyGrimoireDefinition.json
If anyone wants to try these, go right ahead. :)

there's no grimoire in D2, so is this still needed?

Probably not


text:
Can't use sudo=True from operation called from other operation

I want to make a deploy where some of the commands use sudo and some don't.
My config.py:
USE_SUDO_PASSWORD = True

If I call a command with sudo=True from top level (ie. my deploy.py looks like this):
from pyinfra.operations import apt
apt.update(sudo=True)

it works as expected.
However if my deploy looks like this:
from operations.myapt import do_apt_update
do_apt_update()

(and operations/myapt.py looks like this:)
from pyinfra.api import operation
from pyinfra.operations import apt

@operation
def do_apt_update(state=None, host=None):
    yield apt.update(sudo=True)

then the command is not executed with sudo (even though in both cases pyinfra does ask for my sudo password).
I've noticed that in pyinfra/api/operation.py, the sudo argument is stripped from the kwargs:
        # Get the meta kwargs (globals that apply to all hosts)
        op_meta_kwargs = pop_global_op_kwargs(state, kwargs)

and then the stripped kwargs are passed through to the command:
        # If this op is being called inside another, just return here
        # (any unwanted/op-related kwargs removed above).
        if state.in_op:
            return func(*args, **kwargs) or []

however I don't understand any more to debug further.
Am I right in expecting that this should work, or am I misunderstanding something?

Hi @amagee! So the global arguments are all removed by the @operation decorator - the correct way to use sudo here would be when calling the operation itself; ie:
from operations.myapt import do_apt_update
do_apt_update(sudo=True)

This is done such that nested operations respect the users arguments for sudo/etc.
Alternatively, setting SUDO = True in the config will work. Currently setting USE_SUDO_PASSWORD does not also set sudo (I am going to add a warning for this).
Going to also update the packaging deploys documentation to document how nested operations work and cannot be passed global arguments.

Oh ok, so it's not possible to have a command that's called without sudo call a command with sudo?
Is supporting this on the roadmap at all? I can work around it but it would definitely be a nice to have - for me it's a pretty typical pattern for an operation to want to sudo apt-get install some stuff and then do some user-space stuff that uses the packages.
If it's not supported, having an error thrown if you try to use sudo=True from a non-sudo operation would save a lot of time.

So an operation is meant to be a single unit of work - such that sudo should be applied for every command within the operation. For your use-case I would recommend using the @deploy decorator which does allow calling multiple operations each with different global arguments.
Excellent point about rasing an error when this happens (around https://github.com/Fizzadar/pyinfra/blob/master/pyinfra/api/operation.py#L184-L187), it's totally hidden from the user; I'm going to implement that!

I have now implemented the check and exception for this in https://github.com/Fizzadar/pyinfra/commit/adaa80f37c6b0bd116698377beb9cfe4f6603dbf.

authors: Fizzadar amagee

repo: Fizzadar/pyinfra


text:
Running pyinfra locally

I am looking to run pyinfra locally instead of over SSH (on a desktop compute for example).
Is there a way to execute the commands locally (like subprocess.run ) ?
At the moment, I use a very horrible hack:
#!/bin/bash

sudo bash -c 'cat /home/hoh/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys'

./venv/bin/pyinfra -i inventory/desktops.py deploy.py

sudo bash -c 'echo "" > /root/.ssh/authorized_keys'

I like this idea - I think the best approach would be multiple "connection adapters", each of which would only need implement the function set from the ssh API, eg pyinfra/api/connectors/local.py.

This is now (finally!) possible as of https://github.com/Fizzadar/pyinfra/commit/8800ece45e9d4f884b6af6d3b328c7a4e6e85d0a. Pending the upcoming v0.4 release.
Syntax is as follows (using the new CLI format):
pyinfra @local deploy.py

Awesome !
On 27 May 2017 8:39 am, "Nick Barrett" notifications@github.com wrote:

This is now (finally!) possible as of 8800ece
https://github.com/Fizzadar/pyinfra/commit/8800ece45e9d4f884b6af6d3b328c7a4e6e85d0a.
Pending the upcoming v0.4 release.
Syntax is as follows (using the new CLI format):
pyinfra @local deploy.py
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Fizzadar/pyinfra/issues/90#issuecomment-304456304,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYsuVhTFLVCTUUh17UL3qNotfg2X1xKks5r-DWSgaJpZM4Ksf0a
.

authors: Fizzadar hoh


text:
Question about this and A1111

It will be viable to A1111 SD? I dont really like to use Comfy but tested AIT and render time is very good.

Yes it's possible, I will make an extension for A1111 soon.

I can't wait mightily! Thanks for the answer!

Is there any approximate date of actulization to A1111?

Approximately 2 more weeks or soon™, whichever comes first.

Any info about update for Automatic?

authors: Adzido hidden342532 hlky

repo: FizzleDorf/AIT


text:
Add BatchPromptScheduleAdvanced with Advanced Text Encode features

Add BatchPromptScheduleAdvanced with Advanced Text Encode features. Advanced Text Encode features from BlenderNeko's Advanced CLIP Text Encode (https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb)

Still testing... will reopen later


text:
Question: How to pair wiimote with Mac OS?

I think this library requires that wiimote has to be paired with PC beforehand. If it's true, how to do that on Mac OS X?

The following instructions are reproducible on OS X El Capitan and Yosemite (at least):

Go to system preferences -> bluetooth
Press the red SYNC button on the back of the Wiimote or Wii U Pro Controller (on the wiimote this is under the battery cover)
Wait for "RVL-CNT-01" or similar to show up in the bluetooth system preferences pane
Click on "Pair" next to "RVL-CNT-01"

Also be sure to run WiimoteApi::WiimoteManager::Cleanup() before exiting your game.  On OS X, neglecting to run Cleanup() will force the user to reconnect the remote.

It works! Thank you very much.

I think this information would be great if put in the README section.

thank you, It works!

@Flafla2 When I do this, it asks for a PIN. For the life of me I can't figure out what the PIN is. Any ideas?

@Flafla2 When I do this, it asks for a PIN. For the life of me I can't figure out what the PIN is. Any ideas?

I have the same issue it is also asking for a pin

Those that have an M1 chip, you'll need to get a dolphin sensor. It takes button input and acts as the sensor.

authors: Buschctrl Flafla2 andreierdoss codfish172 styczyn thorikawa


text:
Add FUNK DO PIZZA (BRAZILIAN PHONK) by Tribal Trap

Song Name
FUNK DO PIZZA (BRAZILIAN PHONK)
Artist Name
Tribal Trap
Source
Youtube
Youtube Link
https://youtu.be/3v-uKU7NlOg?si=FF9nHq2fzgGHo2qM
Direct File Link
No response
Song ID
905109
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 92218443

reject
wants to replace a famous song

authors: Ropsuboi neprao

repo: FlafyDev/auto-nong-indexes


text:
Add Sonic Blaster x Eden XO by Annoying Guy

Song Name
Sonic Blaster x Eden XO
Artist Name
Annoying Guy
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=q1i5PmG_X00
Direct File Link
No response
Song ID
574484
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 26681070

Reject. Good mix but horrible audio quality.

reject


text:
Add At The Speed of Light x Squid Game vs. MrBeast by nadire

Song Name
At The Speed of Light x Squid Game vs. MrBeast
Artist Name
nadire
Source
Youtube
Youtube Link
ZEomMdwe77w
Direct File Link
No response
Song ID
467339
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 57215346

accept

authors: comicsteel piggypleb


text:
El Baile de La Gambeta by Bersuit Vergarabat

Song Name
El Baile de La Gambeta
Artist Name
Bersuit Vergarabat
Source
Youtube
Youtube Link
DloRRUyJQGU
Direct File Link
No response
Song ID
55
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 75195539

accept

authors: SpuckwasserDE picantefrog


text:
retranker如何使用cpu

麻烦问一下reranker怎么用cpu推理，谢谢。什么都不设置会报错"LayerNormKernelImpl" not implemented for 'Half'

请问用的什么进行的推理，FlagReranker的话可以把use_fp16设为False。

cpu推理的话有没有什么类似use_fp16的方法能提高推理速度的？

cpu推理的话有没有什么类似use_fp16的方法能提高推理速度的？

目前我们也没有什么更好的方法

cpu推理的话有没有什么类似use_fp16的方法能提高推理速度的？

我做了一些测试，如果使用 optimum-cli 将 reranker 模型转换为 onnx runtime（一条命令），可以让在CPU上的性能提升一倍，且没有任何效果损失。
但是在colab单核环境+base模型，30个问题和500字文档对的计算也需要7s左右，需要降低到1s内才有可用。
如果你的CPU比较新，可以用intel的 inc。没有测试，估计还能降一些。
如果还是不行可以用 inc 做int8量化，但是这个量化需要一组数据集。
做完后猜测应该能满足需求，但是也只能跑在比较新的intel cpu上。

authors: ninehills shizainick staoxiao

repo: FlagOpen/FlagEmbedding


text:
It stops streaming after 1h10, or/and after reaching 400mb

Hey
I have been using that example to pipe the stream to ffmpeg and convert it to a mp4.
Im also using it in headless mode using:
 args: ["--headless=chrome" ],
      headless: this.isHeadless,

It works well, however, as soon as it reaches 400mb (around 1hour 16min), the mediaRecorder seems to stop. I don't see any chunks from the ffmpeg listeners anymore.
I can see here that chrome limits the blob to be at 500mb https://stackoverflow.com/questions/28307789/is-there-any-limitation-on-javascript-max-blob-size, it might be why?
Do you have any idea about this by any chance? @Flam3rboy

The media recorder has an option frameSize, which specifies how often the media recorder produces a blob.
Chrome's default is 0, which means it produces one big blob, after the recording stop.
The extension overwrites the default with 20ms, if nothing else is specified.
You can overwrite the default by specifying frameSize in the getStream options:
getStream(page, { frameSize: 1000 }

But this shouldn't be related to your issue as by default the frameSize is 20ms which definitely produces blobs smaller than 500mb.

The media recorder has an option frameSize, which specifies how often the media recorder produces a blob. Chrome's default is 0, which means it produces one big blob, after the recording stop. The extension overwrites the default with 20ms, if nothing else is specified. You can overwrite the default by specifying frameSize in the getStream options:
getStream(page, { frameSize: 1000 }

But this shouldn't be related to your issue as by default the frameSize is 20ms which definitely produces blobs smaller than 500mb.

Thanks for answering so quickly;)
I actually already set-up the frameSize to 25
   this.stream = await getStream(this.page, {
        audio: true,
        video: true,
        frameSize: 25,
        mimeType: "video/webm;codecs=vp8",
        audioBitsPerSecond: 128000,
        videoBitsPerSecond: 2500000,
        videoConstraints: {
          mandatory: {
            minWidth: 1920,
            minHeight: 1080,
            maxWidth: 1920,
            maxHeight: 1080,
          },
        },
      });


text:
Is there a way to manually add chapters?

Hello! I was hoping if maybe there could be a way to manually add missing chapters? Because sometimes the website does not include a chapter in their list of contents or forgot to link it. It would also be cool if there's a feature where we could rearrange some chapters and not just invert chapter order.
Thank you very much!

Hey, thanks for your feedback! I will see what I can do about a dedicated chapter-order editing window. For now you could select the calibre export option and manually edit the outputted Table of Contents.html file and convert it in Calibre to EPUB. Remember to set the "Number of links to add to Table of Contents" under "Table of Contents" to 0 when converting in Calibre if you go for this approach.

I quickly threw something together. Check out 2.4.0.

I quickly threw something together. Check out 2.4.0.

Thank you very much!

Hello! I noticed that the option to remove/add and rearrange chapters could only be found in the automatic tab. Could there please be an option also for the manual tab? Thank you!

Working on it!

Working on it!

Thank you!

I apologize for the long wait. I implemented chapter adding and rearranging for both tabs. Check out v2.4.2

Thanks for the update! But I can't seem to get links from the manual tab when I enter any websites, even supported ones. The 'links' page stays blank. I get [Error] Null in the log. And I also noticed that when I try to download from CG in the automatic tab, the title becomes the name of the first chapter.

I fixed the title selector for CG, just restart Novel-Grabber to get the updated selector list. A fix for the manual tab will come later today.

Manual grabbing should be fixed in 2.4.3 again!

repo: Flameish/Novel-Grabber


text:
Config location seems hard coded.

Sponge just added the ability to specify config location, all plugins respect it, but for some reason economy lite has the /config folder hard coded, please correct.

It is indeed hard coded as I wrote this plugin a long time ago when I did not know of Sponge's configuration services so I had to write my configuration system. Sometime, I'll update this.

1c6a27c559fee35140fa6d4fac4c95454fcb9a27

authors: Flibio ProsperCraft

repo: Flibio/EconomyLite


text:
NSLocationTemporaryUsageDescriptionDictionary translations gets removed

I always had some translations for NSLocationTemporaryUsageDescriptionDictionary in the InfoPlist.strings file. Since the latest BartyCrouch update (4.9.0) they are removed. Maybe this is because there are not english (base language) keys available? But this isn't required, because the english language is already provides in the InfoPlist itself.
Steps to Reproduce the Problem

Add some string entries to the NSLocationTemporaryUsageDescriptionDictionary
Add translations for this keys into a InfoPlist.strings file
Run bartycrouch update

I know that with the new version (4.9.0) the InfoPlist.strings files aren't ignored anymore and I could fix this by adding it to subpathsToIgnore. But wouldn't it be better if BartyCrouch could handle NSLocationTemporaryUsageDescriptionDictionary?

@patricks Thank you for bringing this up. You are right that we are no longer ignoring strings files names InfoPlist.strings (there was never a reason to do that, it was introduced accidentally due to a misunderstanding) since version 4.9.0. This might be the reason you see this happen just now. But generally there can only be 2 reasons for keys being removed:

The BartyCrouch Strings file parsers Regex doesn't recognize the key in the Strings file when reading it, so it disappears when writing during an update. A common reason for this in InfoPlist.strings files seems to be that some people don't have their keys surrounded by quotes, see also my comment here.
You have configured BartyCrouch to run the normalize task at the top of your config file (on by default) and you have the harmonizeWithSource option set to true in your config files normalize section. Then BartyCrouch will make sure that all languages have the same keys as your source language, so it will add all missing keys and remove all that are not available in the source language. To turn this behavior off, you can just set harmonizeWithSource to false in your config file, like this:

[update.normalize]
paths = ["."]
subpathsToIgnore = [".git", "carthage", "pods", "build", ".build", "docs"]
sourceLocale = "en"
harmonizeWithSource = false
sortByKeys = true

Does this help? If not, please provide an example InfoPlist.strings file with that key so I can better understand. Maybe this key needs special handling in some way? But if it's just a normal key like any other, see my two points above.

@Jeehut  I think this key needs some handling, because there basic keys are listed in the Info.plist itself.
Since iOS 14 there is this temporary location usage feature available. To inform the user why the app requires a location now you can set special info texts per use case. These keys are defined in the Info.plist as dictionary.
For details see:
NSLocationTemporaryUsageDescriptionDictionary
These keys have to be translated in the InfoPlist.strings files.
"friends" = "Eine Position wird benötigt um Freunde zu finden";
"coffee" = "Eine Position wird benötigt um Kaffeehäuser in der Umgebung zu finden";

Tuning off harmonizeWithSource wouldn't be a really good workaround for use, because we use this feature to cleanup our translation files.

@patricks Thsnk you for the additional info. But from the documentation it's still not clear to ne how the Stings file might look like. Could you please prove an example (you can redact the exact translations if needed), so I can reproduce and fix? Thank you!

@Jeehut the InfosPlists.strings file looks exactly as the code provided above:
"friends" = "Eine Position wird benötigt um Freunde zu finden";
And here is the InfoPlist file (cut):
 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>NSLocationTemporaryUsageDescriptionDictionary</key>
	<dict>
		<key>friends</key>
		<string>A position is required to find your friends</string>
	</dict>
</dict>
</plist>

@patricks I see, so that was already the entries in the InfoPlist.strings file, I thought there was some kind of dictionary structure in the strings file that we have to support, such as:
"NSLocationTemporaryUsageDescriptionDictionary" = {
"friends" = "Eine Position wird benötigt um Freunde zu finden";
"coffee" = "Eine Position wird benötigt um Kaffeehäuser in der Umgebung zu finden";
}

😅
But it looks like the entries in your Strings file are plain old "normal" keys, so no new structure needed. When I put the Strings content you shared into a Regex checker, it perfectly matches the Regex used in BartyCrouch:

So, case 1 I mentioned in my comment above shouldn't be the reason why it gets deleted. This leaves us with case 2. If I understand your use case correctly, what you want is:

Use the normalize task including the harmonizeWithSource option set to true and sourceLocale set to en for most of your Strings files.
For the Info.plist file only, you don't have a locale en and thus the keys get deleted in your other translations, too. What you want is a way to set a different sourceLocale for just the InfoPlist.strings files OR to turn off harmonizeWithSource only for the InfoPlit.strings file.

Thankfully, this should be possible already. What you need to do is:

Keep your default settings in your root level .bartycrouch.toml file, but add the path to the InfoPlist.strings file to your subPathToIgnore so they don't get updated when you run the bartycrouch update comment on the root path.
Add a new .bartycrouch.toml file to the subpath you are ignoring in the root file now, but here, change the configuration (both the paths need to be updated and also the sourceLocale changed to a language you actually have a Strings file for OR the harmonizeWithSource option set to false).
(If you use the build-script) Update the build-script to not only run bartycrouch update -x and bartycrouch lint -x, but add a third call to bartycrouch update -x -p /your/subpath and a fourth to bartycrouch lint -x -p /you/subpath.

If your InfoPlist.strings file has exactly the same parent folder as other Strings files in your project, you might want to extract that file into some other folder (such as SupportingFiles) to make the subpath ignorance easier / work.
Please tell me if this works or provide more context (e.g. your full .bartycrouch.toml contents) so I can better understand the problem.

@Jeehut Ok now I got you. My final solution is that I added the en local version of the InfoPlist.strings file.

authors: Jeehut patricks

repo: Flinesoft/BartyCrouch


text:
Tracking issue: DueMessages View queried empty while it should not

Currently makes the tests fail / hang up.
See https://github.com/khonsulabs/bonsaidb/issues/256 for resolution.

Fixed by https://github.com/khonsulabs/bonsaidb/issues/256#issuecomment-1140527321 .

repo: FlixCoder/bonsaimq


text:
"I want to download readable file name" option dosen't work

Please fix it

https://github.com/Flkalas/TwitterMediaAssist/commit/e29844c63a1d002d65ed6fb8b806b6e5078152f5
i think it fixed with this commit.
u can reopen this issue if not working again.

repo: Flkalas/TwitterMediaAssist


text:
Update version requirements?

The docs says iojs 2.0 is required, but it seems to work fine with 3.2 as well, despite the warnings. Granted, I've only done some basic testing. But unless there are specific reasons why it shouldn't work with newer versions, maybe the warnings should be removed. Alternatively, how about saying WHY the specific version is required so people can fix it or have an idea of when it should be working with more modern versions?

Sure, iojs 3+ will work fine, there should not be any warnings ! That is a bug. These warnings were designed to prevent using node 0.10 or older.

Also more recently Node 4.x.x

Node.js and io.js merged months ago and Node 5.x.x has been released, which Mailin thinks is a version older than v0.12.4. Can this check please be removed or updated? Thanks!

All, a new mailin version is published, the check has been updated thans to @tomforster.

authors: Flolagale Kagammor mariusk t3chguy

repo: Flolagale/mailin


text:
Bugfix/parallel builds

Resolves #81

Using cmake on my 96 core server now gets me this:
make -j
real    0m9.046s
user    1m30.934s
sys     0m14.265s
make -j 96
real    0m7.758s
user    1m32.092s
sys     0m13.600s
Using Ninja:
ninja
real    0m7.539s
user    1m28.717s
sys     0m10.797s

authors: fluidnumerics-joe tmagik

repo: FluidNumerics/SELF


text:
Configure doc website deployment action

After #2 configure an action to auto-deploy the docs website upon every merge to main.

I've already setup automatic GitHub Pages deployment of the docs website.


text:
请问如何支持深色及浅色主题？

目前遇到的问题：
有Logo的开屏广告页面，如何能够支持深色或浅色主题（下方Logo区域的背景色会不同）？又如何根据不同的主题自动选择不同的Logo（色彩的明亮度可能不同）呢？
想请教下应该怎么支持呢？

大概明白你的意思了，可否来两张图片确认一下

如果 #29 这个可以实现的话，那么这个 issue 可以不要了。通过自定义就可以实现想要的功能。

对的，目前我初步理解你更换logo 即可，logo 铺平整个底部即可，现在就是支持的，看你的logo 怎么设计了

相同问题 https://github.com/FlutterAds/flutter_pangle_ads/issues/11

对的，目前我初步理解你更换logo 即可，logo 铺平整个底部即可，现在就是支持的，看你的logo 怎么设计了

是的，你说的方法，基本上可以实现。
但如果把整个渲染放慢显示的话，会发现广告所在的位置会先出现白屏再出现广告，如果此时是暗黑模式的话，其实也是有问题的。当然如果不放慢正常显示的话，可以忽略这个问题。

所以，我还是觉得 #11 这个挺重要的。这个实现后，也可以基于此实现目前库里的效果（并且还能支持主题的切换）。


text:
Error: Request failed with status code 503

Describe the bug
Since upgrading NodeRed and the HueMagig node I'm getting the following error: Request failed with status code 503 for about half of my lights when deploying / restarting the flow or NodeRed. "Executing Command" displays under the fixture node not the status.
Toggling the fixture on and off from the NR Dashboard or the Hue app restores the functionality but the "Executing Command" frequently returns.
Flow to Reproduce
[{"id":"bb65725da3f2f1a3","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"6cd67217f6774d88","type":"hue-light","z":"bb65725da3f2f1a3","name":"Wall 1 Alley1","bridge":"8b347d00.5d7e4","lightid":"4bd7e0fb-a132-40ed-90f9-6a343b56ec2e","colornamer":false,"skipevents":false,"initevents":false,"x":1090,"y":140,"wires":[["cdf3b3d7b2cfa250"]]},{"id":"2e65c69a7161e5a9","type":"hue-light","z":"bb65725da3f2f1a3","name":"Wall 2 Alley2","bridge":"8b347d00.5d7e4","lightid":"b92c5980-702d-4475-ae2a-0eda1925bfc4","colornamer":false,"skipevents":false,"initevents":false,"x":1090,"y":200,"wires":[["cdf3b3d7b2cfa250"]]},{"id":"3193c9708ad48ef4","type":"hue-light","z":"bb65725da3f2f1a3","name":"Wall 3 Alley3","bridge":"8b347d00.5d7e4","lightid":"365141c1-e7ab-405c-917b-6c71b1385cf5","colornamer":false,"skipevents":false,"initevents":false,"x":1090,"y":260,"wires":[["cdf3b3d7b2cfa250"]]},{"id":"9dbe7e5be103432b","type":"ui_slider","z":"bb65725da3f2f1a3","name":"","label":"","tooltip":"","group":"2a8db6685c266b1d","order":3,"width":5,"height":1,"passthru":false,"outs":"end","topic":"","min":0,"max":"100","step":"5","x":310,"y":260,"wires":[["c332ea04ec2dc8ed","416e45efc22f7aa4"]]},{"id":"c332ea04ec2dc8ed","type":"function","z":"bb65725da3f2f1a3","name":"Brightness","func":"return {payload: { brightness: msg.payload } };","outputs":1,"noerr":0,"x":470,"y":260,"wires":[["0e6ee26ea26e643d"]]},{"id":"abdb70a16e939837","type":"ui_switch","z":"bb65725da3f2f1a3","name":"","label":"","tooltip":"","group":"2a8db6685c266b1d","order":2,"width":1,"height":1,"passthru":false,"decouple":"true","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":430,"y":180,"wires":[["0e6ee26ea26e643d"]]},{"id":"a4b5790196064ab1","type":"function","z":"bb65725da3f2f1a3","name":"splitter","func":"return [\n    { payload: msg.payload.on },\n    { payload: msg.payload.brightness }\n];","outputs":2,"noerr":0,"x":310,"y":220,"wires":[["abdb70a16e939837"],["9dbe7e5be103432b","416e45efc22f7aa4"]]},{"id":"cdf3b3d7b2cfa250","type":"link out","z":"bb65725da3f2f1a3","name":"Alley Loop Out","links":["eec5435760d0cce0"],"x":1215,"y":180,"wires":[]},{"id":"eec5435760d0cce0","type":"link in","z":"bb65725da3f2f1a3","name":"Alley Loop In","links":["cdf3b3d7b2cfa250"],"x":215,"y":220,"wires":[["a4b5790196064ab1"]]},{"id":"416e45efc22f7aa4","type":"ui_text","z":"bb65725da3f2f1a3","group":"2a8db6685c266b1d","order":1,"width":0,"height":0,"name":"Level","label":"Alley","format":"{{msg.payload}}","layout":"row-spread","x":490,"y":220,"wires":[]},{"id":"0e6ee26ea26e643d","type":"function","z":"bb65725da3f2f1a3","name":"Alley Dashboard","func":"var state = msg.payload\nvar level = msg.payload.brightness\n\nmsg.payload = {\n    on: state,\n    brightness: level,\n    trigger:\"dashboard\",\n    room: \"Alley\"};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":660,"y":180,"wires":[["99ee931e30a02183"]]},{"id":"99ee931e30a02183","type":"function","z":"bb65725da3f2f1a3","name":". ","func":"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":915,"y":180,"wires":[["ce435e499f99284b","6cd67217f6774d88","2e65c69a7161e5a9","3193c9708ad48ef4"]],"l":false},{"id":"59aa653ea0491655","type":"link in","z":"bb65725da3f2f1a3","name":"Alley Off","links":["e574572e.875028","b0364f9b.d53bd"],"x":640,"y":300,"wires":[["3eaf1208f09fafc7"]],"l":true},{"id":"3a5bc77e1284e6b7","type":"link in","z":"bb65725da3f2f1a3","name":"Alley High","links":["dde6ae8a.5b6438","748a5a22.c1c86c","e3ea013d.1bb108"],"x":640,"y":220,"wires":[["8f2803a832d65b57"]],"l":true},{"id":"9ae8751b115f7b4a","type":"link in","z":"bb65725da3f2f1a3","name":"Alley Low","links":["c8a6b7bc.24da88","f1caa003.40409","f7b92263.392c7"],"x":640,"y":260,"wires":[["f831b8c90df37ac3"]],"l":true},{"id":"8f2803a832d65b57","type":"function","z":"bb65725da3f2f1a3","name":"@100/0","func":"var trig = msg.payload.trigger\n\nmsg.payload = {\n    on: true,\n    brightness:100,\n    transitionTime:0,\n    trigger:trig,\n    room: \"Alley\",\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":780,"y":220,"wires":[["99ee931e30a02183"]]},{"id":"f831b8c90df37ac3","type":"function","z":"bb65725da3f2f1a3","name":"@40/5","func":"var trig = msg.payload.trigger\n\nmsg.payload = {\n    on: true,\n    brightness:40,\n    transitionTime:5,\n    trigger:trig,\n    room: \"Alley\",\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":260,"wires":[["99ee931e30a02183"]]},{"id":"3eaf1208f09fafc7","type":"function","z":"bb65725da3f2f1a3","name":"Off/5","func":"var trig = msg.payload.trigger\n\nmsg.payload = {\n    on: false,\n    brightness:0,\n    transitionTime:5,\n    trigger:trig,\n    room:\"Alley\"\n};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":770,"y":300,"wires":[["99ee931e30a02183"]]},{"id":"ce435e499f99284b","type":"debug","z":"bb65725da3f2f1a3","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1070,"y":320,"wires":[]},{"id":"8b347d00.5d7e4","type":"hue-bridge","name":"Beaver Hue","bridge":"10.1.1.108","key":"txr199imLMnsQRFZW6t8szTvUFbAh0KxxT1Wn4zV","worker":"10","disableupdates":false},{"id":"2a8db6685c266b1d","type":"ui_group","name":"Alley","tab":"e403be4.fc56ec","order":6,"disp":false,"width":"6","collapse":false},{"id":"e403be4.fc56ec","type":"ui_tab","name":"Lighting","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

Expected behaviour
Nodes should connect as previously.
Screenshots

Please complete the following information:

Node-RED version: 2.1.6
NodeJS version: 14.18.3
Device running Node-RED: Rpi4 4GB Buster
Hue Bridge Fw 1949107040

Have rolled back to 3.0.0 and normal behaviour has been restored, so I wonder what specific action added into 4.0.0 is effecting it.

@Brewj with 4.1.0 so called "workers" have been added, so prevent hitting the limit of the hue API.
Updating to 4.1.0 should fix your issue.
But make sure to go into the bridge config and set the amount of workers!

I have similar problems, tried several things, including update to 4.1.0 as mentioned above.
Finally I rolled back to my working sewtup with node-red version 10.3.0 and huemagic 3.0.0.
Hopefully a solution will come soon.

I'm also facing similar issues. After upgrading to 4.1.0, I've configured 7 workers. However, several commands are not executed, while this was not a problem before...

Same issue here. Upgrade to 4.1.0 is a disappointment, everything worked ok before. Commands are not queued and executed correctly. Hope an update can fix this issue.

Same issue here. Upgrade to 4.1.0 is a disappointment, everything worked ok before. Commands are not queued and executed correctly. Hope an update can fix this issue.

In the end I moved all my functionality to using home assistant nodes. No issues yet. But not sure if that would work for you...

Same issue here. Upgrade to 4.1.0 is a disappointment, everything worked ok before. Commands are not queued and executed correctly. Hope an update can fix this issue.

In the end I moved all my functionality to using home assistant nodes. No issues yet. But not sure if that would work for you...

I would considor that. If no solution happens soon.

Same here, although iirc via Home Assistant it was trickier to do blinking (alert), that's why I moved to Huemagic.

I have similar problems, tried several things, including update to 4.1.0 as mentioned above. Finally I rolled back to my working setup with node-red version 10.3.0 and huemagic 3.0.0. Hopefully a solution will come soon.

Same here - can you tell me how to rollback?

I run samba backup every night. Rolling back was restoring a backup.

for me its not working with 4.1 either. Any suggestions what the best amount of workers should be?

I have tested with 4 to 7, same problem. Something wrong in the logic. Have to set delay for even get it to work. Hope a solution comes soon.

I'm having this issue as well. Have reduced workers to <10.
Thanks Foddy for all your work.

I have similar problems, tried several things, including update to 4.1.0 as mentioned above. Finally I rolled back to my working setup with node-red version 10.3.0 and huemagic 3.0.0. Hopefully a solution will come soon.

Same here - can you tell me how to rollback?

from the command line on my pi I just ran the following, you can specify which ever version you desire.  Then stop, restart Node Red.
 npm install node-red-contrib-huemagic@3.0.0

Same here. Reducing workers to 1, as @GeorgeCastanza stated, solved the issue for me.

@neptrio That worked for me thanks, but now I have a delay when operating more than one light with an event. So this is only a temporary fix until it is fixed in hue magic itself.

Confirmed, 1 worker works, 2 workers does not.

There is a general limit on how many tasks you can perform on the HUE clip API v2
This is the official documentation from HUE developers.

Knowing this, it isn't really a problem with the HueMagic Contrib.

Having "node-red-contrib-philipshue-events" in your flows, that works perfectly with api v2 (it reads all data from the bridge and need to switched for desired commands) in combination HueMagic works pretty zero issues for me at the moment. I had similar problems. You might give it a try. It use it for all events that normally come out of grouped-lights and lights.

I'm also getting a lot of 503's since the update to 4.1.0, unfortunately I'm running it in docker and I cannot seem to roll back to 3.0.0 easily.. but it messed up 30% of my flows, which were working fine on 3.0.0

@MrTeal try to follow my recommendation and set the worker in the config to 5.
Don't trigger multiple lights, trigger scenes instead and you should be fine.

Thanks for the quick response. I’ll need to do some modifications and create some extra scenes to get my previous setup working in this new way.

I have this same issue and it is indeed related to having at least one 'HUE Group node' in a flow which also triggers other 'single light point' HUE nodes.
Solution I found to workaround this issue :

either replace your group node by multiple light nodes (this is actually what the HUE bridge itself does when receiving a group command, it will split it and send multiple commands). But this quickly gets quite blurry in flows when having many lights per group :-(
either set number of workers to 1

Technically, I guess it would require the HueMagic engine to handle workers differently : as soon as a group request is processed, it must always wait at least 1 second before sending next command, regardless of the number of workers set... (?)

I have this same issue and it is indeed related to having at least one 'HUE Group node' in a flow which also triggers other 'single light point' HUE nodes.
Solution I found to workaround this issue :

either replace your group node by multiple light nodes (this is actually what the HUE bridge itself does when receiving a group command, it will split it and send multiple commands). But this quickly gets quite blurry in flows when having many lights per group :-(
either set number of workers to 1

Technically, I guess it would require the HueMagic engine to handle workers differently : as soon as a group request is processed, it must always wait at least 1 second before sending next command, regardless of the number of workers set... (?)

What I did, I created "zones" in the Hue app for the light groups I used to address individually (which worked in the pre 4.1 version). so before I had 2 situations where a different set of lights needed to turn on which I all addressed individually, now I had to create 2 groups/zones (which might somewhere be more efficient I guess) containing these lights to achieve the same. but then it does work.

Guys, if you want to get the Bridge Response ultimately quick and without errors use the "node-red-contrib-philipshue-events"
It reads the API V2 properly and you get an unreal amount of status updates from the bridge, like 10 in one second, when you trigger a scene with 10 lights.
The output of this node can be switched to the flows where the status updates are needed. On the other hand, don't trigger multiple lights, use scenes. (It's still fine to trigger a single light, but avoid multiple at once)
When both things are done you get zero issue hue running in node red. HueMagic for the scenes, for sensors, buttons.
The other contrib for responses. I have the worker on 5.
If scenes are not working correctly at the moment for you, look for my posted Issue, I find a solution. There is just one command wrong in the file. You can change it by yourself.

On the other hand, don't trigger multiple lights, use scenes. (It's still fine to trigger a single light, but avoid multiple at once)

For me (and many others) it's not possible to do that since the command to the light depends on the input (brightness, color, light temperature etc.) Also this is working perfectly fine with a version <4, so it is most certainly a bug. I hope it gets some focus since this makes it impossible for me and others to upgrade. Thanks!

@johnekarlsson i strongly recommend to use scenes to turn lamps / groups on and off. It's fine to turn of lamps individually.
Even using API v2 https request, for me it isn't possible to send more than 2 (maybe 3) http request at once, what seems to be a node red problem. The developer information published says following:
""We can’t send commands to the lights too fast. If you stick to around 10 commands per second to the /light resource as maximum you should be fine. For /grouped_light commands you should keep to a maximum of 1 per second. The REST API should not be used to send a continuous stream of fast light updates for an extended period of time, for that use case you should use the dedicated Hue Entertainment Streaming API.""
I using https request now for 2-3 weeks and had never a problem

authors: BlaM Brewj FredBlo GeorgeCastanza HannesHo MPowerData MarcAroni81 MrTeal NBonline Schmetterfliege andesse h-va johnekarlsson neptrio spudje

repo: Foddy/node-red-contrib-huemagic


text:
[Not a Bug] VCF Nextcloud, library not parsing photo actual content properly

Describe the bug
In Nextcloud 25 - create a new contact, add a photo to the contact. Generates attached VCF. When library parses the VCF file it is missing out on the actual photo it's base64 content. It does seem to recognize the Encoding and MediaType.
To Reproduce
Code to reproduce the behavior:
string contentsVCFFile = ...
var convertedItem = VCard.ParseVcf(contentsVCFFile );

Expected behavior
I'd expect the base64 value to be available.
Desktop (please complete the following information):

OS: Windows 11
.NET Version: 6.0
Library version: 4.0

Additional context
See attachment for example file:
3eddee69-e082-42b6-b740-beebf2457f11.txt

Your photo is too large. You can reduce the size of your photo or (better) put your photo somewhere on the web and reference it with an URI.
The data model of the library is based on the vCard 4.0 format. This specifies that embedded data content should be an URI. That's why the DataUrl class is derived from the System.Uri class with its restriction of a maximum length of 65519 characters.
The main goal of this restriction is that vCards should be small files, because they are used, e.g., for CARDDAV. Imagine thousands of vCard files, each one larger than 100 MB - that would bring each server down. I don't want to be guilty for such things.
The DataUrl class is used for both - reading and writing. I will think over it to remove the length restriction for reading in a future version, but I think there should be at least one for writing.

Hi @FolkerKinzel I understand on why there's a limitation (agree of file size). In this case the VCF file was generated by Nextcloud itself (and choose a default photo). - There are no limitations in place on their end though.
Is there currently another way to retrieve the original contents or do I have to manually extract it?

@FolkerKinzel any chance that you will review this limit again?
Personally I believe that the library should not have such a limit build in, this is something the server should address (or maintainer). Or at least have some override for this.

Hi @usselite,
Version 6.0.0 won't have a size limit anymore. After thinking about it for a long time, I came to the same conclusion: The size restriction can better be done by the application, e.g., measuring the size of the VCF file before loading it. One reason for this is also that vCard 4.0 allows an unlimit number of embedded photos inside one vCard.
A preview of version 6.0.0 will be available on nuget soon. If you can't wait you can download the repository and compile it yourself in the meantime.

Hi @usselite,
Version 6.0.0-beta.1 is now available at nuget.  This version fixes your issue. (The final release is coming soon.)

authors: FolkerKinzel usselite

repo: FolkerKinzel/VCards


text:
Fly mode

The host and admin players should be able to grant the ability to fly to players. Admins and the host should always have this ability.

I got impatient and implemented this early/out of order
https://github.com/ForLoveOfCats/SkyOfSteel/commit/9fffb5f7758382737d53903740ed0db0717cb47a

repo: ForLoveOfCats/SkyOfSteel


text:
When two React components make the same urql query with Suspense, one will not unsuspend when query resolves

urql version & exchanges: 1.11.x, default exchanges
Steps to reproduce

Create a <Provider> with a client with suspense set to true.
Create two React components, each of which is individually wrapped in a <React.Suspense>, and each makes the exact same graphql query with useQuery.

Expected behavior
Upon loading the page, both components initially show their loading states (Loading...), but should both end up displaying data once the query resolves.
Actual behavior
When the query resolves, the second component in the page shows its results, but the first does not, it stays in a permanent loading state.
You can see this for yourself with this demo: https://fpp93.csb.app/
Sandbox code is here: https://codesandbox.io/s/fpp93
Do note that in the sandbox, if the urql version is set to version 1.10.3, then the Sandbox will start to work again (see here), so this is a bug that was introduced in 1.11.0 most likely.
Further notes
In case you're wondering why I have two components making the same request in different Suspense wrappers – my app is a  UI for navigating a folder system. There are two components making queries to the project folder system - one in the sidebar which shows the top-level folders all the time, one in the main panel which the user can navigate up and down all levels. Both work fine, unless the user is navigating the top level in the main panel, in which case both components are making the same query and the sidebar will not load on page load.

We've actually recently started talking to the React team to make our implementation more idiomatic according to the constraints they envision for Suspense in the future.
For the meantime, we have an "in-between" branch that follows the expected structure of a new suspense-supporting hook, but not fully. If you're willing to beta test it the PR is here: https://github.com/FormidableLabs/urql/pull/1335
In there you'll find a CodeSandbox CI check that links pre-built packages. If you create a resolution for "urql" in your package.JSON set to the linked package from CodeSandbox CI you can already try it out.
I've tested it against your sandbox and it does seem to work fine. I'm still trying to figure out whether it breaks any of the old edge cases and what the breaking changes may be.

We've actually recently started talking to the React team to make our implementation more idiomatic according to the constraints they envision for Suspense in the future.
For the meantime, we have an "in-between" branch that follows the expected structure of a new suspense-supporting hook, but not fully. If you're willing to beta test it the PR is here: https://github.com/FormidableLabs/urql/pull/1335
In there you'll find a CodeSandbox CI check that links pre-built packages. If you create a resolution for "urql" in your package.JSON set to the linked package from CodeSandbox CI you can already try it out.
I've tested it against your sandbox and it does seem to work fine. I'm still trying to figure out whether it breaks any of the old edge cases and what the breaking changes may be.

@kitten I can confirm this new branch fixes numerous issues I had with suspense (in concurrent mode). Looks great!

@kitten I can confirm this new branch fixes numerous issues I had with suspense (in concurrent mode). Looks great!

authors: chrisapplegate kitten rmmr

repo: FormidableLabs/urql


text:
(introspection) - Passing SDL to getIntrospectedSchema errors with "Cannot use GraphQLSchema (...) from another module or realm."

urql version & exchanges: @urql/core@2.4.1, @urql/introspection@0.3.1
Steps to reproduce
You can reproduce it with this example project I uploaded: https://codesandbox.io/s/github/CherryDT/urql-issue-repro
If the sandbox is already running, you won't see the error, so you have to fork it to see it failing. You can also just install the repository manually:
git clone https://github.com/CherryDT/urql-issue-repro
cd urql-issue-repro
npm install
npm start

The relevant code is:
import { createClient, dedupExchange, cacheExchange, fetchExchange } from '@urql/core'
import { readFile } from 'fs/promises'
import { getIntrospectedSchema } from '@urql/introspection'

// ...

const sdl = await readFile(new URL('./schema.graphql', import.meta.url), 'utf8')
const schema = await getIntrospectedSchema(sdl)

const client = createClient({
  url: 'http://localhost:8080/graphql',
  exchanges: [
    dedupExchange,
    cacheExchange({ schema }),
    fetchExchange
  ]
})

Expected behavior
No error.
Actual behavior
Error:
Error: Cannot use GraphQLSchema "{ __validationErrors: undefined, description: undefined, extensions: {}, astNode: undefined, extensionASTNodes: [], _queryType: Query, _mutationType: Mutation, _subscriptionType: undefined, _directives: [@include, @skip, @deprecated, @specifiedBy], _typeMap: { Tweet: Tweet, ID: ID, String: String, User: User, Stat: Stat, Int: Int, Notification: Notification, Meta: Meta, Url: Url, Date: Date, Query: Query, Mutation: Mutation, Boolean: Boolean, __Schema: __Schema, __Type: __Type, __TypeKind: __TypeKind, __Field: __Field, __InputValue: __InputValue, __EnumValue: __EnumValue, __Directive: __Directive, __DirectiveLocation: __DirectiveLocation }, _subTypeMap: {}, _implementationsMap: {} }" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
    at instanceOf (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/jsutils/instanceOf.js:43:19)
    at isSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/schema.js:32:37)
    at assertSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/schema.js:36:8)
    at validateSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/validate.js:34:28)
    at assertValidSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/validate.js:56:18)
    at assertValidExecutionArguments (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:194:35)
    at execute (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:113:3)
    at executeSync (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:161:18)
    at getIntrospectedSchema (file:///mnt/c/Users/david/Temp/urql-test/node_modules/@urql/introspection/dist/urql-introspection.mjs:20:11)
    at main (file:///mnt/c/Users/david/Temp/urql-test/index.js:7:24)

I tried npm ls graphql but there is only one instance of the package installed.

Hm, looks like this is related to Node.js resolution where import { executeSync } from 'graphql' isn't resolved as the .mjs versions (i.e. exports) however, the other files, e.g. import { getIntrospectionQuery as t } from "graphql/utilities/getIntrospectionQuery.mjs"; are, since they're linked directly.
So, this is likely Node.js version dependent, but since we've got a new version of babel-plugin-modular-graphql that should resolve this, I can probably republish the package to fix this

I see. Thanks.
In the meantime, I implemented this very ugly hack:
import { createRequire } from 'module'
const require = createRequire(import.meta.url)

const instanceOfModule = require('graphql/jsutils/instanceOf.js')
instanceOfModule.instanceOf = (value, constructor) => {
  if (value instanceof constructor) return true

  if (typeof value === 'object' && value !== null) {
    const className = constructor.prototype[Symbol.toStringTag]
    const valueClassName = value[Symbol.toStringTag]
    // Do allow this case to work around https://github.com/FormidableLabs/urql/issues/2250
    if (className === valueClassName) return true
  }

  return false
}

~~But this now showed me a new problem with my code, maybe you can give me a hint of what could be wrong (I guess I'm doing something wrong in this case so I'm not sure it warrants its own issue): I'm getting r is not a function which comes from ~~ Yeah thanks for your edit, I was just typing a question about that. That would explain it! I thought those two things are the same. Thank you!

Question - Now I instead have the issue that the generated schema has tons of empty objects instead of real data, which then leads to a crash when accessing e.types[e.mutation] since e.types is an empty object as well. Could this be related to my workaround (so I should just wait for the release instead) or would that be something else entirely?

I took a look and that isn't reproduceable to me. Not sure if something went wrong when you stringified it, but it does look to be behaving fine for me now when I'm testing out the fixed build

I couldn't get it to work, now I used this method instead and it works fine now.

authors: CherryDT kitten


text:
Support DocumentNode and refactor query keying

Fix #50

Support DocumentNode | string on GraphQLRequest.query
Switch Operation.query to DocumentNode only
Remove parse/print from typenames helper
Add new queryFromKey helper

This now uses djb2 for hashing which is
more concise, but might lead to some duplicate keys. This is pretty acceptable, since we're
not keeping track of a lot of operations at any given time (Not in the magnitude of 10,000s). If we're unhappy with cache collisions we should switch to a simple counter and maps.

Looks pretty great!
Hashing wise, for uniqueness, we could use SHA-256 (SHA-1 isn't supported by edge for some reason...).
We'll need to add a conditional (low-key polyfill) for IE11 support but other than that, browser support is strong and would be more performant (uses hardware accelleration).
const sha256 = async (str) => {
  const buf = await crypto.subtle.digest("SHA-256", new TextEncoder("utf-8").encode(str));
  return Array.prototype.map.call(new Uint8Array(buf), x=>(('00'+x.toString(16)).slice(-2))).join('');
}

authors: andyrichardson kitten


text:
Remove early stopping by setting epoch number to 501, set default epo…

This PR removes early stopping by setting the counter to 501 (over the default max epochs)
Also the default epoch number was set to 350 to accommodate Tongs proposed max epochs.

works on my machine, stops after 350 epochs (0-349 epoch)

repo: Forschungsprojekt-Informatik/CompGCN


text:
Typescript Version

Hey @kode4food,
What Typescript version are you using? I get a compilation error building the Compiler module.
fate-lang/lib/compiler/Compiler.ts(104,21): error TS2339: Property 'found' does not exist on type 'SyntaxError'.
fate-lang/lib/compiler/Compiler.ts(105,20): error TS2339: Property 'line' does not exist on type 'SyntaxError'.
fate-lang/lib/compiler/Compiler.ts(106,22): error TS2339: Property 'column' does not exist on type 'SyntaxError'.

Code emission succeeds and everything else runs.
Cheers,
Sérgio

It should work with anything from TypeScript 1.5 and up.  Those errors are the result of the peg.js generating its own objects, but with no type information.  I could always coerce it into a home-made interface, but didn't really see it as a priority.
The error doesn't prohibit the final code gen... or at least it shouldn't in the versions of TypeScript I've used.

Yeah, code generation is ok. So this SyntaxError type is the peg.js one. It seems to resolve to Javascript's syntax error (defined in lib.d.ts).
Do you think it's worth it to use pegjs.d.ts?

what?  no!  that's just crazy!  didn't realize there was tsd info for it.  will add it now, thanks

No problem, I was gonna add it in my fork. :+1:

done!  you may rebase, sir!

Cool! Thanks! :smile:

repo: Forty-Niner/fate-lang