Update dependencies

Overview
Update all dependencies except for the React Native related ones. We can't upgrade these because Detox only supports up to RN 0.58.
These upgrades should give us:

A bug fix to Detox so failing tests are reported as failures on CircleCI.
Updated semantic release support.
Everything else nice and up-to-date with the latest patches.

Test Plan
CircleCI should pass.

 :)


Update description of functions based on FSL documentation

A few updates following a quick pass to check the inputs/outputs for each FSL function based on my understanding of the documentation.

Thanks @cmaumet that looks good to me ! I merge it


Strip binaries after build

Adds the strip_binaries build flag to a package definition.  it runs
strip to the ruby binary and libraries, removing unneeded
information and making the files smaller and faster.
It was tested with 2.5.1 but it should work with any version.
https://en.wikipedia.org/wiki/Strip_(Unix)

Does it work with macOS?

Does it work with macOS?

it should if you have strip installed, it's part of binutils so i
guess you should have it installed alongside gcc for building ruby.

strip is installed with the command line tools (/Library/Developer/CommandLineTools) in macOS.
Any user with a C compiler will also have the strip tool.

There is no --strip-all option in the macOS strip though.

Also in my single test on macOS it didn't change more than a kb.

@fauno any reason why 2.6 is not stripped?

I stand by my above rationale and closing this as #wontfix. Thank you for suggesting the approach! For people who find this thread, it should be easy to create your own build definitions for Rubies you want stripped and re-use the build_package_strip_binaries code from this PR.

none, i'm still using 2.5 and didn't pay attention to other versions
yet, i'll push changes to 2.6 also :)
--
D


Updated Docker client to use server's Docker API version

Closes #158.

We'll want to update the README as well to reflect this new default as well.

@rgbkrk — peep it!

Super great. This helps so much!

Hmmm... Looks like this was and is the default on docker-py, we don't even set this on dockerspawner. Thought we'd have another PR on our hands. Go figure.

Not sure I understand what you are talking about. Are you talking about the version being set to auto in the docker-py library?
I looked through the code and couldn't find where that was the case.

I'm sorry, I mean in https://github.com/jupyter/dockerspawner - used in jupyterhub.


Issue with learning environment minikube

Issue with learning environment minikube
fixes https://github.com/kubernetes/website/issues/15728

/assign @RA489

Page preview:
https://deploy-preview-15845--kubernetes-io-master-staging.netlify.com/docs/setup/learning-environment/minikube/

Resolved by #16533.
/close


NIFI-5950: Use temp port names during flow updates

Use temporary values for port names when updated process groups as part of a Change Flow Version operation. This avoids the potential for a name conflict between a ports during the update process.
Add a final step to the update process group logic to set the final name on all ports.

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@markap14 If you get a change to review this, that would be much appreciated! I have verified the fix manually. The steps to reproduce the issue this addresses are on the Jira: https://issues.apache.org/jira/browse/NIFI-5950

Reviewing...

Ok so the code Kevin provided works, passes tests & checkstyle. I made some additional refactoring changes available in a branch on my fork. I am a +1 for the PR as it is here if it needs to be merged immediately without my refactoring being reviewed, but I think I cleaned up the duplicated code and made it easier to follow (understanding that Kevin was just trying to get a fix for the issue in). If @kevdoran or @markap14 want to review that, I will handle the rebasing & merging tomorrow.

Thanks @alopresto. Unfortunately, I don't have any more additional time to spend on this issue until after the 1.9.0 release (as it was, it took up significantly more time than I anticipated and I have a backlog of other items folks are waiting on).
When looking at the code to plan the fix, @markap14 and I did notice some things that could be refactored for code de-duplication and to break this class file up a little bit, so maybe that is a larger effort that could be addressed after 1.9.0, using your branch as a starting point.


Noisy log

Awesome plugin, thanks for the great work!
One little thing that is a bit annoying is how many log entries the plugin produces (and drowns out all the important one from other plugins). Any way to disable log entries such as this?

Nuki_Bridge_69700C9B: set Last Updated from "Sat May 07 2022 11:51:33" to "Sat May 07 2022 11:52:33"

Thanks!

In HomeKit, set Log Level to 0 on the bridge accessory.

Thanks - for anyone else stumbling across this: the setting is not exposed in Apple's Home app but third-party HomeKit apps


Update bad links in README.md

All is in the title...

thanks you very much !!!!! @Yobatman38  !!!!!! the first issue ever not opened and already closed in the orbital shell repository was bring to the life due to you !!!

ps: eh @Yobatman38 , you should have get an award for this first pull request.  So I congratulate you myself (bots are not so good than humans)

I miss the pr. trying again...

it's OK 🥇

thanks again 💯 🥇 @Yobatman38 !


Add show diagnostics into options

Now mlsp has no way to check syntax errors. I suggest to add ability to check file syntax error, like it already did in https://github.com/AndCake/micro-plugin-lsp
UPD: i found showDiagnostics in config.lua:

I have intentionally made everything that could potentially be annoying disabled by default. Looks like you already found the option to turn the diagnostics on so I'm closing this issue.


The automated release is failing 🚨

:rotating_light: The automated release from the oclif4 branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the oclif4 branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The release 5.2.3 on branch oclif4 cannot be published as it is out of range.
Based on the releases published on other branches, only versions within the range >=6.0.0 <5.2.2 can be published from branch oclif4.
The following commits are responsible for the invalid release:

fix: add v6 release config (da700c1)
fix: update dependencies (f145840)

Those commits should be moved to a valid branch with git merge or git cherry-pick and removed from branch oclif4 with git revert or git reset.
A valid branch could be main.
See the workflow configuration documentation for more details.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the oclif4 branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the oclif4 branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The release 6.0.0 on branch oclif4 cannot be published as it is out of range.
Based on the releases published on other branches, only versions within the range >=6.0.0 <5.2.2 can be published from branch oclif4.
The following commits are responsible for the invalid release:

Merge branch 'beta' into oclif4 (637b3f6)
fix: add v6 release config (da700c1)
Merge branch 'beta' of https://github.com/commercelayer/commercelayer-cli-core into beta (8717599)
feat!: migrate to oclif/core v4 and oclif/test v4 (d610a79)
chore(release): 5.2.3-beta.1 [skip ci] (0a7b872)
Merge branch 'beta' of https://github.com/commercelayer/commercelayer-cli-core into beta (b6d43f8)
fix: update dependencies (f145840)
chore(release): 5.0.0-beta.1 [skip ci] (7de272f)

Those commits should be moved to a valid branch with git merge or git cherry-pick and removed from branch oclif4 with git revert or git reset.
A valid branch could be main.
See the workflow configuration documentation for more details.

Good luck with your project ✨
Your semantic-release bot :package::rocket:


OpenAI Token Error

Hi,
I am getting:
error_code=insufficient_quota error_message='You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.' error_param=None error_type=insufficient_quota message='OpenAI API error received' stream_error=False

I created a new token and tried again first thing this morning. I have balance in my account i am tier 2. I realized there is also organization parameter in API requests : https://platform.openai.com/docs/api-reference/organization-optional . I tried both of 2 organisations in my account but same error.
I checked the code base for an organization parameter if it is read from .env file but could not see. Is it possible to add as an optional .env variable?
Do you have any suggestions to solve this issue? I tried asking support but it is AI and just returns check rate limiting bla bla. I checked myu yesterdays usage and it is just 1 cent :)
Best

Hey, this is related to your OpenAI account, which usually means you don't have funds in your account.
There is nothing QuantGPT can do about that.


Patient Demographics - seed task

Currently for popHealth's database, the collections for Race, Ethnicity, and Languages are not included. This requires a rake task to seed the database which was included in V2. The following branch reintroduces the task to include patient demographics information in the patient summary page.
https://github.com/smc-ssiddiqui/popHealth/tree/demographics
The demographic codes are imported during step 8 of the installation https://github.com/OSEHRA/popHealth/wiki/Installation using the 'rake db:seed' task.

Fixed with pull request https://github.com/OSEHRA/popHealth/pull/30


Sublime linter 4 compatibility

The current version is broken with the latest SublimeLinter release, due to utils.find_file no longer being available.
I know I removed the autodetection of the .rubocop.yml file, but honestly, I am not that familiar with Python.
I was more focused on getting a working package. The extra features could be added back by someone else if required.

Build is not passing because of pep257 rules are in conflict: https://github.com/PyCQA/pydocstyle/issues/141

Thanks @rpbaptist! Looking into it now; I’d like to continue supporting auto-detection if we can…

Looks like this PR from a SublimeLinter maintainer shows how to setup support for autodetection; namely setting a defaults object that uses ${folder}:
defaults = {
    '--config': '${folder}/.slim-lint.yml',
    'env': {
       'SLIM_LINT_RUBOCOP_CONF': '${folder}/.rubocop.yml'
   }
}

@rpbaptist would you be willing to make a followup PR to re-enable support? I’m a bit rusty on maintaining this plugin and no longer use slim…

Yes, no problem I will give it a go.


0949 - Largest Time for Given Digits

Description of the Problem
Given an array arr of 4 digits, find the latest 24-hour time that can be made using each digit exactly once.
24-hour times are formatted as "HH:MM", where HH is between 00 and 23, and MM is between 00 and 59. The earliest 24-hour time is 00:00, and the latest is 23:59.
Return the latest 24-hour time in "HH:MM" format.  If no valid time can be made, return an empty string.
Example 1:
Input: A = [1,2,3,4]
Output: "23:41"
Explanation: The valid 24-hour times are "12:34", "12:43", "13:24", "13:42", "14:23", "14:32", "21:34", "21:43", "23:14", and "23:41". Of these times, "23:41" is the latest.

Example 2:
Input: A = [5,5,5,5]
Output: ""
Explanation: There are no valid 24-hour times as "55:55" is not valid.

Example 3:
Input: A = [0,0,0,0]
Output: "00:00"

Example 4:
Input: A = [0,0,1,0]
Output: "10:00"

Constraints:

arr.length == 4
0 <= arr[i] <= 9

Code
class Solution:
    def largestTimeFromDigits(self, arr: List[int]) -> str:

Link To The LeetCode Problem
LeetCode

Can I work on this issue? I'll be using C++. Thanks!

@shushriya6998 Sorry - This Repo should stay Python only!

May i do this?
i will do it in python

@sarthak55k sure 😄


Question about core-dependencies in LVIM

