Adoption into Plesk official Extension Library

Awesome, finally someone build a simple extension to sync the DNS records only!
I couldn't get my head around with the Cloudflare ServerShield extension, since it does not what is only required for DNS sync.
Have you considered to push this extension into the official Plesk Extension Library? You could even ask for 2,50 €/Month or something for people to use it if you wanted, to support your time to keep it working.
I have contacts with Plesk Core Devs and could possibly connect you.
Thanks for considering!

Haha, it's that one feature you would've expected in the ServerShield extension, right? ^^

Have you considered to push this extension into the official Plesk Extension Library?

I have not, never knew that was an option, but I will look into it. Thanks for the suggestion and great to hear that the extension has helped you out!

I have connections to some developer and C members of Plesk. Please check my website to PM me.


[DRAFT] [ENG-5012] Updates to see the file version for the latest preprint deploy

Ticket: ENG-5012
Feature flag: n/a

Purpose
The file name, version and ability to download a different version was not included with the latest release
Summary of Changes
Ported the "file renderer" component from OSF Preprints
Screenshot(s)

Side Effects
N/A
QA Notes
This is challenging to test locally because the MFR does not work.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 22 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 69.085%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/preprints/detail/route.ts
0
1
0.0%

app/preprints/-components/preprint-file-render/component.ts
0
21
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
6065

Relevant Lines:
8530

💛  - Coveralls


Fixed undefined array bug in is()

Fixed a bug in order to allow tracery.Optional to handle 'undefined' for arrays.


Flow type checks consistency

Within the gaia codebase I have seen areas like server.js where there are flow type checks , I think would be best if flow type checks were used throughout the codebase or not used at all as it doesn't look consistent. At first glance I wasn't sure if it was Typescript or JS.

@kantai do you think gaia would benefit from Typescript? It seems to have a better type system than flow.

Thanks for raising this issue
I suspect that Typescript can be nicer to use than flow, however, Blockstack uses flow for most of its Javascript codebase (rather than TS), so for consistency, it'd be best to use flow here as well. I'm going to merge flow annotations into develop soon.

👍


chore: Update docs base origin url

Issue #, if available: #1237
Description of changes:

Update base origin variable in mkdocs javascript
Change awslabs.github.io to docs.powertools.aws.dev
Checklist

