Add feature to change icon size in navigation pane

What feature or improvement do you think would benefit Files?
The icons in the navigation pane are very small, especially in the non-compact view. there would be far more space to display them in larger size and show more detail that especially custom icons can afford.
I see no reason why it should be locked and not customizable.

 We could add an option to make them as large as this, in the non compact view:

Requirements

This proposal will accomplish better visibility of icons
Through that more intuitive selection of folders
and greater value of setting custom icons

Files Version
<IP_ADDRESS>
Windows Version
Windows 10 Pro 22H2
Comments
No response

Most users are fine with the current size

I have a sample size of 3 people I showed the app to, plus myself, who would all at least like the option. It appeals more to the heavy customizers with multiple additional libraries and custom icons.
as it stands, why bother using custom icons if it is just gonna be displayed in a 16x16 minature where you cant see anything.
the space is definitely there as seen on the second picture.
I think at least a toggle between small and large would be ideal :)

I appreciate that and to be clear, this wasn't a no (the issue is still open for a reason). Can you go back to the sample group and ask if they would actually use the option or not?

I understand what you mean.
In fact we were in a discord conversation because I had just discovered Files and we were in the progress of customizing our library system when we noticed that Files had the same limitations as the default Explorer when it comes to not being able to customize the left side Navigation pane (not being able to reorder the entries would be another one).
We all had set custom icons for our dozens of custom libraries, and the frustration of not being able to see them properly in Explorer, carried over to Files, especially since the space clearly is available in the non-compact view which we prefer.
We also think the issue is exasperated by higher res monitors which have even more screen real estate and smaller details.
Everyone of us expressed the frustration of the smaller icons, and we would certainly use the option.
Maybe it could be an additional toggle/slider beneath the "use compact layout" toggle.
Thanks for your consideration :)

(not being able to reorder the entries would be another one).

A quick workaround is to reorder them in File Explorer and it'll reflect these changes in Files, we hope to have built-in support for this soon.
Our current code architecture doesn't have support for swapping icon sizes (our thumbnail code is a mess), we're also limited by the control in WinUI. It's not impossible but it'll be a while before we can properly look into this.

Solving File Explorer frustrations is one of our favorite things to do 🙂

That other request #12707 was not so much about the physical size of the icon, and more about using the correct scale in the ICO files.  16px not only are different sizes, but use different designs.
16px style

Larger styles

They go together because if we change the physical size, we need to change the scale as well.

The vanilla icons from windows seem to have changed to use a different icon image/ icon size when compared to the original picture from the issue, but that only changes the image itself, not the sizing of it as I suggested in the issue. You see the recycle bin still is a small pixelated mess, for example. All the while all the space above and below the icon still goes unused, see pic:

Also, the custom icons I set for some of my libraries are not changing at all.
So, in my eyes, not fixed sadly.

Since it's closely related, I hope it's okay to put this here: I'd like to be able to change the scale/amount of spacing between items in places such as this. In Explorer, my sidebar/navigation bar is much more compact and comfortable. I'd love to be able to access most or all of the items there with little or no scrolling. Same with the right click menu, and the layout types.

Compact spacing in the context menu is being tracked in #9506


Add input and sent FPS to camresolutiontest.js

Added googFrameRateInput and googFrameRateSent stats.
Increased the gatherStats interval to 1000ms to make sure getStats does not affect the performance.
Fixes #365
Note:
Mac camera teardown is unpredictable and flaky on Chrome hence this test will most likely fail on Mac's. Hopefully it will be fixed soon. In the meantime, as a workaround you can have an apprtc tab open with the camera opened in HD while running TestRTC. This is not an elegant solution and it might even not give accurate stats but we do not want to create a workaround for a Chrome bug on TestRTC.

André, PTAL.
Regarding why the input fps is lower than sent fps initially might be down to how webrtc compute the stats, Magnus is going to look into that.
Also he suggested that we might actually start the timer when getStats is delivering stats indicating there is real video rather than having just a timer set at 5 sec for the whole test, WDYT?


Fixes graphql/graphiql#3080

Fixes graphql/graphiql#3080

this has been proposed before, but it breaks sourcemaps


UNDERTOW-1539 Allow checking server DNS name vs. its certificate

The patch is pretty self-explanatory. I'm a bit bugged by the fact that the SSLEngine itself is created by different means in two places but that's how it is and I don't think changing this right now would provide any more benefits.

This is ok to test

Retest this please

Retest this please

Retest this please


Update mapping dict and "README" file

@BruceDai Please help check this PR. Thanks.

LGTM, thanks.


network request transfer delay during  from transport layer to bussiness hander layer over 3 seconds

Describe the Question
network request transfer delay during  from transport layer to bussiness hander layer over 3 seconds
Reproducible Code

Expected behavior
the http request process less then  1 seconds
Screenshots
If applicable, add screenshots to help explain your question.
Hertz version:
0.5.2
Environment:
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/lichard/go-workspace/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/lichard/go-workspace"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.google.cn"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1209987262=/tmp/go-build -gno-record-gcc-switches"
Additional context

use tcpdump to pick data from network

this is bussiness time cost info
http api interface implements below:

Non-stream mode will wait for all of the body bytes to come before trigger the business handler.
If you wanna process the request as soon as header parsed, try stream read body mode: https://github.com/cloudwego/hertz-examples/blob/main/streaming/streaming_read/main.go

the timestamp of client sending http request is 16:58:45.314746 record by tcpdump packed file,
the timestamp of http request arriving application's bussiness layer is 16:58:59.198 record by application's tracing log,
even if the application does not use stream read byte mode,the delay from transport layer to business layer should not so big such as 3 seconds

See if you can construct a minimum recurrence set. If it happens occasionally, it is most likely caused by the network.


Column with no width specified gets fixed to 100px

When I define grid columns, and specify width for all columns but one, the One column gets fixed to 100px which results in all columns width being calculated by browser (in regard to set value), thus all columns change width when window width changes.
Expected behavior is that all columns with width set become fixed width, and the one (or more) column(s) with no width value fill the remaining table space.
Can be reproduced with this code
    fields: [
        { name: "Name", type: "text", title: "Naziv"  },
        { name: "Mbs", type: "text", width: 24, title: "MBS"  },
        { name: "PB", type: "text", width: 23, title: "PB"  },
        { name: "OIB", type: "text", width: 34, title: "OIB"  },
        { name: "Country", type: "text", width: 35, title: "Država"  },
        { name: "City", type: "text", width: 35, title: "Grad"  },
        { name: "ActiveFrom", type: "text", width: 28, title: "Od"  },
        { name: "ActiveTo", type: "text", width: 28, title: "Do"  },
        { name: "Active", type: "checkbox", width:10, title: "A" }
    ],

Setting column width to "auto" or "*" results in it filling 90% of the table ,and the rest are shrunk to 10px, with css still showing original set values.

At least one column width must be set to "auto", before trying to render the table. If no width is set, it defaults to 100px, thus breaking the desired appearance.
Documentation showed many defaults but this one.
Just my luck. I waste a hour on something so trivial, and when i decide to ask here, i find the solution and wish to delete the shame of this issue.

thanks :-)
single "auto" helps to fix another widths


New package: aardappel.lobster version 2024.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue? https://github.com/microsoft/winget-pkgs/issues/156085

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Oh, there's already an Aardappel in the repo, while mine is aardappel. Is there any way to 'rename' my folders and files and commit them into this same PR, or should I just open a new PR?

Automatic Validation ended with:

The file was not found. Verify git path must match with the casing of the file in disk. Not found file on 'manifests\a\aardappel\lobster\2024.0\aardappel.lobster.installer.yaml'

Oh, there's already an Aardappel in the repo, while mine is aardappel. Is there any way to 'rename' my folders and files and commit them into this same PR, or should I just open a new PR?

Good catch. It should be possible to update the file casing in a new commit.

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\lobster.exe returned exit code: 1

(Automated response - build 887.)

Verify:

Does this package have a dependency on VCRedist?

The Getting Started guide of the program states Pre-Requirements: VS2022 Community edition or better, C++ desktop tools installed. when building it yourself. I do not know if that also applies for the pre-built binaries.


Recorder: Extra check to incoming connections which could be not sqlite3 ones

Description:
The recorder listen for connection events (@event.listens_for(Engine, "connect")), and, if they're sqlite3, it access to the dbapi_connection.isolation_level attrib.
To check it, it tests if (self.db_url.startswith("sqlite://"), but this is not sufficient, because the incoming connection could be other than the main one (self.db_url), because some 'custom_component' could be making these, and then, if they're not sqlite3 connections, an error will raise because those haven't the dbapi_connection.isolation_level attrib.
A simple double check of the incoming connection fixes it.
I discovered it when using a custom_component who connects with a mysql DB to pull the data. I've been using that component for near a year, but always from the main HA instance, which also uses mysql to recorder the history. When I used that component on a dev machine, with the default recorder config (sqlite3), the error showed up.

LINT check rejects the type comparison with: type(dbapi_connection) == 'sqlite3.Connection'
(Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck))
How I address that?
from sqlite3 import Connection
if (self.db_url.startswith("sqlite://") and isinstance(dbapi_connection, Connection)):

# or

if (self.db_url.startswith("sqlite://") and (str(type(dbapi_connection)) == "<class 'sqlite3.Connection'>")):

Both fix the LINT check, and the first looks better, but requires one more import.
It's ok to import sqlite3 only to check the connection instance type?


Documentation - Update Wiki 1: Update Contributors

As a developer, I will use markdown to update the Contributors section in belindas-closet-nestjs wiki to include the Spring 2024 team using directory info at Link

Reopen for review and feedback.

I have sorted the names of developers by using Java programming.


Add Daikin ATXS20G2V1B, ATXS25G2V1B, ATXS35G2V1B, ATXS42G2V1B, ATXS50G2V1B, FTXS20G2V1B, FTXS25G2V1B, FTXS35G2V1B, FTXS42G2V1B, FTXS50G2V1B and Argo Polifemo

Thank you for the contribution. Please remove update to the codes documentation - it is auto generated. Thank you.