Hi I noticed that in this commit and file: https://github.com/lvim-tech/lvim/commit/5d04e2cd4b34748ea14e8c8e0f8bb9f96810c582#diff-dcd859ee146ad8cc0db26e5e9bd6f8113b8044f5b49382fbbb9c08519add6f4b
2 new requires were introduced but if you start with a clean install of Lvim, can this work? Packer hasn't installed them yet has it? so won't it break the rest of the loading of lvim?
and if this doesn't make it fail what am I missing?

Fixed. Thanks!


Allow writing native functions in separate JS files

For native functions which are too large it gets uncomfortable to write that amount of code in strings of JSBody annotation. I think support for writing these functions in a separate JS files will be nice, and also keeps my code readable and organised with IDE support as well.

Why don't you just put this separate JS files to your web resources and put calls to functions in the JS files to @JSBody?
In case of TeaVM supporting this feature directly, how it's expected to specify which JS code in the JS file matches a certain method in Java?

I'm currently using GWT, but am planning to move my codebase to use TeaVM. And am not actually sure if I can call javaMethods.get(...) from external JS files. Would love if there is some support like how we do JNI code in standard Java.
function jsni_com_example_MyClass_funct(arguments)
{
    ....
}

I'm also happy to try out alternative approaches. Thanks for your time. What do you think about this?

You really don't need to write large JSBody with TeaVM. If you have a large JS method, you can really write it as a Java method with several calls to small JS code pieces. My experience with TeaVM shows that it's almost always is true.
Also, you don't need to use javaMethods.get() often. In GWT/JSNI it was the only way to call Java from JS. In GWT/JsInterop, as well as in TeaVM JSO you have another ways of calling Java from JS.


MQTT SSL Error

PROBLEM DESCRIPTION
After updating to 9.02 I cannot connect to my mosquitto server with ssl anymore.
The mosquitto log says
OpenSSL Error[0]: error:0A000126:SSL routines::unexpected eof while reading
Client <unknown> disconnected: Protocol error
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

[X] Read the Contributing Guide and Policy and the Code of Conduct
[X] Searched the problem in issues
[X] Searched the problem in discussions
[X] Searched the problem in the docs
[X] Searched the problem in the chat
[X] Device used (e.g., ESP32-S3): ESP32
[X] Nuki Hub binary firmware version number used: 9.02

[X] Pre-compiled
[ ] Self-compiled

[X] Provide the output of http://nukihubIP/info:

------------ NUKI HUB ------------
Version: 9.02
Build:<PHONE_NUMBER>2.4.1
Build type: Release
Build date: 2024-11-24
Updater version: 9.02
Updater build:<PHONE_NUMBER>2.4.1
Updater build date: 2024-11-24
Uptime (min): 1
Config version: 902
Last restart reason FW: NotApplicable
Last restart reason ESP: ESP_RST_PANIC: Software reset due to exception/panic.

A mqtt connection
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
It was working fine using nuki 9.0
(Please, remember to close the issue when the problem has been addressed)

MQTT SSL has no general issue in 9.02 as it is tested and confirmed working.
There might be a RAM/stack limitation in your setup.
You can expect errors/undefined behaviour when getting up to the available stack.
Combining SSL and a lock and an opener will probably get you there in 9.02
NukiHub has become more RAM hungry in the last year because of added functionality and updating to the latest Arduino and ESP-IDF.
Try disabling your lock and opener in NukiHub first to test if the MQTT connection will work then. If mqtt works in that case you can try disabling SSL, changing your SSL cert to a smaller size, use 2 esps (one for the lock and one for the opener) or get an esp with psram.

Yes. New webserver has multiple benefits but also seems to eat more RAM.

@Unkn0wn-MDCLXIV You're already using an ESP32-S3. I think the best solution for you would be to get one with PSRAM.

9.06-master2 includes some optimizations that will same about 20k RAM. Might be that this will allow MQTT SSL to start functioning again in your setup.
Otherwise consider switching to an ESP32-S3 with PSRAM.

Closing due to lack of activity.
Please re-open if you observe the same issues on 9.06-master4 or up and for testing purposes with the suggestions I made regarding disabling lock/opener.

9.06-master2 includes some optimizations that will same about 20k RAM. Might be that this will allow MQTT SSL to start functioning again in your setup.

Thanks for letting me know. I switched to a ESP32-S3 with PSRAM just before I read your comment, it's working fine with it so far.


okok scale intregation

Hi, i have an okok scale and it is not integrating with Home Assistant. In the okok app it works fine. In Home Assistant only the signal was detected and does not show the value.
sorry for my english
Home Assistant 2023.4.6

Debug:
[17:44:05][D][ble_adv:066]: New BLE device
[17:44:05][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:05][D][ble_adv:068]:   name:
[17:44:05][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:05][D][ble_adv:073]:   Advertised service data:
[17:44:05][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:05][D][ble_adv:080]:     - 0x11C0: (length 13)
[17:44:05][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:10][D][ble_adv:066]: New BLE device
[17:44:10][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:10][D][ble_adv:068]:   name:
[17:44:10][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:11][D][ble_adv:073]:   Advertised service data:
[17:44:11][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:11][D][ble_adv:080]:     - 0x0EC0: (length 13)
[17:44:11][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:12][D][ble_adv:066]: New BLE device
[17:44:12][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:12][D][ble_adv:068]:   name:
[17:44:12][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:12][D][ble_adv:073]:   Advertised service data:
[17:44:12][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:12][D][ble_adv:080]:     - 0x0EC0: (length 13)
[17:44:12][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:13][D][ble_adv:066]: New BLE device
[17:44:13][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:13][D][ble_adv:068]:   name:
[17:44:13][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:13][D][ble_adv:073]:   Advertised service data:
[17:44:13][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:13][D][ble_adv:080]:     - 0x0EC0: (length 13)
[17:44:13][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:14][D][ble_adv:066]: New BLE device
[17:44:14][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:14][D][ble_adv:068]:   name:
[17:44:14][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:14][D][ble_adv:073]:   Advertised service data:
[17:44:14][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:14][D][ble_adv:080]:     - 0x0EC0: (length 13)
[17:44:14][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:15][D][ble_adv:066]: New BLE device
[17:44:15][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:15][D][ble_adv:068]:   name:
[17:44:15][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:15][D][ble_adv:073]:   Advertised service data:
[17:44:15][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:15][D][ble_adv:080]:     - 0x0EC0: (length 13)
[17:44:15][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:17][D][ble_adv:066]: New BLE device
[17:44:17][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:17][D][ble_adv:068]:   name:
[17:44:17][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:17][D][ble_adv:073]:   Advertised service data:
[17:44:17][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:17][D][ble_adv:080]:     - 0x20C0: (length 13)
[17:44:17][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:20][D][ble_adv:066]: New BLE device
[17:44:20][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:20][D][ble_adv:068]:   name:
[17:44:20][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:20][D][ble_adv:073]:   Advertised service data:
[17:44:20][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:20][D][ble_adv:080]:     - 0x50C0: (length 13)
[17:44:20][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:21][D][ble_adv:066]: New BLE device
[17:44:21][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:21][D][ble_adv:068]:   name:
[17:44:21][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:21][D][ble_adv:073]:   Advertised service data:
[17:44:21][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:21][D][ble_adv:080]:     - 0x5AC0: (length 13)
[17:44:21][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:21][D][ble_adv:066]: New BLE device
[17:44:21][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:21][D][ble_adv:068]:   name:
[17:44:21][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:21][D][ble_adv:073]:   Advertised service data:
[17:44:21][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:21][D][ble_adv:080]:     - 0x5FC0: (length 13)
[17:44:21][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:23][D][ble_adv:066]: New BLE device
[17:44:23][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:23][D][ble_adv:068]:   name:
[17:44:23][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:23][D][ble_adv:073]:   Advertised service data:
[17:44:23][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:23][D][ble_adv:080]:     - 0x72C0: (length 13)
[17:44:23][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:23][D][sensor:127]: 'Temp Xiaomi WiFi Signal': Sending state -50.00000 dBm with 0 decimals of accuracy
[17:44:25][D][ble_adv:066]: New BLE device
[17:44:25][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:25][D][ble_adv:068]:   name:
[17:44:25][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:25][D][ble_adv:073]:   Advertised service data:
[17:44:25][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:25][D][ble_adv:080]:     - 0x94C0: (length 13)
[17:44:25][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:27][D][ble_adv:066]: New BLE device
[17:44:27][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:27][D][ble_adv:068]:   name:
[17:44:27][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:27][D][ble_adv:073]:   Advertised service data:
[17:44:27][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:27][D][ble_adv:080]:     - 0xB6C0: (length 13)
[17:44:27][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:27][D][ble_adv:066]: New BLE device
[17:44:27][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:27][D][ble_adv:068]:   name:
[17:44:27][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:27][D][ble_adv:073]:   Advertised service data:
[17:44:27][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:27][D][ble_adv:080]:     - 0xBBC0: (length 13)
[17:44:27][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:29][D][ble_adv:066]: New BLE device
[17:44:29][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:29][D][ble_adv:068]:   name:
[17:44:29][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:29][D][ble_adv:073]:   Advertised service data:
[17:44:29][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:29][D][ble_adv:080]:     - 0xD8C0: (length 13)
[17:44:29][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):
[17:44:30][D][ble_adv:066]: New BLE device
[17:44:30][D][ble_adv:067]:   address: 10:96:1A:36:81:D1
[17:44:30][D][ble_adv:068]:   name:
[17:44:30][D][ble_adv:069]:   Advertised service UUIDs:
[17:44:30][D][ble_adv:073]:   Advertised service data:
[17:44:30][D][ble_adv:078]:   Advertised manufacturer data:
[17:44:30][D][ble_adv:080]:     - 0xDDC0: (length 13)
[17:44:30][D][ble_adv:081]: HEXM    - <IP_ADDRESS>.0A.<IP_ADDRESS>.1A.36.81.D1 (13):

Hey Frank.
Did you disable the app on your phone?   i.e. shut the bluetooth for a moment?
If the scale finds your phone, it talks to the phone instead of the HA.

Scales which identify as OKOK Scale actually don't necessarily use the same protocol. This integration only implements the protocol which my specific scale (by the brand Tristar) uses. I have plans to support other OKOK Scale protocols for which I can find documentation, but that's something for the future.

Here is a good read on how to reverse engineer the protocol of your scale
https://github.com/oliexdev/openScale/wiki/How-to-reverse-engineer-a-Bluetooth-4.x-scale

Hey Frank.
Did you disable the app on your phone? i.e. shut the bluetooth for a moment? If the scale finds your phone, it talks to the phone instead of the HA.

I turned off the Bluetooth of the cell phone and did the test, only the Bluetooth signal strength sensor was located.