[x] Meet tenets criteria
[ ] Update tests
[x] Update docs
[x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

There are other references, can I ask you to update all ? Otherwise I'll do a PR because I cannot get yours, it's not on this repo...

Codecov Report
Patch and project coverage have no change.

Comparison is base (acf91bc) 70.87% compared to head (a2f7052) 70.87%.

:exclamation: Current head a2f7052 differs from pull request most recent head e5dfb67. Consider uploading reports for the commit e5dfb67 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1238   +/-   ##
=========================================
  Coverage     70.87%   70.87%
  Complexity      541      541
=========================================
  Files            72       72
  Lines          2328     2328
  Branches        254      254
=========================================
  Hits           1650     1650
  Misses          558      558
  Partials        120      120

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

There are other references, can I ask you to update all ? Otherwise I'll do a PR because I cannot get yours, it's not on this repo...

I believe I updated all references from awslabs.github.io to docs.powertools.aws.dev and new url format


Proper dynamic class definition using the prototype chain

The current custom class definition works find (at least in Chrome and Safari). Do we additionally need to define the constructor explicitly?
CustomElement.prototype.constructor = CustomElement.prototype.constructor`

We should test all scenarios, including  new(), document.createElement('my-element') and maybe even Reflect.construct().

Solved with #11, see also #17


Avoid modifying source props object in Class.extend

extend method had side effect: it replaced props.options
that behavior was undesirable, as it prevented to reuse props.

Sample:
var Mixin = {
  // ...
  // some useful props and methods
}

var MyLine = L.Polyline.extend(Mixin);

var MyGon = L.Polygon.extend(Mixin);

var line = new MyLine([]);

var gon = new MyGon([]);

console.log(line.options.fill, gon.options.fill);

Output expected: false, true
Output before PR: false, false

The fix is updated considering one more edge case.
Both cases are now included into ClassSpec.js.

The fix is updated considering one more edge case.
Both cases are now included into ClassSpec.js.


ci: build universal binary wheels of SQL parser for MacOS

To make development experience better - and better first impressions for people who want to try openlineage locally - we should make sure they can install openlineage libraries without requiring them to have Rust toolchain installed.

Done in https://github.com/OpenLineage/OpenLineage/pull/1053


Change default model to a free OpenAI model

The current code sets the default model to "gpt-4o", which is a paid model. Many users may not have access to this paid model. To improve accessibility for all users, please change the default model to a free option, such as "gpt-3.5-turbo".

From 2024 OpenAI currently not offer any free models for chat completion, anyhow I will see what I can do to switch to another provider.


condition in CMakeUserPresets.json

Brief Issue Summary
a condition on ${hostSystemName} in CMakeUserPresets.json is not evaluated correctly. I have the following CMakeUserPresets.json:
{
  "version": 3,
  "configurePresets": [
    {
      "name": "linux",
      "condition": {
        "type": "equals",
        "lhs": "${hostSystemName}",
        "rhs": "Linux"
      }
    },
    {
      "name": "darwin",
      "condition": {
        "type": "equals",
        "lhs": "${hostSystemName}",
        "rhs": "Darwin"
      }
    }
  ]
}

The extension reports
[presetController] Successfully validated presets in /Users/dyitzchaki/github/bugs/CMakePresets.json

but no configuration is available to choose, neither on linux nor on MacOs.
If I rename the file to CMakePresets.json the conditions are evaluated correctly and only the relevant configuration is displayed.
This may be related to https://github.com/microsoft/vscode-cmake-tools/issues/2362
CMake Tools Diagnostics
{
  "os": "darwin",
  "vscodeVersion": "1.67.2",
  "cmtVersion": "1.11.19",
  "configurations": [
    {
      "folder": "/Users/dyitzchaki/github/bugs",
      "cmakeVersion": "3.22.1",
      "configured": false,
      "generator": "",
      "usesPresets": true,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log
[presetController] Start selection of configure presets. Found 2 presets.
[presetController] Opening configure preset selection QuickPick
[presetController] User cancelled configure preset selection
[extension] [8795] cmake.configure finished (returned -1)

Additional Information
A reproducing project can be found at https://github.com/dvirtz/bugs/tree/cmake-hostSystemName.

Thank you for reporting this bug. We thought it has been fixed in https://github.com/microsoft/vscode-cmake-tools/issues/2362. We will have to investigate this more.

I came across this issue as well. I need this, so I might look into it this week.

Thanks @gcampbell-msft. I can confirm it's working provided I'm reloading the window after changing the presets.
Maybe that reload was what I missed when I opened the issue.


arm-machinelearning Workspace get is missing managedNetwork attribute

Package Name:  arm-machinelearning
Package Version: 2.2.0
Operating system: MacOS Sonoma 14.5
[x] nodejs

version: 18.19.0

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://learn.microsoft.com

Describe the bug
The Workspace listBySubscription as well as the get is missing the attribute managedNetwork even though it is the Workspace schema.
I have done some digging into the node SDK  and found that the attribute properties.managedNetwork exists in the raw response but gets excluded in the mapper.
I understand that this managedNetwork is a new attribute which doesn't get returned in the API version "2022-10-01". I have tried the latest API version ""2024-04-01" with no success. I have tried different packages including an alpha package with no success either.
To Reproduce
Steps to reproduce the behavior:

Deploy an ML workspace in azure
Run this command in Azure terminal and notice it comes back with the response

az ml workspace show
  --name workspace-name
  --resource-group resource-group-name
  --query '{"managedNetwork":managed_network}'

Run the client.workspaces.get(resourceGroupName, name) in node after updating the client with the latest api version apiVersion: "2024-04-01" and notice the attribute managedNetwork is missing

Expected behavior
The listBySubscription as well as the get response should include the managedNetwork attribute
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

will check

@Abdelmoneim-Nafea
SDK is generated from swagger, and the package 2.2.0 uses api version 2022-10-01 which doesn't support managedNetwork model in the list result, so in our sdk, it is not generated too. That's why you use 2024-04-01 but it still missing

Add Service Attention label for service team awareness
and
cc @josefree for awareness

Thanks @kazrael2119 for having a look at it. It looks like when using the api version "2024-04-01", the managedNetwork gets returned in the raw response before it gets serialised. Is it possible to add in the managedNetwork into the "Workspace" mapper. I believe this will fix the problem

Thanks @kazrael2119 for having a look at it. It looks like when using the api version "2024-04-01", the managedNetwork gets returned in the raw response but excluded when serialised. Is it possible to add in the managedNetwork into the "Workspace" mapper? I believe this will fix the problem

@Abdelmoneim-Nafea, I tried to use the 2024-04-01 to generate the package
azure-arm-machinelearning-3.0.0.zip
could you try to use this and call that operation again?
Notice: this package's client name is changed from AzureMachineLearningWorkspaces to AzureMachineLearningServicesManagementClient

Thanks @kazrael2119, I can confirm this package works as expected. I can see the managedNetwork in the response 🥳
Will you be publishing this package anytime soon ?

Hi @kazrael2119, is their any plan to publish this new v3 package ?

there's a release request https://github.com/Azure/sdk-release-request/issues/5422 here

new package released here<EMAIL_ADDRESS>

Thanks a lot @kazrael2119, I confirm the new package


doc: improve doc for newtype Builder

but it is faster to use 'Buffer' directly.

The language feels ambiguous. I was left wondering -- what is faster, Builder or raw Buffer?
I've suggested an improvement.

No, it's raw Buffer who is faster.

Oh ! I told you the language was ambiguous  :-)
So if it faster to just use Buffer directly, when should we use the linear builder at all ?
Does the linear builder exist just to help transition code away from Data.Text.Lazy.Builder and Text.Builder then ?

Yes, it's mostly for compatibility and to provide a non-linear interface with instance Semigroup as it's customary for Builders.


ndt7/model.BBRInfo and tcp-info/inetdiag.BBRInfo are different & the same

Both structs share a name but collect different information.

https://github.com/m-lab/ndt-server/blob/master/bbr/bbr_linux.go#L23
https://github.com/m-lab/tcp-info/blob/master/inetdiag/structs.go#L376

The inetdiag.BBRInfo struct faithfully replicates the linux tcp_bbr_info struct. The model.BBRInfo adds an ElapsedTime field and omits others.
What if we create a new summary struct that contains the faithful data?
Something like:
import "github.com/m-lab/tcp-info/inetdiag"

type BBRSummary struct{
    inetdiag.BBRInfo
    ElapsedTime int64
}

This would use the same approach as the model.TCPInfo struct (which references tcp-info types). https://github.com/m-lab/ndt-server/blob/master/ndt7/model/tcpinfo.go
import "github.com/m-lab/tcp-info/tcp"

// The TCPInfo struct contains information measured using TCP_INFO. This
// structure is described in the ndt7 specification.
type TCPInfo struct {
	tcp.LinuxTCPInfo
	ElapsedTime   int64
}

Fixed and deployed


phonegap developpers doesnt display ionicons

Hello everyone, i need a help please, i installed phonegap-developer in my wp8, when I lunch my ionic app everything seems good but once the app displayed, I cant see ionicons. I only see square characters. I need an help please

Hi @coolbeatz71
Can you show what your code looks like?


Feat/text input readonly disabled

Closes DEVELOP: [UPDATE] Text input
Summary of changes included in this PR

Adds disabled and readonly attributes to component and adds:

tests for accessibility
story book examples
updated docs
updated changelog

Unchanged

Does not update react example app

Reviewer checklist:

Tests for

accessibility
rendered HTML (spec)

Storybook stories for all variants
JSDoc documentation for component
Update Example app (React, ...)

What is the difference between setting the disabled and readonly props?

What is the difference between setting the disabled and readonly props?

Disabled: end user cannot interact at all with the input field (for example we might want to conditionally disable a field based on the user's previous choice but have it visually displayed on the screen) - we shouldn't ever put a value when it's disabled (will need to make clear in docs)
Readonly: end user can copy and paste the value provided in the field - e.g. to copy and paste a URL (also including tabbing into the field with the keyboard to grab value) but can not change the field's value.

What is the difference between setting the disabled and readonly props?

Disabled
end user cannot interact at all with the input field (for example we might want to conditionally disable a field based on the user's previous choice but have it visually displayed on the screen) - we shouldn't ever put a value when it's disabled (will need to make clear in docs)
Readonly
end user can copy and paste the value provided in the field - e.g. to copy and paste a generated URL. (and also allows end user to tab into the field to copy and paste value with keyboard controls) but can not change the field's value.

Ahh gotcha, yeah with the keyboard navigation you can't select if it's disabled but can if it's readonly, makes sense now. 👍


add incremental learning

add incremental learning
Description
Add incremental learning ( analaog reinforcement but for alogo) to make model retrained automatically when new data will come.

Issue Number: [Issue #]
Description of changes: Explain the code, algorithms, or models modified/added.

Type of Change
Please delete options that are not relevant:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Code refactor
[x] Performance improvement

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Include any relevant details for configuration.

Unit Tests Added: [Yes/No]

If yes, describe the tests and if they were successful.

Model Accuracy Improvement: [Yes/No]

If yes, provide before and after metrics of the prediction model accuracy (e.g., accuracy, precision, recall, etc.)

Test Configuration:

Python version: [e.g., 3.9.19]
ML Framework/Library: [e.g., XGBoost]
Dataset: [e.g., all_data.csv]

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[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
[ ] Any dependent changes have been merged and published in downstream modules

Additional Context or Screenshots (if applicable)
Include any additional context or relevant screenshots related to the prediction models or new features. If the change impacts the Dota 2 match prediction outcomes, provide graphs or results showing the impact.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 89.20863% with 15 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

db/database_operations.py
58.62%
12 Missing :warning:

structure/struct.py
57.14%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
88.96% <89.20%> (-0.38%)
:arrow_down:

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

Files with missing lines
Coverage Δ

config.py
100.00% <100.00%> (ø)

db/setup.py
98.03% <100.00%> (+0.16%)
:arrow_up:

ml/model.py
100.00% <100.00%> (ø)

structure/helpers.py
93.54% <100.00%> (+0.15%)
:arrow_up:

tests/test_ml.py
100.00% <100.00%> (ø)

tests/test_struct.py
97.58% <100.00%> (+0.08%)
:arrow_up:

structure/struct.py
77.08% <57.14%> (-1.15%)
:arrow_down:

db/database_operations.py
81.63% <58.62%> (-5.77%)
:arrow_down:


Image context menu "#context-sep-copyimage," is incorrect

Hello,
The "#context-sep-copyimage," is incorrect for the separator in the image context menu.
I have applied it and the separator is still present:
https://i.postimg.cc/Z5X8Xp9w/Image-Context.jpg
Cheers.

Cannot reproduce, it works as intended.

I tried again on some other images and for whatever reason this appears to be exclusive to that specific image on Startpage for some reason. Very odd...

If you can give me the link I can investigate a bit further for fun.

You removed a lot of stuff. Are you sure it's a separator from the image-context?
The startpage.com image is also a link, so maybe you have a leftover separator from the link-context?

You removed a lot of stuff. Are you sure it's a separator from the image-context?
The startpage.com image is also a link, so maybe you have a leftover separator from the link-context?

I literally copied and pasted the entire stack for the link entry and just double checked and everything is present. I did notice that there are some double entries from menu to menu with the code to remove being the same though. I think I removed them all but not 100% sure. Either way, I don't think that should be the cause.


round of new 2.12 failures

consistently failing in recent runs: fs2, play-core, refined, ammonite
and there's also a new circe failure (compilation fails) in run 2714

circe failure is "/modules/literal/src/test/scala/io/circe/literal/interpolator/JsonInterpolatorSuite.scala:18:9: Invalid JSON in interpolated string" — seems rather mysterious since the most recent circe commit is Mar 19 and we haven't bumped the Scala version here in this repo recently

last totally green run was https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/2672/ (Mar 17)

probably it's because of the recent big upickle overhaul and ammonite is still using the old one

wrong guess — actually ammonite has upgraded upickle in recent weeks (multiple times). so we either need to freeze ammonite for now, or upgrade our upickle. in general we don't like to upgrade low level dependencies like upickle that have made breaking changes, because doing so is difficult/impossible until the community has first upgraded for their own reasons, so I think we should probably just freeze ammonite. /cc @lihaoyi
as for the monix/fs2/cats-effect situation, it looks both monix and fs2 have moved from cats-effect 0.9 (which we're currently frozen on) to 0.10, so it should work to move cats-effect to 0.10 and unfreeze monix and fs2. (it's a bit tempting to just freeze all three...)

although I haven't looked too closely at it, the culprit commit in play-ws is probably playframework/play-ws@e84d4cd891880e289f7e1fb158093f874c6ece8b, so freezing play-ws at playframework/play-ws@c521ad1b975e9a3287179436897a0e08c47a3e56 until playframework is upgraded should do the trick

testing these theories at #706

as for circe,
[info] Project circe
[info]   depends on: catalysts, cats, cloc-plugin, discipline, jawn-0-11, json4s, kind-projector, machinist, macro-compat, macro-paradise, scala, scala-parser-combinators, scalacheck, scalatest, scalaz, scodec-bits, shapeless, simulacrum, specs2, spray-json, wartremover

do I need to go groveling through this list and try and figure out what change in a dependency might have caused this...? I guess. note that circe was green in run 2712 at circe/circe@81ac123d5058afa0da9fb6dc44df1287d69c463e

the circe failure is the literal subproject, and
sbt:circe> show literal/libraryDependencies
[info] * org.scala-lang:scala-library:2.12.5
[info] * org.scala-lang:scala-compiler:2.12.5:provided
[info] * org.scala-lang:scala-reflect:2.12.5:provided
[info] * org.typelevel:macro-compat:1.1.1
[info] * org.scalamacros:paradise:2.1.1:plugin->default(compile)
[info] * com.chuusai:shapeless:2.3.3:test

this isn't much. there are very recent commits in shapeless/shapeless, so maybe try an older shapeless commit like shapeless/shapeless@546ec68fc6fcc3b7c6c33caf8ac6ce2a4d18cbb1

after #707, just circe still fails

here's everything on the test classpath for literal:
com/chuusai/shapeless_2.12/2.3.3/shapeless_2.12-2.3.3.jar
org/scala-lang/modules/scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.jar
org/scala-lang/scala-compiler/2.12.6-bin-84112e8/scala-compiler-2.12.6-bin-84112e8.jar
org/scala-lang/scala-library/2.12.6-bin-84112e8/scala-library-2.12.6-bin-84112e8.jar
org/scala-lang/scala-reflect/2.12.6-bin-84112e8/scala-reflect-2.12.6-bin-84112e8.jar
org/scala-sbt/test-interface/1.0/test-interface-1.0.jar
org/scalacheck/scalacheck_2.12/1.13.5/scalacheck_2.12-1.13.5.jar
org/scalactic/scalactic_2.12/3.0.5-M1/scalactic_2.12-3.0.5-M1.jar
org/scalatest/scalatest_2.12/3.0.5-M1/scalatest_2.12-3.0.5-M1.jar
org/spire-math/jawn-parser_2.12/0.11.1/jawn-parser_2.12-0.11.1.jar
org/typelevel/catalysts-macros_2.12/0.0.5/catalysts-macros_2.12-0.0.5.jar
org/typelevel/catalysts-platform_2.12/0.0.5/catalysts-platform_2.12-0.0.5.jar
org/typelevel/cats-core_2.12/1.1.0/cats-core_2.12-1.1.0.jar
org/typelevel/cats-kernel-laws_2.12/1.1.0/cats-kernel-laws_2.12-1.1.0.jar
org/typelevel/cats-kernel_2.12/1.1.0/cats-kernel_2.12-1.1.0.jar
org/typelevel/cats-laws_2.12/1.1.0/cats-laws_2.12-1.1.0.jar
org/typelevel/cats-macros_2.12/1.1.0/cats-macros_2.12-1.1.0.jar
org/typelevel/discipline_2.12/0.9.0/discipline_2.12-0.9.0.jar
org/typelevel/machinist_2.12/0.6.2/machinist_2.12-0.6.2.jar
org/typelevel/macro-compat_2.12/1.1.1/macro-compat_2.12-1.1.1.jar

fixed circe by freezing jawn, fyi @travisbrown that circe breaks if jawn dependency is upgraded to 0.12.1

whole build is green again after a few more fixes:
* 08fe468 - fork scapegoat
* b18f32c - freeze http4s
* 5ca98c5 - fix Slick by excluding new subprojects


apply declare(strict_types=1);

Checklist:

[x] Securely signed commits

This suggestion has come up before, and the consensus, AFAIK, was that we want the flexibility of non-strict types.

how about apply that in system and tests only? For application php files, it will up to user to use strict or not

It is specifically in system/ that we want flexible typing.
I see flexible typing as a way of voercoming PHP's lack of method overloading, found in other languages.
When the suggestion came up before, Lonnie had a more elegant answer, so I am hoping he can chime in to clarify :)

I don't know that it's a more elegant answer, but here goes:
Like it or not, at its core, PHP is a flexibly typed language. It is not a typed language like Java or Hack, and that should be embraced. While I understand why people like the idea of it, and why it's helpful, I don't think it's appropriate for CodeIgniter. Type casting is actually a handy thing at times, and the other newer features that came with strict typing, like more argument and return value type hints go a long way toward fixing the issues PHP had by failing loudly for the developer to see. But forcing them to manually cast every number retrieved from an HTML form into an integer, and the like, is an unnecessary burden, I feel.
In short (too late!) embrace PHP for what it is, and don't try to force it to be a language that it isn't.
Thanks for the submittal, and for all of the other stuff you've helped out with, but I think we'll pass on this one.


fetch size overflow

When getting a partial trailing message, consumer's fetch size will double.
However, it is possible to reach max int32, then a kafka broker receives a fetch request with negative fetch size.
Looks like this issue has been checked by Kafka itself with ticket: https://issues.apache.org/jira/browse/KAFKA-7656
Otherwise, we should provide a reasonable default Fetch.Max value

Looks good to me, Do you want to sign CLA and add a test too.

Yes, let me add a test case, as well as CLA

sorry @varun06, it is too hard to provide a valid test case without mock broker update. A PartialTrailingRecord will lose trailing record after encoding. I just push a test case in fetch_response_test.go and sign CLA. Is that ok to merge?

yeah, sounds good.

Thanks for your contribution, LGTM.


ServerClientId needed for GoogleSignInOptions Web server OAuth

TL;DR The issue is with not having the ability to include a serverClientId in the GoogleSignInOptions.
This problem appeared when GoogleSignInAccount.getIdToken(); (which is required for my backend's google plus login) was returning null.
Sign in was a clean abstraction and was great to work with, however, I believe the use case with registering OAuth clients for Google Sign-In states that "Web server OAuth client registration" is needed with android by requesting/ "an ID token in your GoogleSignInOptions, supplying the web client ID for your server".
GoogleSignInOptions gso =
    new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
        .requestIdToken(serverClientId)
        .requestEmail()
        .build();

EasyGoogle does not have us directly implement the GoogleSignInOptions class. From what I understand, the IdTokenActivity is the original solution, which voids the use of easygoogle. See line #55.

@ersin-ertan this is a good feature request.  It would be as simple as adding an optional parameter to the enableSignIn method to take serverClientId, and then passing it through to GoogleSignInOptions when it's non-null.
Would you consider submitting a pull request for this functionality?  I'd be happy to review it.

See merged pull request https://github.com/googlesamples/easygoogle/pull/25


owners form is blank if not logged in and only current members are owners

make this understandable

this was because there was an ownership record with no start date.
Add a reason why its not allowed to proceed.


Catalog operator consumes 9GB of memory and shows errors of unhealty clients

The catalog-operator pod builds up memory usage (9GB+):
$ kubectl top pod catalog-operator-64556ffff5-9lzpl
NAME                                CPU(cores)   MEMORY(bytes)
catalog-operator-64556ffff5-9lzpl   18m          9636Mi

And complains in the log about un-healty clients:
…
time="2019-08-29T07:12:50Z" level=info msg="building connection to registry" currentSource="{olm-operators openshift-operator-lifecycle-manager}" id=5RB5r source=olm-operators
time="2019-08-29T07:12:50Z" level=info msg="client hasn't yet become healthy, attempt a health check" currentSource="{olm-operators openshift-operator-lifecycle-manager}" id=5RB5r source=olm-operators
time="2019-08-29T07:12:51Z" level=info msg="building connection to registry" currentSource="{certified-operators openshift-marketplace}" id=C8tH6 source=certified-operators
time="2019-08-29T07:12:51Z" level=info msg="client hasn't yet become healthy, attempt a health check" currentSource="{certified-operators openshift-marketplace}" id=C8tH6 source=certified-operators
time="2019-08-29T07:12:51Z" level=info msg="building connection to registry" currentSource="{community-operators openshift-marketplace}" id=uaPkG source=community-operators
time="2019-08-29T07:12:51Z" level=info msg="client hasn't yet become healthy, attempt a health check" currentSource="{community-operators openshift-marketplace}" id=uaPkG source=community-operators
time="2019-08-29T07:12:52Z" level=info msg="building connection to registry" currentSource="{redhat-operators openshift-marketplace}" id=l6uSz source=redhat-operators
time="2019-08-29T07:12:52Z" level=info msg="client hasn't yet become healthy, attempt a health check" currentSource="{redhat-operators openshift-marketplace}" id=l6uSz source=redhat-operators
…

Thanks for the report - from the logs, I am assuming you are running under openshift 4.1.z?
If that's correct - we have this issue fixed in master and will backport shortly. If this is running a master of OLM then we'll want to dig a little more into this and gather more data.

Thanks for the report - from the logs, I am assuming you are running under openshift 4.1.z?

Yes, that is correct.

If that's correct - we have this issue fixed in master and will backport shortly.

I am looking forward to this! :-) thanks!

The fix for this is backported to 4.1 now!


Hide prepend

After some discussion with Eldric and @martin-henz, we have decided to hide the prepend.

Pull Request Test Coverage Report for Build 2091

1 of 20 (5.0%)  changed or added relevant lines in 2 files are covered.
40 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 28.196%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/workspace/index.tsx
0
1
0.0%

src/sagas/workspaces.ts
1
19
5.26%

Files with Coverage Reduction
New Missed Lines
%

src/sagas/workspaces.ts
1
9.69%

src/components/workspace/EditorPrepend.tsx
8
0.0%

src/components/academy/grading/GradingWorkspace.tsx
31
13.54%

Totals

Change from base Build 2084:
-0.1%

Covered Lines:
1456

Relevant Lines:
4488

💛  - Coveralls


HA stoped receiving Xiaomi gateway 3 data after upgrading to 2022.4

After upgrading HA to 2022.4 all sensors stoped working. The same had happened when upgrading 2022.3.
Already tried to restart gateway and reload the integrations within HA, but no luck.
In Xiaomi APP all devices appear online.
Log:
2022-04-07 09:45:25 DEBUG main SysInfo: {'installation_type': 'Home Assistant OS', 'version': '2022.4.0', 'dev': False, 'hassio': True....}
2022-04-07 09:45:34 DEBUG main Loaded from MiCloud 11 devices
2022-04-07 09:45:36 DEBUG base <IP_ADDRESS> [BASE] Start main loop
2022-04-07 09:45:38 DEBUG base <IP_ADDRESS> [BASE] Prepare gateway gw3 with firmware 1.5.1_0032
2022-04-07 09:45:38 DEBUG base <IP_ADDRESS> [BASE] 54ef442d4cbb (lumi.gateway.mgl03) setup gateway ZNDMWG03LM ZNDMWG02LM: alarm, command, data, cloud_link, led, gateway
2022-04-07 09:45:38 DEBUG base <IP_ADDRESS> [MIOT] 54ef442d4cbb (lumi.gateway.mgl03) read {'mi_spec': [{'siid': 3, 'piid': 1}, {'siid': 3, 'piid': 22}]}
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138c5d0a5 (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c1386c42b0 (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c1386a23a6 (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138d2e60c (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c13894dbc5 (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138a1df0d (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c1387557fd (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138c8d5a7 (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138c15eab (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] a4c138008e0d (1371) setup ble LYWSD03MMC: temperature, humidity, battery, ble
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] Patch Bluetooth
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] Init Zigbee parents
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] Applied 0 patches to daemons
2022-04-07 09:45:39 DEBUG base <IP_ADDRESS> [BASE] MQTT connected
2022-04-07 09:46:09 DEBUG base <IP_ADDRESS> [BASE] Run zigbee parent scan process
2022-04-07 09:46:09 DEBUG base <IP_ADDRESS> [BASE] Process zigbee parent scan response
2022-04-07 09:46:09 DEBUG base <IP_ADDRESS> [BASE] Total zigbee devices: 0
2022-04-07 09:46:18 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vn9pquc5g00","eid":4102,"edata":"4e02","pdid":1371,"seq":220}'
2022-04-07 09:46:39 DEBUG base <IP_ADDRESS> [BASE] a4c1386c42b0 (1371) set device offline
2022-04-07 09:47:20 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vn9pquc5g00","eid":4100,"edata":"cf00","pdid":1371,"seq":222}'
2022-04-07 09:47:23 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnagvg8ec00","eid":4102,"edata":"4c02","pdid":1371,"seq":209}'
2022-04-07 09:47:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386c42b0 (1371) set device offline
2022-04-07 09:47:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c8d5a7 (1371) set device offline
2022-04-07 09:47:41 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnagvg8ec00","eid":4106,"edata":"64","pdid":1371,"seq":210}'
2022-04-07 09:47:43 DEBUG base <IP_ADDRESS> [BASE] Gateway time offset: -1.0493793487548828
2022-04-07 09:48:11 DEBUG base <IP_ADDRESS> [BASE] a4c138c8d5a7 (1371) set device offline
2022-04-07 09:48:19 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vndons0eg00","eid":4102,"edata":"6a02","pdid":1371,"seq":209}'
2022-04-07 09:48:20 DEBUG base <IP_ADDRESS> [BLEF] a4c138d2e60c (1371) recv {'battery': 100}
2022-04-07 09:48:22 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnagvg8ec00","eid":4100,"edata":"c900","pdid":1371,"seq":212}'
2022-04-07 09:48:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c8d5a7 (1371) set device offline
2022-04-07 09:49:08 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18rvl22lke400","eid":4106,"edata":"64","pdid":1371,"seq":25}'
2022-04-07 09:49:11 DEBUG base <IP_ADDRESS> [BASE] a4c1387557fd (1371) set device offline
2022-04-07 09:49:16 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vndons0eg00","eid":4100,"edata":"c300","pdid":1371,"seq":212}'
2022-04-07 09:49:41 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnibcsseg00","eid":4102,"edata":"8f02","pdid":1371,"seq":194}'
2022-04-07 09:50:11 DEBUG base <IP_ADDRESS> [BASE] a4c13894dbc5 (1371) set device offline
2022-04-07 09:50:22 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.4.18ogbser8gg00","eid":4106,"edata":"64","pdid":1371,"seq":56}'
2022-04-07 09:50:25 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnl6juk5c00","eid":4102,"edata":"7002","pdid":1371,"seq":168}'
2022-04-07 09:50:41 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnibcsseg00","eid":4100,"edata":"cb00","pdid":1371,"seq":196}'
2022-04-07 09:50:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386a23a6 (1371) set device offline
2022-04-07 09:50:41 DEBUG base <IP_ADDRESS> [BASE] a4c13894dbc5 (1371) set device offline
2022-04-07 09:50:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c15eab (1371) set device offline
2022-04-07 09:51:22 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.4.18ogbser8gg00","eid":4102,"edata":"f801","pdid":1371,"seq":58}'
2022-04-07 09:51:24 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnl6juk5c00","eid":4100,"edata":"9a00","pdid":1371,"seq":170}'
2022-04-07 09:51:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386a23a6 (1371) set device offline
2022-04-07 09:51:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c15eab (1371) set device offline
2022-04-07 09:52:22 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.4.18ogbser8gg00","eid":4100,"edata":"e000","pdid":1371,"seq":60}'
2022-04-07 09:52:22 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnfvdo0eg00","eid":4102,"edata":"a101","pdid":1371,"seq":205}'
2022-04-07 09:52:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386a23a6 (1371) set device offline
2022-04-07 09:52:41 DEBUG base <IP_ADDRESS> [BASE] a4c138008e0d (1371) set device offline
2022-04-07 09:52:43 DEBUG base <IP_ADDRESS> [BASE] Gateway time offset: -1.032956838607788
2022-04-07 09:53:07 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18rvl22lke400","eid":4102,"edata":"4602","pdid":1371,"seq":27}'
2022-04-07 09:53:11 DEBUG base <IP_ADDRESS> [BASE] a4c1387557fd (1371) set device offline
2022-04-07 09:53:23 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnfvdo0eg00","eid":4100,"edata":"1f01","pdid":1371,"seq":207}'
2022-04-07 09:53:41 DEBUG base <IP_ADDRESS> [BASE] a4c138008e0d (1371) set device offline
2022-04-07 09:54:03 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnj1uvoe400","eid":4102,"edata":"7302","pdid":1371,"seq":205}'
2022-04-07 09:54:08 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18rvl22lke400","eid":4100,"edata":"d000","pdid":1371,"seq":29}'
2022-04-07 09:54:11 DEBUG base <IP_ADDRESS> [BASE] a4c138a1df0d (1371) set device offline
2022-04-07 09:54:11 DEBUG base <IP_ADDRESS> [BASE] a4c1387557fd (1371) set device offline
2022-04-07 09:54:25 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnl6juk5c00","eid":4106,"edata":"64","pdid":1371,"seq":172}'
2022-04-07 09:54:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c15eab (1371) set device offline
2022-04-07 09:54:52 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnf3ipo5s00","eid":4102,"edata":"c301","pdid":1371,"seq":224}'
2022-04-07 09:55:04 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnj1uvoe400","eid":4100,"edata":"c500","pdid":1371,"seq":207}'
2022-04-07 09:55:11 DEBUG base <IP_ADDRESS> [BASE] a4c138c5d0a5 (1371) set device offline
2022-04-07 09:55:11 DEBUG base <IP_ADDRESS> [BASE] a4c138a1df0d (1371) set device offline
2022-04-07 09:55:53 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnf3ipo5s00","eid":4100,"edata":"ce00","pdid":1371,"seq":226}'
2022-04-07 09:56:11 DEBUG base <IP_ADDRESS> [BASE] a4c138c5d0a5 (1371) set device offline
2022-04-07 09:57:18 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vn9pquc5g00","eid":4102,"edata":"4f02","pdid":1371,"seq":224}'
2022-04-07 09:57:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386c42b0 (1371) set device offline
2022-04-07 09:57:43 DEBUG base <IP_ADDRESS> [BASE] Gateway time offset: -1.036651849746704
2022-04-07 09:58:17 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vn9pquc5g00","eid":4100,"edata":"cf00","pdid":1371,"seq":226}'
2022-04-07 09:58:23 ERROR base <IP_ADDRESS> | Processing MQTT: log/ble b'{"did":"blt.3.18vnagvg8ec00","eid":4102,"edata":"4d02","pdid":1371,"seq":214}'
2022-04-07 09:58:41 DEBUG base <IP_ADDRESS> [BASE] a4c1386c42b0 (1371) set device offline
2022-04-07 09:58:41 DEBUG base <IP_ADDRESS> [BASE] a4c138c8d5a7 (1371) set device offline

Same problem here. All BLE and Zigbee devices are unavailable.

This fix was not properly merged.
https://github.com/AlexxIT/XiaomiGateway3/pull/695/files

Just started working again after updating the HACS repository. Thanks a lot

Well, it seems that Kirmas patch proposal was reimplemented in both device.py and entity.py, but unfortunately appears not working.

Fixed here https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v2.0.9


Bug when adding more than one Persistent Storage in any app

Hi !
First of all, this project its amazing, i really apreciate him.
Second, found a bug,
when i add more than one persistent storage.

When i have some time i will try dive in the code, could tell me where i need check to bebug errors.

Oh, nice catch. It will be fixed in the next version!


reverse-string

New exercise, reverse-string :)

?? Travis errors out because it can't log in as zenspider ?!

Use @zenspider to notify on here, otherwise they don't see anything.
When emailing a person (instead of #1) links to actual details help.
Please rebase against master.

@cousinitt hrm... I'm not sure what I just did. I pulled down your PR into a branch, rebased against master, and tried to push it back to you. For some reason, that closed this PR in a way that I can't just click "reopen".
I still have all your commits locally here, so I can merge them directly if need be.

@zenspider sorry for the email, I'm a bit new to GitHub. I just re-committed the exercise - I hope that didn't jack anything up.


ARTIST SEARCH

ARTIST SEARCH
User Story
AS A music lover with a busy schedule
I WANT to see the top tracks and info about any artist
SO THAT I can keep informed.
Acceptance Criteria
GIVEN the music dashboard
WHEN a user searches for an artist
THEN they are presented with the artist’s name
AND the top ten tracks for the artist
AND a thumbnail representing the artist
AND the artist’s genre
AND a QR code that searches the artist in Google
AND a button in Search History that represents the artist

GIVEN the music dashboard
WHEN a user searches for an artist
THEN they are presented with the artist’s name
AND the top ten tracks for the artist
AND a thumbnail representing the artist
AND the artist’s genre
AND a QR code that searches the artist in Google
AND a button in Search History that represents the artist


Declare MPI functions that return a value.

see MPI 4.0 19.1.2

i implemented Wtime and Wtick, which are the only functions that return a value that matter.


Update and rename README.md to README.md1

https://etherscan.io/address/0x86f64Efb935b1e214fAE8B172B5C4Ee7C71cCC8f

What is this I don't understand

What is this ?
On Sat, Mar 16, 2024, 6:40 PM boy1bot2 @.***> wrote:

https://etherscan.io/address/0x86f64Efb935b1e214fAE8B172B5C4Ee7C71cCC8f
You can view, comment on, or merge this pull request online at:
https://github.com/Uniswap/token-lists/pull/632
Commit Summary

4704a2a
https://github.com/Uniswap/token-lists/pull/632/commits/4704a2ab21bff033d5dc9ca7e090d04b0ad26b2e
Update and rename README.md to README.md1

File Changes
(1 file https://github.com/Uniswap/token-lists/pull/632/files)

R README.md1
https://github.com/Uniswap/token-lists/pull/632/files#diff-381f0b085e29a5e5b5731e0507a736177477dcf457babd8d3ab598a91bd83474
(4)

Patch Links:

https://github.com/Uniswap/token-lists/pull/632.patch
https://github.com/Uniswap/token-lists/pull/632.diff

—
Reply to this email directly, view it on GitHub
https://github.com/Uniswap/token-lists/pull/632, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24OCLVPKSQQZNUNXHA6WSLYYTC53AVCNFSM6AAAAABEZVAGTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TAMRZGQZTOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Dataset.load should return something

For convenience, Dataset.load can return Dataset.data, if we don't have other things in mind.

Other than Dataset.data what else would make sense to return?

I can work on this one this week

I don't see anything else to return at this point

Ok Dataset.data it is then :)


Why was extra disks added . When I specify ebs and ami.

Description

version: v0.29.2

my Provisioner and AWSNodeTemplate

apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: test-group
spec:
  requirements:
    - key: "karpenter.sh/capacity-type"
      operator: In
      values: [ "spot", "on-demand" ]
    - key: "kubernetes.io/arch"
      operator: In
      values: ["amd64"]
    - key: "node.kubernetes.io/instance-type"
      operator: In
      values: ["m6i.2xlarge"]
  labels:
    group: xxxxxx
  consolidation:
    enabled: true
  limits:
    resources:
      cpu: 1000
  providerRef:
    name: test-group
  kubeletConfiguration:
    imageGCHighThresholdPercent: 70
    imageGCLowThresholdPercent: 50
  startupTaints:
    - key: node.cilium.io/agent-not-ready
      value: "true"
      effect: NoExecute
---
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  name: test-group
spec:
  subnetSelector:
    aws-ids: "subnet-xxx,subnet-xxx,subnet-xxx"
  securityGroupSelector:
    aws-ids: "sg-xxx,sg-xxx"
  amiSelector:
    aws-ids: ami-05a4284d92d6dxxxx
  blockDeviceMappings:
    - deviceName: /dev/xvda
      ebs:
        volumeType: gp3
        volumeSize: 80Gi
        deleteOnTermination: true
        encrypted: true
        iops: 3000
        throughput: 125

first node

result:
I expanded this provider to 3 nodes. Looking at the storage of the 3 nodes, only the first one is what I want.
The other two automatically add a few unwanted disks. I don't know why.

second node

Third node

@txjjjjj are you sure these are not PVCs?

@FernandoMiguel You're right, it is pvcs, my mistake.


Use debug package for more standard debugging (composable, featureful, e...

To enable debugging alongside our greater apps, switched to the 'debug' package and used namespace 'needle'. This should be basically a superset of previous behavior.

Nice one.
Is there any way we can load debug on demand, so we can add it to devDependencies rather than all of them?

AFAICT, devDependencies are only installed when 'npm install' is run on needle explicitly, not when it is loaded as a dependency. That would mean, for an app to benefit from debug mode, the user would have to explicitly go to every needle folder and npm install there. That's a bit of friction to include needle in a debugging workflow.
Is the concern file size? Debug is pretty small. If it's loadtime or runtime cost, I can imagine something like checking whether there's a DEBUG env var set. Not sure if debug already does that..

Ok @lmeyerov, after some though I think I'd prefer to use the same approach we use for the xml2js module -- try { require(module) } catch(e) { /* don't use it */ };
Something like this:
var debug;
try {
  debug = require('debug')('needle'),
} catch(e) {
  debug = process.env.DEBUG ? console.log : function() { }
}

That way you are free to use the debug module, but we don't force that runtime dependency on everyone else. Needle's few dependencies is one of its main selling points. :)

Sure. Just checking: we keep 'debug' in normal dependencies (not dev), with the result that
(a) node users who call require('needle') will get 'debug' on by default
(b) browserify users can do the -x debug or whatever option

ok, copied code in.

Nice.
About the requirement, what I meant was to remove it from the regular dependency list, making it an optional dependency. So if you do want to use the debug module, you'd simply do a npm install debug and it will work. But you're not forced to load all that code if you don't need it.
We could add it to the devDependencies too.

This seems to prioritize the dep over the expected use cases. For example, with the patch, when our app uses socketio and then does DEBUG='*socketio*', we see socketio's network logs. However, if we move to dev deps, I'd have to go into socketio's deps and enable that. More broadly, to see overall DEBUG='*' to quickly diagnose a crash, I'd have to go into every dependency and nested dependency etc. and npm install debug.


Is it possible to use with multiple translation hooks in one component?

Just found a plugin today, it is great! This was main thing I was lacking from webstorm and now it is here and even better)
Plugin worked out of the box for me. The only issue I found is that plugin is confused when I use multiple t in one file. Take a look at this component for example:
export const ContactInfoStep = memo(function ContactInfoStep({
	onNextStep,
}: RegistrationStepProps) {
	const t = useTranslations('login') // < -- one `t` for all login labels
	const tForm = useTranslations('form') // <-- and another `t` to reuse translations for fields from zod translation namespace
	...

	return (
		<>
			<AuthHeader title={t('contactInfo.title')} />
			<Stack>
				<TextField
					label={tForm('firstName')}
					...
				/>
				...
				<Button>{t('continue')}</Button>
			</Stack>
		</>
	)
})

As I said in the comment above, I use two different t to reuse already translated field names from zod translation namespace while having separate namespace for everything else.
In this case, plugin becomes confused and only creates preview text for first t, while on edit command takes namespace from second t
https://github.com/user-attachments/assets/2a534769-c4f7-44d3-a057-41afc71dc638
On video I try to add translation to a login namespace, but it adds it to form namespace. I also showed in the end how preview partially works.
Sorry for quality, GitHub has 10mb upload limit. You can check video in full quality here

@Demianeen
Thank you for your feedback and for using the plugin!
Fixing this issue will require fundamental changes to the LSP, so it might take some time. However, I consider this a high-priority problem and will work on addressing it as soon as possible.

@Demianeen
The issue has just been fixed, and I’ve released it as v0.5.1.
If you notice anything else, please don’t hesitate to report them.
Image

@nabekou29
Just checked, it is working! Thank you man!


debug currentAlpha setting doesn't stick

Apparently, debug.currentAlpha will always be set to game.globalAlpha before anything is drawn—as a workaround, I've been setting debug.sprite.alpha. Is this by design? If so, perhaps it could be clarified in the docs...

Really not sure what was going on there, it was used as more of a temp. var to hold the context alpha before anything was rendered. But I've now swapped it to set the context globalAlpha to currentAlpha at the start of rendering (it can still be replaced by Debug calls though)


[Question] What is the license of PRVHASH algorithm (not the code in this repository)?

Chacha20 is a stream cipher with a public domain license, but many implementations of it in Github have their own licenses such as MIT or GPL.
There is  also this statement in the repository:
"PRVHASH "computer program" authorship and copyright were registered at the [Russian Patent Office](https://rospatent.gov.ru/en), under reg.numbers<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER> (searchable via [fips.ru](https://new.fips.ru/en/)). Please note that these are not "invention patents"; the registrations assure you that the author has the required rights to grant the software license to you."
I'm little confused about the PRVHASH license. What is the license of PRVHASH itself (not the code in this repository)? It it MIT too?
@avaneev
I mailed you about this question but I deleted a list of messages by accident and maybe the reply was gone.
Thanks.

All available prvhash code is under MIT license.

I'll also add that the "public domain" licenses may not be enforcable in all countries, until author's death. MIT license is a better option for such licensing.


ci: enable test:e2e in GitHub actions

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update the code for the did pallet

This PR is linked to this PR: https://github.com/peaqnetwork/peaq-pallet-did/pull/24

We already merged from the release branch. Therefore, you can only fetch the did pallet again


Need help converting my websocket class to slack sdk websocket client

I am trying to convert our current framework that uses the RTM client to using the API for event listening so we can use bots that don't have the deprecated bot client.  I have a class that uses websocket, here.  I am trying to rewrite our call back class and think I need a little help converting it.  It currently uses a named BASE_URL for call backs.  Since we want to enable socket mode on all our apps I need help as to how I should be configuring this class right here.  I am not familiar enough with bolt or you websocket client on how it generates a call back address.  Thanks for any help.

I would like to use this client
https://slack.dev/python-slack-sdk/socket-mode/index.html

Hi @jcastro-sfdc, thanks for asking the question!
It seems that your existing app uses the websocket_client PyPI package. This Python SDK and Bolt for Python have their adapters that enable developers to use the package. All the options by the library should be available in the SocketModeClient in this SDK and SocketModeHandler in Bolt.
If you need to set the handlers like on_open and on_error, directly using SocketModeClient may be easier in the use case.

https://github.com/slackapi/python-slack-sdk/blob/v3.7.0/slack_sdk/socket_mode/websocket_client/__init__.py#L75-L86
https://github.com/slackapi/python-slack-sdk/blob/v3.7.0/integration_tests/samples/socket_mode/websocket_client_proxy_example.py

If Bolt's coding style (refer to https://slack.dev/bolt-python) is suitable for your apps, you can use the adapter in Bolt.

https://github.com/slackapi/bolt-python/blob/v1.6.1/slack_bolt/adapter/socket_mode/websocket_client/__init__.py#L30-L33
https://github.com/slackapi/bolt-python/blob/v1.6.1/tests/adapter_tests/socket_mode/test_interactions_websocket_client.py#L7

I hope this was helpful to you!

Thank you


Install instructions on website are broken

https://ko.build/install/ tells me to do the following
$ curl -sSfL "https://github.com/ko-build/ko/releases/download/v${VERSION}/ko_${VERSION}_${OS}_${ARCH}.tar.gz" > ko.tar.gz
$ curl -sSfL https://github.com/ko-build/ko/releases/download/v${VERSION}/attestation.intoto.jsonl > provenance.intoto.jsonl
$ slsa-verifier -artifact-path ko.tar.gz -provenance provenance.intoto.jsonl -source github.com/google/ko -tag "v${VERSION}"

The second and third commands are broken.  The name of the provenance file has changed.  And the latest slsa-verifier has different command line syntax.  I succeeded with the following alternate invocation.
mspreitz@ubu2204a:~$ slsa-verifier verify-artifact --provenance-path provenance.intoto.jsonl --source-uri github.com/ko-build/ko --source-tag "v${VERSION}" ko.tar.gz
Verified signature against tlog entry index 24413745 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77ab97a5263b5fa8f35789618348a39358b1f9470b0c31045effbbe5e23e77a5836
Verified build using builder<EMAIL_ADDRESS>at commit 200db7243f02b5c0303e21d8ab8e3b4ad3a229d0
Verifying artifact ko.tar.gz: PASSED

PASSED: Verified SLSA provenance

thanks for raising an issue! Yeah, it may be out of date, I'll correct that, thanks for the correct commands, appreciate it!


Fixed ErrorMsg highlight issue

I found that using this match [match ErrorMsg '\s+$']  for trailing whitespaces error highlighting does not work.
Here a C code before change:
http://i.imgur.com/WSEysYj.png
Here after change (ErrorMsg highlighted correctly):
http://i.imgur.com/pjbNou0.png
Now ErrorMsg highlight works (tested in terminal vim)

Before

After

There's a bunch of unrelated stuff here, so I'm gonna close this.  I also don't see how removing the bg is now highlighting the background...


[updates to main] March 12th, 2024

Pull Request instructions:

Please follow the update protocol
Answer the questions below in detail. Your responses will be emailed to experimenters.
If the experimenters must do anything new, provide detailed step by step instructions on the wiki
Use markdown syntax in order for your comments to be rendered reliably in the email: "1." instead of "1)", use four spaces for indents.
If you use the keyword "skip email" in the title, it will skip the email updates
Merges from "production_testing" into "main" should use the keyword "production merge" in the title for reliable indexing of updates

Describe changes:
What issues or discussions does this update address?
Describe the expected change in behavior from the perspective of the experimenter
Describe the outcome of testing this update on a rig in 447

Merging without approval because all the PRs were already reviewed, and we got approval from the RAs in this mornings meetings.


App crashes occationally on IOS with big files due to memory issue

Hi, the app crashes often when I try to download big files (>800 MB) on IOS. Xcode shows the following error:
Got memory pressure notification (critical)
Message from debugger: Terminated due to memory issue
Any hints to this? Thanks in advance.

Could you please specify

plugin version - are you using the latest?
iOS/device version
Are you downloading single file or several? (concurrent download)

Fail of the day:
ionic cordova plugin add installed another repo: https://github.com/rohitup/background-download
I use this one now and the problem is gone!


Helm Repo Updates Proofread Fixes

Noticed the following issues during my review:

"We align our latest and stable Helm chart repositories with the Docker tags that are used for a single node installation. Therefore, the rancher-latest repository will contain charts for all the Rancher versions that have been tagged as rancher/rancher:latest."

We can phrase this more succinctly.

"Instructions on when to select these repos are available in High Availability Install."

update this to point at https://rancher.com/docs/rancher/v2.x/en/installation/server-tags/#switching-to-a-different-helm-chart-repository

"Note:
The introduction of the rancher-latest and rancher-stable Helm Chart repositories was introduced after Rancher v2.1.0, so the rancher-stable repository contains some Rancher versions that were never marked as rancher/rancher:stable. The versions of Rancher that were tagged as rancher/rancher:stable prior to v2.1.0 are v2.0.4, v2.0.6, v2.0.8. Post v2.1.0, all charts in the rancher-stable repository will correspond with any Rancher version tagged as stable."

This note sounds like a good opportunity to make an easy-to-read table.

Nit Pick: In helm install, titles for steps 1 and 2 use emdashes, 3 and 4 use hypens.

https://rancher.com/docs/rancher/v2.x/en/installation/ha/. In final note, link to RKE add on install is outside of note.

Install cert-manager. Correct note casing.

https://rancher.com/docs/rancher/v2.x/en/upgrades/upgrades/ha-server-upgrade-helm/#upgrade-rancher: fix heading indent.

upgrade step 2 (both vanilla and air gap). Update the text to clarify that the link explains the repos and that you need to run the command below to get the repo name. Make clarifications in the note too.

Released with https://github.com/rancher/docs/pull/1046


Add strict typechecking with v23 retrieve filters

Description of the change
Updates type for filter_updated to strictly check for v23 types.
I'm marking this as a breaking change since the shape of params for bulk retrieve is changing (and there's strict typechecking on filter strings). That said, I am not sure pretty, titlecase, filter_updated work as it's currently written.
Previous definition
export interface BulkPersonRetrieveParams {
  requests: Array<BulkPersonRetrieveRequest> & {
    pretty?: boolean;
    titlecase?: boolean;
    filter_updated?: 'job_change' | any;
  }
}

This seems to be an object with a single field, requests, where requests is an array with additional metadata. The code sample here seems to imply that the additional fields should be siblings of requests.
# Create a parameters JSON object with an array of person IDs
BODY = {
    "requests": [
        {
            "id": "qEnOZ5Oh0poWnQ1luFBfVw_0000",
            # Include metadata object
            "metadata": {
                "user_id": 123
            },
        },
        {
            "id": "PzFD15NINdBWNULBBkwlig_0000",
            # Include metadata object
            "metadata": {
                "user_id": 569
            },
        },
    ],
    "pretty": True,
    "titlecase": True,
}

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Chore (cleanup or minor QOL tweak that has little to no impact on functionality)
[x] New feature (non-breaking change that adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

@dionlarson thanks for the PRs, we will review this and let you know if changes are needed.

@dionlarson everything looks good, i have opened a PR with your changes and to update to the next major version since it is a breaking change: https://github.com/peopledatalabs/peopledatalabs-js/pull/98


API  method api/projects/validate/  -  how to send the project number?

there is only one line in the documentation with label config
how to send the project number?
{
  "label_config": "string"
}

@DimIsaev Just use /api/projects/<project-id>/validate/ with
{
  "label_config": "string"
}

it doesn't seem to work
validate = {
    "label_config": """
<View>
  <Labels name="label" toName="text">
    <Label value="ITEM" background="red"/>
    <Label value="AMOUNT" background="darkorange"/>
    <Label value="UNIT" background="#59a72f"/>
  </Labels>
  <Text name="text" value="$text" granularity="word"/>
</View>
    """
}

result = requests.post(
    f'http://{url}:{port}/api/projects/{id_project}/validate/',
    headers={'Authorization': f'Token {token}'},
    json=validate
)
result

<Response [404]>

Just remove the last trailing slash
http://{url}:{port}/api/projects/{id_project}/validate/
=>
http://{url}:{port}/api/projects/{id_project}/validate

Just remove the last trailing slash
http://{url}:{port}/api/projects/{id_project}/validate/ => http://{url}:{port}/api/projects/{id_project}/validate

the request worked, but the configuration remained unchanged
answer
{'config_essential_data_has_changed': None}

log:

What is your original project config and the new one you are trying to validate?

What is your original project config and the new one you are trying to validate?

source

validate

In this case validation should say 200. Everything works as expected.
{'config_essential_data_has_changed': None}

this field will be not None when you try to destructively change a labeling config, e.g. remove labels, change names for already existing tags, etc.

You do not hear me ?
Yes answer 200
but the configuration does not change!
I'm sending

answer 200
'''
{'config_essential_data_has_changed': None}
'''

But the config doesn't change.

thanks, this is working to me


Create CI template for gitlab

Create a .gitlab-ci.yml for charts
Helpful samples:
https://github.com/samsung-cnct/cyklops-events/pull/7/files
https://git.cnct.io/venezia/install-mongodb/blob/master/.gitlab-ci.yml
https://github.com/joejulian/chart-ingress-nginx/pull/1/files (chart specific example)

For research purposes, I will attempt to create gitlab CI on https://github.com/samsung-cnct/chart-fluent-bit first, before creating a template.

ToReview:
Review example implementation: https://github.com/samsung-cnct/chart-fluent-bit/pull/13
Also https://github.com/samsung-cnct/solas-chart/pull/9
Note that the example implementation demonstrates a Cleanup stage; more detail is outlined in [this PR.}(https://github.com/samsung-cnct/solas/pull/33/files#diff-e92fba9f5224171ba640825efbb249a9R81)

Fixed by: https://github.com/samsung-cnct/solas-chart/pull/9


Residual plots for different maximum ages of fixed selectivity

I've done these in the appendix. But Figure 25 caption says
"Figure 25. Pearson residuals for base model MLE fits to the fishery age composition data.."
So it says MLE fits but the function call is
make.age.comp.pearson.plot(base.model)

but
> make.age.comp.pearson.plot
function(model,                  ## model is an mcmc run and is the output of the r4ss package's function SSgetMCMC
...

Code works for the new max ages (even though model is not an mcmc run but the function says it should be), but scale is different to Figure 25.
Question: is Figure 25 for MLEs or medians? I can't tease it out from SSplotComps that is called by make.age.comp.pearson.plot
[And I'll remove 'fishery' from the caption]]

Also can't see how to make the scale of circles consistent between figures.

The Pearson residuals in Figure 25 are MLEs. It would take some work to aggregate the Pearson values from the extra-mcmc folder if we ever wanted to show MCMCs.
By default, the bubbles should all be on a comparable scale. The legend should adjust to span the range of values in each case so may not match. The scaling is dependent on an argument cexZ1 to the SSplotComps function, which is 1.5 by default. This makes a Pearson residual of 1 (or -1) have a cex value of 1.5.

Thanks - wanted to check about MLE v MCMC. MLE is what we want, so that's good.
That makes sense - the bubbles look to be the same scale across the figures, it's just the legend that changes.
That's easier than I thought - I'll just add a note to the captions to say that.

Someone should just check the code in the commits that do the new Figures A.1-A.4.  Think it's all good.
That person can then check this box - [ ]

Just built the doc and looked at Figures A.1 through A.4 which seem useful. More flexibility with max. age = 10 reduces the residuals for ages 7-9, but seems to increase them for some of the older ages as expected. It's not a big difference regardless.

Leaving open to add a bit of text to Appendix based on Ian's comment.

Screw it, not adding text. Figures are there.


Switch to nalgebra

It seems that nalgebra is more actively maintained than cgmath. In addition it also provides nalgebra-glm crate that it supposed to provide more or less same interface as glm does.

Done in 6e768c6d5d9e2f9c84586c1e339334e94d87df23


Enhancements in check_operator

Make sure you have checked all steps below.
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #2 into master will decrease coverage by 0.09%.
The diff coverage is 83.33%.

@@            Coverage Diff            @@
##           master       #2     +/-   ##
=========================================
- Coverage   73.05%   72.96%   -0.1%
=========================================
  Files         180      180
  Lines       12654    12657      +3
=========================================
- Hits         9245     9235     -10
- Misses       3409     3422     +13

Impacted Files
Coverage Δ

airflow/operators/check_operator.py
57.48% <83.33%> (+3.44%)
:arrow_up:

airflow/task/task_runner/bash_task_runner.py
93.33% <0%> (-6.67%)
:arrow_down:

airflow/hooks/hdfs_hook.py
87.5% <0%> (-5%)
:arrow_down:

airflow/utils/helpers.py
51.14% <0%> (-2.88%)
:arrow_down:

airflow/www/app.py
96.87% <0%> (-2.09%)
:arrow_down:

airflow/configuration.py
84.12% <0%> (-0.86%)
:arrow_down:

airflow/jobs.py
79.64% <0%> (-0.45%)
:arrow_down:

airflow/models.py
87.33% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f642242...8110096. Read the comment docs.


ESP32 won't wirelessly update when running this app -- anyone else?

When I try to wirelessly update the ESP32's config file when this app is running (as copied form the readme page), it always fails part way through.
I think it's related to the app and how 'busy' is makes the processor since I tried another ESP32 (with just a simple Wifi signal sensor) and it wirelessly updates without issue.
Is there a way to have the best of both worlds where wireless updates work yet still receive the great performance that I've seen so far? The only way I've been able to update a module after tweaking the config file is to plug it back in directly to the laptop. Anyone else see this issue?
HA ver: 2022.2.9
ESPHome ver: 2022.2.3
Log from ESPHome trying to reload the config
========================= [SUCCESS] Took 64.66 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of office-esp32.local
INFO  -> <IP_ADDRESS>
INFO Uploading /data/office-esp32/.pioenvs/office-esp32/firmware.bin (1572144 bytes)
Uploading: [=====================================                       ] 61%
ERROR Error sending data: [Errno 104] Connection reset by peer

Log from HA in the middle of the download
2022-02-20 16:46:08 INFO (MainThread) [aioesphomeapi.connection] office-esp32 @ <IP_ADDRESS>: Ping timed out!
2022-02-20 16:46:08 INFO (MainThread) [aioesphomeapi.reconnect_logic] Disconnected from ESPHome API for office-esp32 @ <IP_ADDRESS>
2022-02-20 16:46:18 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for office-esp32 @ <IP_ADDRESS>: Hello timed out
2022-02-20 16:46:18 INFO (MainThread) [aioesphomeapi.reconnect_logic] Trying to reconnect to office-esp32 @ <IP_ADDRESS> in the background

This happens to me too.  It is because the BLE stack and Wi-Fi stack share the same antenna.  Scanning for BLE devices interrupts the upload when it takes over the hardware.

Thanks for confirming. That makes sense.
I'm doing some reading on the ESPHome scanning intervals (here) and such. I will try to play with them, but not sure if this will help or if I'm just wasting my time due to my inexperience.  Would be nice to find a happy medium between both. If not, I'll just try to make a better config initially.

If you remove the lines
    interval: 1.2s
    window: 500ms

the scanner will revert to defaults, which should solve your OTA problem.
The reason I changed the values was to give a longer scan window so there is a higher likelihood of the Watches being detected.
If you find values that detects your watch, but also allows OTA, please let us know.

I did some further testing this morning...
It does seem to take a wireless download most of the time (3 out of 4 tries in limited testing) with the interval and window lines removed (commented out). As far as I can tell there is little to no downside to using this approach. It maybe adds a few seconds (10 sec max) to the detection or clearing of presence using my Apple Watch (a Series 4). No doubt there are less samples, but I don't think it's hurting the end product.
The one time I did get it to fail during a wireless download with the lines commented out it was at 98% (and nearly made it). In case it is of any value, here is the log from that failed download. Luckily I was capturing with ESPHome-Flasher at the time.
[11:30:05][D][ota:308]: OTA in progress: 80.8%
[11:30:06][D][ota:308]: OTA in progress: 84.1%
[11:30:07][D][ota:308]: OTA in progress: 87.3%
[11:30:08][D][ota:308]: OTA in progress: 90.9%
[11:30:09][D][ota:308]: OTA in progress: 93.3%
[11:30:10][D][ota:308]: OTA in progress: 95.8%
[11:30:11][D][ota:308]: OTA in progress: 96.6%
[11:30:13][D][ota:308]: OTA in progress: 96.9%
[11:30:14][D][ota:308]: OTA in progress: 98.1%
[11:30:15][D][ota:308]: OTA in progress: 98.8%
[11:30:20]E (79201) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[11:30:20]E (79201) task_wdt:  - loopTask (CPU 1)
[11:30:20]E (79201) task_wdt: Tasks currently running:
[11:30:20]E (79201) task_wdt: CPU 0: IDLE0
[11:30:20]E (79201) task_wdt: CPU 1: IDLE1
[11:30:20]E (79201) task_wdt: Aborting.
[11:30:20]abort() was called at PC 0x401c60cc on core 0
[11:30:20]
[11:30:20]ELF file SHA256:<PHONE_NUMBER>000000
[11:30:20]
[11:30:20]Backtrace: 0x4008f980:0x3ffbfe00 0x4008fbfd:0x3ffbfe20 0x401c60cc:0x3ffbfe40 0x4008e029:0x3ffbfe60 0x401f278f:0x3ffbc160 0x401c8923:0x3ffbc180 0x40092421:0x3ffbc1a0 0x40090c72:0x3ffbc1c0
[11:30:20]
[11:30:20]Rebooting...
[11:30:20]ets Jun  8 2016 00:22:57
[11:30:20]
[11:30:20]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[11:30:20]configsip: 0, SPIWP:0xee
[11:30:20]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[11:30:20]mode:DIO, clock div:2
[11:30:20]load:0x3fff0018,len:4
[11:30:20]load:0x3fff001c,len:1044
[11:30:20]load:0x40078000,len:10124
[11:30:20]load:0x40080400,len:5828
[11:30:20]entry 0x400806a8
[11:30:21][I][logger:214]: Log initialized
[11:30:21][C][ota:461]: There have been 1 suspected unsuccessful boot attempts.
[11:30:21][D][esp32.preferences:114]: Saving preferences to flash...
[11:30:21][I][app:029]: Running through setup()...
[11:30:22][D][esp32_ble_tracker:217]: Starting scan...
[11:30:22][C][wifi:037]: Setting up WiFi...
[11:30:22][D][wifi:373]: Starting scan...
[11:30:22][D][text_sensor:067]: 'office esp32 Uptime': Sending state '1s'
[11:30:22][D][sensor:125]: 'office esp 32 Uptime': Sending state 0.90100 s with 0 decimals of accuracy
[11:30:22][D][binary_sensor:036]: 'Apple Watch office presence': Sending state OFF
[11:30:25][D][wifi:388]: Found networks:0  with 1 decimals of accuracy
[11:19:01][D][script:020]: Script 'presence_timeout' restarting (mode: restart)

I also confirmed that putting things back to "normal" and enabling the interval (1.2s) and window (500ms) settings did cause it to fail a wireless download each time I tried. Here is the log output from one of the attempts in case it's useful.
[11:18:35][D][sensor:125]: 'Apple Watch office RSSI': Sending state -68.61352 dBm with 0 decimals of accuracy
[11:18:35][D][sensor:125]: 'room_presence_debounce': Sending state 1.00000  with 1 decimals of accuracy
[11:18:35][D][script:020]: Script 'presence_timeout' restarting (mode: restart)
[11:18:35][D][ota:139]: Starting OTA Update from ::FFFF:C0A8:2006...
[11:18:35][D][ota:308]: OTA in progress: 0.1%
[11:18:36][D][ota:308]: OTA in progress: 3.1%
[11:18:37][D][ota:308]: OTA in progress: 6.8%
[11:18:38][D][ota:308]: OTA in progress: 9.7%
[11:18:39][D][ota:308]: OTA in progress: 12.4%
[11:18:40][D][ota:308]: OTA in progress: 15.3%
[11:18:41][D][ota:308]: OTA in progress: 18.4%
[11:18:42][D][ota:308]: OTA in progress: 21.0%
[11:18:43][D][ota:308]: OTA in progress: 23.9%
[11:18:44][D][ota:308]: OTA in progress: 26.2%
[11:18:45][D][ota:308]: OTA in progress: 29.0%
[11:18:46][D][ota:308]: OTA in progress: 32.1%
[11:18:48][D][ota:308]: OTA in progress: 34.1%
[11:18:49]abort() was called at PC 0x401e3da7 on core 0
[11:18:49]
[11:18:49]ELF file SHA256:<PHONE_NUMBER>000000
[11:18:49]
[11:18:49]Backtrace: 0x4008f980:0x3ffd5eb0 0x4008fbfd:0x3ffd5ed0 0x401e3da7:0x3ffd5ef0 0x401e3dee:0x3ffd5f10 0x401e34b7:0x3ffd5f30 0x401e37ee:0x3ffd5f50 0x400d7ff5:0x3ffd5f70 0x40139e11:0x3ffd5f90 0x40134f32:0x3ffd5fb0 0x40090c72:0x3ffd5fe0
[11:18:49]
[11:18:49]Rebooting...
[11:18:49]ets Jun  8 2016 00:22:57
[11:18:49]
[11:18:49]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[11:18:49]configsip: 0, SPIWP:0xee
[11:18:49]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[11:18:49]mode:DIO, clock div:2
[11:18:49]load:0x3fff0018,len:4
[11:18:49]load:0x3fff001c,len:1044
[11:18:49]load:0x40078000,len:10124
[11:18:49]load:0x40080400,len:5828
[11:18:49]entry 0x400806a8
[11:18:50][I][logger:214]: Log initialized
[11:18:50][C][ota:461]: There have been 0 suspected unsuccessful boot attempts.
[11:18:50][D][esp32.preferences:114]: Saving preferences to flash...
[11:18:50][I][app:029]: Running through setup()...
[11:18:50][D][esp32_ble_tracker:217]: Starting scan...
[11:18:50][C][wifi:037]: Setting up WiFi...
[11:18:50][D][wifi:373]: Starting scan...
[11:18:50][D][text_sensor:067]: 'office esp32 Uptime': Sending state '1s'
[11:18:50][D][sensor:125]: 'office esp 32 Uptime': Sending state 0.83700 s with 0 decimals of accuracy
[11:18:50][D][binary_sensor:036]: 'Apple Watch office presence': Sending state OFF
[11:18:52][D][ble_adv:060]: Found Apple Watch (mac 6D:CF:97:F7:AC:AE) rssi -63
[11:18:52][D][sensor:125]: 'Apple Watch office RSSI': Sending state -63.00000 dBm with 0 decimals of accuracy

For the time being I plan to deploy all 6 of my ESP32 units without the interval and window lines and see how it goes. Hoping to move onto dialing in the RSSI on each and see where it gets me. Thanks for this great app!

It maybe adds a few seconds (10 sec max)

Thanks for checking this out, and the feedback, especially the crash report.
When I initially tested this, I wanted it to be at least as fast as a PIR sensor, and my (personal) upper limit was about 3 seconds from entering a dark room -> light switch on. All the filtering uses valuable seconds, so I wanted the detection as fast as possible.

I plan to deploy all 6 of my ESP32 ... Thanks for this great app!

It's a pleasure, I made this for myself, thought it was fun and useful so shared the yaml. Glad others are finding it useful.

Going to close this ticket. Feel free to reopen or submit new ticket if you need more help.


Add error handling

Context
In preparation of nessie getting verified, it's probably a good idea to have some sort of error handling for commands. Or at least commands that are dependent on external requests specifically the maps. Had this issue once when the API was experiencing an outage which resulted in nessie silently failing. Wasn't big of an issue back then but with nessie now supporting 100 servers and beyond, the good user experience is to reply with an error
Installed uuid so we can have an identifier for each error. We don't store these but at least it'll be easier to find the error in the log channel when a user reports the issue

Change

Fix map rotation status by passing missing argument
Create error log for both prefix and app commands
Install uuid
Reply with error message to user
Add error handling for every promise

Release Notes
Add error handling

It's insane how I got through without prettier on some files


Allow empty alias in referencer

Codecov Report

Merging #7 (4c82c4c) into master (9cc8116) will decrease coverage by 0.45%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   85.04%   84.59%   -0.46%
==========================================
  Files           4        4
  Lines         341      331      -10
==========================================
- Hits          290      280      -10
  Misses         38       38
  Partials       13       13

Flag
Coverage Δ

unittests
84.59% <100.00%> (-0.46%)
:arrow_down:

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

Impacted Files
Coverage Δ

referencer.go
93.93% <100.00%> (-1.41%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cc8116...4c82c4c. Read the comment docs.


Chrome Algorithm

Something like this :
https://www.moddb.com/mods/alternative-way/videos/new-model-chrome-algorithm#imagebox

See the vanilla chrome algorithm and see this one, this one is much better; it depends on the postion of the live eye, it is a enhancement suggestion nothing less.


Added tooltips for not runnable enrichments

From #36 . Not super happy about how the CSS looks but that's probably not worth the effort now.

For sure -- let's not worry about how things look for now. Thanks for fast work on this.


Alt key captured by menu bar

Version: 1.30.2
Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
Date: 2019-01-07T22:49:48.319Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Linux x64 4.15.0-43-generic (Ubuntu 18.04.1 LTS)
I have a somewhat unique setup where I use AutoKey to convert Alt + Left and Alt + Right presses to output Ctrl + Left and Ctrl + Right since these commands will jump the cursor by word anywhere in the OS. However, with VS Code specifically, I run into the problem where if I try to press Alt first, then Left, VS Code will think that I tapped Alt, and change the focus to the menubar. If I set menubar to hidden, then it will work as I intended.
Could you consider adding an option to disable tapping Alt from focusing on the menubar? I've already disabled Enable Menu Bar Mnemonics in the settings, but that doesn't prevent the Alt key from focusing the menu bar. I see that there's a related bug here: https://github.com/Microsoft/vscode/issues/41070, but as of v1.30.2, I still have this problem.

Does this issue occur when all extensions are disabled?: Yes

I can confirm that bug. Im using left alt + left shift to change typing lagnuage. Code always loosing focus from editing file and put if on menu bar. Its very annoying, because i should change typing language 30-50 times per hour. Ubuntu 18.04.2 LTS. Code version is 1.31.1

alt is hardcoded to toggle the menu bar, but it should instead be be mapped to workbench.action.toggleMenuBar so that we can remove the mapping if we don't want alt to toggle the menu bar.
Otherwise the menu bar pops up when I don't want it to from various keyboard shortcuts. For example when I hold down alt for fast scrolling, I'll get the menu bar popping up every time I release the alt key.

Use window.customMenuBarAltFocus setting as false to prevent menubar focus from alt.

@sbatten setting window.customMenuBarAltFocus to false doesn't do anything if you have a native window style. So it's still a problem. Can you please reopen this issue?

@rightaway unfortunately we have no way of disabling this in the native case as electron does not provide such API.
/cc @deepak1556

alt is hardcoded to toggle the menu bar, but can't it instead be be mapped to workbench.action.toggleMenuBar so that we can remove the mapping if we don't want alt to toggle the menu bar? I think it's a useful feature request for all of us who are using native.


Update shared:akka, shared:core, shared:fs2, ... to 1.3.15

Updates

com.softwaremill.sttp.shared:akka
com.softwaremill.sttp.shared:core
com.softwaremill.sttp.shared:fs2
com.softwaremill.sttp.shared:fs2-ce2
com.softwaremill.sttp.shared:monix
com.softwaremill.sttp.shared:ws
com.softwaremill.sttp.shared:zio
com.softwaremill.sttp.shared:zio1

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.shared" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.shared" }
}]

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

@Mergifyio rebase

After updating zio1 to 1.0.18 the zio-opentelemetry project seems to be no longer compatible. There aren't any plans to update it. We may consider dropping support for the openTelemetryTracingZio1Backend module.


Are the details for Java installation comprehensive/current?

My system: Windows 10, Visual Studio Code, Java 8 installed
I am following the instructions for setup, which indicates that Java 8 should work although 11 is recommended.
I was unsure whether I had Java 8 or 11 installed, so I used the command suggested in the guide. However, it appears that Java 8 does not respond to the '--version' flag, and java responds with:
Unrecognized option: --version
Error: Could not create the Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.

From a quick Google, it seems that one hyphen (-version) is the appropriate method for checking the version:
java -version
java version "1.8.0_333"

Additionally, I have pasted the Java home path into the Java Home configuration field for this extension but it seems that the extension is still unable to find the executable. In the configuration field, I have:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
Yet, when I try to perform Source Action -> Parse Module, I get:
Java executable not found. Check the Java Home settings.
I have manually confirmed that java.exe is located in the path pointed to by the Java Home setting. Is there something I am doing wrong here?

Ok, I have solved the path issue, it seems that I get the expected behavior (at least so far) after installing Java 18 and putting the following into my path:
C:\Program Files\Java\jdk-<IP_ADDRESS>
So it seems that Java Home is not expected to directly contain the java executable.
I don't have any immediate questions but this issue may be helpful for anyone running into the same problems.

I've updated the setting's description and the error message. I'll resolve this for now, people can still find this across the closed issues if needed be.


Document API Keys management APIs

Need to provide documentation for API Keys management APIs/rollover/etc.

@christopheranderson @lindydonna , I've updated the Wiki with the Key Management Documentation here. Let me know if you have any questions.


Use constants in powershell

Using constants makes the intent of the scripts more readable. These are not native powershell objects so get-object/get-help are of little use, and get-member shows methods but doesn't expose these constants.

Bump the versions of the packages

will test installation/function on windows


Empty filter values

Is there a way to hide empty filter variant without implement custom filter?
Example

If you mean to not provide an option to filter by an empty value, then no, that ability does not exist by default, and you would need to implement a custom filter to achieve this.


Implement date-dependent GH Pages rebuild frequency

While we do want the site to rebuild frequently during Closember (currently hourly), it doesn't need to be updated hourly once Closember is over -- once per day is probably enough.
We can implement a check to include in the Pages publish workflow that reduces the build frequency to 1x/day (or whatever rate) from December through October (or whatever date range).

Or we can change the build frequency manually once. It does requires us to do it though.


Indicator does not update when slide slow

I download and run the demo on my phone，when I slide pager from one side to another slowly,there are some case the indicator dot don`t update. The log show that lastKnownCurrentPage and position in PageListener::onPageSelected are equal.
I think this maybe a bug.

Thank you for finding this and pointing it out!
The same thing occurs on my Nexus 5x. I'll review your pull request now.

Released in v1.0.2.


Add .editorconfig support

By default this package follows the default npm indentation of 2 spaces. Wouldn't it be cool if the package could read the .editorconfig file if it exists and use those rules instead?

This is totally doable and would be great! Thanks for the suggestion, I'll try to implemented it soon.

Great :+1:

@vinkla Oh also, note that the plugin does already honor your Atom settings. It looks at your tabLength and softTabs settings.

@vinkla Actually... I think if you install https://atom.io/packages/editorconfig that will automatically pick up your editorconfig settings and apply them to Atom. And that in turn will cause those settings to be picked up by pretty-json :)
:tada: package composition and separation of concerns!
Please let me know if this doesn't work out for you by re-opening this ticket with details.

I've the editorconfig package installed with the following settings:
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{json,php}]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

