Update data cleanup rake tasks

Changes proposed in this PR:

Remove tasks that add constraints to boolean fields. Instead I added constraints to the database columns.
Add logging for the data cleanup tasks, so we can trace which records have been changed.
Remove rake task defined in upgrade namespace. It's not longer valid nor required.
Updated rules for fixing Section number. @xsrust please double check the logic here.

fixed merge conflict with schema.rb
Not sure if @xsrust has reviewed this yet? Will assume everything is ok since @Bodacious ran these cleanup scripts on the server. Merging so I can run on roadmap-stg.


Case insensitive .Where() queries

Are case-insensitive queries in gorm possible? For example, if I had a db.Where("key = ?") query, could ABXY match an input of abxy?

this refers to your database.
if your database is case sensitive, then ABXY doesn't match abxy, otherwise do

@aaronn you can use ILIKE in your query.
WHERE("name ILIKE ?", 'abc')


Add teacher domain - primocircoloquarto.edu.it

Hi All,
I would like to add the domain of school "Direzione Didattica 1 Circolo Quarto" in order to let teachers use the JetBrains tool.
This is the website where teachers of school usually log in:
https://www.primocircoloquarto.edu.it/area-riservata/
Thanks
Gennaro

@gennarosdc First stage of verification passed, official domain for Direzione Didattica 1 Circolo Quarto is primocircoloquarto.edu.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@gennarosdc Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@gennarosdc You might miss my previous comment. Please react.

@gennarosdc Please explain what the organization that own the domain does. The name of the organization suggests that it is not a school, but a kind of government organization.

Hi,
Sorry for the delay but is hard to me find all information you requested.
For the moment I can say the organization that owns the domains is a primary and secondary school located in Quarto Napoli Italy.
So is not a government organization.
The official website is https://www.primocircoloquarto.edu.it/
Actually I am not able to provide you other informations or certifications for deep investigation.
Thanks
Gennaro Schiano di Cola
Il giorno 24 set 2024, alle ore 09:24, Philip Torchinsky @.***> ha scritto:

@gennarosdchttps://github.com/gennarosdc Please explain what the organization that own the domain does. The name of the organization suggests that it is not a school, but a kind of government organization.
—
Reply to this email directly, view it on GitHubhttps://github.com/JetBrains/swot/pull/23689#issuecomment-2370405774, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFIUSJFKLJ4ZH6IAQ2APPT3ZYEHUNAVCNFSM6AAAAABON6667WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQGQYDKNZXGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Dear @gennarosdc!
Thank you for the update. The problem is that the website of the school is not completed and looks like it may be a fake. Please see the screenshot below (translated to English with translator extension).

Due to security reasons we cannot approve an email domain for the trusted list here if we cannot verify it correctly.
I apologize for the inconvenience, but I have to close the request without merging.
What I suggest with regard to using JetBrains tool at school:

You can use IntelliJ IDEA Community and PyCharm Community Edition for any purpose without any subscription at all. They are free for everybody.
If you need another tool, please send us an email to<EMAIL_ADDRESS>and we'll discuss possible licensing options with you.
If it's OK for you to use JetBrains tools in your school's classrooms, please consider applying for classroom licenses here: https://www.jetbrains.com/shop/eform/classroom/faculty It will be necessary to prove your teacher's status and employment at the school when applying.

Thank you for your patience and understanding!


Snackbar may throw "warning dismiss has been deprecated..." if property onRequestClose has no callback implemented

In version v0.14.0, a misunderstanding with Snackbar may lead to this warning :
Warning: dismiss has been deprecated in favor of explicitly setting the open property.
if we on only count on :

open property to manually open Snackbar
autoHideDuration to auto-close Snackbar.

To be more precise, this implementation will throw warning :
//somewhere in your code you set snackbarOpened to true to open Snackbar
//this.setState({
// snackbarOpened : true
//});
<Snackbar
  open={this.state.snackbarOpened}
  message={this.state.snackbarMessage}
  action={this.state.snackbarAction}
  autoHideDuration={1500}
/>

The correct implementation (= the way to get rid of this warning) is to implement a callback for onRequestClose property  :
//somewhere in your code you set snackbarOpened to true to open Snackbar
//this.setState({
// snackbarOpened : true
//});

 //you need to explicitly set `open`prop to false
 handleSnackbarRequestClose(){
    this.setState({
      snackbarOpened  : false
    });
 }

<Snackbar
  open={this.state.snackbarOpened}
  message={this.state.snackbarMessage}
  action={this.state.snackbarAction}
  autoHideDuration={1500}
  onRequestClose={()=>this.handleSnackbarRequestClose()}
/>

@alitaheri I think that this component should only be controlled. Do you agree?
If you do, then the simpler fix is to make onRequestClose() mandatory.

is the property name snackbarOpened or just open ?
I think open is a mandatory property.

@oliviertassinari @alitaheri if onRequestClose() were mandatory it would prevent from misunderstanding since React would tell : Sorry man, it does not work like that you need to declare onRequestClose  prop.
For my concern, it would be ok since I would have understood what to do to fix the warning.

@oliviertassinari I think it's a good idea to make it controllable, but not through opinionated API, not every use-case needs that. The reason you see this warning is because the source code wasn't updated not to use it's own dismiss function. I can fix it in 10 minutes. But I'm against this mentality, isRequired should ONLY be declared on props that the component NEED in order to function. like theme list of items, a child in case it's a wrapper. NOT because we believe it's a good pattern. I'll fix this regression in a sec guys. :sunglasses:
But thank you all for your great feedbacks :+1: :+1:
@MacKentoch Thanks for reporting, this sure is a regression :+1: :+1:

isRequired should ONLY be declared on props that the component NEED in order to function

I completly agree, and I think this is our case here.

@oliviertassinari Yup. Sorry for the fuss. going through the code, this is the base solution :grimacing:


drivers: ethernet: sam_gmac: Update driver to use DEVICE_DT_GET

Posted a fuller solution to this here: https://github.com/zephyrproject-rtos/zephyr/pull/48406

I'm favor to use  #48406

I'm favor to use #48406

I agree.


Fix step definition

Why:
The former version would suggest an empty step and an unnamed go-setup step. This changes merged the name and step definition
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):
Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

Thanks for the PR @matthiasgubler! I'll get this triaged for review. ⚡


Directive: custom prefixes

We have taken to prefixing our components by default but we would like to keep the same naming convention for our directives. However it seems the v- prefix is mandatory.
Is it possible to allow multiple prefixes? Or detect whether a prefix is present and only mandate v- if not?

The reason for this implementation is to make sure it is clear that it is a Vue directive. Achieved by a clear simple v- prefix.
This makes it simple to integrate other tools, even angular, without clashes.

@nablex slightly tangent, but you don't need to prefix your components except for the stylistic preference. Unless you are using global components, there is no chance for components to clash for the name, because the names are defined locally in the code that uses them.

We are building a tiny library of reusable components and have taken to naming them with a prefix to make it clear that they belong to the central library. The reason for the v- is clear, I just wish you could use your own, clashes being your own responsibility (as it is with components).

@nablex again, unlike in angular, library developer does not decide on the name under which a component will be used in a the template, but library consumer does.
var GoodLibrary = require('GoodLibrary');

module.exports = {
  components: {
    Accordeon: GoodLibrary.GoodAccordeon, // library consumer decides on the name
  },
},

<!-- not <good-accordeon ...><good-accordeon> -->
<accordeon ...></accordeon>

@simplesmiler I get that that is possible but it is a feature we are not using. In light of our own development I am simply stating that it would be nice to be able to choose the prefix. Having more options is generally a good thing.

Sorry to jump onto this topic that late but why can't you simply register your directives with a name that includes your prefix alongside the v--standard prefix?
<button v-$prefix-icon="helloworld" />


index.html - title and description from config file

Hello, is there a possibility to set title and description in index.html from config.js? It would be good to not have to modify this file for each instance.
Regards,
Piotr

This requires adding e.g. react-helmet


fix: Fixed Admin Interface: Explore Data-Files visibility issue

Purpose
Fixed files visibility issue under explore data section in Admin interface where end user was not able to see more than 10 files and after this code fix we are able to see all the files.
Does this introduce a breaking change?

[ ] Yes
[x] No

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check
Upload more than 10 files from ingest data section in admin interface and verify that we are able to see all the files in explore data section. Please find below screenshots for your reference.

Do we know why this caused the bug in the first place? Thanks

Because in the admin interface under explore data section, we were not able to see more than 10 files earlier.