@frankiha I have implemented two other OKOK Scale protocols. Could you try if your scale now works?

I updated OKOK through HACS and after the update there was no data on signal strength. I removed the okok scale integration and tried to add it again, but the scale was not found.

I have enabled more debug logging, cold you install the latest version and enable debugging for this integration?
Go to the 'Devices & Services' screen and on the 'OKOKScale' integration click the 3 dot menu and click 'Enable debug logging'

Use the scale a couple of times, disable debug logging, and a debugging file will automagically be downloaded to your machine. Please share the contents of that file

I think you scale needs to be available when you add it to home assistant, make sure the display is on. Maybe use the scale while adding. If the scale is not used it's in a sleep mode and can't be recognised.
Actually HA should be able to recognise the scale when you use it, unless you've ignored or deleted the device before

I think you scale needs to be available when you add it to home assistant, make sure the display is on. Maybe use the scale while adding. If the scale is not used it's in a sleep mode and can't be recognised.
Actually HA should be able to recognise the scale when you use it, unless you've ignored or deleted the device before.
Also, are you using the latest HA version?

I followed the steps you sent, but the same error occurred, even with the scale in use.

Home Assistant log
2023-05-09 21:59:02.080 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration okokscale: No module named 'objc'

Ok, I just modified some code. Please try again

Ok, I just modified some code. Please try again

The first version of okokscale found the scale and showed only the signal strength. In the first update the scale was no longer found. In the last update, there is no error message, but the scale is not found. In the log it shows the mac of the scale when it is activated and at this moment I do the integration, but it does not find the scale.

Did you try version 0.0.3?


Fixing problem with data library urls in paginator

Fixes #2343

Frontend tests were OK :+1: (details)


Avoid crashing with some zoom events

In certains ocasions we see a crash in the app while changing zoom.
The error is:
Cannot read properties of undefined (reading '_zoom')
The problem comes from that while, iterating through the visibleLayer
parents until it hits one undefined and then crashed trying to read
'_zoom'.

I guess it could fix the latest problem reported in #860


compatibility: Midi-QoL Actor On Use Macro

I am just starting to move to dnd 3.0+ Midi's Actor on use Macro section does not show up.  Default 3.0 character sheet, it does.  Legacy, it does.  Tidy, it does not.  Please allow for this to be visible again at your earliest convenience.
Can verify this with only Midi, Tidy5e, and required modules on.
Foundry: 11.315
DND5e: 3.0.4
Tidy5e: 2.8.0

Hello, thanks for reporting!
This is something that Midi QoL specifically puts onto the sheets. The sheets themselves are not adding this UI.
I submitted an issue to Midi QoL a few weeks ago with the necessary code to incorporate the Actor On Use menu to Tidy's traits section. It is still open at this time: https://gitlab.com/tposney/midi-qol/-/issues/1368
I recommend adding a comment to the gitlab issue to put it front of mind for the module author.
We can keep this github issue open as a means of keeping track of that effort.

I pinged TPosney to check up on this. I'll let you know what I find out.

Midi QoL 11.4.16 now includes "Actor On Use Macros" config in Tidy 5e Sheets:


add top bar with volume, mute state, radio name and current track

I had to change quite a lot of code to get a top bar especially because the list model was made to take the whole window by default

I also changed the maximum volume to 150 because it is actually the max of libmpv

Stange things happen when name is too long, probably not linked to anything you've done so fine for now, we'll need to fix that later tho:


Refactor clean_content in custom_content_model_form

Motivation

The function clean_content in custom_content_model_form has 97 lines with two pylint rules disabled. It is probably time to refactor it for clean code and better code standard.
Proposed Solution

Devide the tasks of this fucntion into multiple of smaller functions?
Alternatives

Other approaches are welcmed too :)
User Story

Additional Context

Design Requirements

Fell free to move to any milestone.


Wrong date in history

Steps to reproduce

Read a couple of different manga.
Open history list.
It's gonna show the wrong date (today, yesterday...).

Expected behavior
Show the right date
Actual behavior
Showing the wrong date

Crash logs
No response
Mihon version
0.16.1
Android version
Android version: 10 (SDK 29)
Device
UMIDIGI A9 Pro
Other details
It started with the last version of tachi.

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.1.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I have the same issue. It also appears on the Updates tab. I think it has to do with the GMT offset. My offset is -6 and interestingly, the error doesn't occur at night.

On Updates tab I didn't realize, and my timezone is -3, if it helps.

To be clear, the time shows correctly, it just incorrectly groups things as yesterday. It will also move things that are correctly labeled as "Today" to yesterday, but I'm not sure how to replicate that behavior.
joaoandre120's screenshot proves the "yesterday" and "today" lables are (incorrectly) based on GMT and the time is (correctly) based on local timezone. Their timezone is -3 and everything before 21:00 is yesterday and everything after 21:00 is today.

I'm seeing the same behavior in the Updates tab:

My timezone offset is -5.
I tried changing my timezone to UTC and looking at the Update Tab again. The date is correct:

So it must just not be implementing the timezone shift correctly.

Also seems like this was tagged before as an issue #58

Yeah, this looks to me like a duplicate of #58, closing as such.


fix: improvements to subagent tool

TODO

[ ] Don't output entire context of subagent into log

Codecov Report
Attention: Patch coverage is 82.60870% with 8 lines in your changes missing coverage. Please review.

Project coverage is 83.54%. Comparing base (2f11864) to head (7840b4c).

Files
Patch %
Lines

gptme/tools/subagent.py
81.81%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   82.74%   83.54%   +0.79%
==========================================
  Files          32       32
  Lines        2139     2169      +30
==========================================
+ Hits         1770     1812      +42
+ Misses        369      357      -12

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


[Documentation] Update the learning guide

Description
Update the learning guide used for onboarding new internal & external contributors.
Issue
NA
Please mark the relevant option(s):

[ ] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Major breaking change
[x] Documentation
[ ] Other

List of changes