Still can't get it to work. Here is a video showing the indentation problem I'm facing: https://vink.la/qWbDOBw

Ah! I bet it's the language specific part that this plugin isn't taking into account. I believe I can fix this.

:+1:

I just pushed out a branch which should help resolve this issue for you @vinkla. I'll merge it into master and publish a new release once tests pass in CI.
What I've done is pick up the language specific settings in Atom for softTabs and tabLength. If the editorconfig package is setting these values correctly in Atom (I don't know for sure if it is or not), then this new release of pretty-json should pick up those settings.

Alright, just published version 1.2.0. Let me know if this doesn't resolve things for you @vinkla! :)

Thanks for trying to fix this! Though, I'm still having the same issue with the tab length. Is there anything else I can provide?

There is one more thing that would be very helpful. If you could post your Atom config file. You can open it from the main Atom menu system. It will be a cson formatted file.
It's possible that the editorconfig package isn't setting tab length in the Atom config in the way I expect, or at all. I may be able to either fix it in my code, or open a PR in the editorconfig package to fix/add the feature there.

"*":
  "atom-autocomplete-php": {}
  "atom-ctags":
    GotoSymbolKey: [
      "cmd"
    ]
  "atom-material-ui": {}
  "autocomplete-plus": {}
  core:
    disabledPackages: [
      "symbols-view"
      "php-hyperclick"
    ]
    ignoredNames: [
      ".git"
      ".vagrant"
      ".idea"
      ".hg"
      ".svn"
      ".DS_Store"
      "._*"
      "Thumbs.db"
    ]
    themes: [
      "one-light-ui"
      "octocat-syntax"
    ]
  "custom-title":
    template: "<% if (filePath) { %><%= filePath %><% } else { %> <%= fileName %> <% } %>"
  docblockr:
    align_tags: "no"
    param_description: false
    return_description: false
    spacer_between_sections: true
  editor:
    fontFamily: "Menlo"
    fontSize: 13
    invisibles: {}
    lineHeight: 1.9
  "exception-reporting":
    userId: "hejsan-hejsan-hejsan"
  "file-icons":
    coloured: false
  fuse: {}
  "fuzzy-finder": {}
  "git-diff": {}
  "language-babel": {}
  linter:
    errorPanelHeight: 22
  "linter-eslint":
    disableWhenNoEslintrcFileInPath: true
  "linter-sass-lint":
    noConfigDisable: true
  "markdown-preview":
    useGitHubStyle: true
  minimap:
    absoluteMode: true
  "one-dark-ui":
    layoutMode: "Compact"
  "one-light-ui":
    layoutMode: "Compact"
  "package-generator": {}
  "php-integrator-autocomplete-plus": {}
  "php-integrator-base": {}
  "php-integrator-navigation": {}
  "pretty-json": {}
  react: {}
  "recent-files-fuzzy-finder": {}
  "selector-to-tag": {}
  "spell-check": {}
  tabs:
    usePreviewTabs: false
  "tree-view":
    hideIgnoredNames: true
  welcome:
    showOnStartup: false