Specify the websocket server ciphers for iOS9 compatibility

lgtm

@jiayliu Did you you deploy this?

It's already deployed.
On Mon, Nov 9, 2015 at 12:37 AM, Christoffer Jansson <
<EMAIL_ADDRESS>wrote:

@jiayliu https://github.com/jiayliu Did you you deploy this?
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/210#issuecomment-154997176.

--
Jiayang Liu

Perfect, thanks!


CI: Code Style check failed ?!

Support question

Hi,
I'm trying to perform code style check in my Gitlab CI pipeline.
First I created a job to check the code :
Output on Gitlab Runner :
php-cs-fixer fix -v --dry-run
PHP CS Fixer 3.0.0 Constitution by Fabien Potencier and Dariusz Ruminski
Runtime: PHP 7.2.0
Loaded config default from "/app/.php-cs-fixer.php".
.........................F.FF........................................................................  101 / 2141 (  5%)
.FFFFFFFF...F......F.F.....F.....................S...................................................  202 / 2141 (  9%)

It run in a docker image with PHP 7.2.0.
When I format the code on my local repository and push it to gitlab.
Output php-cs-fix on my local machine :
php ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose --show-progress=dots

PHP CS Fixer 3.0.0 Constitution by Fabien Potencier and Dariusz Ruminski
Runtime: PHP 8.0.7

Here I expected to have no fix detected. But the ci job has detected many errors and failed. Any idea ?
most fixes are on : braces, method_argument_space
Config
<?php

$finder = PhpCsFixer\Finder::create()
    ->exclude(['SwaggerClient-php','vendor'])
    ->ignoreVCSIgnored(true)
    ->files()->name('*.php')
    ->ignoreDotFiles(true)
    ->in(__DIR__)
;

$config = new PhpCsFixer\Config();
return $config->setRules([
        '@PSR2' => true,
        'braces' => ['position_after_functions_and_oop_constructs' => 'same'],
        'strict_param' => false,
    ])
    ->setUsingCache(false)
    ->setFinder($finder)
;

HI @juliusdev, can you share some code diff (run the command with --diff)?
Without it I'd guess 2 possible reasons:

when PHP CS Fixer is introduced to a new project and makes a lot of changes the priority issue could hit - there are some cases where FixerA must run before FixerB for some code and FixerB must run before FixerA for other code - and PHP CS Fixer is not supporting this (yet?) - running fix command multiple times (without cache or with removing cache between runs) is needed in that scenario
some fixers are run only for specific PHP versions, but usually for PHP greater that some version and you have the opposite situation, but this is still possible

yep, choose base line for your project, if you can run the project on 8.0, i would strongly recommend to run the CI on 8.0 as well.


3.74: fix local roxctl tests

Description
Failed job: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/branch-ci-stackrox-stackrox-release-3.74-merge-local-roxctl-tests/1660897601647546368
Cherry-picked https://github.com/stackrox/stackrox/pull/4795
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
CI is sufficient.

/test shell-unit-tests


Global timeout isuue

This is an issue that was created a long time ago and was advised that it's being worked out. https://github.com/GoogleChrome/puppeteer/issues/1514
Is page.setDefaultNavigationTimeout now available to use ?
If this is something that exists in the new version, Please discard and close it!

Yes this method now exists - you can call it in your test setup file to set the default timeout

You have to set both setDefaultTimeout and setDefaultNavigationTimeout to properly timeout everything: https://github.com/puppeteer/puppeteer/blob/master/docs/api.md#pagesetdefaultnavigationtimeouttimeout


Bring back futures::stream::futures_ordered?

This function used to exist, but no longer does. It's relative futures_unordered still exists though: https://github.com/rust-lang-nursery/futures-rs/blob/master/futures-util/src/stream/mod.rs#L135-L144

Errr, not sure what I was saying, it looks like from_iter is the way to do this.


Cannot view line diagnostics

Description
Cannot view line diagnostics, lspsaga errors out. I'm using the lua LSP server for this.
Expected Behavior
Work correctly, and show the line diagnostics
Actual Behavior
It gives this error currently:
E5108: Error executing lua .../pack/packer/opt/lspsaga.nvim/lua/lspsaga/diagnostic.lua:86: attempt to call field '_get_floating_severity
_highlight_name' (a nil value)

Neovim Built in Behavior

Execuring vim.lsp.diagnostic.show_line_diagnostics by itself errors out.
E5107: Error loading lua [string ":lua"]:1: '=' expected near '<eof>'

But when appending = true to it, nothing happens, but it doesn't error out either.
Details

Reproduce

nvim -u test.vim the min config that only lspsaga

Where is the min config?

post your program language min code snippet that can reproduce your issue

-- Undo break points
wk.register({
	["."] = { ".<c-g>u", "Insert . and set undo breakpoint" },
	[","] = { ",<c-g>u", "Insert , and set undo breakpoint" },
	["!"] = { "!<c-g>u", "Insert ! and set undo breakpoint" },
	["?"] = { "?<c-g>u", "Insert ? and set undo breakpoint" },
}, { mode = "i" })

Environment

nvim --version output:

NVIM v0.6.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f/build/config -I/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f/src -I/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f/.deps/usr/include -I/usr/include -I/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f/build/src/nvim/auto -I/build/neovim-2TrRir/neovim-0.6.0~ubuntu1+git202109291222-ec4731d98-adeb5640f/build/include
Compiled by buildd@lgw01-amd64-045

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Operating system: Pop!_OS 20.04 LTS
lspsaga commit: bafeddf

Execuring vim.lsp.diagnostic.show_line_diagnostics by itself errors out.

You need to add brackets () in the end i.e. run :lua vim.lsp.diagnostic.show_line_diagnostics()

:lua vim.lsp.diagnostic.show_line_diagnostics()

Okay doing that works, but lspsaga's still broken,

Okay doing that works, but lspsaga's still broken

This should resolve the issue.


return "^" if (ran := random.choice([True, False])) else ""

running the setup.bat file
Traceback (most recent call last):
  File "C:\Users\Potato\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Potato\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\main.py", line 7, in <module>
    from util.ui.ui import Ui, UiLinux
  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\util\ui\ui.py", line 6, in <module>
    from util.methods.common.common import console
  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\util\methods\common\common.py", line 74
    return "^" if (ran := random.choice([True, False])) else ""
                       ^
SyntaxError: invalid syntax

running the setup.bat file

Traceback (most recent call last):

  File "C:\Users\Potato\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main

    "__main__", mod_spec)

  File "C:\Users\Potato\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code

    exec(code, run_globals)

  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\main.py", line 7, in <module>

    from util.ui.ui import Ui, UiLinux

  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\util\ui\ui.py", line 6, in <module>

    from util.methods.common.common import console

  File "C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\src\util\methods\common\common.py", line 74

    return "^" if (ran := random.choice([True, False])) else ""

                       ^

SyntaxError: invalid syntax

Please use python 3.11 or higher. 3.10 might work too.

@KDot227 thanks now the error is gone but the output bat file doesn't seem to work
trying to debug it
C:\Users\Potato\Downloads\Proj X\example>dddd_obf.bat > 1.txt
'■' is not recognized as an internal or external command,
operable program or batch file.
X\example was unexpected at this time.

and in the text file
C:\Users\Potato\Downloads\Proj X\example>þ & cls

C:\Users\Potato\Downloads\Proj X\example>þ  1>nul 2>&1  && exit   1>nul 2>&1  || cls