Unfortunately validation of the code file is failing - you miss temperatureUnit entry. Please test file on your HA installation - there shall be no warning or errors.


gv does not work

This used to work. Pressing gv only reselects the main cursor visual selection.

had something to do with '< and '> marks not being set until being in normal mode. fixed


WIP: services: add open search support

superseeded by: https://github.com/inveniosoftware/docker-services-cli/pull/26


Pass options correctly through from_bytes to FlatArrayMessageReader

Fixes the problem in jparyani/pycapnp#137

Thanks, this was a good catch. Also, thanks for the tests!


Change localization strategy

[ ] Move en locale to its own locale file
[ ] Instead of inline english values, put inline explanations of what the text should be
[ ] Ignore body, in the Translated component

This should also help moving to a simpler translation platform like Transifex.

Fixed by 8d08240764237628c6dc89fb61cdd7ccc4a2e022.


Update links to Flow and Typescript

The links to flow and typescript were not working, probably because the linked files missed '.md' in the link.
This commit fixes the issue by adding '.md' at the end of the file names.

Nice find @prazolpp 👏
I've noticed that there's another broken link in our docs, would you mind to add a fix to this PR as well?

Cheers

Hey Tobias, do I just remove the link or is there a link that I should replace the current link with? Thanks!

Nice find @prazolpp 👏
I've noticed that there's another broken link in our docs, would you mind to add a fix to this PR as well?

Cheers

or add this link instead? https://www.npmjs.com/package/sw-precache-webpack-plugin

Nice find @prazolpp 👏
I've noticed that there's another broken link in our docs, would you mind to add a fix to this PR as well?

Cheers

or add this link instead? https://www.npmjs.com/package/sw-precache-webpack-plugin

Good question, I had a look into the Git history and we've actually removed sw-precache-webpack-plugin about 2 years ago in PR #4169.
sw-precache has been deprecated in favour of workbox. Therefore, the section starting on line 86 in deployment.md might need a bit of an update. Perhaps we could split this into a separate PR, what would you suggest @iansu?


API returned HTTP status ERROR code 502/Bad Gateway

Describe the bug
Since the latest update, i recognized this error in my logs:
Logger: custom_components.reolink_dev
Source: custom_components/reolink_dev/base.py:255
Integration: Reolink IP camera (documentation, issues)
First occurred: March 16, 2022, 5:35:23 PM (3 occurrences)
Last logged: 6:34:09 AM
Unexpected error fetching reolink.Hauseingang data: API returned HTTP status ERROR code 502/Bad Gateway
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/reolink_dev/init.py", line 98, in async_update_data
await base.update_states()
File "/config/custom_components/reolink_dev/base.py", line 255, in update_states
await self._api.get_states()
File "/usr/local/lib/python3.9/site-packages/reolink/camera_api.py", line 460, in get_states
response = await self.send(body)
File "/usr/local/lib/python3.9/site-packages/reolink/camera_api.py", line 1714, in send
raise ApiError(
reolink.exceptions.ApiError: API returned HTTP status ERROR code 502/Bad Gateway
To Reproduce
Unclear, how to reproduce this issue
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Please provide useful information about your environment, like:

Home Assistant version
Version | core-2022.3.5
Installation Type | Home Assistant OS
Development | false
Supervisor | true
Docker | true
User | root
Virtual Environment | false
Python Version | 3.9.9
Operating System Family | Linux
Operating System Version | 5.10.92-v8
CPU Architecture | aarch64

Host Operating System | Home Assistant OS 7.5
Update Channel | stable
Supervisor Version | supervisor-2022.03.4

Reolink camera model : RLC-520
Camera firmware number: v<IP_ADDRESS>_20121112

:+1:

Yea please fix this or at least dont let it appear. Its spamming my log and its coming over homeassistant so I cant even suppress the log. @fwestenberg

There is a firmware update. Maybe that helps.
https://reolink.com/download-center/?firmware-product=e1-zoom

I also got this error and several others. I did 2 things that made most of those disappear, incl. the 502/bad gateway error:

I did a factory reset of my camera (RLC-811A)
I had a generic camera configuration for a cam that I removed from the network. I deleted this cam from the generic camera integration.
I'm still getting this warning sporadically, sometimes many in a row:
WARNING (MainThread) [reolink.camera_api] Host: <IP_ADDRESS>: Failed to get results for Search, JSON data was was empty?
and sometimes this error:
ERROR (MainThread) [custom_components.reolink_dev] Timeout fetching reolink.GartenCam.motion_states data

Removing the camera from the generic camera configuration seems to fix it for me.

@Wibias  what generic camera configuration are you referring to? can you elaborate? is this something you had in configuration.yaml, or another integration you had before? I don't seem to have either any reference to this cam in yaml nor any other camera integration
I see this error as well. Half a dozen times per hour or so

@arigit
Generic Camera: https://www.home-assistant.io/integrations/generic/
This worked for me for a while but then the error came back and some others too. So I went away from this component and switched to WebRTC and REST for the alarms. See here https://community.home-assistant.io/t/reolink-nvr-to-home-assistant-issue/430491


Fix sample network policy manifests

Fixes: #6100

This change is

@bowei Can you approve? Thanks.

/lgtm

/approve


feat: :sparkles: add ticketswap hubspot tap

A forked tap from the potloc variant containing the custom properties we need in the deals stream.

@tobiascadee thanks for the PR! I clicked into your repo and it doesnt look like theres any changes between yours and the potloc version, is the repo missing some expected commits?

A forked tap from the potloc variant containing the custom properties we need in the deals stream.

Based on your description it seems like this might be custom to your implementation, is that right? Do you think this will be useful for others outside your organization? Usually we're happy to list any and all variants on the hub but in the case of hubspot I'm a little hesitant because theres already so many listed and the community is always struggling to figure out which variant to pick.

@pnadolny13 ah I see I haven't committed my changes yet. on the second point: I agree with your line of reasoning, its minor changes to the existing variant so it actually would not make that much sense to create a separate variant. what would be an alternative where I could refer to my custom repo but maybe use the existing variant? It would be nice to not have to have the code local when executing meltano.

what would be an alternative where I could refer to my custom repo but maybe use the existing variant? It would be nice to not have to have the code local when executing meltano.

@tobiascadee The hub definitions are really just metadata mostly for helping meltano understand how to use the plugin (i.e. should it track incremental state, what settings are available, etc.) so using the potloc definition should be fine if you havent altered the metadata.
You should be able to install the potloc variant as normal then update your meltano.yml pip_url to reference your repo, after running a meltano install extractor tap-hubspot --clean you'll have your code along with the potloc meltano plugin metadata. Another less ideal option is to configure it as a custom plugin in your project https://docs.meltano.com/guide/plugin-management#custom-plugins but that requires you to define all the settings and capabilities yourself.

@pnadolny13 ah thanks! I was wondering if that would be possible but nice to know that's an alternative. I have some other sources where basically any other implementation works but I need some changes in the streams config.


Logs support.

Added /logs endpoint with basic logger and LoggerAdapter.

Default logger is based on Winston with a custom query method.
Only GET for /logs is implemented. Query params designed to match loggly interface.
Log files are created each day. INFO and ERROR leveled logs are supported.
LoggerAdapter requires info, error and query methods to be implemented.

TODO: Add unit tests prior to merge.

@peterdotjs Would it be possible to syndicate those logs in a mongo? So multiple server would write in the logs DB and we could keep the order in the case of multiple front-end instances?

@flovilmart Absolutely! Either the community or team should work on creating an adapter to support the multiserver case.

@peterdotjs so in that case, could you refactor a bit the logger as FileLogger.js? This way we'll be able to drop in more logging solution.

@flovilmart yup that sounds good I'll rename to match the transport.

Wonderful! In the end that's just Winston transports to add.

Updated with test, es6 and new adapter/controller style.

If you could either make this experimental (using a env var or something) or add unit or e2e tests I would appreciate it :) up to you though, if you think the code is solid, just ship it. It's not like it will corrupt any DBs or anything.

@drew-gross FileLoggerAdapter.spec is basically testing e2e in creating the log and querying it. I'll move forward with the merge.


Typo in Architecture figure

Hello and thank you for Neologism!
In the README figure: https://github.com/Semantic-Society/Neologism/blob/main/assets/NeologismArchitecture.png
It looks like there is a typo (?). The bottom left box should say: "SPARQL" instead.
Best,

Thank you very much for reporting this!


maja for Landsat product

Hello,
I would like to know if you integrated Landsat 8 data on the updated version of start-maja.

Sorry, but not yet, and not in the coming months.
Olivier

Thank you @olivierhagolle


Can't get device viomi.fan.v7

Hi. Thanks for your excellent integration :)
I have a WiFi pedestal fan visible in my Mi Home app that I cannot access with this integration. Is there a way to use this integration to access and control it?
When I reload the integration, it does not find the fan. (It does have all my Zigbee buttons and sensors.)
My configuration has two "integration entries", the gateway IP with 9 devices and my cloud login (email) with no devices.
When I click "configure" for the cloud one, I see these two choices:
Device

DC Fan (<IP_ADDRESS>)
Xiaomi Gateway (<IP_ADDRESS>)

When I select the fan and click submit the screen updates to show the following extra information and still has the radio buttons:
MiCloud devices info
Name: DC Fan
Model: viomi.fan.v7
MAC: xx:xx
IP: <IP_ADDRESS>
Token: xx
Firmware: 2.2.0