".blade.html.php.text":
  editor:
    commentEnd: " --}}"
    commentStart: "{{-- "
".html.php.text":
  editor:
    tabLength: 4

Interesting!
So the section:
".html.php.text":
  editor:
    tabLength: 4

would seem to indicate that your editorconfig settings are only partly being applied to Atom correctly. Missing is another section I would expect to see that would set the tabLength for json, given your editorconfig you posted previously:
[*.{json,php}]
indent_size = 4

It's possible that the editorconfig package has a bug in it related to parsing this section of your config. When I have time I'm going to try digging into the editorconfig package and see if I can figure out what's going on there. In the meantime, I believe you can get things working in Atom by adding the following lines to the end of your Atom config file:
".json.source":
  editor:
    tabLength: 4

You've really tone some digging. Thanks for that.
Maybe @sindresorhus (the editorconfig maintainer) has an idea why it behaves like this?

// @florianb (active atom-editorconfig maintainer)

Thanks for getting us involved @vinkla.
Assuming the json-specific configuration is set to indent_style = tab this should be a bug in atom-editorconfig, since it does not fallback to the indent_size if no tab_width is set (as the editorconfig site states at the property description of tab_width).
If setting tab_width instead of indent_size won't fix the issue with the current atom-editorconfig-release it may be that the issue belongs to the parsing of the editorconfig-file which is not being done by editorconfig-core-js.
However, It would be helpful to know if replacing indent_size by tab_with resolves this for your issue. I will file a bug in atom-editorconfig and could also stop investigating in that case.