Add direct links to the docs describing each of the V1 modules
Link to Otto's V0 guide to Pocket
Link to the V0 Claim & Proof lifecycle
Add a link to [@https://twitter.com/ittaia]'s Decentralized Thoughts newsletter
Add link to a good and simple blog on kademlia

Testing
NA
Required Checklist

[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have tested my changes using the available tooling
[ ] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

Thanks for the quick review @bryanchriswhite! If you can think of any ways to improve/clarify it as you make your way through the doc, don't hesitate to change it.


报错，为什么

_/usr/local/gopath/aliyun-slb-exporter
./main.go:21:23: cannot use slb (type exporter.SlbExporter) as type "github.com/prometheus/client_golang/prometheus".Collector in argument to registry.MustRegister:
exporter.SlbExporter does not implement "github.com/prometheus/client_golang/prometheus".Collector (wrong type for Collect method)
have Collect(chan<- "github.com/riete/aliyun-slb-exporter/vendor/github.com/prometheus/client_golang/prometheus".Metric)
want Collect(chan<- "github.com/prometheus/client_golang/prometheus".Metric)

你这个可能是go mod的问题 用mod=vendor执行看下


Convert code to Typescript

via #53. (The main application files are all in TS - the tests remain in JS for the time being)


Find better way to specify NSNumber type from Swift when using Realm Objective-C

Starting in Swift 3, Float and Double no longer implicitly bridge to NSNumber. This means that model declarations now must write dynamic var num: NSNumber? = 1.0 as Float as NSNumber which is far from ideal. We should investigate if there is a better way to do this.

There's also no way to create an NSNumber model property with a nil default value in Swift for any type other than the default.


Mining key support

Hello, is there mining key support?

I also need this. Don't want to break the rules for having two wallets


Docs: Make links work when browsing the docs from the GitHub repo

Both DevExpress/testcafe-gh-page-assets#2 and #426 are merged, so I close this issue.


[Optifine] Problem with font

Optifine calculates width of chars with floating point values and because of that users which installed optifine and have alternative font textures have gui incorrectly displayed. Can you add option in settings to select alternative way of width calculation(Optifine way)?

Is this only an issue when you override the defaults with optifine installed?
According to the font documentation (https://github.com/sp614x/optifine/blob/master/OptiFineDoc/doc/hd_fonts.txt) optifine will look for an ascii.png file. This is no different from when a resource pack is used in vanilla, I have addressed this in the documentation: https://ore.spongepowered.org/simon816/Chat-UI-Library#font-data
Optifine also has overrides in ascii.properties, this could be added, mind you it'd be tedious to keep the properties synchronised between a player's overrides and Chat UI's counterpart config.


Feature update v2ray vless xtls supports for clients

Hello, thanks for your efforts, is this PR working correctly?

Hello, thanks for your efforts, is this PR working correctly?

No. This PR has been closed permanently because VLESS and XTLS are not mainstream now. For VLESS, some clients do not support VLESS currently, and these unsupported clients will not be able to connect to servers if you use VLESS. For XTLS, see https://github.com/XTLS/Go/issues/16

thank you dear friend
In my opinion, the fact that vless or xtls is not supported in some clients should not prevent the development of the powerful v2board script.
Currently, many of the most famous clients in Android and Windows operating systems support vless and xtls (and even xtls-rprx-vision, which is the newest and best protocol).
Also, there are good clients in ios and mac that support vless+xtls.
In this way, the site manager can decide which protocol to use according to the needs of his customers and the conditions of his country.
For example, my clients only use fair vpn (ios), V2rayng (android) and v2rayn (windows)!
In some countries, vmess is quickly recognized by gfw! Also, unfortunately, trojan in v2board does not support websocket, so there is no proper way to connect with websocket and cdn...
Please, if you can help in adding vless + xtls / vless + xtls-rprx-vision / trojan+ws, do this favor.
Many v2board users are waiting for this feature and will appreciate your efforts.
Requests to add new protocols:
https://github.com/v2board/v2board/issues/666
https://github.com/v2board/v2board/issues/597
https://github.com/v2board/v2board/issues/394
https://github.com/v2board/v2board/issues/577
https://github.com/v2board/v2board/issues/607
vmess problems in some clients that have not been solved with any suggestions and guidance:
https://github.com/XrayR-project/XrayR/issues/240
https://github.com/XrayR-project/XrayR/issues/96
https://github.com/XTLS/Xray-core/issues/1285

Well... I'm so sorry for that. May I know which country your users mainly come from?

Well... I'm so sorry about that. May I know which country your users mainly come from?

iran

Well... I'm so sorry about that. May I know which country your users mainly come from?

iran

Okay. For more details on enabling VLESS/XTLS on V2board, you can contact me via email on my profile.

hi , Are these features working properly now?


[Onboarding]: Complete GitHub Skills -First Day on GitHub

Select the onboarding task
First Day on Github
Comments
No response

Completed all 3 tasks.


PA2 Level 4 Inc

Description
I am slightly confused about what is going on, isnt my type S an Integer already?
Screenshots (if any):

should be StateM.<Integer>put(...) instead, the error message is just telling you that you should have 1 type argument only instead of 2

oh whoops dk how i missed that thank you!


Manage list generation

#172

Hey @alexppxela where you able to solve the problem with the white spaces in the process list?

@stephan83 Yes it is fixed in commit cca6ba2


docker pull from ghcr fails as unauthorized

Error response from daemon: Head "https://ghcr.io/v2/agile-learning-institute/mentorhub-search-searchinit/manifests/latest": unauthorized

Is this image public?

It should be. mh up search-db works is working on my end after I updated. It got merged 10 minutes after you made the issue.

The image wasn't public, Mike made it public so it should be fixed

That seems to have worked, thanks


CannotPullContainerError when launching ECS tasks

Stack creation with this template works fine until the point where the ECS tasks are launched. This fails with the following error: STOPPED (CannotPullContainerError: inspect image has been retried 5 time(s): unreachable).
I suppose this is because of an incorrect configuration of the NAT Gateway/subnets?
By the way, the S3 bucket that contains the original templates is not publicly accessible, so I had to host them in my own bucket, and similarly I had to re-build and push the microservice images to my ECR, but none of those steps should be the culprit here as far as I can see.

Hi, I don't know if you solved your problem, but fyi and for anyone else ending up here, I had the exact same error message with Fargate 1.4.0. It turned out to be a problem with the image being pulled. It was working for 1.3.0 but apparently was too old for 1.4.0 (like built with docker 1.x). Pushed a new image build to ECR and now it's working..

OMG thank you so much @bendenoz!
I've been trying to fix this cryptic "unreachable" message all day, and you're absolutely right, an image rebuild was all it took. I wish I'd found your comment in the morning though - I'll never get those hours back :(
Here, have a beer: 🍺


[Language Text] Update expectations

The service error messages improved so this PR updates the test expectations to match them.

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


Move the Helpers include to parent class so Phlex::SVG subclasses have access

I was trying to use mix in a Phlex::SVG object but got no method error.

Thanks @davekaro


fix: Fix withClassName filter

Fixes #1227, #1234
Similar class/method names were considered as one due to testMethod.testName.startsWith(className) check, with:
test-targets:
  - class foo.bar.TestClass1

all foo.bar.TestClass1, foo.bar.TestClass121, foo.bar.TestClass1aaaa return true for shouldRun check. The same is applicable for test methods
Test Plan

How do we know the code works?

build finish without any errors
generate apks with [flank root] ./test_projects/android/bash/generate_apks.sh ~
start flank run with config:gcloud:
  app: ~/app-debug.apk
  test: ~/app-multiple-success-debug-androidTest.apk
  test-targets:
    - class com.example.test_app.similar.SimilarNameTest1

and observe only 3 tests are launched
start flank run with config:gcloud:
  app: ~/app-debug.apk
  test: ~/app-multiple-success-debug-androidTest.apk
  test-targets:
    - class com.example.test_app.similar.SimilarNameTest1#test1

and observe only 1 test is launched

Checklist

[x] Unit tested

Codecov Report

Merging #1233 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1233      +/-   ##
============================================
+ Coverage     79.70%   79.72%   +0.01%
  Complexity      697      697
============================================
  Files           232      232
  Lines          4327     4331       +4
  Branches        734      736       +2
============================================
+ Hits           3449     3453       +4
  Misses          489      489
  Partials        389      389


Handle Inclusive Gateway Errors

depend on bpmnlint-plugin-camunda-compat v0.12.0
adjust error message
point to properties panel entry if condition is missing

Requires https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/44
Related to https://github.com/camunda/camunda-modeler/issues/3083

The screenshot with missing annotations is from npm start script.

As npm ci failed on my machine, I run npm i and squashed the changes in package-lock.json.

@barmac I've updated the npmn start test and made the following changes:

hook up linter
show error messages in dummy error panel
include properties panel
be able to set execution platform version


Modify plugin to call a function from the dmf_control_board firmware package returning a control board proxy (Trac #152)

Migrated from http://microfluidics.utoronto.ca/microdrop/ticket/152
{
    "status": "closed",
    "changetime": "2015-01-05T18:05:24",
    "description": "",
    "reporter": "ryan",
    "cc": "",
    "resolution": "wontfix",
    "_ts": "1420481124438421",
    "component": "dmf_control_board_plugin",
    "summary": "Modify plugin to call a function from the dmf_control_board firmware package returning a control board proxy",
    "priority": "major",
    "keywords": "",
    "version": "",
    "time": "2014-04-17T19:44:02",
    "milestone": "Control board plugin 1.0",
    "owner": "",
    "type": "enhancement"
}

Trac update at 20140417T19:44:14: ryan changed type from "defect" to "enhancement"

Trac update at 20150105T18:05:24:

cfobel changed resolution from "" to "wontfix"
cfobel changed status from "new" to "closed"


[0.9.5] metaqueries via curl hanging, succeeding via CLI

When dropping a database on RC2 9.5.0 I don't get a response.
https://www.dropbox.com/s/fyezv0z6kupge9x/Screenshot 2015-11-30 13.32.16.png?dl=0

That is intended behavior. CREATE DATABASE also returns nothing on success.
$ curl -Gi http://localhost:8086/query --data-urlencode 'q=create database foo'
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 556b6a77-97c0-11e5-93ee-000000000000
X-Influxdb-Version: 0.9.5
Date: Tue, 01 Dec 2015 00:13:22 GMT
Content-Length: 16

{"results":[{}]}

$ curl -Gi http://localhost:8086/query --data-urlencode 'q=show databases'
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 5c28beb0-97c0-11e5-93f0-000000000000
X-Influxdb-Version: 0.9.5
Date: Tue, 01 Dec 2015 00:13:34 GMT
Content-Length: 121

{"results":[{"series":[{"name":"databases","columns":["name"],"values":[["mydb"],["_internal"],["telegraf"],["foo"]]}]}]}

$ curl -Gi http://localhost:8086/query --data-urlencode 'q=drop database foo'
HTTP/1.1 200 OK
Content-Type: application/json
Request-Id: 6208d764-97c0-11e5-93f1-000000000000
X-Influxdb-Version: 0.9.5
Date: Tue, 01 Dec 2015 00:13:43 GMT
Content-Length: 16

{"results":[{}]}

I see, however, it does not return the empty result set, It returns nothing, the curl process hangs unless I add a timeout. The log shows the CREATE DATABASE but the curl process does not receive the response.
This sometimes also happens with select statements, that work fluently in the shell but not when curling the machine.

@rackunits thanks for the clarification, I must admit I was reading quickly and didn't see the timeouts in your curl image. In the future please copy/paste text, which is easier to parse.

This sometimes also happens with select statements, that work fluently in the shell but not when curling the machine.

That's very confusing, because the CLI uses the same API and endpoints as curl statements. Can you give an example of a query that hangs in curl but succeeds in the CLI?
Can you share the logs from those incidents?

Dear,
It took me a while to reproduce this issue.
After a while I gave up and continued developing, then all of a sudden I had the same issue with a DROP DATABASE statement.
Evidence: https://www.dropbox.com/s/3o4v6rv24snygxz/drop-database-no-response2.gif?dl=0
I have made a snapshot of the machine to provide you with logs if needed.
Here is the log up until the time of this event: https://www.dropbox.com/s/hgn1h8y17cfc6am/influxd.log?dl=0
And the influxdb config I am using: https://www.dropbox.com/s/01fvypccl3fe1c6/influxdb.conf?dl=0

Some additional info: when this occurs, later imports also fail.
curl -i -s -XPOST 'http://localhost:8086/write?db=metrics_1449055108' --data-binary @/home/330/post_calc/20151202111828/annotations.influx
Received status 500
The influxdb log:
[http] 2015/12/02 12:18:28 ::1 - - [02/Dec/2015:12:18:28 +0100] GET /query?pretty=true&q=DROP%20DATABASE%20databases HTTP/1.1 400 95 - curl/7.35.0 69a1c1b2-98e6-11e5-8248-000000000000 132.374µs
[query] 2015/12/02 12:18:29 DROP DATABASE name
[http] 2015/12/02 12:18:29 ::1 - - [02/Dec/2015:12:18:29 +0100] GET /query?pretty=true&q=DROP%20DATABASE%20name HTTP/1.1 200 94 - curl/7.35.0 6a3db831-98e6-11e5-8249-000000000000 205.113µs
[query] 2015/12/02 12:18:30 CREATE DATABASE metrics_1449055108
[metastore] 2015/12/02 12:18:30 database 'metrics_1449055108' created
[metastore] 2015/12/02 12:18:30 retention policy 'default' for database 'metrics_1449055108' created
[http] 2015/12/02 12:18:30 ::1 - - [02/Dec/2015:12:18:30 +0100] GET /query?q=CREATE%20DATABASE%20metrics_1449055108 HTTP/1.1 200 16 - curl/7.35.0 6ad8d3a3-98e6-11e5-824a-000000000000 7.12641ms
[http] 2015/12/02 12:18:35 ::1 - - [02/Dec/2015:12:18:30 +0100] POST /write?db=metrics_1449055108 HTTP/1.1 500 8 - curl/7.35.0 6adc7aad-98e6-11e5-824b-000000000000 5.003907851s

@rackunits when the DROP DATABASE command failed from curl did it work from the CLI? I see nothing in the GIF or the logs to suggest that it did.
A non-responsive database issuing 500s on writes and timeouts on all queries sounds like the deadlocking issue that was fixed in <IP_ADDRESS>. However, if you can complete queries from the CLI and not with curl that is a different thing. However, there's no evidence yet of that happening. There's lots of evidence to show the curl queries hanging, but nothing showing that they work from the CLI. If the system is restarted the deadlock clears and all queries begin working again. Did you restart before trying the CLI?

I apologize for the ambiguity in my response.
Because this issue was blocking my development, I set up an additional vm with InfuxDb <IP_ADDRESS>.
The gif, logs and config are from the <IP_ADDRESS> release.
The point that I was trying to make is that the query can (select) or is being processed (drop), but no response is given.
The DROP actually took place, because the SHOW DATABASES at the end showed no databases, whilst the curl process was still hanging. That is why it was useless to issue the DROP command again from the cli (the db was already removed).
Please keep this issue open, while I will try to reproduce the issues I have (Drop and select statements not getting results from curl command). I think the first has been proven by my previous post.
I did not try to restart the system yet, because it takes a while for these issues to pop up.

I think I narrowed it down a bit.
First of all something I want to clear out.
My initial statement was that the curl process was hanging while the CLI did return a response.
This was and is still true, but the statement was phrased this way because that was how I tested the issue. However I discovered that curling from the ubuntu shell while the curl process is hanging does return a response: https://www.dropbox.com/s/2yaapfd9qqno1rn/cul-select-hang.gif?dl=0
So it was just a simple query hang.
I added a timeout to the curl command and noticed that after the first timeout (10s in my case) all queries returned a result. Then I added a sleep right before my curl select commands and all of them passed: https://www.dropbox.com/s/ovf50a85d66t26m/cul-select-no-hang.gif?dl=0
I think the issue comes down to how fast you query the database after dumping data.
This is however only in case of the select statements, and this does not explain the behaviour for the drop database query.

@rackunits I have seen no other instances of curl hanging for users, so I can only suspect there is something local to your machine or your instance that is causing some issue. Without a reproducible case I cannot investigate any further.
Also, I don't understand that first GIF in your most recent comment. I see logs tailing, and a curl command with a query that returns immediately. I don't see any hanging curl statements, can you clarify and perhaps describe the picture a bit more? It might seem obvious to you what your environment is and what each panel is doing, but there's every possibility I'm misinterpreting the picture through ignorance.
Also, there's no way to pause and investigate, and the fonts are very very small. I realize you are trying to show evolution over time, but please give actual text in the issue and then describe the transitions.

I'm closing this because it is for an older version of InfluxDB (before we made a lot of fixes to just about everything). Please try the latest version available (0.13) and comment here if you are still experiencing this issue. Thank you.


422 error when updating a taxonomy entity

Bug Description
When updating a default data use, data subject, or data category in the taxonomy an error is thrown and the update is not saved.
Steps to Reproduce

run fides or use the rc env
go to the taxonomy page https://fides-plus-rc.fides-staging.ethyca.com/taxonomy
hover over an entity
click the pencil
make an edit
click Update entity
see the error

Expected behavior
Updates should save without error
Screenshots

Environment

Version: 2.20.1

moving to done


Squash PR 87: Add productline to autoscale group, which should add it…

… to the instance

Is this going to be merged?

@pchand-amplify had some concerns.

I think the issue was about how the product line will get set in staging/production. We can do something like this https://github.com/amplifylitco/asiaq_astro_config/pull/250/files#diff-0894c045e3d36015feff618fd2365857R193

This looks great but I still don't see the benefit of adding tags to an autoscaling group.

Well, in actuality, it doesn't matter if we tag the autoscaling group or not. It was just thought that that was one way to add the tag to the instance at run time, rather than relying on /opt/wgen/etc/productline.
As far as I know, the productline tag for an instance is used solely to help construct a report of attributing cost to product lines. Ergo, if productline A spins up a bunch of instances from AMIs made by productline B, shouldn't productline A have the cost of the instances attributed to them? Assuming that is something we want, it seems like the easiest way to accomplish that is by having a productline option in disco_aws.ini and associating whatever that value is with the instances being spun up.

@jconstance-amplify : Well its not always true. Lets say for some reason the spin up job failed. If productline A notices and spins it up for B, should A be charged for bringing the service back?
If we do take @aoskotsky-amplify solution then we will not be able to track who spun it up anyways.

Closing PR due to lack of interest.


Default button values not populating

Without specifying .okBtn("") and  .cancelBtn("") values, the values seem to default to UNDEFINED rather than the default values of ok and cancel.
I had a quick look at the js to try to debug it, but couldn't figure out what's throwing it off.

Will check it out. Would it be possible to post an example to jsfiddle/jsbin/etc?

I'll try to set that up for you when I get a chance

Actually came across this today, so should have a fix shortly.

Should be fixed in c6fcba2107344996bae72bdb529b785be7dccfe5, obviously let me know if you're still having issues.


docs: clarify mkcert doens't configure servers

This has come up a few times so let's clarify in the docs.

Thank you!


FileNotFoundError

Hello, I have the following error when I try to run st command in Flow Launcher
Trace Log

Traceback (most recent call last):
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\flox\launcher.py, line 44, in run
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\flox\__init__.py, line 132, in _query
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\plugin\main.py, line 37, in query
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\functools.py, line 981, in __get__
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\plugin\library.py, line 128, in icon
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\plugin\library.py, line 121, in get_image
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\plugin\library.py, line 75, in get_image
  File C:\Users\user\AppData\Local\Temp\ONEFIL~1\pathlib.py, line 1017, in iterdir
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\Games\\Steam\\userdata\\84664799\\config\\grid'

Fixed after removing a non-steam game in my library as instructed in this issue


Fixing existing code does not work again

Bug description
I generated metagpt project. But I am not satisfied with dummy logic implementation. I want to apply corrections to generated project
I tried:
--project-path ... --inc
and
--project-path ... only
The docs and resources changes. But the generated code doesn't. The .py code files in project does not change. The new file mentioned in log are not created.
Running metagpt on existing project doesn't call metagpt.actions.write_code:run. Only metagpt.actions.write_code_plan_and_change_an:run.
Does metagpt support applying new requirements to project?
Bug solved method
Have not tried to solve yet.
Environment information
Debian, python=3.11.2-1+b1, venv,
I have this bug as on pip metagpt version, as on newest metagpt github release.
Model gpt-3.5-turbo

According to the document, there are still some unresolved issues in incremental development.

I've consolidated all the incremental development-related issues into #1498 to make it easier to follow up. Any new issues will be discussed in this newly opened issue, and the old issue will be closed.


auditTime(0, animationFrameScheduler) stops emiting unexpectedly.

Describe the bug
Since version 7.5.0, there is a weird interaction between different observables using animationFrameScheduler, especially auditTime(0, animationFrameScheduler), which stops emitting when other observables using the animationFrameScheduler started concludes after the first event is sent to the audit.
This causes problems with Angular CDK virtual scroll viewport which stops working when other things in the application use the animationFrameScheduler on observables which concludes.
It seems related to the same changes which caused https://github.com/ReactiveX/rxjs/issues/7017.
Expected behavior
Other observables should not have side effects on the animationFrameScheduler Action from auditTime(0, animationFrameScheduler) and auditTime should keep emitting regardless of the recycling of animationFrameScheduler actions.
Reproduction code
See the StackBlitz code, which reproduces the issue.  The issue cannot be reproduced using rxJs 7.4.x. It is there since 7.5.x.

Reproduction URL
https://rxjs-afsbug-s5ubbu.stackblitz.io
https://stackblitz.com/edit/rxjs-afsbug-s5ubbu?file=index.ts
Version
7.5.0 - 7.5.7
Environment
Reproduced in Chrome and Firefox.  If you cannot reproduce, try throttling CPU in the Chrome DevTools.
Additional context
No response

Same problem here

We also have the same problem. In my case it leads to the Angular CDK virtual scroll viewport to not render the necessary elements which would be visible within the current viewport, as scroll events are not processed any longer.

Yes, I noticed this bug too after seeing cdk virtual scroll (and our other component relying on animationFrameScheduler) being messed up after updating past 7.4

I've expanded the example @fdeslandes-wk and included the cdk-virtual-scroll-viewport to highlight the problem more prominently.
Have a look here: https://stackblitz.com/edit/angular-zdbuly?file=src%2Fmain.ts


fix shock-cloud initialization

This fixes the shock-cloud initialization to use the new way of setting the initial conditions.

/azp run


Automated Pricing Questions

Pricing
Q. Can I also edit the pricing directly for the options for the webapp, or should I add the variants directly within shopify?
A. Since the product is being generated by the REST API, I would modify the variants from the ShopifyOptions.
https://github.com/KrateLabs/KrateLabs-REST/blob/master/app/utils/ShopifyOptions.js
Since the application isn't connected to the REST API, we would need to modify the simple price calculation to reflect the variant changes.
https://github.com/KrateLabs/KrateLabs-App/blob/master/app/store/store.js#L103

@BradonL The variants are getting built using the list of options (Color, Size, Material). Unfortunately Shopify only allows 3 options... :-1:
I've reformated the ShopifyOptions to make it easier to modify the options.
https://github.com/KrateLabs/KrateLabs-REST/blob/master/app/utils/ShopifyOptions.js


Is there a way to connect to a local redis server when using @upstash/redis?

I use @upstash/redis in my vercel serverless functions. I can connect to the databases created in Upstash console.
Looks like the connection API is tailored to work wiht upstash redis server using http REST.
const redis = new Redis({ url: 'UPSTASH_REDIS_REST_URL', token: 'UPSTASH_REDIS_REST_TOKEN' });

I would also like to be able to connect to my local redis server for local development. I don't really like the idea of sending requests over the network for local development. Using a different client for local development is not great either. So is there a way to run an upstash cluster in my local or connect to my local redis server using @upstash/redis?
Eg. CockroachDB lets run their cluster locally in my machine so I don't have to build local only abstractions to work with CockroachDB.
It'd be nice to have something similar while working with Upstash.

You can use github.com/man/upstashdis

Looks like upstashdis is a Go client. @upstash/redis supporting this out of the box would be nice. Asking as a feature request.

upstashdis is also a REST wrapper around redis.
But you would rather use an official solution, correct?

That's correct. Support by the Upstash team means that any breaking releases to @upstash/redis would support both local redis and upstash redis instead of having to wait for a release if I used a third party package.

upstashdis is also a REST wrapper around redis.

upstashdis is good but I'm building with JavaScript. I don't think I can use upstashdis since it's a Go client.

I have the same issue. I'm going to try coding something to get a patch but first class support would be best!

export default class Redis {
    client: UpstashRedis | RedisClientType;

    static shared = new Redis();

    constructor() {
        if (process.env.NODE_ENV === 'production') {
            this.client = createClient(
                {
                    url: REDIS_SERVER_URL
                }
            );
        } else {
            this.client = new UpstashRedis(
                {
                    url: UPSTASH_REDIS_SERVER_URL,
                    token: UPSTASH_REDIS_SERVER_TOKEN
                }
            );
        }
    }

    set(key: string, value: string) {
        if (this.client instanceof UpstashRedis) {
            const client = this.client as UpstashRedis;

            return client.set(key, value);
        } else {
            const client = this.client as RedisClientType;

            return client.set(key, value);
        }
    }

    get(key: string) {
        if (this.client instanceof UpstashRedis) {
            const client = this.client as UpstashRedis;

            return client.get(key);
        } else {
            const client = this.client as RedisClientType;

            return client.get(key);
        }
    }
}

That's the beginnings of a Redis & UpstashRedis abstraction. It suits my needs but feel free to clean it up, add what you need & use it yourself!

I had the if condition wrong:
if (process.env.NODE_ENV === 'production') {
            this.client = new UpstashRedis(
                {
                    url: UPSTASH_REDIS_SERVER_URL,
                    token: UPSTASH_REDIS_SERVER_TOKEN
                }
            );
        } else {
            this.client = createClient(
                {
                    url: REDIS_SERVER_URL
                }
            );
        }

I tried this last week @un-focused. This solution is good and works well enough as long as we don't need to use @upstash/ratelimit in our code. When we do, the types are not compatible.
It'd be nice to have this officially supported by @upstash/redis so packages like @upstash/ratelimit just work without any extra abstractions.

As I said above, it is a wrapper around a running redis instance to expose an http server compatible with our API.
It's not just a client.
upstash-redis-rest-server --addr <ADDR> --redis-addr <ADDR> [--api-token <TOKEN>]
But I do see your point.
We'll discuss providing a first party redis wrapper internally.

Oh man I saw Go in their docs and mistook it for a go client. upstashdis is what I was looking for. Thanks for clearing it up @chronark and sorry about the confusion. 😀

Can this be reopened? Having an official wrapper would be ideal. It's hard to rely on a 3rd party tool for a service your org is paying for.

I'm afraid we currently don't have the capacity to build and support this. But I do see the value in an official wrapper

I could take a look at making one. What are the requirements?

I made a small one for my personal project a while ago and would be happy to make a new one and submit a Pull Request :)

we have't scoped it out yet
I think we'd like to offer a docker image that has an upstash compatible rest api and talks to any redis instance over tcp

Would be really helpful for local dev, this would also enable edge-flags locally 🔥
I don't always have good internet here in Perú so I prefer to have everything locally while developing

You can use Serverless Redis HTTP (SRH) to run a local HTTP endpoint for development. (See: https://docs.upstash.com/redis/sdks/javascriptsdk/developing-or-testing)

Just my two cents here as someone considering upstash for our caching. I'm sure I can just use SRH here, but it is a bummer this isn't a smoother experience. Because now you have to have to have Docker configured or go just to use @upstash/redis locally. Since we aren't using Docker or Go, our install and setup process gets that much more brittle. Not that we're unwilling to add that setup, but there not being an official solution is a turn off of using upstash in general.

Alright, I'll chat with the team about this. We really value our community, so we'll work on making things smoother. Keep an eye out for updates.

I've been recently using @upstash/redis, was developing for cloudflare-workers and bumped into similar issues. I ended up creating https://github.com/DarthBenro008/upstash-redis-local
You can simply docker run -p 8000:8000 darthbenro008/upstash-redis-local or install even via homebrew ! No need to setup golang or docker separately.

I'm working with Upstash for clients at our agency, I agree that this would be very helpful


Failing server PDF export

This simple snippet crashes my gitpitch server when trying to create a pdf file:
Training: AOP

Session 0

#HSLIDE

Agenda for today

#HSLIDE

TOSCA & YAML

What is it used for in our context?

#VSLIDE

YAML intro

human-readable data serialization
tree of of elements based on whitespaces
implizit data types
every space counts (we use two-spaces indentation)

#VSLIDE

This is the error log:
2017-03-01 12:43:32,480 application-akka.actor.default-dispatcher-25 [debug] c.g.s.PitchService - cachedPDF: pdfAge=1488372212480, max=1200000, file=./tmp/gitpitch/swap/gitlab/*/class01/master/PITCHME.pdf
2017-03-01 12:43:32,487 Front-End-Pool [debug] c.g.s.PitchService - fetchPDF: pp=/gitlab/*/class01/master [ white, null ]
2017-03-01 12:43:32,487 Front-End-Pool [debug] c.g.s.PrintService - fetchPDF: pp=/gitlab/*/class01/master [ white, null ]
2017-03-01 12:43:32,491 Back-End-Pool [debug] c.g.s.PrintService - generatePDF: pp=/gitlab/*/class01/master [ white, null ]
Loading page http://<IP_ADDRESS>:9000/pitchme/slideshow/gitlab/*/class01/master?t=white&fragments=false ...
2017-03-01 12:43:33,171 application-akka.actor.default-dispatcher-25 [info] c.g.c.PitchController - slideshow: [ cached, printg ] /gitlab/*/class01/master [ white, null ]
2017-03-01 12:43:33,173 application-akka.actor.default-dispatcher-25 [debug] c.g.m.SlideshowModel - buildSlideDelim: pattern=#HSLIDE
2017-03-01 12:43:33,173 application-akka.actor.default-dispatcher-25 [debug] c.g.m.SlideshowModel - buildSlideDelim: pattern=#VSLIDE
+- TypeError: undefined is not an object (evaluating 'dom.controls.style')
|_ http://<IP_ADDRESS>:9000/assets/libs/reveal.js/3.4.1/js/reveal.js: 980 (in function "configure")
2017-03-01 12:43:33,261 application-akka.actor.default-dispatcher-25 [info] c.g.c.PitchController - markdown:  [ cached, online ] /gitlab/*/class01/master [ white, null ]
Loading page finished with status: success
Reveal JS DeckTape plugin activated
Printing slide #/2/2    (5/5) ...
Printed 5 slides
2017-03-01 12:43:38,417 Back-End-Pool [debug] c.g.s.ShellService - exec: op=pdf, pp=/gitlab/*/class01/master [ white, null ], time taken=5925
2017-03-01 12:43:38,418 Front-End-Pool [debug] c.g.s.PitchService - cachedPDF: pdfAge=1488372218417, max=1200000, file=./tmp/gitpitch/swap/gitlab/*/class01/master/PITCHME.pdf
2017-03-01 12:43:38,418 Front-End-Pool [debug] c.g.s.PitchService - fetchPDF: pp=/gitlab/*/class01/master [ white, null ], returning pdf=null
2017-03-01 12:43:38,418 Front-End-Pool [info] c.g.c.PitchController - print:     [ failed, printg ] /gitlab/*/class01/master [ white, null ]

@chbndrhnns the snippet of log you have shared indicates a print failure but not a server failure. How have you deployed your server, did you follow all of the production deployment steps outlined here on the Wiki?
Also can you try can open and print your test presentation using gitpitch.com and let me know if you see any failures?

It works fine with gitpitch.com.
I followed the instructions on how to deploy an installation and interestingly, running the command directly produces a pdf file on my server.
I cannot figure out the exact decktape parameters that are used from the GUI - are they different?
ubuntu@a1:~/decktape$ ./bin/phantomjs decktape.js reveal "http://<IP_ADDRESS>:9000/pitchme/slideshow/gitlab/*/class01/development?t=white&fragments=false" test.pdf
Loading page http://<IP_ADDRESS>:9000/pitchme/slideshow/gitlab/*/class01/development?t=white&fragments=false ...
+- TypeError: undefined is not an object (evaluating 'dom.controls.style')
|_ http://<IP_ADDRESS>:9000/assets/libs/reveal.js/3.4.1/js/reveal.js: 980 (in function "configure")
Loading page finished with status: success
Reveal JS DeckTape plugin activated
Printing slide #/6/1    (22/22) ...
Printed 22 slides

The parameters you are passing to decktape look fine.
Given it's working fine on gitpitch.com it suggests some incompatibility in your local environment. I wonder if your problem is permissions related. When you use the GitPitch server to print it generates the pdf file and writes it to disk. And it will write to disk with the permissions of the owner of the server process. This owner must have permissions to write the file into the chosen directory.
What value have you set for the gitpitch.storage property in your production.conf file?
From your original log output I see the following:
Front-End-Pool [debug] c.g.s.PitchService - cachedPDF: pdfAge=1488372218417, max=1200000, file=./tmp/gitpitch/swap/gitlab/*/class01/master/PITCHME.pdf

That suggests your gitpitch.storage property is set to ./tmp/gitpitch/swap. Is the dot at the head of that path intentional?  Or were you intending to write to /tmp?

I am still figuring out what is going on here. I did a local dist installation and it also fails. I used the .tmpdir as I had no write access to /tmp.
I will follow up...

The reason for the crash was that the directory you indicated in your config  did not exist. Absolute paths are recommended and a comment has been added to the conf/application.conf file. See 135411dc225af14a35b1a1a02c4435b5fa96a6fd.


Minor: Add Column::from(Tableref, &FieldRef), Expr::from(Column) and Expr::from(Tableref, &FieldRef)

Which issue does this PR close?
Follow on to https://github.com/apache/datafusion/pull/9595 from @haohuaijin
Rationale for this change
@appletreeisyellow and I noticed this while upgrading IOx -- there are times when the code would like to create Expr::Column that reference each of the columns in a schema
To do so it would be nice to be able to create a Column directly from a &FieldRef rather than having to to first call .as_ref() on the `FieldRef
What changes are included in this PR?
Changes:

Add Column::from(Tableref, &FieldRef)
Add Expr::from(Column)
Add Expr::from(Tableref, &FieldRef)
Change some code to use the new API
Add example

Are these changes tested?
By existing tests
Are there any user-facing changes?

lgtm thanks @alamb CIL testdoc keeps failing

Thanks -- fixed in 4db07ee31

Thanks everyone for the reviews ❤


Fix ci errors

Hi @stevenbird
I add some script to fix bug senna on CI server. I changed the JDK on building machine to 1.8 but it didn't solve the problem. I put some scripts on jenkins.sh to output some diagnosis for Stanford package.

Thanks @longdt219


API page not found?

It appears the API page was somehow deleted?
https://ffrostflame.github.io/BridgeNet2/api/ is redirecting to here

Didn't realize this was BridgeNet2 instead of BridgeNet so I'm closing this


add devnet genesis state root test

Add test that creates devnet genesis state trie and checks that root is correct.
This PR depends on #93

Thanks!


Added minimal EKS Distro base image Dockerfile

Issue #, if available:
N/A
Description of changes:
Adds a minimal base image Dockerfile
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/retest

/test builder-base-tooling-presubmit


Add a customisable announcement banner component for the ecosystem theme

https://github.com/Qiskit/qiskit_sphinx_theme/pull/530 added a banner for announcements to the main qiskit theme, it would be nice to add one for the ecosystem theme to :D

Are you sure we need this? It's more code to support and document. I'd encourage us to only add it if users explicitly asked for it.

Given that we're de-emphasizing the qiskit theme in favor of the qiskit-ecosystem theme, I suspect it will be sufficient for projects to use Furo's built-in announcement banner mechanism: https://pradyunsg.me/furo/customisation/announcement/. The Ecosystem theme doesn't have the custom Qiskit nav bar, so the design should work out better.
If Furo's builtin announcement doesn't work, we can always reopen this :)
The motivation to close this is to have less custom code to maintain.


Standardize exceptions thrown when opening package

Fixes #272, #128

@tarunchopra Can you take a look at this?

@tarunchopra Unless I hear otherwise, I'll plan on merging this tomorrow


more german translations

Hi I started again translating german messages.
I'll do some more translation tomorrow, so pls wait until I'm finished this weeks bucket :-)

Thank you.


Added support for alt text to the underlying html  element.

Since all undocumented props are passed through to the underlying image, this is already possible with alt="your alt text". :thinking:

Ok, good to know.  Might be worth mentioning in the docs.  Helps those still learning React like myself.

@JoelVenable Would you like to create a PR that adds something like "All other props are passed through to the underlying img tag."?

Sure thing.  I also just realized that introducing a new prop and marking it as required would constitute a breaking change.  😄

@JoelVenable Indeed, it shouldn't be required, but when not required, it would be a minor semver change.


Build Failed: Python 3.5.2 / OS X 10.11.5

Interestingly, this seems to be the same problem I just encountered when trying to manually build Python from source. I was giving pyenv a shot because Python was failing to make with the following error.
make: *** [Python/importlib.h] Error 133
I posted a question about that on Stack Exchange:
Building Python 3 on OS X: [Python/importlib.h] Error 133
~ $ pyenv install 3.5.2
Downloading openssl-1.0.2g.tar.gz...
-> https://yyuu.github.io/pythons/b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33
Installing openssl-1.0.2g...
Installed openssl-1.0.2g to /Users/lukejanicke/.pyenv/versions/3.5.2

Downloading readline-6.3.tar.gz...
-> https://yyuu.github.io/pythons/56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
Installing readline-6.3...
Installed readline-6.3 to /Users/lukejanicke/.pyenv/versions/3.5.2

Downloading Python-3.5.2.tgz...
-> https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
Installing Python-3.5.2...

BUILD FAILED (OS X 10.11.5 using python-build 20160629-11-g331f682)

Inspect or clean up the working tree at /var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705011801.57444
Results logged to /var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705011801.57444.log

Last 10 log lines:

dyld: Symbol not found: _getentropy
  Referenced from: /private/var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705011801.57444/Python-3.5.2/./Programs/_freeze_importlib
  Expected in: /usr/lib/libSystem.B.dylib

/bin/sh: line 1: 98417 Trace/BPT trap: 5       ./Programs/_freeze_importlib ./Lib/importlib/_bootstrap_external.py Python/importlib_external.h
make: *** [Python/importlib_external.h] Error 133
make: *** Waiting for unfinished jobs....
/bin/sh: line 1: 98416 Trace/BPT trap: 5       ./Programs/_freeze_importlib ./Lib/importlib/_bootstrap.py Python/importlib.h
make: *** [Python/importlib.h] Error 133
~ $

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35736725-build-failed-python-3-5-2-os-x-10-11-5?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

As per my update on Stack Overflow, switching Command Line Tools from Xcode-beta to Xcode fixed the manual build problem.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
However, pyenv still fails, albeit for a different reason. I need zlib.
~/.pyenv $ pyenv install 3.5.2
Downloading openssl-1.0.2g.tar.gz...
-> https://yyuu.github.io/pythons/b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33
error: failed to download openssl-1.0.2g.tar.gz
-> https://www.openssl.org/source/openssl-1.0.2g.tar.gz
Installing openssl-1.0.2g...
Installed openssl-1.0.2g to /Users/lukejanicke/.pyenv/versions/3.5.2

Downloading readline-6.3.tar.gz...
-> http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz
Installing readline-6.3...
Installed readline-6.3 to /Users/lukejanicke/.pyenv/versions/3.5.2

Downloading Python-3.5.2.tgz...
-> https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
Installing Python-3.5.2...

BUILD FAILED (OS X 10.11.5 using python-build 20160629-11-g331f682)

Inspect or clean up the working tree at /var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176
Results logged to /var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176.log

Last 10 log lines:
  File "/private/var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176/Python-3.5.2/Lib/ensurepip/__main__.py", line 4, in <module>
    ensurepip._main()
  File "/private/var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176/Python-3.5.2/Lib/ensurepip/__init__.py", line 209, in _main
    default_pip=args.default_pip,
  File "/private/var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176/Python-3.5.2/Lib/ensurepip/__init__.py", line 116, in bootstrap
    _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/private/var/folders/qh/5v1b2g614h19h648g0114ybm0000gn/T/python-build.20160705035045.37176/Python-3.5.2/Lib/ensurepip/__init__.py", line 40, in _run_pip
    import pip
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [install] Error 1
~/.pyenv $

@lukejanicke Were you able to resolve this ?
It is almost 6 months since your problem report, and in Jan 2017, I'm still facing the same error (albeit for python 3.6.0, but  doubt that matters)

Same problem here, Mac OS Sierra 10.12.2 (16C68) building python 3.5.2. Any Ideas yet?

Found CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v $VERSION in the wiki.
And it helped. Please close.

@dwt Thanks for the link
All I had to do was xcode-select --install since I had indeed just upgraded to Mac OS Sierra

should this issue be closed since xcode-select --install seems to be the fix?

This seems to resurface in High Sierra / Xcode 9
CFLAGS=-I/usr/local/opt/openssl/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Ignoring ensurepip failure: pip 9.0.1 requires SSL/TLS
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems

BUILD FAILED (OS X 10.13 using python-build 20160602)


add the manifest to the CCP example

I did check my resources @Nasdan and it is better idea to have it. I will update my explanation.

Great! 👍


Project Card: Tech stack section should display information from DB

Related to #118 #112
BEFORE YOU WORK ON THIS TASK: make sure backend API supports tags OR verify API signature with the developer who is working on #118.
User story: As a user, I currently can't see the tech stack for the project.
Deliverable:
Project card should show tech stack above 'Looking for' section.
Important Notes:

Tags are already implemented, just work to make sure it follows the mockups/design.

Mockup

Hello, please assign me this task!


Redirect Problem w/ MCC Form

https://www.dosomething.org/campaigns/submit-your-idea should show what is seen here: https://www.dosomething.org/us/about/submit-your-campaign-idea, but instead links to /campaigns. Unsure where/when this redirect logic broke but was reported by Hannah on 11/4, one day after Global 1.0 launched.

@namimody I believe the link is https://www.dosomething.org/about/submit-your-campaign-idea and that redirect seems to work fine.
If you can verify this please close this out. Thanks!

@mikefantini yep, we've switched out the link in the MCC macro to https://www.dosomething.org/about/submit-your-campaign-idea. Should we be concerned that the link didn't auto redirect? might there be other edge cases -- or not something to worry about?

@namimody it might be worth keeping an eye out for this on the 404's monitoring. But I think for now we can close this out.
If you want to add in the redirect from /campaigns/submit-your-campaign-idea go for it. But I think we should just keep using the /about/submit-your-campaign-idea moving forward when we market this.


Update Composition Tutorial

Following https://github.com/ros2/rclcpp/pull/665 (and https://github.com/ros2/demos/pull/319), the composition tutorial needs to be updated. For example, api_composition is no longer a valid executable.

Done in #168


Cannot join

Hello, i had a system working fine with Radiolib version 6.5 before summer. I just want to retest it and i discover the update to version 7.1 with some major changes in LoRaWAN.
So i tried the example :
/*

This demonstrates how to save the join information in to permanent memory
so that if the power fails, batteries run out or are changed, the rejoin
is more efficient & happens sooner due to the way that LoRaWAN secures
the join process - see the wiki for more details.

This is typically useful for devices that need more power than a battery
driven sensor - something like a air quality monitor or GPS based device that
is likely to use up it's power source resulting in loss of the session.

The relevant code is flagged with a ##### comment

Saving the entire session is possible but not demonstrated here - it has
implications for flash wearing and complications with which parts of the
session may have changed after an uplink. So it is assumed that the device
is going in to deep-sleep, as below, between normal uplinks.

Once you understand what happens, feel free to delete the comments and
Serial.prints - we promise the final result isn't that many lines.

*/

#if !defined(ESP32)
  #pragma error ("This is not the example your device is looking for - ESP32 only")
#endif

// ##### load the ESP32 preferences facilites
#include <Preferences.h>
Preferences store;

// LoRaWAN config, credentials & pinmap
#include "config.h"

#include <RadioLib.h>

// utilities & vars to support ESP32 deep-sleep. The RTC_DATA_ATTR attribute
// puts these in to the RTC memory which is preserved during deep-sleep
RTC_DATA_ATTR uint16_t bootCount = 0;
RTC_DATA_ATTR uint16_t bootCountSinceUnsuccessfulJoin = 0;
RTC_DATA_ATTR uint8_t LWsession[RADIOLIB_LORAWAN_SESSION_BUF_SIZE];

// abbreviated version from the Arduino-ESP32 package, see
// https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/api/deepsleep.html
// for the complete set of options
void print_wakeup_reason() {
  esp_sleep_wakeup_cause_t wakeup_reason = esp_sleep_get_wakeup_cause();
  if (wakeup_reason == ESP_SLEEP_WAKEUP_TIMER) {
    Serial.println(F("Wake from sleep"));
  } else {
    Serial.print(F("Wake not caused by deep sleep: "));
    Serial.println(wakeup_reason);
  }

  Serial.print(F("Boot count: "));
  Serial.println(++bootCount);      // increment before printing
}

// put device in to lowest power deep-sleep mode
void gotoSleep(uint32_t seconds) {
  esp_sleep_enable_timer_wakeup(seconds * 1000UL * 1000UL); // function uses uS
  Serial.println(F("Sleeping\n"));
  Serial.flush();

  esp_deep_sleep_start();

  // if this appears in the serial debug, we didn't go to sleep!
  // so take defensive action so we don't continually uplink
  Serial.println(F("\n\n### Sleep failed, delay of 5 minutes & then restart ###\n"));
  delay(5UL * 60UL * 1000UL);
  ESP.restart();
}

int16_t lwActivate() {
  int16_t state = RADIOLIB_ERR_UNKNOWN;

  // setup the OTAA session information
  node.beginOTAA(joinEUI, devEUI, nwkKey, appKey);

  Serial.println(F("Recalling LoRaWAN nonces & session"));
  // ##### setup the flash storage
  store.begin("radiolib");
  // ##### if we have previously saved nonces, restore them and try to restore session as well
  if (store.isKey("nonces")) {
    uint8_t buffer[RADIOLIB_LORAWAN_NONCES_BUF_SIZE];										// create somewhere to store nonces
    store.getBytes("nonces", buffer, RADIOLIB_LORAWAN_NONCES_BUF_SIZE);	// get them from the store
    state = node.setBufferNonces(buffer); 															// send them to LoRaWAN
    debug(state != RADIOLIB_ERR_NONE, F("Restoring nonces buffer failed"), state, false);

    // recall session from RTC deep-sleep preserved variable
    state = node.setBufferSession(LWsession); // send them to LoRaWAN stack

    // if we have booted more than once we should have a session to restore, so report any failure
    // otherwise no point saying there's been a failure when it was bound to fail with an empty LWsession var.
    debug((state != RADIOLIB_ERR_NONE) && (bootCount > 1), F("Restoring session buffer failed"), state, false);

    // if Nonces and Session restored successfully, activation is just a formality
    // moreover, Nonces didn't change so no need to re-save them
    if (state == RADIOLIB_ERR_NONE) {
      Serial.println(F("Succesfully restored session - now activating"));
      state = node.activateOTAA();
      debug((state != RADIOLIB_LORAWAN_SESSION_RESTORED), F("Failed to activate restored session"), state, true);

      // ##### close the store before returning
      store.end();
      return(state);
    }

  } else {  // store has no key "nonces"
    Serial.println(F("No Nonces saved - starting fresh."));
  }

  // if we got here, there was no session to restore, so start trying to join
  state = RADIOLIB_ERR_NETWORK_NOT_JOINED;
  while (state != RADIOLIB_LORAWAN_NEW_SESSION) {
    Serial.println(F("Join ('login') to the LoRaWAN Network"));
    state = node.activateOTAA();

    // ##### save the join counters (nonces) to permanent store
    Serial.println(F("Saving nonces to flash"));
    uint8_t buffer[RADIOLIB_LORAWAN_NONCES_BUF_SIZE];           // create somewhere to store nonces
    uint8_t *persist = node.getBufferNonces();                  // get pointer to nonces
    memcpy(buffer, persist, RADIOLIB_LORAWAN_NONCES_BUF_SIZE);  // copy in to buffer
    store.putBytes("nonces", buffer, RADIOLIB_LORAWAN_NONCES_BUF_SIZE); // send them to the store

    // we'll save the session after an uplink

    if (state != RADIOLIB_LORAWAN_NEW_SESSION) {
      Serial.print(F("Join failed: "));
      Serial.println(state);

      // how long to wait before join attempts. This is an interim solution pending
      // implementation of TS001 LoRaWAN Specification section #7 - this doc applies to v1.0.4 & v1.1
      // it sleeps for longer & longer durations to give time for any gateway issues to resolve
      // or whatever is interfering with the device <-> gateway airwaves.
      uint32_t sleepForSeconds = min((bootCountSinceUnsuccessfulJoin++ + 1UL) * 60UL, 3UL * 60UL);
      Serial.print(F("Boots since unsuccessful join: "));
      Serial.println(bootCountSinceUnsuccessfulJoin);
      Serial.print(F("Retrying join in "));
      Serial.print(sleepForSeconds);
      Serial.println(F(" seconds"));

      gotoSleep(sleepForSeconds);

    } // if activateOTAA state
  } // while join

  Serial.println(F("Joined"));

  // reset the failed join count
  bootCountSinceUnsuccessfulJoin = 0;

  delay(1000);  // hold off off hitting the airwaves again too soon - an issue in the US

  // ##### close the store
  store.end();
  return(state);
}

// setup & execute all device functions ...
void setup() {
  Serial.begin(115200);
  while (!Serial);  							// wait for serial to be initalised
  delay(2000);  									// give time to switch to the serial monitor
  Serial.println(F("\nSetup"));
  print_wakeup_reason();

  int16_t state = 0;  						// return value for calls to RadioLib

  // setup the radio based on the pinmap (connections) in config.h
  Serial.println(F("Initalise the radio"));
  state = radio.begin();
  debug(state != RADIOLIB_ERR_NONE, F("Initalise radio failed"), state, true);

  // activate node by restoring session or otherwise joining the network
  state = lwActivate();
  // state is one of RADIOLIB_LORAWAN_NEW_SESSION or RADIOLIB_LORAWAN_SESSION_RESTORED

  // ----- and now for the main event -----
  Serial.println(F("Sending uplink"));

  // this is the place to gather the sensor inputs
  // instead of reading any real sensor, we just generate some random numbers as example
  uint8_t value1 = radio.random(100);
  uint16_t value2 = radio.random(2000);

  // build payload byte array
  uint8_t uplinkPayload[3];
  uplinkPayload[0] = value1;
  uplinkPayload[1] = highByte(value2);   // See notes for high/lowByte functions
  uplinkPayload[2] = lowByte(value2);

  // perform an uplink
  state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload));
  debug((state < RADIOLIB_ERR_NONE) && (state != RADIOLIB_ERR_NONE), F("Error in sendReceive"), state, false);

  Serial.print(F("FCntUp: "));
  Serial.println(node.getFCntUp());

  // now save session to RTC memory
  uint8_t *persist = node.getBufferSession();
  memcpy(LWsession, persist, RADIOLIB_LORAWAN_SESSION_BUF_SIZE);

  // wait until next uplink - observing legal & TTN FUP constraints
  gotoSleep(uplinkIntervalSeconds);

}

// The ESP32 wakes from deep-sleep and starts from the very beginning.
// It then goes back to sleep, so loop() is never called and which is
// why it is empty.

void loop() {}

But i obtain this output :
13:59:32.544 -> ESP-ROM:esp32s3-20210327
13:59:32.544 -> Build:Mar 27 2021
13:59:32.544 -> rst:0x1 (POWERON),boot:0x9 (SPI_FAST_FLASH_BOOT)
13:59:32.544 -> SPIWP:0xee
13:59:32.544 -> mode:DIO, clock div:1
13:59:32.544 -> load:0x3fce3818,len:0x109c
13:59:32.544 -> load:0x403c9700,len:0x4
13:59:32.576 -> load:0x403c9704,len:0xb50
13:59:32.576 -> load:0x403cc700,len:0x2fe4
13:59:32.576 -> entry 0x403c98ac
13:59:34.638 ->
13:59:34.638 -> Setup
13:59:34.638 -> Wake not caused by deep sleep: 0
13:59:34.674 -> Boot count: 1
13:59:34.674 -> Initalise the radio
13:59:34.720 -> Recalling LoRaWAN nonces & session
13:59:34.720 -> Join ('login') to the LoRaWAN Network
13:59:41.830 -> Saving nonces to flash
13:59:41.884 -> Join failed: -1116
13:59:41.884 -> Boots since unsuccessful join: 1
13:59:41.884 -> Retrying join in 60 seconds
13:59:41.884 -> Sleeping
13:59:41.884 ->
14:00:41.645 -> ESP-ROM:esp32s3-20210327
14:00:41.696 -> Build:Mar 27 2021
14:00:41.696 -> rst:0x5 (DSLEEP),boot:0x9 (SPI_FAST_FLASH_BOOT)
14:00:41.696 -> SPIWP:0xee
14:00:41.696 -> mode:DIO, clock div:1
14:00:41.696 -> load:0x3fce3818,len:0x109c
14:00:41.696 -> load:0x403c9700,len:0x4
14:00:41.696 -> load:0x403c9704,len:0xb50
14:00:41.696 -> load:0x403cc700,len:0x2fe4
14:00:41.696 -> entry 0x403c98ac
14:00:43.731 ->
14:00:43.731 -> Setup
14:00:43.731 -> Wake from sleep
14:00:43.731 -> Boot count: 2
14:00:43.731 -> Initalise the radio
14:00:43.823 -> Recalling LoRaWAN nonces & session
14:00:43.823 -> Restoring session buffer failed(-1101)
14:00:43.823 -> Join ('login') to the LoRaWAN Network
14:00:50.928 -> Saving nonces to flash
14:00:50.928 -> Join failed: -1116
14:00:50.928 -> Boots since unsuccessful join: 2
14:00:50.928 -> Retrying join in 120 seconds
14:00:50.928 -> Sleeping
As some data arrive the end device :

But it seems that the join procedure does not achieve....

debug((state < RADIOLIB_ERR_NONE) && (state != RADIOLIB_ERR_NONE)

Please remove the second statement such that it only checks < ERR_NONE

sorry for the inconvenience, the problem came from the gateway which have data from TTN filtered. I modify the gateway network connection and the problem is solved!


Classes in Novel set not detected

Hi,
I am trying the github code with dadaset of PascalVOC split 1 but it seems for some reason the classes in the novel set is not detected. For example, cow is always recognized as horse or sheep or dog but never cow. Anyone with similar questions?

Hi,
which configuration were you using? Could you provide more information about training schedules and other logs?

I faced the same problem. Used the demo command provided on the read me page.
Config - configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml
Weights - fsdet://coco/tfa_cos_1shot/model_final.pth
Doesn't the 'all' in config means it should work on the balanced set of classes? But none of the novel classes are being detected.

I faced the same problem. Used the demo command provided on the read me page.
Config - configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml
Weights - fsdet://coco/tfa_cos_1shot/model_final.pth
Doesn't the 'all' in config means it should work on the balanced set of classes? But none of the novel classes are being detected.


Add support for X-Remix-Reload-Document header

This PR is paired with https://github.com/remix-run/react-router/pull/10705 to add support for passing along the X-Remix-Reload-Document header.
Open Development discussion

Any idea when this is going to land? Need any help getting this in

@zackeryg see https://github.com/remix-run/react-router/pull/10705#issuecomment-1662868188

Thanks @robbtraister!  We updated to an experimental react router version in https://github.com/remix-run/remix/pull/7040 so this is good to merge to dev and ship in Remix v2.  I added an integration test as well so I'll get this merge once CI passes.


feat: node 23, more recent patch versions'

I needed more recent node patch versions. Updated nix sha and added support for node 23.

I seem to be getting a prisma unknown binary error with this change when running it locally

I don't see this error with the current version of Nixpacks. I'm guessing something to do with updating the node version? But they are still pulling node v18. I'm unsure atm and can do a bit more digging next week.

I got this working. There were some really old versions of Prisma and Node that were causing problems with more recent SSL libraries.