Clicking "submit" just makes the window move a bit, like a refresh, and it stays like that - no change.
I enabled more logs and this is what I see when clicking submit:
2024-09-05 11:25:28.413 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.<IP_ADDRESS>] {'topic': 'log/z3', 'd
ata': b'emberAfPluginConcentratorUpdateEventHandler : 0 FFFD'}
2024-09-05 11:25:28.419 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.<IP_ADDRESS>] {'topic': 'log/z3', 'd
ata': b'Coordinator sent MTORR'}
2024-09-05 11:25:41.730 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.<IP_ADDRESS>] {'topic': 'gw/588E81FF
FEF6E63E/heartbeat', 'data': b'{"networkUp":true,"networkPanId":"0x7409","radioTxPower":7,"radioChannel":15}'}
2024-09-05 11:25:55.980 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.<IP_ADDRESS>] {'topic': 'openmiio/re
port', 'data': b'{"gateway":{"firmware":"1.5.0_0102","model":"lumi.gateway.mgl03"},"miio":{"cloud_starts":1,"cloud_state
":"cloud_connected","cloud_uptime":"32m30s"},"openmiio":{"uptime":"32m31s","version":"1.2.1"},"serial":{"bluetooth_rx":2
439,"bluetooth_tx":365,"zigbee_rx":6597,"zigbee_tx":5127,"zigbee_oe":4},"zigbee":{"z3_starts":2,"z3_uptime":"31m18s"}}'}

(None of that looks like any kind of result of my choice.)
Here are some details from the Home Assistant UI about the gateway:
Gateway: ZNDMWG03LM, ZNDMWG02LM, YTC4044GL, lumi.gateway.mgl03
by Xiaomi
Firmware: 1.5.0_0102
I have successfully controlled this fan with a second integration, hass-xiaomi-miot, but I'd like to use just one if I can.
So, can I use this fan with this XiaomiGateway3 integration? Thanks!

Gateway not related to WiFi devices
https://github.com/AlexxIT/XiaomiGateway3?tab=readme-ov-file#supported-devices

Thanks for the prompt reply!
The integration shows the fan so it looked to me like I could get it to work somehow.
Perhaps you could make it not show these devices?

Also, I just reinstalled the hass-xiaomi-miot integration to get my fan working and spent a while trying to figure out how to get the token, when I realised that your integration shows this!
I imagine this is a lot less work than most of the other methods like extracting data from a phone backup or using a Python script. Thanks 👍
Token: xx

https://github.com/AlexxIT/XiaomiGateway3?tab=readme-ov-file#obtain-mi-home-device-token


Set 'size' property incorrectly transpiled as 'length' in typescript

See title.
Expected behavior
Set<> should use 'size'.
Actual behavior
Set<> uses 'length'.
Steps to reproduce the behavior
Run generator on any thrift file containing a set<___>.

Fixed in 3cde5e48f1852c302847e52791c8e6e98404d96e


Relicense under MIT?

Shields has always had a public domain dedication with the CC0 license.
I'd like to relicense it with a permissive free software license in order to provide a warranty disclaimer and limit our liability as contributors.
The absence of any disclaimer may create an implied warranty in certain circumstances, and I imagine we agree at least on the principle that no one who contributes to Shields cares to legally warrant that the code works. It makes me more comfortable, knowing I'm not responsible for problems this software might cause someone, and probably some other contributors will feel the same. Contributors who work on their employer's time – and their respective employers – may appreciate this as well.
The MIT License is the simplest, best understood, and (maybe?) the most widely used free software license. anafanafo and svg-to-image-proxy are both MIT-licensed, and so are many of our dependencies. It's my go-to for new projects.
It's very short:

Copyright (c) 2019 (list of names) and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This article does an excellent job of spelling out why the warranty disclaimer and limit of liability are useful provisions.
If we adopt the new license, we'd be asserting copyright on new revisions of Shields, which would be considered a copyrighted work that incorporates (and modifies) the public domain code from previous revisions.
(It's unusual to be able to relicense code without getting approval from all the copyright owners. It's possible here because the work is not copyrighted. That means the modified work can be released under whatever terms the creator likes.)
Notwithstanding any of the above, it's worth mentioning that I really appreciate the spirit of Shields' public domain dedication, and think it may have been a big part of the ethic of the early years of the project. Changing the license isn't about changing that spirit. (If we do change it, we should also mention the history of the license in the readme.)
(continued from https://github.com/badges/svg-to-image-proxy/pull/29#discussion_r300877618)

I'm up for this change as well!

I'm also on board with this

I was in contact offline with @espadrine who is on board with this, and suggested we consider the Apache 2.0 license which includes an explicit patent grant. Kyle Mitchell who wrote the blog posted I linked to above, calls it "the best permissive license" based on business perception.
I'm happy to go in this direction if other folks are comfortable with it.

SGTM

Discussion on this continued at #3736 but did not resolve.
Ideally we'd have some professional legal advice on whether to use MIT or Apache 2.0. In the absence of that – and in the interest of wrapping this up – how about we go the Rust route and dual-license under MIT and Apache 2.0.
At a future date if we decide we want to drop one or the other, we can easily do that.


"which specified" should be "which are specified"

https://github.com/guanzhi/GmSSL/blob/master/README.md
Original:
README.md

About GmSSL

GmSSL is an open source cryptographic toolkit that provide first level
support of Chinese national cryptographic algorithms and protocols which
specified in the GM/T serial standards.

"which specified" should be changed to  "which are specified".

Thanks , we have fixed that.


Enclosure Question

@notms I saw you posted on a question on the genmon repo. I didn't want to clutter the issue tracker system.  I was curious do you have a 22kW generator and what type of enclosure do you use? I am trying to figure out if the one I have is too large to fit inside the generator. Thanks :-)

Did you use a drill to create a hole on the bottom to route the data + power cables?

Yes a 22 and this is the enclosure DJC Supply Co. 3.9" x 5.9" x 2.75" ABS Waterproof IP67 Hinged Transparent Clear Cover Electronics Box with Mounting Plate, Bracket https://a.co/d/0B9ntXY I did use a drill at the bottom and used a weatherproof wiring guide

Thanks so much for getting back to me! I was looking at this enclosure (7.9”×6.1”×3.1”) which seems a bit bigger than yours. Do you have a rough idea how much working space there is?
For the weatherproof guide, how did you contend with the data cable having 8 separate wires? While it could be fed though would that 8 separates cables not have a good seal?

I used this, it provides an amazing weather seal and squeezes all the cables together TUPARKA 50 Pack Cable Gland Waterproof Adjustable 3-16mm Cable Connectors PG7 PG9 PG11 PG13.5 PG16 PG19 Plastic Cable Gland Joints with Gaskets in PP Box https://a.co/d/fvXytE6

What I like about mine is I can quickly get into the box as well as clearly see all the lights blinking even from outside through the slits of the generator.

Yea, I am not heart set on the one I got, I wanted to put both the Pi and the Splitter in the box so I am little concerned that 3.9" x 5.9" x 2.75" would be too small. I ordered one along with the next size up 6.7" x 8.7" x 4.3" to see. I was looking at your pictures from issue 940 which I think are the best I have seen of that area of the generator. I think the extra height and depth would be okay, but I am concerned about going from 3.9 to 6.7 on the width.

From the pictures when I put my box in there was still some room above as well as at the bottom and to the right. Just to let you know I can fit two raspberry pi zeros as well as two converters easily.

So noted. Thank you so much!
For my setup I went with the PI 3A+ and the Splitter from PintSize.me.

This is the splitter that I went with and a cable 3pcs TTL to RS232 Module TTL... https://www.amazon.com/dp/B091TN2ZPY?ref=ppx_pop_mob_ap_share and StarTech.com EPS 8 Pin Power... https://www.amazon.com/dp/B000M802RG?ref=ppx_pop_mob_ap_share

Very cool. You have given me a lot to think about. I am going to lay the stuff out and see. I'll report back if you are interested. Thank you so much all the input. I hope they can sort out the issue with your wifi controller. The two maintainers are crazy helpful. This is such an amazing project.

Definitely, just remember if you are doing wifi, the generac enclosure is like a faraday cage, my eero router is literrraly 25 inches from the generator and I get about -70db on internal wifi, if you have external antenna I would suggest to use if you want wifi.

Yea, the plan is to do wifi. Does the Zero have an external wifi antenna? I know the 3A+ doesn't. I wonder if I should get a USB WIFI module with an antenna?

Nope zero doesn’t, there is a way I can break the connection and splice a connector but a bit risky, some PI’s do have external antennas, I was thinking of using the usb wifi, some  are good and some are junk

Yea my AP would be inside the house, maybe 10 - 15 feet Birds Eye. If yours is only 25 inches away that makes me really concerned.
I found this https://www.amazon.com/TP-Link-TL-WN722N-Wireless-network-Adapter/dp/B002SZEOLG and TP Link normally makes good stuff.

I just ordered a couple of USB ones with removal antenna. I will report back if any worked out of the box.

@notms Just an FYI I got an USB Wifi module working that has a removal antenna. I am going to have this be the primary interface for the Pi and the onboard as a fallback. See https://github.com/jgyates/genmon/issues/670#issuecomment-1716728015 for more details.

Very cool, can you share the link as well as any config as well as extra power that the external USB is taking, I am running Zero so need to keep it all in mind. I am assuming you would want to buy an external antenna that mounts to outside with weather proof seal as well.

Sure thing, so I am using this hub, this adaptor, this antenna extension cable, this usb angled adaptors and this usb angled adaptors, and possible this antenna or the plastic one that came with the adaptor.

Yea I figured knowing my luck I would need to connect a keyboard and mouse to troubleshoot and I didn't want to lose wireless. I picked that one because the 3 has a full-size USB. I am not sure if the antenna that I got is "weather" proof though I wasn't too concerned, I figured there isn't any power running over it so I didn't think it would matter to much?
It's going to be like ~10 feet as the crow flys I think. Though it will be going though a wall. I know standing in the spot the generator will go I have decent wireless signal on my phone so I think it is close enough?
Sure, I would be happy to see what you did!
I am not sure if you read my longer issue on the genmon page but I have a home automation PC that I am using a proxy for the Pi via a SSH tunnel. My genmon runs on local host so it isn't inaccessible without the use of the SSH tunnel. I saw that one person that got hacked and I put my tiny foil hat on. Being able to get to externally would be cool but I wasn't quite sure the best way to do that.

I also got a hold of a UPS cyber power 1500 that will sustain the cable modem and the router so that I can see the status of the generator even if it’s not providing power and there is no external power, it’s limited but should run a couple of hours.

Yea that should be super useful during the transition when the power goes out. My understanding is it takes like ~30 seconds to the generator to start so you need a battery backup to sustain things for like 5 minutes.
We have some weird voltage issues in the area so all the computers have a battery back up to do voltage smoothing. Thankfully the network gear is by a computer so they share the unit.
Thanks for reminding me, I have to pick up a small one for the access point the generator connects to.

So you run Tailscale on your home network and then VPN in when external to access it?

It runs right on the PI as a service, it’s very cool

Ah so you can access the Pi on your local network and then the client adds to the virtual Tailscale network that you can VPN in so it doesn't expose your entire network?
That's pretty cool.

Yes essentially you download a Tailscale vpn app on your phone and once
enabled the external IP pops up to use
On Wed, Sep 20, 2023 at 2:29 PM ssmoss @.***> wrote:

Ah so you can access the Pi on your local network and then the client adds
to the virtual Tailscale network that you can VPN in so it doesn't expose
your entire network?
That's pretty cool.
—
Reply to this email directly, view it on GitHub
https://github.com/ssmoss/homebridge-flume/issues/1#issuecomment-1728237912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APKEVLZBFHCHBFJA3UBP66DX3MYYBANCNFSM6AAAAAA4JRJI6U
.
You are receiving this because you were mentioned.Message ID:
@.***>

I went through all the steps and can’t see the Realtek usb wifi adapter. I can see it when I go to lsusb but don’t see it if I do ifconfig curious if you ran into it before, thanks

What is the output of lsusb? If you look at the bottom of the adaptor does it list the chipset? On the bottom of mine it had it printed. Can you post that as well. Can you post all the steps you did to build and install the driver?

Thanks for your reply I re-ran the install rebooted multiple times and finally got it working. How did you prioritize wifi decide vs wifi connection?

Make sure it survives a couple of reboots just to make sure :-)
So each adaptor will have a different MAC address to identify it. In my router I assigned a static IP to one. To use the USB one I connect to that IP.

So you mapped two MAC addresses from two different wifi connections to a single IP?

No, I have the internal one with the MAC address of AA:AA:AA:AA:AA:AA and the usb one with the MAC address of BB:BB:BB:BB:BB:BB. In my router I said map <IP_ADDRESS> -> AA:AA:AA:AA:AA:AA and <IP_ADDRESS> -> BB:BB:BB:BB:BB:BB. To access on the USB one I would use address <IP_ADDRESS>

The author of the project added two configuration settings because of a ticket I made. They are:
flask_listen_ip_address=
genmon_server_address=

If you want to bind genmon to a specific interface you can change it from the default of <IP_ADDRESS> which is listen on all interfaces.

Ahh ok that makes sense so you have them both running so if one fails you would hope the other is able to communicate out, but it doesn’t matter which one is receiving or sending data from your perspective

Yes so since it listening on <IP_ADDRESS> you should be able to load the UI from either address.
In my case, no, because I didn't SSL certificate rotation (restarting), wanting better dynamic user accounts, and wanting to lock the PI down. As such my genmon listens on <IP_ADDRESS> and I create a SSL tunnel to it. I then use the Apache instances running on my home automation computer to handle SSL, user access control and as a proxy via the tunnel to genmon.
Once I everything into place and see what the wireless single is like for the internal adaptor I might create a second tunnel and then use Apache to create a status based load balances to automatically change if one goes down.

Once you get your two IP address setup, let me know if you have any issues connecting.

I got two IP’s running just need to tie it to the USB with external antenna as a priority and then internal wifi as backup if the first fails. It looks like it can be done with SSID’s but can’t find to do with wifi hardware devices.

Not sure I am following? Out of the box both adaptor should just connect to your wireless network. If you run iwconfig you see what each one is doing. You can use ifconfig to get the MAC address for doing the static address mapping. Look for the section titled ether in the output of wlan0 and wlan1.
How is this antenna working for you? I was thinking going with it instead and then using magnets instead of screws to stick to the outside of the enclosure

The taller antenna is actually giving me 10 dBm worse at 5Ghz, trying to get this to 2.4Ghz to see if I see better results.

I wouldn't bother with 5GHz as it drops off quickly with obstructions. I will be using 2.4GHz for mine. I don't suspect you need a super high speed link for genmon, I think something around 10Mb/s would be more than enough.

I am trying to get the usb adapter to connect to 2.4, I have Google nest wifi, no easy way to force 2.4 unless I can disable 5ghz in driver settings somewhere

Ah...hum...I think you can set a frequency list in wpa_supplicant.conf

Oh cool will check it out btw I found command “is dev” pretty useful as it calls out the channel width and center as well as to power to .00 decimal levels

According to this wpa_supplicant.conf it seems like you could set freq_list:
# freq_list: Array of allowed frequencies
# Space-separated list of frequencies in MHz to allow for selecting the BSS. If
# set, scan results that do not match any of the specified frequencies are not
# considered when selecting a BSS.

I got it working with forcing 2.4 unfortunately no change on dBm with the tap antenna at least I am not loosing signal as I have been with 5ghz. I am doing this test outside of the generator just to get a better understanding, I will report back in a couple of weeks when I install it on the generator. I am getting the hockey puck antenna tomorrow will test to see how it responds and report back. Thanks for your help btw really appreciate it

I am also using a raspberry zero so power consumption could be an issue, I will try with a USB powered hub to see if I get better numbers as well

Yay, happy you got that all sorted out!
Oh interesting point. I think you can check the power going to the device using lsusb -v|egrep "^Bus|MaxPower". Mine shows 500mA which is the max permissible over USB 2 I think. I would think if you are using supported adaptor or the power from the generator battery you should be okay? I am curious to know your results.

Thank you showing 500mA

So I think you are okay power wise. Though given that it is USB never hurts to double check :-) Let me know what you find out.