Odd self-assignment to r.err

https://github.com/google/wuffs/blob/master/lib/rac/reader.go#L441
This was present in the original commit: https://github.com/google/wuffs/commit/7753d147b743dd2da7beb486afb6b1b0f0647b1a

Thanks!


Cannot create and run "production" builds

I'm using the CustomCharacterDemo.js. The apps seems fine and work when we start using npm run start-babylon.
But when i build it with NODE_ENV=production, the class names become, for example, in this case filename_classname.
i see that the classnames are used throughout whenever a feature is installed, example: Host.AnimationFeature and Host.TextToSpeechFeature.
When building using "production" the class names are messed up and "AnimationFeature" becomes "AnimationFeature_AnimationFeature" and Host.AnimationFeature.addLayer("something") throws an error
This is how my webpack config optimizations block looks like

  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          keep_classnames: true,
        },
      }),
    ],
  },

Hello!
I was unable to reproduce this issue locally - are there any changes in your local version which could have impacted things?  If you pull a clean version of the repo and npm run release then npm run start-babylon do you see this issue?


(fe *fieldError) Translate do not find translation for aliased validations.

Package version eg. v8, v9:
v10
Issue, Question or Enhancement:
Issue: (fe *fieldError) Translate do not find translation for aliased validations.
Code sample, to showcase or reproduce:
type Test struct {
  Name string `validate: "tst"`
}