```

@KDot227 thanks now the error is gone but the output bat file doesn't seem to work
trying to debug it

C:\Users\Potato\Downloads\Proj X\example>dddd_obf.bat > 1.txt

'■' is not recognized as an internal or external command,

operable program or batch file.

X\example was unexpected at this time.

and in the text file

C:\Users\Potato\Downloads\Proj X\example>þ & cls

C:\Users\Potato\Downloads\Proj X\example>þ  1>nul 2>&1  && exit   1>nul 2>&1  || cls

I'll take a look when I'm home

does the code still execute when ran?

does the code still execute when ran?

Nope

does the code still execute when ran?

Nope

Does it work with debug mode turned on?

does the code still execute when ran?

Nope

Does it work with debug mode turned on?

nope , what diff does it make ?
FinalPlainText_obf.bat > 11.txt
1%PROGRAMFILES:C:\Program was unexpected at this time.

does the code still execute when ran?

Nope

Does it work with debug mode turned on?

nope , what diff does it make ?
FinalPlainText_obf.bat > 11.txt
1%PROGRAMFILES:C:\Program was unexpected at this time.

it gives the debug text and uses a lot less obfuscation. Can you try and find the line that doesn't work? Also please update and run test_all.py and press 3 and make sure all tests are obfuscated correctly. Providing your batch code would also help a lot.

Also please update and run test_all.py and press 3 and make sure all tests are obfuscated correctly

updated to the latest version now i am getting this
Files=%l%jGK[R%y%pZmv#G%y%xiAy_%coMmOnprOgRAMfilEs(X86):~27 was unexpected at this time.
running the test_all.py
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ File Name                                                                              ┃ Level                ┃ Difference ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\simple_for.bat │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_10.bat    │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_2.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_3.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_4.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_5.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_7.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_8.bat     │ Obfuscated Correctly │ NONE       │
│ C:\Users\Potato\Downloads\Compressed\SomalifuscatorV2-main\tests\tests_full\test_9.bat     │ Obfuscated Correctly │ NONE       │
└────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────┴────────────┘
Press any key to continue...

can you send your batch code?

can you send your batch code?

Here? Nope
But i can send u it... But where?

can you send your batch code?

Here? Nope
But i can send u it... But where?

kdot_227 discord

are you using any advanced for loops or if statements?

can you send your batch code?

Here? Nope
But i can send u it... But where?

kdot_227 discord

sent u add


global scope

It will not work with just global state providers. We should use global module instead

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix max_collisions not being passed in PhysicsBody3D::test_move

Fixes: https://github.com/godotengine/godot/issues/87900

Working as intended, thanks!

Thanks!

Thank you!

Cherry-picked for 4.2.2.


chore: release 2.0.2

:robot: I have created a release *beep* *boop*
2.0.2 (2023-05-12)
Bug Fixes

support numberic enum types (#98) (db0b095)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/contiamo/openapi-generator-go/releases/tag/v2.0.2 :sunflower:


[Bug]: No listing of 'activated' or 'deactivated' for all users

What happened?
I was expecting to see a list of any features that are enabled or disabled in the main table list.
How to reproduce the bug
Create a feature, then activate for all users, and note that there's no listing shown in the 'manage feature' table.
Package Version
2.0.0
PHP Version
8.3.x
Laravel Version
11.x
Which operating systems does with happen with?
macOS
Notes
also... the docs say that you don't need to do 'Feature::discover' but I found I needed to to have a feature show up in the pulldowns.

@mgkimsal Laravel Pennant resolves features for individual users even when it's activated or deactivated for all. This means there is no single record that tracks feature activation or deactivation. But this package provides you with listeners that you can hook up to know when a feature is activated or deactivated for all.

Feature::discover is called automatically when this plugin is enabled. This is evident on the activate/deactivate dialog.


ImageCaption

In pipeline/object_scale.py, there is ObjectScale, the last remnant of the initial MorphoCut version. This needs to be implemented in the image module. Instead of cv2.putText, PIL should be used. (Because Pillow is already a dependency and OpenCV is not.)

Hey, can I get this issue assigned to me??

Of cause! Just fork the project and create a pull request. Let me know if you run into any issues.

is this issue resolved ?

Not at all.
(Where is all the attention coming from all of a sudden?)

can you tell me how to compile this project locally on my machine ?


Don't use --python=same as the default value -- breaks asv run etc

Set the different default value for 'asv dev' in a different way

Ok, fixed up.


pysqlite3 is not installable from osx.

Please check this: https://github.com/coleifer/pysqlite3/issues/1
Because, in case of OSX, default OSX does not allow extension, pysqlite3 cannot be installable from osx.
But, in here https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/00_Intro/bedrock_boto3_setup.ipynb
procedure includes installation of pysqlite3, and it makes impossible to proceed from osx.

Closing this; please refer to the latest bedrock workshop update and reopen if still relevant.


Integrate reporting of coverage

It would be great if jasmine-rails had built-in reporting of code coverage.   There is support for custom reporting scripts, so something like istanbul should be able to be used as a reporter, but there's little documentation on creating the reporting script.

This is the first time anyone's asked for code coverage in jasmine-rails in over 4 years, so I'd suggest you consider opening a pull request to implement this feature yourself (since it appears no one else is interested in it)

Was just coming to the same conclusion ... :)

blanket-js is really easy to add

@scags9876 You can use teaspoon gem .
there is code coverage


Make icon bigger on some terminal by default.

On some terminal, unicode icons will span 2 cells if the icon is followed by a white space.
This make the icons looks bigger and is comparable to text.
This PR changes the default icons with an explicit space in between. It does not make the rendered text any longer, just make the icons look bigger on supported terminal.
Before/After:

What font / terminal are you using?
I played around with various Mono & Non Mono spaced Nerd Fonts and can't replicate this behavior.
For me the icons are always either the small version (mono spaced fonts) or the larger version (non mono spaced fonts), but the space itself doesn't seem to make a difference.

I'm using just the Symbols Nerd Font for the fallback of all my other Mono font on Wezterm.
The relevant setting by default is here: https://wezfurlong.org/wezterm/config/lua/config/allow_square_glyphs_to_overflow_width.html?h=font but I remember other terminals have it too, but I might be wrong.
FWIW other projects set symbols with a space as well https://github.com/LazyVim/LazyVim/blob/9e07a6615a16fafca37a6def86aa8344c09d289a/lua/lazyvim/config/init.lua#L35-L40

Ahh interesting. I was able to replicate it through Wezterm, neat.
I pushed in a change for the headings only in: https://github.com/MeanderingProgrammer/markdown.nvim/commit/8787fdf63ca4ea0f4a38a78774b3aca51c8e1856.
I left the bullet point as is since that didn't seem to do anything.
Thank you!

Sorry, forgot to do the github magic to assign credit correctly.
This change is now in this commit: https://github.com/MeanderingProgrammer/markdown.nvim/commit/38f7cbcc0024737901ba87ee8bf1a6d466f99774


Add missing FOLLY_NONNULL and FOLLY_NULLABLE

Detected more raw pointer build errors in Apple Mac M1 env.

Since @mbasmanova has submitted another diff to cover my fix, will close mine.


Is it for the Philips purifier managed by the Air Matters app?

As I’ve just tried on my Philips AC4558 but no luck yet, thanks

Yes, it is. I developed it with an AC1214, but I don't see any reason yours wouldn't work. Are you getting any errors in your logs or anything? I can try to help get it working.

Thanks Sunoo,
the log is as below, I've double checked that my Purifier IP is correct :
[2/14/2020, 11:59:51 AM] [philipsAir] Initializing platform accessory Air Purifier...
[2/14/2020, 11:59:52 AM] [philipsAir] Unable to load firmware info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/0/firmware failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
[2/14/2020, 11:59:53 AM] [philipsAir] Unable to load status info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/1/air failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
[2/14/2020, 11:59:54 AM] [philipsAir] Unable to load filter info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/1/fltsts failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
(node:18973) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.

Interesting. Maybe something is different about the AC4558... I’ll do some looking online and see if I can find anything out.
In the meantime, can you try going to http://<IP_ADDRESS>/ in a web browser and let me know what you see?

It's not responding to the http request :
This site can’t be reached
<IP_ADDRESS> took too long to respond.
maybe such part is changed..

I did some looking, looks like the newer models have completely changed their APIs.
I could probably attempt to blindly code for it, but it’d be somewhat difficult not being able to test as I work.

wow, that would be great and I can try it myself for the testing part,
but please take your time on this and thanks very much for your effort.

I’ll take a crack at it next time I’ve got some free time. No promises that it results in something working.

No problem, thanks in advance

Just an update: Looks like people are still working on figuring out how to talk to the new models, but are making progress. Especially since I don't have one of these models myself, I'm going to be waiting on them to work it out.

I'm receiving the same error. Philips AC2889 model. I can get a ping from the IP address for the device so I know the IP is correct.
Let me know how I can troubleshoot if at all.

I’m hoping to have something available for you guys to try soon. Life has been a bit more crazy lately than expected, so I haven’t had as much time as I’d like to devote to this.

@Sunoo Is there anything concrete people can help you with? I just got an AC2889 and would be happy to assist with e.g. capturing some of the network traffic, if that would help.

At the moment, I just need a little bit more time. I plan to be publishing a plugin within the next few days that should have at least partial support for the new protocol. Sorry for the delays.

Yea, no worries at all! Just trying to figure out ways to support you, take your time 🙂

Development would go a bit faster if I had access to one of the new units, but I think I’ve wrapped my head around the new protocol enough to have a shot at it. Plus the py-air-ctrl project seems to have done a fairly good job of documenting it.

Oh, sweet. That project does look helpful indeed.
Well, if there's anything anyone can help you with, please do let us know 👍

@Sunoo Thanks to the virus, I have plenty of time on my hands right now. If you want to push your current state somewhere, I'd be happy to test/contribute!

Sure, let me see about getting it up shortly. Looking like (at least for now) it makes sense to have this as a separate project than this one, because they’re almost completely different. I may look into merging them in the future, for clarity to end users.

Hi, I'm interested too. Is there any update? Thank you for your work.

If it helps, I've just got a new AC1214, yesterday and it has the same problem.
Thanks for your time and effort you put in this plugin!

Hi, I’ve got the same issue on a new AC5659.

They seem to be making good progress over here:
https://github.com/rgerganov/py-air-control/issues/35
I'm getting this error though - any ideas:
Unable to load status info: SyntaxError: Unexpected token í in JSON at position 0

I've been watching that project, it seems pretty close to having the new units figured out. As soon as they release their new version, I plan to resume work and get a Homebridge plugin together for them. I apologize for the delay.

@dsadsa897897r did you try the master of this repo or my repo at  https://github.com/Cyber1000/py-air-control/tree/coap_1_0_7?
you could use the -d switch to get some more info (or if you are lucky the broken JSON as simple string)

This was with this repo - I only got the JSON error once in the homebridge logs and it fixed itself - so no idea sorry! But all working well now! Need to find a good way of turning on and off the blue light on the front though - I currently call a script to do it and it's ugly!

ah ok, since you mentioned the other project and an error in nearly the same sentence, I mixed that up 😄
Thanks for clarifying!

This was with this repo - I only got the JSON error once in the homebridge logs and it fixed itself - so no idea sorry! But all working well now!

Glad it seems to have resolved itself. If it happens again, open a new issue here and I’ll do my best to help get to the bottom of it. I had also understood this to be in reference to the other project, which is why I didn’t respond sooner.

Need to find a good way of turning on and off the blue light on the front though - I currently call a script to do it and it's ugly!

“Night mode” controls that light, which HomeKit didn’t provide an easy way to expose in their air purifier device. I could add a config option that exposes a light switch device that could toggle night mode? Would that work for your setup?

Thank you - I will let you know if the error appears again.
Ah - I did not know about Night Mode!
Exposing the device as a light switch would be great for my particular setup.

@dsadsa897897r Okay! I’ll try to get to it this weekend, but no promises.

that would be amazing!

It looks like the py-air-control project has gotten the new units working reliably. I plan to spend some time soon, probably this weekend, getting a version of my plugin together that makes use of their updates. I’ll post here once I have something.

Thanks for your update, I get an unit model#AC3033/30, but I have no luck to make it works, and here is the log:
[6/1/2020, 10:49:35 AM] [philipsAir] Initializing platform accessory Living Room Purifier...
[6/1/2020, 10:49:36 AM] [philipsAir] Unable to load key: FetchError: request to http://<IP_ADDRESS>/di/v1/products/0/security failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
[6/1/2020, 10:49:36 AM] [philipsAir] Unable to load firmware info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/0/firmware failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
[6/1/2020, 10:49:36 AM] [philipsAir] Unable to load status info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/1/air failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
[6/1/2020, 10:49:36 AM] [philipsAir] Unable to load filter info: FetchError: request to http://<IP_ADDRESS>/di/v1/products/1/fltsts failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80
Any idea to get it fix? Thanks.

Sorry, but I haven’t added support for the new models yet, which is why you’re getting the error. I’m hoping to get something in place soon.

Thanks for your reply and your hard work. Look forward to have this model to be supported soon.

AC4558/50 (4500i) user, sadly I got the same error as Woodstock37.
I do understand that the support for the new models are coming, and I want to thank you for your amazing and hard work!
Cheers!

It’s basically just a matter of free time and motivation right now. I was planning to work on it this past weekend, but everything going on in the world made it difficult to focus enough to make meaningful progress. I apologize for the delays.

Okay, good news everyone! I've just pushed an update that should support all new models. Note that there are some additional steps in the installation instructions, which you'll need to follow even if upgrading.
As I've mentioned before, I do not own or have access to any of these newer models, so I'm relying on you guys to let me know if anything doesn't work as expected.
Sorry this took so long, but I was relying on others to figure out the protocols used.

Hello!
Great news!
However, sadly it does not work for me, the device is added to Home, but it is not accessable.
All I got from the log is this:
2020. 06. 15. 6:42:43 [Philips Air Cleaner] Initializing platform accessory Living Room Air Cleaner... 2020. 06. 15. 6:42:43 [Philips Air Cleaner] Unable to load firmware info: TypeError: Cannot read property 'name' of undefined 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:43 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:43 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:43 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:43 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:43 self.send(msg) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:43 self.connect() 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:43 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:43 raise err 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:43 sock.connect(sa) 2020. 06. 15. 6:42:43 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 191, in _get 2020. 06. 15. 6:42:43 return self._get_once(url) 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 184, in _get_once 2020. 06. 15. 6:42:43 with urllib.request.urlopen(url) as response: 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:43 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:43 response = self._open(req, data) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:43 '_open', req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:43 result = func(*args) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:43 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:43 raise URLError(err) 2020. 06. 15. 6:42:43 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:43 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:43 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:43 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:43 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:43 self.send(msg) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:43 self.connect() 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:43 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:43 raise err 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:43 sock.connect(sa) 2020. 06. 15. 6:42:43 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 210, in get_firmware 2020. 06. 15. 6:42:43 firmware = self._get(url) 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 195, in _get 2020. 06. 15. 6:42:43 self._get_key() 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 116, in _get_key 2020. 06. 15. 6:42:43 with urllib.request.urlopen(req) as response: 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:43 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:43 response = self._open(req, data) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:43 '_open', req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:43 result = func(*args) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:43 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:43 raise URLError(err) 2020. 06. 15. 6:42:43 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:43 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:43 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:43 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:43 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:43 self.send(msg) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:43 self.connect() 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:43 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:43 raise err 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:43 sock.connect(sa) 2020. 06. 15. 6:42:43 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 191, in _get 2020. 06. 15. 6:42:43 return self._get_once(url) 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 184, in _get_once 2020. 06. 15. 6:42:43 with urllib.request.urlopen(url) as response: 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:43 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:43 response = self._open(req, data) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:43 '_open', req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:43 result = func(*args) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:43 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:43 raise URLError(err) 2020. 06. 15. 6:42:43 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:43 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:43 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:43 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:43 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:43 self.send(msg) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:43 self.connect() 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:43 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:43 raise err 2020. 06. 15. 6:42:43 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:43 sock.connect(sa) 2020. 06. 15. 6:42:43 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:43 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:43 Traceback (most recent call last): 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 200, in get_status 2020. 06. 15. 6:42:43 status = self._get(url) 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 195, in _get 2020. 06. 15. 6:42:43 self._get_key() 2020. 06. 15. 6:42:43 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 116, in _get_key 2020. 06. 15. 6:42:43 [Philips Air Cleaner] Unable to load status info: TypeError: Cannot read property 'mode' of undefined 2020. 06. 15. 6:42:43 [Philips Air Cleaner] Unable to load filter info: TypeError: Cannot read property 'fltsts0' of undefined 2020. 06. 15. 6:42:43 [GreeAC]: connecting to <IP_ADDRESS> [using source port 8011] 2020. 06. 15. 6:42:43 Bridge is running on port 51826. 2020. 06. 15. 6:42:43 [GreeAC] New device added: 1ed46a88 - <IP_ADDRESS> 2020. 06. 15. 6:42:43 [GreeAC] device is bound: 1ed46a88 - v6Xy9Ab2De5Gh8Jk 2020. 06. 15. 6:42:43 [ZsirapH-AC] Connected to 1ed46a88 with IP address <IP_ADDRESS> 2020. 06. 15. 6:42:48 [Ring] Configuring 1 cameras and 2 devices for location "Pécs" - locationId: b95cef62-c35b-4294-aa65-45409717e94a 2020. 06. 15. 6:42:48 [Ring] Adding new accessory doorbell_v4 Front Door 2020. 06. 15. 6:42:48 Front Door is running on port 43953. 2020. 06. 15. 6:42:54 with urllib.request.urlopen(req) as response: 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:54 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:54 response = self._open(req, data) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:54 '_open', req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:54 result = func(*args) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:54 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:54 raise URLError(err) 2020. 06. 15. 6:42:54 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:54 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:54 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:54 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:54 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:54 self.send(msg) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:54 self.connect() 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:54 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:54 raise err 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:54 sock.connect(sa) 2020. 06. 15. 6:42:54 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:54 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 191, in _get 2020. 06. 15. 6:42:54 return self._get_once(url) 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 184, in _get_once 2020. 06. 15. 6:42:54 with urllib.request.urlopen(url) as response: 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:54 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:54 response = self._open(req, data) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:54 '_open', req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:54 result = func(*args) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:54 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:54 raise URLError(err) 2020. 06. 15. 6:42:54 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:54 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:54 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:54 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:54 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:54 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:54 self.send(msg) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:54 self.connect() 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:54 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:54 raise err 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:54 sock.connect(sa) 2020. 06. 15. 6:42:54 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:54 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 215, in get_filters 2020. 06. 15. 6:42:54 filters = self._get(url) 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 195, in _get 2020. 06. 15. 6:42:54 self._get_key() 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 116, in _get_key 2020. 06. 15. 6:42:54 with urllib.request.urlopen(req) as response: 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:54 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:54 response = self._open(req, data) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:54 '_open', req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:54 result = func(*args) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:54 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:54 raise URLError(err) 2020. 06. 15. 6:42:54 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:54 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:54 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:54 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:54 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:54 self.send(msg) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:54 self.connect() 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 938, in connect 2020. 06. 15. 6:42:54 (self.host,self.port), self.timeout, self.source_address) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 727, in create_connection 2020. 06. 15. 6:42:54 raise err 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/socket.py", line 716, in create_connection 2020. 06. 15. 6:42:54 sock.connect(sa) 2020. 06. 15. 6:42:54 ConnectionRefusedError: [Errno 111] Connection refused 2020. 06. 15. 6:42:54 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 191, in _get 2020. 06. 15. 6:42:54 return self._get_once(url) 2020. 06. 15. 6:42:54 File "/usr/local/lib/python3.7/dist-packages/pyairctrl/http_client.py", line 184, in _get_once 2020. 06. 15. 6:42:54 with urllib.request.urlopen(url) as response: 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen 2020. 06. 15. 6:42:54 return opener.open(url, data, timeout) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 525, in open 2020. 06. 15. 6:42:54 response = self._open(req, data) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 543, in _open 2020. 06. 15. 6:42:54 '_open', req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2020. 06. 15. 6:42:54 result = func(*args) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1345, in http_open 2020. 06. 15. 6:42:54 return self.do_open(http.client.HTTPConnection, req) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open 2020. 06. 15. 6:42:54 raise URLError(err) 2020. 06. 15. 6:42:54 urllib.error.URLError: <urlopen error [Errno 111] Connection refused> 2020. 06. 15. 6:42:54 During handling of the above exception, another exception occurred: 2020. 06. 15. 6:42:54 Traceback (most recent call last): 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open 2020. 06. 15. 6:42:54 encode_chunked=req.has_header('Transfer-encoding')) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1244, in request 2020. 06. 15. 6:42:54 self._send_request(method, url, body, headers, encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request 2020. 06. 15. 6:42:54 self.endheaders(body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders 2020. 06. 15. 6:42:54 self._send_output(message_body, encode_chunked=encode_chunked) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output 2020. 06. 15. 6:42:54 self.send(msg) 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 966, in send 2020. 06. 15. 6:42:54 self.connect() 2020. 06. 15. 6:42:54 File "/usr/lib/python3.7/http/client.py", line 938, in connect

Looks like you are using the HTTP protocol, newer models use CoAP or Plain CoAP. Have you tried those yet?

Looks like you are using the HTTP protocol, newer models use CoAP or Plain CoAP. Have you tried those yet?

Thanks, trying right now! All I have to do is use "protocol": "coap" instead of "protocol": "http" in the config, right?

Correct, the options for that field are http, plain_coap, and coap. At this time I don’t know any way to detect the correct protocol without just trying each one and seeing what works.

Correct, the options for that field are http, plain_coap, and coap. At this time I don’t know any way to detect the correct protocol without just trying each one and seeing what works.

Great, that fixed it!
Can you help me with the "sleep_speed" and "light_control" settings? What variables should I use with those parameters?
I have an AC4558/50 (4500i), which does support sleep mode and has light controls.
Thanks!

Fantastic! Glad it’s working for you!
If it supports both those features, set those values to true, no quotes needed.

Fantastic! Glad it’s working for you!
If it supports both those features, set those values to true, no quotes needed.

Thanks! However, light control is not working as I thought -at least with my device - (the bulbs are in Homekit, but the device does not turn off lights despite the fact that I turned them off in the Home app), but that is not a big issue for me, I just wanted to let you know as a feedback.
There are 3 air quality "stats" for the AC4558/50 (4500i):

PM 2.5
Gas
Indoor Allergen index

The Air quality tile is showing PM 2.5 Density and Air Quality right now, but no Gas and Indoor Allergen. Is there any way to get those in the Air quality tile? Also it looks like that the PM Density and Air Quality values are not updating correctly, since the numbers are not the same in the home app tile and on the device screen.
Thanks again for this plugin, it is amazing!

It’s possible lights work differently on these new models. IAI is mapped to Air Quality, it was the best solution I could come up with. I’m not sure about Gas, my unit doesn’t have that. I’ll see if I can find out more about it, and will support it if I can.

I looked into it, I don’t see gas as a value coming back, so it is most likely being calculated based on some other values.
As for the lights, it looks like all units should be controlled the same. Perhaps your unit just doesn’t allow control of them?

Thanks @Sunoo! Looking forward to trying this out. How do I know which protocol to use with which device model?

Unfortunately, I’m not aware of any way to tell, other than just trial and error. Choosing the wrong protocol won’t break anything though.


💭 Idea ➾ Improve visibility for Scaffold task in VS Code UI

🔮 Title / Topic
VS Code UI Scaffold visibility improvment
💭 Details
Currently, only initializing the new project looks noticeable. Would be nice to add visibility to scaffolding too

Code of Conduct

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

@jevonearth  and @hu3man  Do you have a suggestion?


scripts/mteb_meta.py does not work with the latest version

Evaluation results files (.json) have a different format in "mteb_version": "1.11.0" compared to "mteb_version": "1.10.1". The scripts/mteb_meta.py seems to only work for the older format.

Thanks @tobiaskungenlu I believe this is a known error (but something that we have to fix). I believe the plan is to transition to using a CLI which we can also test continuously to avoid these issues.
If you have the time we would very much welcome the a PR for a quick fix

@tobiaskungenlu we have now implemented a new CLI which you can find more about here:
https://github.com/embeddings-benchmark/mteb/blob/main/docs/adding_a_model.md
I believe this should solve your issues


wifi ap loss packages by wps_softap_registrar example (IDFGH-11609)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0.4-319-ga6afbb38a4
Espressif SoC revision.
esp32
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-wroom-32e
Power Supply used.

Laptop wifi DHCP request multiple times and the DHCP ack message replied by ESP32 are not equal.
From packet capture analysis, it can be seen that EPS32 responds less to DHCP ack messages.
Steps to reproduce.

run esp-idf/examples/wifi/wps_softap_registrar example
Starting wireshark tool on the laptop
laptop wifi connection to EPS32 hotspot
If there is no reproducible problem, connect repeatedly

Debug Logs.
I (27) boot: ESP-IDF v5.0.4-319-ga6afbb38a4 2nd stage bootloader
I (27) boot: compile time 13:40:45
I (27) boot: Multicore bootloader
I (32) boot: chip revision: v3.1
I (36) boot.esp32: SPI Speed      : 40MHz
I (40) boot.esp32: SPI Mode       : DIO
I (45) boot.esp32: SPI Flash Size : 2MB
I (49) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (58) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (73) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (81) boot:  2 factory          factory app      00 00 00010000 00100000
I (88) boot: End of partition table
I (92) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1dba8h (121768) map
I (145) esp_image: segment 1: paddr=0002dbd0 vaddr=3ffb0000 size=02448h (  9288) load
I (149) esp_image: segment 2: paddr=00030020 vaddr=400d0020 size=83ef8h (540408) map
I (346) esp_image: segment 3: paddr=000b3f20 vaddr=3ffb2448 size=01080h (  4224) load
I (348) esp_image: segment 4: paddr=000b4fa8 vaddr=40080000 size=1553ch ( 87356) load
I (398) boot: Loaded app from partition at offset 0x10000
I (398) boot: Disabling RNG early entropy source...
I (410) cpu_start: Multicore app
I (410) cpu_start: Pro cpu up.
I (410) cpu_start: Starting app cpu, entry point is 0x400812bc
0x400812bc: call_start_cpu1 at /home/qjy/pro/esp32/env/esp-gitee-tools/esp-idf/components/esp_system/port/cpu_start.c:147

I (0) cpu_start: App cpu up.
I (428) cpu_start: Pro cpu start user code
I (428) cpu_start: cpu freq: 160000000 Hz
I (428) cpu_start: Application information:
I (433) cpu_start: Project name:     wps_softap_registrar
I (439) cpu_start: App version:      v5.0.4-319-ga6afbb38a4
I (445) cpu_start: Compile time:     Dec  5 2023 13:42:28
I (451) cpu_start: ELF file SHA256:  0a659d3f6dd8b692...
I (457) cpu_start: ESP-IDF:          v5.0.4-319-ga6afbb38a4
I (463) cpu_start: Min chip rev:     v0.0
I (468) cpu_start: Max chip rev:     v3.99
I (473) cpu_start: Chip rev:         v3.1
I (478) heap_init: Initializing. RAM available for dynamic allocation:
I (485) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (491) heap_init: At 3FFB7238 len 00028DC8 (163 KiB): DRAM
I (497) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (504) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (510) heap_init: At 4009553C len 0000AAC4 (42 KiB): IRAM
I (518) spi_flash: detected chip: generic
I (521) spi_flash: flash io: dio
W (525) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (539) app_start: Starting scheduler on CPU0
I (543) app_start: Starting scheduler on CPU1
mI (543) main_task: Started on CPU0
I (553) main_task: Calling app_main()
I (593) wifi:wifi driver task: 3ffbf224, prio:23, stack:6656, core=0
I (593) system_api: Base MAC address is not set
I (593) system_api: read default base MAC address from EFUSE
I (603) wifi:wifi firmware version: c67464b
I (603) wifi:wifi certification version: v7.0
I (603) wifi:config NVS flash: enabled
I (603) wifi:config nano formating: disabled
I (613) wifi:Init data frame dynamic rx buffer num: 32
I (613) wifi:Init static rx mgmt buffer num: 5
I (623) wifi:Init management short buffer num: 32
I (623) wifi:Init dynamic tx buffer num: 32
I (633) wifi:Init static rx buffer size: 1600
I (633) wifi:Init static rx buffer num: 10
I (633) wifi:Init dynamic rx buffer num: 32
I (643) wifi_init: rx ba win: 6
I (643) wifi_init: tcpip mbox: 32
I (643) wifi_init: udp mbox: 6
I (653) wifi_init: tcp mbox: 6
I (653) wifi_init: tcp tx win: 5744
I (663) wifi_init: tcp rx win: 5744
I (663) wifi_init: tcp mss: 1440
I (663) wifi_init: WiFi IRAM OP enabled
I (673) wifi_init: WiFi RX IRAM OP enabled
I (683) phy_init: phy_version 4771,450c73b,Aug 16 2023,11:03:10
I (773) wifi:mode : softAP (64:b7:08:69:86:45)
I (783) wifi:Total power save buffer number: 16
I (783) wifi:Init max length of beacon: 752/752
I (783) wifi:Init max length of beacon: 752/752
I (783) example_wps_registrar: start wps...
I (783) example_wps_registrar: WIFI_EVENT_AP_START
I (793) example_wps_registrar: Staring WPS registrar in PBC mode
I (803) main_task: Returned from app_main()
I (67113) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (67113) wifi:station: 34:f6:4b:c2:02:db join, AID=1, bgn, 40U
I (67143) example_wps_registrar: WIFI_EVENT_AP_STACONNECTED
I (67143) example_wps_registrar: station 34:f6:4b:c2:02:db join, AID=1
I (69213) esp_netif_lwip: DHCP server assigned IP to a client, IP is: <IP_ADDRESS>
I (69393) wifi:<ba-add>idx:2 (ifx:1, 34:f6:4b:c2:02:db), tid:0, ssn:20, winSize:64
I (80193) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (80203) wifi:station: 58:ce:2a:14:44:7a join, AID=2, bgn, 40U
I (80233) example_wps_registrar: WIFI_EVENT_AP_STACONNECTED
I (80233) example_wps_registrar: station 58:ce:2a:14:44:7a join, AID=2
I (80303) wifi:<ba-add>idx:3 (ifx:1, 58:ce:2a:14:44:7a), tid:0, ssn:8, winSize:64
I (117833) esp_netif_lwip: DHCP server assigned IP to a client, IP is: <IP_ADDRESS>
I (120763) esp_netif_lwip: DHCP server assigned IP to a client, IP is: <IP_ADDRESS>
I (120803) example_wps_registrar: WIFI_EVENT_AP_WPS_RG_TIMEOUT

More Information.
No response

Additional information
This was first discovered in your other projects
https://github.com/espressif/esp-hosted/issues/289

Is there still someone in your company investigating this issue? I haven't heard any news for a long time.

Please attach sniffer capture.

This involves message/packet capturing：https://github.com/espressif/esp-hosted/issues/289
Can't this issue be reproduced internally by your team? It seems to be relatively easy to reproduce.

Please do a capture over the air instead of capturing at different places.

Can you take a careful look at the previous analysis process? https://github.com/espressif/esp-hosted/issues/289

Re-captured the packet. The message was captured on a laptop, which was connected to the eps32 hotspot via wireless. By filtering DHCP messages, it was found that there were two consecutive DHCP Discovery messages sent. Within the first two seconds timeout, no DHCP Offer message was received, so it was re-sent again. This is likely caused by the eps32 air interface losing the Offer message.

esp32.txt
Due to upload attachment limitations, the esp32.txt needs to be renamed to esp32.pcapng so that it can be opened via Wireshark

Hi @qjy0129, these packets are captured on wired interface on station which doesn't give full picture. Could you please try to capture packets on a spare linux wifi system.
Linux:
sudo ifconfig  down
sudo iwconfig  mode monitor
sudo ifconfig  up
sudo iwconfig  channel <channel_number>

esp32_cap.tar.gz
After decompressing the attachment, you can view the complete packet using the Wireshark tool.

Is it difficult for you to reproduce this issue on your side? I feel that it should be easily reproducible.
https://github.com/espressif/esp-hosted/issues/289 In this discussion, your other team has also reproduced this issue.

@jgujarathi Hello, has there been any progress on this issue? If so, could you please inform me?

Hi @qjy0129 ,
We are analysing the issue actively. We will get back to you with any updates.

Hi @qjy0129 ,
We have tried reproducing the issue. While there are multiple DHCP requests sent by the station in the sniffer captures only a few are actually acknowledged by our wps softap registrar device. The acknowledgement implies that it is received by our Wi-Fi stack. In our experiments we have noticed that every DHCP Request that has been acknowledged is passed down to the DHCP server , a corresponding DHCP ACK/NAK is sent out and is visible in the sniffer capture. This means that the other DHCP packets you see are dropped in the air and not by the esp32 device. This can be due to several factors involved in wireless networking.
Please find attached a sample sniffer capture on our end.
example.zip
In this example there are 5 DHCP requests sent out but only 2 are actually acknowledged by our device. There are 2 corresponding DHCP ACKs as a result. Please add the decryption keys by following https://wiki.wireshark.org/HowToDecrypt802.11. (wpa-pwd -> mypassword:myssid). The station has the mac address 3e:8b:cc:08:d9:c0.
If you come across a case where the wps SoftAp registrar has acknowledged a DHCP Request and not generated a DHCP Ack/NAK please provide us with a sniffer capture and debug logs.

https://github.com/espressif/esp-hosted/issues/289
In this discussion, it has been clarified through log additions that the packets are being dropped at the esp esp_wifi_internel_tx interface.

In addition, run the wps_softap_registrar test case:
On the esp32, execute the command:
ap test 12345678

Connect the laptop to the 'test' hotspot, and it acquires an IP address of <IP_ADDRESS>.
On the laptop, execute the command:
iperf -s -u -i 1

Then on the esp32, execute the following command:
iperf -c <IP_ADDRESS> -u -b 1M -i 1 -t 9999

From the iperf results on the laptop, packet loss is observed, even at a rate of 1Mbps. Have you guys used your esp's Wi-Fi module in commercial applications, or is it only suitable for personal DIY projects?

Hi @qjy0129,
We hope you understand that in wireless networking there is always a possibility of dropping packets due to several factors that do not exist in wired mediums. When the rate is limited to 1mbps, it is impossible to achieve that rate in a real world environment due to several reasons for interference. Several APs and devices using the same medium can cause contention issues and it is quite tough to get the slot to send out packets, especially for the amount of time that bigger packets iperf uses will require. There are additional factors that can cause even more drop in rate, such as the RX capabilities of the intended target, it's buffer sizes and it's configuration.
In my previous comment I have attached sniffer captures in which we have measured that every DHCP message sent from the DHCP server does actually make it into the air (sent through esp_wifi_internal_tx). I am attaching further logs of a iperf throughput test we conducted following your steps but in a relatively quiet environment and were able to achieve near perfect 1mbps throughout the test.
throughput_quiet_env.txt

Hi @jgujarathi ，
When ESP32 sends messages through esp_wifi_internal_tx interface, what device do you use to capture the packets transmitted over the air?
Currently, it seems that the issue might be due to either the antenna on my ESP32 development board or the Wi-Fi functionality of my laptop not functioning well?

Hi @qjy0129 ,
We use a Linux desktop with it's wireless interface set in monitor mode.  Please refer to this comment for the recommended setup.


Populating Pages Attribute: Hardcoded or Dynamic?

Problem
Today, in Nav 2.0, the order of appearance of the screens is dictated by the order of the objects of the pages attribute (accepts List<Page>) in the Navigator class. This creates a problem: as the number of screen grows, it becomes more and more difficult to manage which screen will appear in front of the other. The result is several ifs each corresponding to a specific screen. Most nav APIs did not address this problem or followed option 1.
pages: [
  MaterialPage(child: BooksListScreen()),
  if (show404)
    MaterialPage(key: ValueKey('UnknownPage'), child: UnknownScreen())
  else if (_selectedBook != null)
    MaterialPage(child: BookDetailsScreen(book: _selectedBook))
   ... //many other ifs
],

Option 1 - Hardcoded (compile time)
Keep as is: declare the order of the pages at compile time. One option to improve is to divide the screens in smaller scopes and to help keep it organized. Pros: order never changes; dart style. Cons: Developer needs to keep track of the order.
Option 2 - Dynamic
Allow developer to add pages to a list without any order. Before the app loads (or at any other point in time) shuffle the pages to the correct order. Pros: Developer doesn't need to keep track of the order. Cons: Small overhead to reshuffle screens at runtime.
Example:
PageOrder is doing this reshuffle here. The logic of reordering can vary. For example it can follow the order of the URL structure.
Navigator(
  pages: [
     PageOrder( children:[
        MaterialPage(child: CategoryPage()),
        MaterialPage(child: ProductPage()),
        MaterialPage(child: MainPage()),
        ... // many other pages
    ])
  ],
)

Decision
Even if pages attribute will not be directly populated in the future framework/design of the new API we need to make a decision if the API itself will be doing this manually or 'automatically'. A lot of the design will be around this decision because if a dynamic model exist, there will be much more flexibility on how one can implement the API.

Honestly, I don't see any benefit of PageOrder. If I want to order pages, I just need to call sort method on a comparator (inline or extracted) and everything is done. Super simple already.

@nguyenxndaidev PageOrder was just an example which is doing exactly what you described - sorting. The question is should we have the order defined at compile time or runtime.

@nguyenxndaidev PageOrder was just an example which is doing exactly what you described - sorting. The question is should we have the order defined at compile time or runtime.
Also, is not that simple since you need some logic to sort. The logic can be complex which is basically how each screen will appear at anytime in your app.

Sort method means runtime.
Without sort method, it's compile time.

Developer doesn't need to keep track of the order.

But who is defining PageOrder logic? It seems you just moved the problem to a different place.

Developer doesn't need to keep track of the order.

But who is defining PageOrder logic? It seems you just moved the problem to a different place.

It could be inferred by the URL for example, based on the forward slash parent-child. There’s no way to do that with hardcoded logic.

Yes, that would be the most logical ordering. But ordering could also be whatever the developer wants so one way or another, the developer will need to define the ordering. If PageOrder provides some convenient way to do so, cool, but I don't consider this as a necessary part of navigation package. It could be a separate package that can help in ordering a list provided by URL (or something).

that would be the most logical ordering...
If PageOrder provides some convenient way to do so, cool

Exactly. It could be the default logic, if no other logic is implemented. The developer would be able to override the logic.

I don't consider this as a necessary part of navigation package

My experience was that as you have more screens, having 20, 40 screens, managing the ordering is very difficult, so to me yes, it was 100% critical. Plus having 40 chained ifs is not elegant and confusing to say the least, and I don't believe anyone would call it a good design. But open to other ways to solve this problem.

I see.
I was maybe too stuck with beamer's idea of separating stacks into smaller chunks.
After more thought, this idea of having a wrapper that would order and filter pages seems like an interesting basis for a navigation package.

IndexedStack(children: [])

Is 'recommended' for Nav 1.0 + Bottom Navigator Bar.
I envision something similar for Pages.


view results index out of bounds exception

attempted to view results of levee three scenario of workshop 5 muncie data

I removed and recomputed - still have the issue. I was able to view results for this scenario at some point.

this happens when you edit the levee height and recompute

8hr

could not replicate


Fix docker oc version script to send rpm versions

Whoops!!!
somehow this got merged without actually sending the values.
I also added a console printout of the values being sent

ok to test

ok to test

[test] this please.

The reason I changed this PR to a WIP is that I realized I should be collecting docker and openshift rpm versions and not via API, so there is no reason to merge the fix before I do that.
@twiest I also plan to rename is accordingly to cron-send-rpm-versions.
My question is do we still want this packaged in openshift-tools-scripts-monitoring-openshift or in a different sub-package?

@zgalor The problem is that if you collect just rpm versions, you'll be collecting the versions from inside the host monitoring container, which may or may not be the same as what's on the host.

@twiest easiest solution would be mounting /var/lib/rpm/ from the host. Question is, will we in anyway be needing the container rpm db we are overriding?

I would prefer we mount the host rpm database to a different path like /host/var/lib/rpm and then use rpm's --dbpath DIRECTORY flag to point it to that path.
You should check for the existence of /host/var/lib/rpm and if it doesn't exist, fall back to the path /var/lib/rpm.

and in what package should this script be?

openshift-tools-scripts-monitoring-openshift is the right package IMO.

Ok. I removed the wip. tested both on the node and on the master.
It's ready as far as i'm concerned.
@twiest PTAL

@twiest bump

Ok, new logic:

Check for docker rpm version
Check for <origin/atomic-openshift>-node rpm version
Check for <origin/atomic-openshift>-master rpm version

In any case of error print it.
If 1 or 2 fails - send versions we succeeded collecting but return none-zero code.
If 2 fails - don't attempt to collect 3.
If 3 fails - print notification, but return zero code. We don't know if this runs on master or not. I could query the osohm_host_type env variable but I don't want to count on it's existence. Also I believe openshift-master rpm version should be collected on best effort. This will be validated in ManageIQ policy for masters only.
@twiest PTAL


ttl.tensor.rmsnorm results in a mismatch

When running rmsnorm in t5, there is a PCC mismatch

@arakhmati - can you add reproduction steps here ? if not tensor at least datatype and shapes are useful

Will do. Unfortunately it only fails in a bigger test

This is no longer an issue. rms_norm works perfectly fine in t5. Not sure if it somehow got fixed or maybe it was never the problem

This is still an issue. As seen by failures of t5 in the pipelines

@arakhmati can you retry on latest main if this is still an issue?

@arakhmati can you retry on latest main if this is still an issue?

Will do

this issue has grown quite stale. Is this there an opportunity for a downgrade here or just closing if we don't plan on action on this any time soon?

If there is a unit test to repro, I can take a look.

@tt-aho Are you looking at this issue?

Hi @arakhmati ,
In test file tests/ttnn/integration_tests/t5/test_ttnn_optimized_functional_t5.py ,I noticed that different PCC values are provided for each test - RMSNORM PCC.pdf
The assertion error reported for the 7 failing test cases slightly varies in PCC when compared with the expected PCC. Would like to know If there is any specific reason for setting up PCC for each test

I am going to downgrade this to P2 to align with the javelin priority. T5 is super important but yeah javelin is keeping the really busy. I want to make this change to avoid priority inversion.
Feel free to undo this @arakhmati if you feel differently.


Fix package staff instead of core for staff screen

Kind (Required)

Improvement

Overview (Required)

the title says everything
Please move it and change package

Links

https://github.com/DroidKaigi/conference-app-2021/tree/01b8b31305199243344357375ddd3469bf314340/uicomponent-compose/other/src/main/java/io/github/droidkaigi/feeder/core

I'll take care of this.

Thanks! Assigned!


R2RException: Not Found

I wrote a little program to isolate the error. When calling client.agent(...) I got an exception:
poetry run python backend/r2rclient.py
{'response': 'ok'}
Traceback (most recent call last):
  File "/Users/gzo/wrk/scraper/backend/r2rclient.py", line 6, in <module>
    result = client.agent(
             ^^^^^^^^^^^^^
  File "/Users/gzo/miniconda3/envs/scraper/lib/python3.12/site-packages/r2r/main/api/client.py", line 413, in agent
    return self._make_request(
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/gzo/miniconda3/envs/scraper/lib/python3.12/site-packages/r2r/main/api/client.py", line 104, in _make_request
    handle_request_error(response)
  File "/Users/gzo/miniconda3/envs/scraper/lib/python3.12/site-packages/r2r/main/api/client.py", line 65, in handle_request_error
    raise R2RException(
r2r.base.abstractions.exception.R2RException: Not Found

To Reproduce
Here is my little test script
from r2r import R2RClient
import json

client = R2RClient("http://localhost:8000")
print(client.health())
result = client.agent(
    messages=[{"role": "user", "content": "Who was Aristotle?"}],
    vector_search_settings={"use_vector_search":True, "do_hybrid_search":True},
    kg_search_settings={"use_kg_search":False},
    rag_generation_config={"model":"openai/gpt-4o", "temperature":0.7}
)
print(result)

Desktop (please complete the following information):

OS: macOS Sonoma 14.6

Additional context
[tool.poetry]
name = "energieversorger-backend"
version = "0.1.0"
description = "Backend for Energieversorger chat application"
authors = ["Your Name<EMAIL_ADDRESS>
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
flask = ">=2.0.1"
r2r = ">=0.2.78"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Hey @MehrCurry, would you be able to share the server side logs for this issue?
If you are using docker, you may need to prune the R2R container with a docker prune command. Docker caches images, so there might be a mismatch between your client and server versions.

You are right. Client and server version do not match. As soon as you do it right, it works.

Thank you.


hello, a question, can I use my own dataset labeled by labelme to train the model??

hello, a question, can I use my own dataset labeled by labelme to train the model??  thx

yes, you need to change mypath.py and add a class for loading your dataset in 'dataloaders/datasets'.
you might also need to add some dataset related functions to 'dataloaders/utils.py'

hello, can you specify related functions to train our own models ?

hello, a question, can I use my own dataset labeled by labelme to train the model?? thx

I have the same problem. Have you solved it

hello,how do you build your dataset file folder？


Issues in deploying RHOBS on OCP cluster

Some issues observed while deploying RHOBS on OCP cluster using launch script

Deployment script under the test folder gets failed while adding rules This happened when deploying observatorium-template.yaml.
Older image of observatorium-api is used in observatorium-template.yaml due to which observatorium-api remains in CrashLoopBackOff state.
Older image of Thanos is used in observatorium-metrics-template.yaml due to which Thanos remains in CrashLoopBackOff state.
The PVC which were supposed to be created in observatorium-metrics-template.yaml were all in pending state due to the gp2 storage class not available on the OCP cluster.

@vprashar2929 can we close this?

yes sorry didn't close earlier😅


Move chip::Logging::LogV to platform-specific implementation

Problem
Logging is defined in both libSupport and platform, with many defines configuring where support goes.
Logging in general is platform-dependent.
Summary of Changes

Move logging to platform-dependent (nrfconnect and Darwin required this)
removed stdio with timestamp logging (nothing was using this)
android is special cased for the logging implementation since it has no platform (some ideas on how to make this better would be nice. Maybe android does need a platform after all, even if incomplete)

This exacerbates a dependency cycle.
Logging is needed throughout the codebase. "platform" depends on and uses much of CHIP.
I think we need to take a step back and consider how we want ports to work and what's more important - having a semblance of layering, or of reducing the number of places ports need to add their code.
I value the layering as it simplifies how much code we need to think about and can test independent parts, but if we want to have a single place that ports add code, it's probably not possible to have much layering. This PR basically implies that all portable code depends on all platform specific code, and vice versa, in a big knot.

Concrete example -
Should an executable that just does main() { Log("Hello World") } necessarily bring in the CHIP Bluetooth Transport Protocol implementation? Including not only the platform's BLE code, but also CHIP's protocols built on top?
If yes, this PR is OK. If no, we need to take another route.

Concrete example -
Should an executable that just does main() { Log("Hello World") } necessarily bring in the CHIP Bluetooth Transport Protocol implementation? Including not only the platform's BLE code, but also CHIP's protocols built on top?
If yes, this PR is OK. If no, we need to take another route.

Agree this is still a mess. I will try to figure it out a bit more.
What bothers me is that there are two places where logs are configured: support and platform. On top of this, the support version is filled with #ifdefs to try to support various possiblities (however platform-dependent implementations still seem to be required).
I am thinking to have 'platform::logging' independent from the rest.
The example you gave seems to show that we have not split platform enough. Ideally things should be split as 'BLE', 'Inet', 'Flash' etc.

Concrete example -
Should an executable that just does main() { Log("Hello World") } necessarily bring in the CHIP Bluetooth Transport Protocol implementation? Including not only the platform's BLE code, but also CHIP's protocols built on top?
If yes, this PR is OK. If no, we need to take another route.

Agree this is still a mess. I will try to figure it out a bit more.
What bothers me is that there are two places where logs are configured: support and platform. On top of this, the support version is filled with #ifdefs to try to support various possiblities (however platform-dependent implementations still seem to be required).
I am thinking to have 'platform::logging' independent from the rest.
The example you gave seems to show that we have not split platform enough. Ideally things should be split as 'BLE', 'Inet', 'Flash' etc.

platform code is somewhat split today. We have platform code in support, inet, lwip, etc. The premise that all platform code goes in platform/ is currently false; src/platform is this specific "device layer" component not the location of all of the platform specific code.
Agree that ifdefs are problematic, external porters can't add ifdefs without forking the code. We need to fix that, and doing something like pigweed's pw_log would make sense here.

+porters for structural feedback
Simplicity of porting is key, there is a tradeoff here and I would like to give others a chance to weigh in.

+porters for structural feedback
Simplicity of porting is key, there is a tradeoff here and I would like to give others a chance to weigh in.

@jepenven-silabs
It seems GitHub limits the number of reviewers

I'll echo what @mspang said, this change increases the number of directories that a new platform has touch. Which, philosophically, we should avoid. I don't have a good suggestion here, but it does feel wrong to have a cc13x2_26x2 target in the common logging directory.
On a slight tangent, is there a way to define the original log site? The Log() and LogV() definitions are currently in a platform interface header. Assuming the formatting string is constant, we have some tools in our SDK that I would like to take advantage of to elide them from the executable.

I'll echo what @mspang said, this change increases the number of directories that a new platform has touch. Which, philosophically, we should avoid. I don't have a good suggestion here, but it does feel wrong to have a cc13x2_26x2 target in the common logging directory.
On a slight tangent, is there a way to define the original log site? The Log() and LogV() definitions are currently in a platform interface header. Assuming the formatting string is constant, we have some tools in our SDK that I would like to take advantage of to elide them from the executable.

I also feel uneasy about having several platform-specific directories. I could push the logging code back into the platforms themselves. The current state of the code was me going through several refactoring phases. Would that work better?
I.e. I have changed the code to things like : public_deps += [ "${chip_root}/src/platform/logging:efr32"] which makes it clear what logging is used, however I can always put back the Logging.cpp into the platform itself. I will keep stdio and android as stand-alone (because android has no platform and stdio seems to be a generic POSIX support).
Thoughts? @mspang @srickardti

@mspang @srickardti - I moved logging back into the platform directories.
I kept android and stdio as standalone.

We've gone full circle now; the cycle I mentioned earlier in the review process is back.
Single platform target and acyclic structure are contradictory outcomes given the premises that everything depends on logging and other parts of the "platform" layer depend on a decent chunk of CHIP. That's why I asked for more input - something has to give, we cannot achieve all of the desired outcomes.
In my hello world example (https://github.com/project-chip/connectedhomeip/pull/4741#issuecomment-775488642), we now have that logging necessarily brings in CHIP protocol again. I think it's a shame but if we think that putting all the platform code in one library is more useful, I can accept it.