So it’s interesting the two external antennas dropped the connection worse by like 10 dbm if not more, not sure if I need an amp and this is just in my home setting not at the generator. I will hopefully test this next weekend with the generator to see if what real world numbers would be.

So I got the wireless antenna you suggested connected and it reports better compared to the internal wireless. The internal reports the following:
Link Quality=50/70  Signal level=-60 dBm
Bit Rate=39 Mb/s

where as the USB one reports:
Link Quality=66/100  Signal level=31/100  Noise level=0/100
Bit Rate:72.2 Mb/s

I current have my box upside-down on the table letting the glue for the magnets dry.

That looks pretty good glad you are seeing the difference, I will be doing more tests, what I like is that it’s weather proof which is key in longevity

@notms I noticed something after I started doing some practical testing with my enclosure. You need to adjust the route metric for the usb adaptor due to which interface it favors. Networking routes are prioritized based on the following:
Routes are prioritized by Metrics. The lower the metric the higher the precedence.
Once we have the routes created with Metrics specified, Route with Lower Metric
value will take higher Precedence.

Here is the current routing table:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         xxx.xxx.xx.x    <IP_ADDRESS>         UG    302    0        0 wlan0 <-- onboard
default         xxx.xxx.xx.x    <IP_ADDRESS>         UG    306    0        0 wlan1 <-- wifi
xxx.xxx.xx.x    <IP_ADDRESS>         xxx.xxx.xxx.x   U     302    0        0 wlan0
xxx.xxx.xx.x    <IP_ADDRESS>         xxx.xxx.xxx.x   U     306    0        0 wlan1

You will see that the onboard adaptor has a lower metric compared to the usb one which means that it will be favored. To fix this you need to edit the /etc/dhcpcd.conf  file and add the following:
# Favor USB Wifi Of Internal
interface wlan1
metric 100

Either reboot or run the following command service dhcpcd restart. If you check the routing table after this you will see the following:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         xxx.xxx.xx.x    <IP_ADDRESS>         UG    100    0        0 wlan1 <-- onboard
default         xxx.xxx.xx.x    <IP_ADDRESS>         UG    302    0        0 wlan0 <-- wifi
xxx.xxx.xx.x    <IP_ADDRESS>         xxx.xxx.xxx.x   U     100    0        0 wlan1
xxx.xxx.xx.x    <IP_ADDRESS>         xxx.xxx.xxx.x   U     302    0        0 wlan0

@notms So I was able to actually test my box today and the wireless usb adaptor doesn't work. When the generator kicks on something happens and it just disappears. As a result I pulled it from the box and I am using the onboard one. The signal strength seems passable:
Link Quality=35/70  Signal level=-75 dBm
Bit Rate=26 Mb/s   Tx-Power=31 dBm

It isn't great but 26Mb/s should be more than enough.

Ohh interesting, you loosing the raspberry pi? Or only adapter? EMP possibly interfering? Thank you for sharing, I am yet to install it, possibly no power for PI to power the adapter?

The Pi seems fine though my SSH sessions became unresponsive. It would eventually allow me to reconnect once the routing updated. I am powering the Pi from the battery so in theory it shouldn't be an issue unless the generator turning over causes a dip. I am not 100% sure that is it is a power issue, its possible it is some time of interference. The built in one seems to be functional okay so that is good at least. I am going to monitor some more and see.