validate := validator.New()
validate.RegisterAlias("tst", "max=250,excludesrune=\x00")
...
translator, _ := universalTranslator.GetTranslator("en")
txt := fe.Translate(translator) -> will return the value of fe.Error()

Also it ignores RegisterTagNameFunction.

Any chance this is intended?

Hi,
Is it resolved??


ci: add ci tests for multiple unity versions and build types

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7744646) 28.03% compared to head (8a19a53) 28.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #12   +/-   ##
=======================================
  Coverage   28.03%   28.03%
=======================================
  Files          10       10
  Lines         806      806
=======================================
  Hits          226      226
  Misses        580      580

Flag
Coverage Δ

automated
28.03% <ø> (ø)

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

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


Doc and macro updates

Josh Smith did an awesome major overhaul of all the probing, and wrote spectacular docs.
I did some minor bug fixes in his new macros, tweaked the docs a little more, and cleaned up a few of my calibration and utility macros to bring them up to a level commensurate with his awesomeness.
The macros are all now approximately 100x more awesome.

It looks good to me. Great work!


Form with stackedLabel broken

When the screen is changed using the form with stackedLabel, the items in the list overlap. When you use inline, it works.

Please attach screenshot and code snippet for this. bug.

Closed due to inactivity.


feat/csp_implementation

Fixes ISSUE [BEGONIA-71]
Description
CSP Implementation in agent
--> Get Api-token from secret for calling CSP
--> Call CSP and get the access token for governor backend
--> Add authorization bearer as access token for all call to governor backend

Please rebase with latest changes.