So I found this section after digging though the genmon. It was reported that Mideatek RT5370N Wireless-N USB Adapter from Amazon had worked but of course it is no longer in stock. That said the important part is the RT5370N which is the chipset used by the USB module. I also found a list of supposedly supported wireless adapters. This confirmed that chipset is supported by Raspbian. After doing some sleuthing on Amazon I found LOTEKOO RT5370 Chip Wireless Network Card Adapter. I also found AR9271 802.11n 150Mbps Wireless USB WiFi Adapter Network  which according to the support wireless adapter link works if you install the aircrack-ng package. I finally took to eBay to see if there were any other options and I found 150M USB WiFi Wireless Adapter LAN w/Antenna Raspberry Pi2 B+ralink rt5370Chi-^C. Given how cheap they are and the fact I could return the ones from Amazon I picked one of these up as well. Just make sure the one you get has a removal antenna. I almost got one that didn't.
I am going to return the hub and connect directly as now that I know the internal adapter works I am less concerned about needing to have a free USB port.
For reference these are some of the errors I saw in dmesg:
[ 1230.468383] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1230.468420] usb 1-1: USB disconnect, device number 2
[ 1230.533001] rtl8821cu 1-1:1.0: Runtime PM usage count underflow!
[ 1230.680364] Indeed it is in host mode hprt0 = 00001501
[ 1230.872320] usb 1-1: new high-speed USB device number 3 using dwc_otg
[ 1230.872506] Indeed it is in host mode hprt0 = 00001101
[ 1231.060408] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.060457] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.060481] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.268353] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.268404] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.268425] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1231.480322] usb 1-1: device not accepting address 3, error -71
[ 1231.480498] Indeed it is in host mode hprt0 = 00001501
[ 1231.672287] usb 1-1: new high-speed USB device number 4 using dwc_otg
[ 1231.672435] Indeed it is in host mode hprt0 = 00001101
[ 1231.880932] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1231.880962] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1231.880973] usb 1-1: Product: 802.11ac NIC
[ 1231.880982] usb 1-1: Manufacturer: Realtek
[ 1231.880991] usb 1-1: SerialNumber: 123456
[ 1234.436631] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1234.436690] usb 1-1: USB disconnect, device number 4
[ 1234.580565] Indeed it is in host mode hprt0 = 00001501
[ 1234.768491] usb 1-1: new high-speed USB device number 5 using dwc_otg
[ 1234.768730] Indeed it is in host mode hprt0 = 00001101
[ 1234.977327] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1234.977368] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1234.977387] usb 1-1: Product: 802.11ac NIC
[ 1234.977403] usb 1-1: Manufacturer: Realtek
[ 1234.977419] usb 1-1: SerialNumber: 123456
[ 1236.377397] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1236.377444] usb 1-1: USB disconnect, device number 5
[ 1236.524493] Indeed it is in host mode hprt0 = 00001501
[ 1236.712415] usb 1-1: new high-speed USB device number 6 using dwc_otg
[ 1236.712561] Indeed it is in host mode hprt0 = 00001101
[ 1236.928675] usb 1-1: device descriptor read/all, error -71
[ 1236.928813] Indeed it is in host mode hprt0 = 00001101
[ 1237.116441] usb 1-1: new high-speed USB device number 7 using dwc_otg
[ 1237.116601] Indeed it is in host mode hprt0 = 00001101
[ 1237.325041] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1237.325069] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1237.325080] usb 1-1: Product: 802.11ac NIC
[ 1237.325089] usb 1-1: Manufacturer: Realtek
[ 1237.325098] usb 1-1: SerialNumber: 123456
[ 1238.602122] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1238.602155] usb 1-1: USB disconnect, device number 7
[ 1238.744530] Indeed it is in host mode hprt0 = 00001501
[ 1238.932484] usb 1-1: new high-speed USB device number 8 using dwc_otg
[ 1238.932642] Indeed it is in host mode hprt0 = 00001101
[ 1239.141066] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1239.141095] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1239.141106] usb 1-1: Product: 802.11ac NIC
[ 1239.141115] usb 1-1: Manufacturer: Realtek
[ 1239.141124] usb 1-1: SerialNumber: 123456
[ 1240.350437] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1240.350472] usb 1-1: USB disconnect, device number 8
[ 1240.492646] Indeed it is in host mode hprt0 = 00001501
[ 1240.624834] Indeed it is in host mode hprt0 = 00001501
[ 1240.952523] usb 1-1: new high-speed USB device number 9 using dwc_otg
[ 1240.952849] Indeed it is in host mode hprt0 = 00001101
[ 1241.140511] usb 1-1: device descriptor read/64, error -71
[ 1241.248654] Indeed it is in host mode hprt0 = 00001101
[ 1241.456550] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.456587] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.456605] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457356] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457387] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457413] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457800] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457825] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.457847] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1241.458256] usb 1-1: device descriptor read/all, error -71
[ 1241.458358] Indeed it is in host mode hprt0 = 00001501
[ 1241.584583] Indeed it is in host mode hprt0 = 00001501
[ 1241.912545] usb 1-1: new high-speed USB device number 10 using dwc_otg
[ 1241.912693] Indeed it is in host mode hprt0 = 00001101
[ 1242.121091] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1242.121119] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1242.121130] usb 1-1: Product: 802.11ac NIC
[ 1242.121139] usb 1-1: Manufacturer: Realtek
[ 1242.121148] usb 1-1: SerialNumber: 123456
[ 1243.284742] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1243.284773] usb 1-1: USB disconnect, device number 10
[ 1243.428639] Indeed it is in host mode hprt0 = 00001501
[ 1243.620682] usb 1-1: new high-speed USB device number 11 using dwc_otg
[ 1243.621094] Indeed it is in host mode hprt0 = 00001101
[ 1243.808590] usb 1-1: device descriptor read/64, error -71
[ 1243.916718] Indeed it is in host mode hprt0 = 00001101
[ 1244.044642] Indeed it is in host mode hprt0 = 00001501
[ 1244.393448] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1244.393477] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1244.393488] usb 1-1: Product: 802.11ac NIC
[ 1244.393497] usb 1-1: Manufacturer: Realtek
[ 1244.393506] usb 1-1: SerialNumber: 123456
[ 1245.589320] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1245.589353] usb 1-1: USB disconnect, device number 11
[ 1245.732710] Indeed it is in host mode hprt0 = 00001501
[ 1245.920634] usb 1-1: new high-speed USB device number 12 using dwc_otg
[ 1245.920801] Indeed it is in host mode hprt0 = 00001101
[ 1246.129227] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1246.129255] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1246.129266] usb 1-1: Product: 802.11ac NIC
[ 1246.129275] usb 1-1: Manufacturer: Realtek
[ 1246.129284] usb 1-1: SerialNumber: 123456
[ 1247.314134] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1247.314166] usb 1-1: USB disconnect, device number 12
[ 1247.456758] Indeed it is in host mode hprt0 = 00001501
[ 1247.644674] usb 1-1: new high-speed USB device number 13 using dwc_otg
[ 1247.644828] Indeed it is in host mode hprt0 = 00001101
[ 1247.853341] usb 1-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[ 1247.853381] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1247.853392] usb 1-1: Product: 802.11ac NIC
[ 1247.853401] usb 1-1: Manufacturer: Realtek
[ 1247.853410] usb 1-1: SerialNumber: 123456
[ 1249.023536] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[ 1249.023570] usb 1-1: USB disconnect, device number 13
[ 1249.164778] Indeed it is in host mode hprt0 = 00001501
[ 1249.352775] usb 1-1: new high-speed USB device number 14 using dwc_otg
[ 1249.352934] Indeed it is in host mode hprt0 = 00001101
[ 1249.560993] usb 1-1: device descriptor read/all, error -71
[ 1249.561118] Indeed it is in host mode hprt0 = 00001101
[ 1249.748716] usb 1-1: new high-speed USB device number 15 using dwc_otg
[ 1249.748865] Indeed it is in host mode hprt0 = 00001101
[ 1249.936771] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1249.936809] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1249.936827] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1250.144836] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1250.144886] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 1250.144914] NYET/NAK/ACK/other in non-error case, 0x00000002

So I finally got the the USB wireless module installed. I used this to give me more flexibility with this this adapter. It was recognized as soon as I plugged it in. It wouldn't connect the network without an antenna connected but once it did the reception is great.
You can see the chart before 15:45 the low quality of the internal, how much it gets boosted when the side comes off, and finally how it returns to the low quality once the side goes back on. This is in comparison to usb one with the external antenna attached.

@notms so more updates...man this has been quite the learning experience. The adaptor I mentioned in my last post is a no go. The built-in drivers only work for a limited time and it has some strange disconnection / reconnection issue. I went back to EDUP AC600M which is not supported out of the box. I used the drivers from morrownr instead. They are much more recent and support most of the now common features for wireless. The drivers took awhile to compile, about ten minutes so I wouldn't do it if you are in a rush. I had issues building it via a remote session (ssh) so I ended up bring the Pi inside so I could use a monitor and keyboard and building directly from the console. So far things are working much much better. The logs output during connect / dhcp refresh seem more normal and it don't seem to exhibit the same strange disconnect issue. The reception also seems better as well. I will keep monitoring and report back but I think this might be the way to go.


feat: include command config option

closes https://github.com/charmbracelet/freeze/issues/44

Example outputs

Hey @isabelroses, this is an awesome PR:
I think it would benefit from a few changes:

Let's prefix the option with --execute. so it's logically grouped with the execute functionality.

I think it can be on by default, what do you think? i.e. opt-out --execute.command=false (maybe --execute.show-command?)

Change the prompt to > to match VHS, we use:

PS1=\\[\\e[38;2;90;86;224m\\]> \\[\\e[0m\\]

So after making the suggested changes the outputs have changed from before, somehow the eza's output has ended up shifted

I believe it could be because of the font, since it's not a monospace font, it looks like.

I believe it could be because of the font, since it's not a monospace font, it looks like.

Ahh good call this is on WSL.

Hi, any update on this ? Do we know when it would be merged ?


[Outlook] (smart alerts) Add Office Add-ins code sample link

Docs Build status updates of commit 3680380:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/autolaunch.md
:white_check_mark:Succeeded
View

docs/outlook/smart-alerts-onmessagesend-walkthrough.md
:white_check_mark:Succeeded
View

docs/overview/office-add-in-code-samples.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Explain map pins and boxes

On the map page, add a very brief explanation of the meaning of the pins and boxes.
Maybe something like:

Red pins: Observations having geolocation
Green boxes: Locations of Observations lacking geolocation

See email from longtime user: Gmail - [MO] Question From<EMAIL_ADDRESS>

If we're still on for the plan of making all observations display as points, using the center point of the box, and clustering the points, this may not be necessary.


Add the possibility to show the password

Nowadays, it's usual for a user to be able to show a password.
For example, in the pdf viewer in Edge, there is the following modal (html):

This would (most likely) be trivial to implement, however we'd need Firefox designers to provide an appropriate icon for us to use.

@rtestard, any thoughts ?

A basic implementation, using the checkbox-approach: https://github.com/mozilla/pdf.js/compare/master...Snuffleupagus:pdf.js:password-show

FWIW, Firefox already has a 'show password' button (pref'd off)
https://bugzilla.mozilla.org/show_bug.cgi?id=1743046

FWIW, Firefox already has a 'show password' button (pref'd off) https://bugzilla.mozilla.org/show_bug.cgi?id=1743046

Given this, it really seems to me that we should either:

Simply wait for that functionality to become enabled by default, and do nothing here.
Add a special-case, on the mozilla-central side, to enable that functionality unconditionally for code running at resource://pdf.js/web/viewer.html.

In any case, it seems somewhat questionable if we need/want to hack around this directly in the PDF.js viewer!?

I agree, I think we should wait until that functionality is enabled upstream and not do changes for this here to not introduce unnecessary (temporary) complexity on the PDF.js side.

@calixteman Do we perhaps want to do something similar to bug 1790576 here as well, or should we just wontfix this?

I enabled the pref layout.forms.reveal-password-button.enabled in nightly and I don't have any eye icon in the password input.
I didn't found any code using it:
https://searchfox.org/mozilla-central/search?q=reveal-password-button&path=&case=false&regexp=false
so I'd say that there's no implementation for the moment.

I enabled the pref layout.forms.reveal-password-button.enabled in nightly and I don't have any eye icon in the password input.

Strange, if works for me...
Note that you'll actually need to type something first into the password-input in order for the icon to show up though.

It wfm either.... you're right about entering something first and about the capitalization either.

@calixteman , if this is not implemented. I would like to work on it. Can you assign me this issue?

if this is not implemented. I would like to work on it.

If you read https://github.com/mozilla/pdf.js/issues/15239#issuecomment-1229415119 it's hopefully clear that we haven't actually decided to fix this, and even if we do the code-changes would not be happening here anyway.


[Question] Will there be more transitions hooks

I really like your transition library, I just want to know that will you support more of the transtions hooks like:

useMorph : To morph from one state to another
useCascade : To cascade animations in the list when showing
etc..

Can you describe them in more detail? The original purpose of this library is to implement a modern react-transition-group, so there is currently no further plan. But suggestions welcome!

https://brunnolou.github.io/react-morph/
Something like this

Now the browser's built-in view-transitiion API can achieve this effect well. An easy-to-use hook can be implemented via the wrapper of view-transition (like useListTransiton).
But I don't have time to implement it at the moment😂, PR welcome.


Add locale start pages to sitemap

User story
As an SEO expert I want the locale start pages added to the sitemap, so they are properly crawled and indexed.
Acceptance criteria

https://developer.mozilla.org/en-US/ and all other current locales are published in the sitemap

The changes are deployed in production. The new sitemaps, like https://developer.mozilla.org/sitemaps/en-US/sitemap.xml, are in the index sitemap, and Google Search Console reports that it has read the new sitemap files and indexed the locale homepages.


[admin] extract logs and profiler handlers to separate classes

Description: extract logging and profiling-related handlers from admin.h|cc and into separate classes (part of #5505 )
Risk Level: low
Testing: pre-existing tests
Docs Changes: n/a
Release Notes: n/a

/wait

@mattklein123 I'm wondering, is there anything under source/server/http that is not for the admin endpoint? I wonder if we should rename that directory sourcer/server/admin. Also note that in the future the admin handling may occur via some gRPC mechanism in addition to via http, and in fact it's already available via direct call from outside the server, bypassing HTTP. WDYT?

You read my mind, I was going to suggest renaming the directory when this was complete. Sounds great. Agreed we can do as a follow up so should we just merge this?

yup, follow-up would be great.

Cool, will do a follow-up PR to rename the directory.


Error running /usr/bin/ranlib: vfork

I got the following error when 'make'
$ make
Scanning dependencies of target hanabi
[  7%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_card.cc.o
[ 14%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_game.cc.o
[ 21%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_hand.cc.o
[ 28%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_history_item.cc.o
[ 35%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_move.cc.o
[ 42%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_observation.cc.o
[ 50%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/hanabi_state.cc.o
[ 57%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/util.cc.o
[ 64%] Building CXX object hanabi_lib/CMakeFiles/hanabi.dir/canonical_encoders.cc.o
[ 71%] Linking CXX static library libhanabi.a
Error running /usr/bin/ranlib: vfork
hanabi_lib/CMakeFiles/hanabi.dir/build.make:302: recipe for target 'hanabi_lib/libhanabi.a' failed
make[2]: *** [hanabi_lib/libhanabi.a] Error 1
make[2]: *** Deleting file 'hanabi_lib/libhanabi.a'
CMakeFiles/Makefile2:159: recipe for target 'hanabi_lib/CMakeFiles/hanabi.dir/all' failed
make[1]: *** [hanabi_lib/CMakeFiles/hanabi.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

This looks like a system problem: either /usr/bin/ranlib is missing (I hope not!) or the machine is out of resources (memory, available processes, file descriptors, ...) to start a new process.  I'm not sure I can help with that -- hopefully someone else might have some suggestions.
As a low-probability attempt at a workaround (maybe building the shared library requires less resources?) you might try changing the first line of hanabi_lib/CMakeLists.txt from
add_library (hanabi hanabi_card.cc hanabi_game.cc hanabi_hand.cc hanabi_history_item.cc hanabi_move.cc hanabi_observation.cc hanabi_state.cc util.cc canonical_encoders.cc)
to
add_library (hanabi SHARED hanabi_card.cc hanabi_game.cc hanabi_hand.cc hanabi_history_item.cc hanabi_move.cc hanabi_observation.cc hanabi_state.cc util.cc canonical_encoders.cc)
and re-configure / re-build
cmake .; make

Neil, I think you're right. I tried it on another computer without any problem. Thank you!


Sync on push for large project takes a few minutes on Win10

/kind bug
What versions of software are you using?
Operating System:  Win 10, (also tried on Linux to demonstrate this was NOT a problem on Linux)
Output of odo version:
odo v2.3.1 (2ae31fb66)
Kubernetes: v1.20.0+bafe72f
How did you run odo exactly?
(assumes project set)

git clone git@github.com:scottkurz/openshift-workshop-was.git
git checkout ear-src
cd openshift-workshop-was/labs/Openshift/RuntimeModernization/app
odo create mycomp
odo push --show-log -v 1

Actual behavior
On Win10, I get something like 2 min here or more:

V  Syncing files to the component [2m]

Expected behavior
On Linux, I get 8s for the same app

✓  Syncing files to the component [8s]

Any logs, error output, etc?
Attaching logs.. I did a separate run with -v 9 output.  The above measurements (8s vs. 2m) were with -v 1, but I'm sure -v 9 will slow things down even more.
logs.zip

On Mac I'm seeing about ~1min for this app:
 ✓  Syncing files to the component [1m]

I've tested your scenario against remote OpenShift using Developer Sandbox (https://developers.redhat.com/developer-sandbox):

Windows 10: Syncing files to the component [25s]
Linux Subsystem on Windows 10 Syncing files to the component [26s]
Directly on Linux Syncing files to the component [24s]

The application is 68Mb and times that I can see are matching my upload internet speed.
I haven't built the application locally, so there was no target directory.
In attached logs I can see that content of the target directory was synced to the component.
It looks like longer sync times on windows are due to the #4389

OK... I removed target AND excluded the path from Windows antivirus and now am down to 33s.   @awisniew90 did you sync from a clean local HFS ?

I was not able to reproduce this with odo v3
testing on springboot petclinic sample
windows - sync 3s
mac - sync 3s
/close


MotherTode(...) doesn't always return a function

I wanted to get something working, so I copied your code at the end of README.md

That seemed to go semi-well, but it wasnt outputting anything - so I added in a console.log(...). That was a bit finicky.

Then I decided to just copy the FizzBuzz language from https://l2wilson94.gitbook.io/mothertode/examples, but that didnt turn out very well either.

Turns out language is actually an jumbled mess of otherwise empty arrays... (not all of them are expanded out here)

How do I actually use this tool?

I think the docs are a bit out of date and the codebase is in a very messy point at the moment. Thanks for raising the issue! I will have a look at it and do a cleanup :)

Ok I'm going to tackle this now. First thing to do is to split this up into smaller issues.

Ok, thank you again for trying out MotherTode and for submitting this issue! You have encountered this repo in a very early and messy state, so thank you for your patience :)
Thanks for helping me identify and find a bunch of issues to solve. I have split up some of the issues into smaller issues:
Documentation
A lot of the documentation is out of date and needs updating. And I think that 'hello world' example needs improving too.
#7
#3
#4
Error Logging
MotherTode used to fill up the console with info about errors, which would have been helpful to you probably.  I need to put it back in!
#6
#5

To answer your questions more specifically, the hello world example uses an old piece of syntax so doesn't work as intended. This would work better:
const language = MotherTode(`:: /[a-zA-Z]/+ >> (name) => "Hello " + name + "!"`)

Then, you can use language as a function. All mothertode functions return a result object. So you can explicitly print the result like this:
const language = MotherTode(`:: /[a-zA-Z]/+ >> (name) => "Hello " + name + "!"`)
const result = language("world")
console.log(result.output)

The FizzBuzz example isn't working for you because it doesn't have correct indentation. MotherTode uses your indents to figure out where your embedded code blocks start and end. You can fix it by doing this:
const language = MotherTode(`

	:: FizzBuzz | Fizz | Buzz | Number
	Number :: /[0-9]/+ >> (n) => parseInt(n)
	FizzBuzz (
		:: Number
		?? (n) => n % 5 == 0 && n % 3 == 0
		>> "FizzBuzz"
	)

	Fizz (
		:: Number
		?? (n) => n % 3 == 0
		>> "Fizz"
	)

	Buzz (
		:: Number
		?? (n) => n % 5 == 0
		>> "Buzz"
	)

`)

And then use it by doing something like this:
for (let i = 0; i < 20; i++) {
	const result = language(i.toString())
	console.log(result.output)
}

I hope that all helps! And thanks again for trying it out :)
I'll now close this issue because I've split everything into smaller ones. Please let me know if there's anything else I can help with, or if you find more issues ✨

Now this. This is the best answer to an issue I have ever raised in my life. I will follow your career with great interest.
Frogs rule! 🐸

Thanks very much! That's kind of you! I hope to fix some of those issues before December so that I can use MotherTode for Advent of Code again :)

Nice! And perhaps you could make a more detailed video about it after! I'd be interested in seeing something like a tutorial in your style!

I would love to do that in the future!!! Possibly in early 2022 🤔

I've started to fix up some of these issues now (see the other issues for more info).
By the way, here's another example of something I made with MotherTode if you want to see another example: https://github.com/l2wilson94/NumberTode
It was done with an older version so may/may not work, but should show you how some stuff works!
I also used it a lot last year for advent of code, and kind of made it alongside it. So it almost definitely doesn't work anymore, but you can check out more examples like this one: https://github.com/l2wilson94/AdventOfCode/blob/main/2020/day02.js

Nice to see this project being made for a purpose, I sometimes see projects that people make and aren't used at all, it kinda bugs me 😅

Yes, most of what I make is to help me do things easier/quicker 😄


Add tests for the Explorer using selenium

Description
Closing threefoldtech/tfgrid_dashboard#305 in favor of this issue, the main reasons are:

The mentioned pr uses cypress-xpath which is currently deprecated.
Using an older cypress version so most of the tests will need to be refactored.
We already have a solid framework in the dashboard using selenium so it would be better to unify the used testing framework for easier expansion in the future.
Everything will run in one workflow which will enable us to easily track any issues in the future.

Implementation

The tests for the explorer will be implemented using the same configuration and logic used for the existing selenium tests.

Update:

I started adding test cases for each page in the explorer (Statistics, Nodes, Farms).
Added test cases for the Calculator section (Resource Pricing, Simulator). However i still need some planning and adjustment to the test cases once i planned what i'm going to compare these calculations to or if i'm going to implement the same formula used for these calculations in the tests.
Added test cases for all of the external links and extra options in the dashboard (Zos bootstrap, zos hub, monitoring, playground). mainly to check if they're accessible from the dashboard and point to the correct urls.
Started going through the already implemented tests for the dashboard and will continue with it today and start implementing the tests once i finished this step and also after planning and adjusting the rest of the test cases.


to-do list

[x] constructor for Squarable matrices

[x] identity matrix

[x] struct for DimensionallySymmetric matrices

[x] define matrix-matrix multiply

[x] check result of inverse in runtest_Hart

[x] set_index!: possible with these struct types?

[x] SVD for non-uniform matrices

[x] Directly use LU object for matrix operations

[x] philosophy added to README (performant, within Linear Algebra constructs, naming)

[x] Highlights (i.e., Main Usage) added to README

[x] Benchmarks
- matrix multiplication is slow

[x] use SVD object

[x] create DSVD object

[ ] add convert for AbstractMultipliableMatrix to Matrix

[ ] Directly use Cholesky object for matrix operations

[ ] equality for AbstractMultipliableMatrix

[ ] AbstractMultipliableMatrix interface added to README

[x] eigen for squarable matrices

[ ] Are any issues from other repos (i.e., Unitful.jl) solved?
- [x] sparse and backslash operators work
- [ ] StridedArrays issue not addressed
- [ ] views of Sparse Arrays not addressed

identity matrix

define matrix-matrix multiply
check result of inverse in runtest_Hart

slices of multipliable matrices


predict

The predicted result of this network output is RGB or grayscale image，there was a problem when I tested with the code you provided


[Bug]: Booting forever on a Synology

Is there an existing issue for this?

[X] I have searched the existing issues

Machine specifications
16 GB ram
Operating system
Synology DSM, Docker app
Docker version
newest Docker app
Description
When trying to get windows to work on my Synology it just boots forever. I have tried all the solutions found in the existing issues but nothing helped. I have tried to set HV to N and so on but it never boots. I have also tried to set the Boot mode but still nothing. It is just rotating forever. one time for over 6 hours until i shut down the Synology.
Docker compose
Docker App
Docker log
I cant send them right now but there are no errors.
Screenshots (optional)
No response

If you are using special network configurations that make it impossible to use the Virtual Machine Manager, use the Task Scheduler to execute the following code:
#! /bin/bash

modprobe kvm
modprobe kvm_intel
modprobe kvm_amd
modprobe tun

Task Settings:
User:  root
Event:  Boot-up


security_level optional argument added to get_inputs

fixes #172
I'm new to github and not familiar with many things in PyOTA code.  Not sure if I'm doing it correctly.
If that is ok, I'll try to do the same for prepare_transfer and send_transfer

now I have to figure out how to modify that pull request. Should I create a new one after new commit in my fork?

Keep on committing to the same branch, and GitHub will automatically add them to the pull request (:

Thanks for continuing to work on this!  I'm at a conference all week, so I won't be able to give this proper attention until next week.  Just wanted to let you know I haven't forgotten about it, and I'm looking forward to checking it out 😺

yay! Glad to contribute even a little bit


Update button.js

Describe the PR
A clear and concise description of what the pull request does.
PR checklist

What kind of change does this PR introduce? (check at least one)

[x] Bugfix (fixes a boo-boo in the code) - fix(...), requires a patch version update
[x] Feature (adds a new feature to BootstrapVue) - feat(...), requires a minor version update
[x] Enhancement (augments an existing feature) - feat(...), requires a minor version update
[ ] ARIA accessibility (fixes or improves ARIA accessibility) - fix(...), requires a patch or minor version update
[ ] Documentation update (improves documentation or typo fixes) - chore(docs), requires a patch version update
[ ] Other (please describe)

Does this PR introduce a breaking change? (check one)

[ ] No
[ ] Yes (please describe since breaking changes require a minor version update)

The PR fulfills these requirements:

[ ] It's submitted to the dev branch, not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (i.e. [...] (fixes #xxx[,#xxx]), where "xxx" is the issue number)
[ ] It should address only one issue or feature. If adding multiple features or fixing a bug and adding a new feature, break them into separate PRs if at all possible.
[ ] The title should follow the Conventional Commits naming convention (i.e. fix(alert): not alerting during SSR render, docs(badge): update pill examples, chore(docs): fix typo in README, etc.). This is very important, as the CHANGELOG is generated from these messages, and determines the next version type (patch or minor).

If new features/enhancement/fixes are added or changed:

[ ] Includes documentation updates
[ ] Includes component package.json meta section updates (prop, slot and event changes/updates)
[ ] Includes any needed TypeScript declaration file updates
[ ] New/updated tests are included and passing (required for new features and enhancements)
[ ] Existing test suites are passing
[ ] CodeCov for patch has met target (all changes/updates have been tested)
[ ] The changes have not impacted the functionality of other components or directives
[ ] ARIA Accessibility has been taken into consideration (Does it affect screen reader users or keyboard only users? Clickable items should be in the tab index, etc.)

If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Thanks for opening this pull request! We'll review it soon.


HEAD of storefront and saleor

What I'm trying to achieve
get PWA working with backend at head master of both
saleor: e09d62bd4
storefront: 955b5f16
docker-compose up
and npm start
and i get on storefront when viewing a product or list
[{"errors": [{"message": "Cannot query field \"value\" on type \"SelectedAttribute\". Did you mean \"values\"?", "locations": [{"line": 56, "column": 5}], "extensions": {"exception": {"code": "GraphQLError", "stacktrace": ["graphql.error.base.GraphQLError: Cannot query field \"value\" on type \"SelectedAttribute\". Did you mean \"values\"?"]}}}, {"message": "Cannot query field \"availability\" on type \"Product\".", "locations": [{"line": 134, "column": 5}], "extensions": {"exception": {"code": "GraphQLError", "stacktrace": ["graphql.error.base.GraphQLError: Cannot query field \"availability\" on type \"Product\"."]}}}]}]

Steps to reproduce the problem

docker-compose up
npm start

What I expected to happen
…
Screenshots

System information
Operating system:
Browser:

Hey, currently Storefront's master is behind the latest changes on the master of Saleor backend. We recommend using 2.9.0 version of Saleor backend with 0.7.0 release of the storefront which are stable versions.

Hi thanks i tried that as well but no success... ill try it again

Ah great! got it going as prescribed! thanks! weird it didnt work first time but now all good rebuilt the images and repopulated and perfect :)

And dashboard at v2.0.0 ?

Also are there currently plans to integrate with wagtail.io? As this cms would make an amazing addition


Get status by email send id

$mj =new Mailjet( $mjconfig->api_id, $mjconfig->api_secret );

     $subject="Welcome to mysite!";
        $params = array(
		"method" => "POST",
		"from" =><EMAIL_ADDRESS>		"to" => $to_email,
		"subject" => $subject,
		"html" => $template,
	);

     $result = $mj->sendEmail($params);

 Result is
{#740 ▼
  +"Count": 1
  +"Data": array:1 [▼
    +"ID": 1.9140336662437E+16
  ]
  +"Total": 1
}

I just sent a email so i got a result containing an id, and the status of 200, but how can can i know through php api that the email is bounced or blocked? Can you please help me, that would be very helpful. Thank you.

Hey @prspace !
I guess you are looking for this:
<?php
$response = $mj->get(Resources::$Messagesentstatistics, ['id' => $id]);

Best,
Guillaume!

Oups sorry wrong code example (from the new wrapper), but the resource is still the same:
$params = array(
    "method" => "VIEW",
    "ID" => $id
);
$result = $mj->messagesentstatistics($params);

Thank you but i'm always getting false in that case.
    $result = $mj->sendEmail($params);
    $id = $result->Data[0]->ID;
    $params = array(
        "method" => "VIEW",
        "ID" => $id
    );
    $result = $mj->messagesentstatistics($params);

And my id looks like 1.6888537415439E+16
Is that normal? Do i have to anything else to do?

I think your PHP environment is formating your ID, it shoud not look like that indeed. can you try torun this call using curl ?
Something like:
curl -s \
    -X POST \
    --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
    https://api.mailjet.com/v3/send \
    -H 'Content-Type: application/json' \
    -d '{
<EMAIL_ADDRESS>        "FromName":"Mailjet Pilot",
        "Subject":"Your email flight plan!",
        "Text-part":"Dear passenger, welcome to Mailjet! May the delivery force be with you!",
        "Html-part":"
Dear passenger, welcome to Mailjet!

May the delivery force be with you!",
<EMAIL_ADDRESS>    }'

In curl it's ok.
I'm working with laravel 5.1. Now i don't understand what's going on. I know it's out of scope but bo you have any idea how can i get correct ID.

Can you try with sprintf('%f', $id) ?

I have got the solution! In this library 'mailjet-apiv3-php-simple' inside 'sendRequest' method i just removed the json_encode from this line
    $this->_response = json_decode($buffer, false, 512);

and it works perfectly.

Nice! glad you found it!

Your suggestion works also. Just adding .0000.Thank you for your support.


i18n(fr): update guides/ecommerce.mdx

Description (required)

Add a new community resource (see #8822)

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/ecommerce.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


[Snyk] Upgrade html-snapshots from 2.10.5 to 2.11.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade html-snapshots from 2.10.5 to 2.11.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 5 days ago, on 2023-10-25.

Release notes

Package name: html-snapshots

2.11.1 -<EMAIL_ADDRESS>

2.11.0 -<EMAIL_ADDRESS>

2.10.5 -<EMAIL_ADDRESS>

    from html-snapshots GitHub release notes

Commit messages

Package name: html-snapshots

68ce43a Merge pull request #533 from localnerve/rc-2.11.1
cb75cd5 @ 2.11.1 -<EMAIL_ADDRESS>218cd66 Merge pull request #532 from localnerve/snyk-upgrade-af0e87c7f24c8b5fa85205ea3fe45754
4d5fd80 fix: upgrade html-snapshots from 2.10.5 to 2.11.0
f2baeef Merge pull request #531 from localnerve/snyk-upgrade-21d4ef18d20b7b31fdeee9e45c34b5e1
b96bd4c fix: upgrade html-snapshots from 2.10.5 to 2.11.0
d43a285 Merge pull request #530 from localnerve/snyk-upgrade-9ac5194235bf7ef59cd215558e32cdad
5d16e03 fix: upgrade html-snapshots from 2.10.5 to 2.11.0
6dedc41 Merge pull request #528 from localnerve/rc-2.11.0
02b97dc @ 2.11.0 -<EMAIL_ADDRESS>ea19f06 Merge pull request #526 from localnerve/doc-2.10.5
4327dba Merge pull request #527 from localnerve/snyk-upgrade-a21fd6b9932adb5bb7f43e596c59e105
8286e02 fix: upgrade html-snapshots from 2.10.4 to 2.10.5
ff7b8f2 fix: upgrade html-snapshots from 2.10.4 to 2.10.5
c4387c2 Merge pull request #525 from localnerve/snyk-upgrade-17ac7d6c13b8a94079a358c72d54507e
caf106f fix: upgrade html-snapshots from 2.10.4 to 2.10.5
46edef5 Merge pull request #524 from localnerve/snyk-upgrade-0a7b65892ef70416c8cc1fc4e6fa0fcc
3e23186 fix: upgrade html-snapshots from 2.10.4 to 2.10.5
b04149a Merge pull request #523 from localnerve/snyk-upgrade-1fdec93bad2c13f63bc448d753afcfa4
16ed4ce fix: upgrade html-snapshots from 2.10.4 to 2.10.5
81461d4 Merge pull request #522 from localnerve/snyk-upgrade-43adb84fd5a11e50ce6384cd14e3a925
b50ea7a fix: upgrade html-snapshots from 2.10.4 to 2.10.5
6706576 Merge pull request #521 from localnerve/snyk-upgrade-79b600170ac23041296f18db7d4d4e5b
21b6f78 fix: upgrade html-snapshots from 2.10.4 to 2.10.5

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 99.245%. remained the same when pulling e9b136491c49a7453d5fe0ba43e7874efd2d9906 on snyk-upgrade-9f39da4721bfa0d0b3359e07398d4fd4 into 45f97dadbd0c552b72527306027917abe4c38874 on master.


Gracefully handle Git errors

If shelling out to Git fails, we'd prefer not to end up in a half-baked situation where the file was updated but not committed. A couple of specific cases we might want to handle:

Detect ahead of time that the run permission wasn't provided; maybe just treat this as a warning and continue?

Though maybe a --no-git flag or something would make the "I actually really don't want to use git" case more explicit instead of inferring it from the lack of permission.

git CLI not being installed locally in the first place
Working directory is not a git repo

Additional cases I just ran into:

No user.email / user.name set (I configure this per repo)
Tag already exists

This appears to be partially fixed by #9


printf is not supported by find during GENERIC_PACK download

When using the newest docker image containing this fix, the world download fails:
[init] Resolved version given LATEST into 1.16.4
[init] Resolving type given PAPER
[init] Downloading PaperMC 1.16.4 (build 323) ...
[init] Unzipping world
find: unrecognized: -printf
BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.

I think the -printf flag isn't supported in alpine (https://github.com/google/cadvisor/issues/1556).
Originally posted by @qnten in https://github.com/itzg/docker-minecraft-server/issues/683#issuecomment-743777122

@qnten the latest image should now fix this

Yes it works, thank you!

I have this issue using the java8 image

@Nicholaiii, please provide the output of docker image inspect --format "{{json .Config.Labels}}" itzg/minecraft-server:java8

@Nicholaiii, please provide the output of docker image inspect --format "{{json .Config.Labels}}" itzg/minecraft-server:java8

I will get to that later, but I got it confirmed working on the debian based java8-multiarch image,


Legend option to change the layout of items in the legend

I would like to see an option that changes the flow of the items in the Legend based on chart type. In a pie chart, the legend items are displayed from top to bottom. If you have a lot of items (which happens a lot in pie charts) the legend items can scroll down the page. There should be an option that changes the rendering of the legend items so that they are rendered across first, then down rather than just top to bottom.

This has been requested a couple of times before. I think the best solution is to create an HTML legend rather than using one drawn on the canvas

Closing per my comment above. I have not heard this being requested since this original post, so HTML is the way to do this


by lazy() -> injectLazy()

lazy is too confusing. We should also rename by provider() to by injectProvider()

💯


Blog Post: Deploy Bitbucket to AWS in Five Minutes

Release Playbook

[ ] Rebase against master
[ ] Code review
[ ] Merge into master
[ ] Verify changes at http://site-staging.convox.com
[ ] Promote release on site-production in the convox/production Rack

Nice update to the conclusion.


invalid type: integer in js console

Aim
Run noirjs_demo demo app
Expected Behavior
Success proof generate/verify
Bug
After upgrading noir versions in package.json
"dependencies": {
  "@noir-lang/backend_barretenberg": "0.19.4",
  "@noir-lang/noir_js": "0.19.4"
},

and npm install and npm run start
I'm getting the following error in browser js console:
noirc_abi_wasm.js:245 Uncaught (in promise) Error: invalid type: integer `1`, expected struct Range at line 1 column 160
    at imports.wbg.__wbg_constructor_fc0c89256754526e (noirc_abi_wasm.js:245:21)
    at noirc_abi_wasm_bg.wasm:0xfaf6
    at abiEncode (noirc_abi_wasm.js:135:14)
    at generateWitness (witness_generation.mjs:10:24)
    at Noir.execute (program.mjs:51:31)
    at async Noir.generateFinalProof (program.mjs:67:29)
    at async HTMLDocument.<anonymous> (app.js:10:17)

To Reproduce

Update versions to 0.19.4
npm install, npm run start
go to browser js console

Environment
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Recompiling circuits solves the issue:
cd circuit
noirup -v 0.19.4
nargo build
cd ..
npm run start


Minimum viable product support for media in Telegram

One major downside of the Telegram bot at the moment is not supporting any proxying of messages containing media. Telegram makes messages containing media work in several ways and renames the main body to a "caption", which is exposed in the API as well, meaning that some of the code has to adjust to understand this change.
The "minimum viable product" part of this is that media groups (any message with more than one photo, video, or both), are not supported. These are a bit weirder to support and to do so correctly requires a bit more effort. In the meantime, having anything is better than nothing.

This PR's commits includes #5, which is fine, but it also includes #6, which we've decided not to merge. I don't mind merging #5 in with this (…even if the merge commit message doesn't reflect that), but could you rebase this and remove 68ad9aeffeac94b1c8de2c55b52c5b068a5c4cf0? After that I'd be happy to merge.

We've updated this to drop that commit. I've also realized that given certain behavior of Telegram we've noticed from testing the media proxying, it's likely that Telegram is actually sending individual messages for each image and then merging them in UI (I could look at the source to confirm this I suppose), which means that it might not be possible to (always anyway) capture the full set of images to proxy as they might not actually come through with any link between them.

This has been rebased and should be ready for a merge.


Major refactor of data items

This PR includes a major refactor of all the code within MMM-TeslaFi.js. The module will now read in separate source files from the dataitem directory, and add these to a list of data items available.
Each DataItemProvider is responsible for maintaining 3 key variables - icon, field and value - which are then displayed within the 3 columns of the data item table. There are special cases for only displaying a sub-set of these fields if some are empty. Additionally, there is a display variable, which should be set to true or false depending on whether the data item considers itself relevant at that time.
Every time new data arrives from TeslaFi, the onDataUpdate(data) function is called on each DataItemProvider, at which point that subclass should update its variables accordingly.
The main advantage of this is that we should (hopefully) have fewer collisions of people working on the same code simultaneously. Additionally, the barrier to entry for developing new data items should be lower, as the code is far more readable.
I have been running this branch for the last few days without issue, but now creating a draft PR for visibility should anybody else be available to test it as well.
Remaining tasks:

[x] Testing
[ ] Write wiki guide for contributing new data items
[ ] Re-write Contributing section in README.md

Decided to split the wiki entries off into a separate project, rather than blocking this.
Have been running this for the last week without any issues, so I think it's time to merge!