Remove references to deprecated v1 Android embedding

Environment
Flutter version: Future
Plugin version: 1.6.0
Android version: all
iOS version: n/a
Xcode version:  n/a
Device information: n/a
Description
Remove references to deprecated v1 Android embedding
To ensure this plugin will work with users running the next stable version of Flutter remove references to the v1 embedding.
The v1 embedding was deprecated around 6 and a half years ago. In Flutter 3.22, the Flutter tool dropped support for building v1 apps entirely. Flutter plans to delete version one of it's Android embedding in the next stable release, per https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3 (in the "Removal of v1 Android embedding" section).
When that deletion happens, any apps using plugins that still have references to the removed classes will fail to build when updating to the next stable version (probably Flutter 3.26).
As a part of this deprecation, the Flutter Android team is doing community outreach by filing bugs and submitting some pull requests to update plugins to minimize the impact this removal has on the community.
Some example PRs:

Flutter team maintained plugins: https://github.com/flutter/packages/pull/6494
android_alarm_manager_plus https://github.com/fluttercommunity/plus_plugins/pull/2864

Consequences:

This change should have no impact on users of this plugin that are building apps using the v2 embedding (we don't have a percentage to share, but this is the vast majority of users).
It will remove support for users that are still using the v1 embedding on versions of Flutter older than 3.22.

If this change doesn't land, this plugin will instead be broken for all apps building on the next stable version of Flutter and beyond.
Is there a way to support both v1 and v2 embedding apps in the next stable version of Flutter?
No.
This is the PR where we are removing the deprecated engine classes: https://github.com/flutter/engine/pull/52022

What went wrong:
Execution failed for task ':scan:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed

Facing issue while building release version

https://github.com/flutter/engine/pull/52022 has been merged. Users targeting Flutter master and beta/stable releases after (but not including) 3.27 will fail to compile if the plugin has references any v1 embedding classes.
To aid in identifying these classes here is a search query you can run in github on your repo.
("io.flutter.view.FlutterMain" OR "io.flutter.view.FlutterNativeView" OR "io.flutter.view.FlutterView" OR "io.flutter.embedding.engine.plugins.shim" OR "io.flutter.app" OR "PluginRegistry.Registrar")


Emergency help, the project code will be cleared after executing gf gen dao

执行gf gen dao 后代码都被清空了.控制器,服务,逻辑,模型等文件夹代码都被清空了.这是啥问题呀?qq<PHONE_NUMBER>,在线求助.执行命令无报错信息.使用的工具是goland
gf version
v2.6.3
Welcome to GoFrame!

Can this bug be re-produced with the latest release?
What did you do?

What did you expect to see?
What did you see instead?

help me

If there's anyone left to help me

Still no feedback

@jinyuanqing We need more info, Please.

@jinyuanqing We need more info, Please.

you need what?我的邮箱2838386460@qq.com,qq是2838386460

@jinyuanqing 请尝试通过gf up -a命令升级使用最新版本试试。

这个问题肯定存在.我也不找了.项目重写了.当我再次验证这个问题时候,没有重复复现.记着使用命令时一定要做下备份


Handle id overflow in sroa better.

There is a case where sroa is not handling id overflow gracefully.  It
is handled and an error message is output when the ids overflow.
Fixes https://crbug.com/961030.

I first say the shaderc failure yesterday.  It is unrelated to my change.

I first saw the shaderc failure yesterday. It is unrelated to my change.

Oh, good.  Do you know if it's been reported in shaderc?


Improve exception messages for client evaluation of ToShortDateString, etc.

See https://github.com/aspnet/EntityFrameworkCore/issues/18826

I ran the scenario against 3.1 release on SqlServer. We actually translate the query. ToSthortDateString is not server evaluated but it is in projection (for outer level and inner level both) hence we evaluate on client and generate results.
No exception message to improve.


export(MyEnum) var foo = MyEnum.name will set the variable to Null

Godot version:
v3.0.5 stable on GNU/Linux
Issue description:
Serious. The value of an exported variable is set to null when its default value is retrieved from an enum.
This is reflected in the inspector, which is in fact showing the first enum value instead of the assigned default.
Steps to reproduce:
Open the example project.
Select Node2D.
Load "Script.gd"
Open a scene and close it to refresh the inspector (another bug, will open another issue).
Notice that Foo is First and Bar is Third.
Have a look at the script and see that foo was actually set to MyEnum.third, but it's ignored by Godot, like it's not able to parse the enum and so it leaves the value to null.
Run the scene.
See that the output is printing that Foo is Null.
Minimal reproduction project:
export_var_enum_bug.zip

Can confirm this happens in 3.0.6 and is fixed in latest master.

Closing as duplicate of #15585 then. I've tagged #19635 for cherry-picking, if deemed safe enough it might make it in the 3.0 branch.


[Feature Request]: Add Contributors Page to Display Project Contributors

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The contributors page will display the details of the contributors who have contributed to this project
Use Case
Since this repo is part of a open source program it would be great to have a contributors page
Benefits
No response
Add ScreenShots
No response
Priority
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Trisha-tech Can I work on this?

@Trisha-tech Can I work on this?

@pani2004 Already Exist

@Trisha-tech It is there in the README.md i want to add a page in the website to display the contributors, like this -


ci(release): properly format release config

Self explanatory

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


rakudo: 2020.02 -> 2020.02.1

Updated rakudo and dependencies to 2020.02.01
dependencies:
moarvm: 2020.02 -> 2020.02.1
nqp: 2020.02 -> 2020.02.1
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

please break this into 3 different PRs, one for each package bump

The versions of nqp and moarvm are tighly coupled to rakudo, so individual PRs for each of them will likely fail to build.

it's more git bisect, it would be nice to trace what package bump corresponds to a potential regression

there's other reasons as well, the PR should just contain all 3 bumps

please break this into 3 different PRs

there's other reasons as well, the PR should just contain all 3 bumps

I assume you mean that they should break this into three commits, all in the same PR?


signer with hsm ignores othercerts

Hi,
I just wanted to know if null'ing othercerts in the signer is required when using an HSM.
https://github.com/m32/endesive/blob/9b43f82a799b5687696ecea660123ec8fa7b73bf/endesive/signer.py#L29-L37
Currently is not possible to sign with an HSM and have a valid certificate chain embedded in the signature.
It is possible to retain current behavior by providing empty othercerts when using an HSM.
Therefore I propose to drop the line.

you're right, thanks - done


Apply theme to the Resources dialog

Closes #1179

This is the same pattern I used for clipboard history dialog too.

Could this be done to all basic dialogs at the same time?

This pattern to all basic dialogs individually?
Or something like override Form.OnShown in SmartForm and handle it there?
One small problem to the latter is that form back colours and label&checkbox fore colours are not defined in the theme files, so I have to manually fetch "MenuStrip.BackColor" and "MenuStrip.ForeColor" as done in this PR, and loop through the child controls to apply them.

Hmm, maybe we should add proper support for basic forms with SmartForm and define the missing colors to the themes. We can default to current functionality by adding a setting that enables global coloring. Also we need to remember to add handling for theme event when the theme gets applied.
Do you have time for this or should i jump on it?

No I don't really have time...

Ok, i will check this.

See #1719


Can't set console font in 21.05

I use the exact same configuration.nix from the previous version (20.09).
My configuration.nix:
{ options, pkgs, ... }:

{
  console = {
    font = "ter-112n";
    packages = options.console.packages.default ++ [ pkgs.terminus_font ];
  };
  environment.pathsToLink = [
    "/share/consolefonts"
  ];
}

The issue is that it simply doesn't change the console font to Terminus despite the necessary options have been defined.
I'd argue it's caused by the setfont not being able to locate the font (despite it's already in /run/current-system/sw/share/consolefonts/ter-112n.psf.gz), i.e.
# setfont ter-112n
setfont: ERROR setfont.c:421 kfont_load_font: Unable to find file: ter-112n

But it works if I enter the full path, i.e.
# setfont $(nix-build --no-out-link '<nixpkgs>' -A terminus_font)/share/consolefonts/ter-112n.psf.gz

Notify maintainers
@davidak
Metadata

system: "x86_64-linux"
host os: Linux 5.10.37, NixOS, 21.05.20210601.5237039 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20210503_6d2553a
channels(root): "nixos-21.05.641.5237039cc1e"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Apparently it works with setfont from 20.09, i.e.
# $(nix-build --no-out-link -E 'with import (builtins.fetchTarball { name = "source"; url = "https://releases.nixos.org/nixos/20.09/nixos-20.09.4215.85960bea533/nixexprs.tar.xz"; sha256 = "03zx29f7n1m2n6q8jp2lq5nyfm4w92wmrxrif11liw2am01qy6bi"; }) {}; kbd')/bin/setfont ter-112n

Very interesting.

Thanks for your report.
This is probably already fixed with https://github.com/NixOS/nixpkgs/pull/124971.

May I ask why ./search-paths.patch was being dropped in 21.05?
--- a/pkgs/os-specific/linux/kbd/default.nix
+++ b/pkgs/os-specific/linux/kbd/default.nix
@@ -18,13 +25,8 @@ stdenv.mkDerivation rec {
     "--disable-nls"
   ];

-  patches = [ ./search-paths.patch ];
-
   postPatch =
     ''

The patches did not apply anymore and it wasn't clear if they are still needed.
Can you test if the issue is fixed when the fix hits the channel? https://nixpk.gs/pr-tracker.html?pr=125143

Sure, but I'm not too familiar with this.
What's this nixpkgs-review stuff?

Anyway, just tested the https://github.com/NixOS/nixpkgs/pull/125143/commits/b35b0a5f041cc00e2d38980166e1325585b90e0f, doesn't seem to work.
# $(nix-build --no-out-link -E 'with import (builtins.fetchTarball { name = "source"; url = "https://releases.nixos.org/nixos/21.05/nixos-21.05.641.5237039cc1e/nixexprs.tar.xz"; sha256 = "006025hw2613ihh232r09722p5i37mr7an30pq9zpr7crah8pwg5"; }) { }; callPackage (builtins.fetchurl { url = "https://github.com/NixOS/nixpkgs/raw/b35b0a5f041cc00e2d38980166e1325585b90e0f/pkgs/os-specific/linux/kbd/default.nix"; sha256 = "0lv7hkl8j6ryhcmgaz1kzxqxqhajc9wp3ylkv3iyil5cmqj4j9g0"; }) {}')/bin/setfont ter-112n
setfont: ERROR setfont.c:421 kfont_load_font: Unable to find file: ter-112n

On the other hand, I've updated the search-paths.patch.
Seems to work.
# $(nix-build --no-out-link -E 'with import (builtins.fetchTarball { name = "source"; url = "https://releases.nixos.org/nixos/21.05/nixos-21.05.641.5237039cc1e/nixexprs.tar.xz"; sha256 = "006025hw2613ihh232r09722p5i37mr7an30pq9zpr7crah8pwg5"; }) { }; kbd.overrideAttrs (drv: { patches = (drv.patches or []) ++ [ (builtins.fetchurl { url = "https://github.com/NixOS/nixpkgs/files/6593914/search-paths.txt"; sha256 = "0qvvd3181544pkdhvzgkw12hyv3da3mwylnrdca93fywrya6zk3y"; }) ]; })')/bin/setfont ter-112n

nixpkgs-review is a tool to test pull requests.
Could you create a pull request to fix this issue and in best case also add a test?

Do I push it to staging branch or master?

This still seems relevant
× systemd-vconsole-setup.service - Setup Virtual Console
     Loaded: loaded (/etc/systemd/system/systemd-vconsole-setup.service; linked; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-02-26 14:07:28 CET; 8s ago
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 246192 ExecStart=/nix/store/dxjk0fcjd7ww8d20kha0i5rd02rksqd5-systemd-251.11/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
   Main PID: 246192 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 48ms

феб 26 14:07:28 NotThink systemd[1]: Starting Setup Virtual Console...
феб 26 14:07:28 NotThink systemd-vconsole-setup[246193]: setfont: ERROR setfont.c:417 kfont_load_font: Unable to find file: cp437
феб 26 14:07:28 NotThink systemd-vconsole-setup[246192]: /nix/store/lyxids8klmindjf15gikkkkg6vq1f4d9-kbd-2.5.1/bin/setfont failed with exit status 66.
феб 26 14:07:28 NotThink systemd-vconsole-setup[246192]: Setting source virtual console failed, ignoring remaining ones
феб 26 14:07:28 NotThink systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
феб 26 14:07:28 NotThink systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
феб 26 14:07:28 NotThink systemd[1]: Failed to start Setup Virtual Console.

Though it works after it failed, so not sure what's going on.

This should have been fixed by https://github.com/NixOS/nixpkgs/pull/125704. @nikp123 you are probably experiencing https://github.com/NixOS/nixpkgs/issues/257904.


Fix yum repos for CentOS 7 (#981)

Fix yum repos for CentOS 7
CentOS Linux 7 reached end of life (EOL) on June 30, 2024. Default servers for
yum repos were disabled. This patch changes URLs at yum's configuration files.
(cherry picked from commit 93b64feaf0c71a2f92cf701cc99e7e72c58e5ed3)

Fix ABI tests (#986)
GitHub actions/checkout@v3 is no longer working and v4 is incompatible with
older Linux versions due to https://github.com/actions/checkout/issues/1590.
This patch uses workaround. The ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION variable
is defined here
and used here.
A warning is added when the variable is not set.
(cherry picked from commit 4b34d83358d174ce278df50776437dfb07ffcd42)

bender build


Add API examples to the README

I found it useful to use cURL to interact with the API. I hope these
examples make it easier for others to do the same.

Thanks for taking a look, @floehopper. I've updated the examples based on using the development-vm. Can you take another look, please?

Apply fixup commit, rebase against master and force-push in preparation for merging.


python3Packages.pywizlight: 0.5.12 -> 0.5.13

Motivation for this change
https://github.com/sbidy/pywizlight/releases/tag/v0.5.13
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 161514 run on x86_64-linux 1

2 packages built:

python310Packages.pywizlight
python39Packages.pywizlight


the help menu never shows.. if you've not got the default key setup.. this is bad UX

I pip install latest version of superset.. I want to inspect the commands but.. it basically chokes because I am still setting things up
buntu@juju-3091f8-35:~$ .local/bin/superset --help
--------------------------------------------------------------------------------
                                    WARNING
--------------------------------------------------------------------------------
A Default SECRET_KEY was detected, please use superset_config.py to override it.
Use a strong complex alphanumeric string and use a tool to help you generate
a sufficiently random sequence, ex: openssl rand -base64 42
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Refusing to start due to insecure SECRET_KEY

I just want to look at the help menu...

I'd additionally request that there be a option to perform superset init with a --silent option

You can start in dev mode with a default secret key, but not in prod mode (for good reason).

I'd additionally request that there be a option to perform superset init with a --silent option

As they say in open source: PRs welcome! It sounds great, but isn't likely to get prioritized by most core committers.


CI Further testing why Mac and Win are slow

DO NOT MERGE

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Implements motor route tests

Implements tests/test_routes/test_motors_route.py
Small refactor on Motors controller
Solve pydantic deprecate warnings for Config class

40 passed, 286 warnings in 1.41s

I just realize Im missing 4 create tests:

create Generic motor
create Liquid motor
create Solid motor
create Hybrid motor

Seems like the motor tests are making assertions for the generic Motor class only. I wonder if you plan to make other tests to cover specific details of Hybrid/liquid/solid motors, just to make sure these kind of motors can be created.
All in all it's just another brilliant PR

Yep, I noticed it as well: https://github.com/RocketPy-Team/Infinity-API/pull/38#issuecomment-2479088026
I'll add an extra commit to add tests for the missing motor kinds and tank types, thanks for noticing


Markdown in stack description

It would be nice to have such feature, or at least make links clickable if there are some in a stack description.

👍 +1

:+1:

I would be OK with regex to find typical (I.e. not pathological cases or a giant list of every gtld to make naked "blah.io" work) links and make them clickable, but there is nothing to indicate whether a given (existing, especially) description should be rendered as markdown or if we're just going to mess up their intended text.
@loganhz can you make a component which takes text, finds links, wraps them in an A and renders the html.  Then replace all the places that show description with it.

FWIW, that was the use-case that led me to this issue. While I think it could possibly be neat to have more advanced stack pages with status images and whatnot, I understand that there are better places for that.

version - 9/19 (2.0 master)
Links working in description field.
Verified added.


Add definition to the word upon losing in hangman-GUI

PR relates to issue #22
Added a definition function that gets the definion of the word through nltk's wordnet and splits it to multiple lines if too long.
Adjusted the display_message function to fit multiple lines and increased sleep time before closing so the player can read the definition.
I played a few games, the definition printing works reliably, its readable every time. The implementation is not perfect, the definitions are sometimes finished with words like "and" or "or", but that comes from wordnet.

PR is in review.


create random pokedex entry app

Description
Create an app that fetches a random Pokemon and display an image and typing information for the Pokemon.  It includes options to show shiny vs. normal Pokemon images.

🤖 Generated by Copilot at dfae539
Summary
📄🐱🎨

This pull request adds a new applet called Random Pokedex, which shows a random Pokemon and its information on the Tidbyt display. The applet consists of a manifest file apps/randompokedex/manifest.yaml and a script file apps/randompokedex/random_pokedex.star. The applet also allows the user to customize some aspects of the appearance and behavior.

Random Pokedex app
Shows a new Pokemon each time
Winter fun with code

Walkthrough

Add a new applet called Random Pokedex that displays a random Pokemon image and name on the Tidbyt device (link, link)

I have read the CLA Document and I hereby sign the CLA

Thanks for the changes!


react-native link does not work for iOS

Install manually to prevent "Native Module cannot be null" error.

ld: warning: Auto-Linking framework not found BleClientManager
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$__TtC16BleClientManager16BleClientManager", referenced from:
      objc-class-ref in libBleClient.a(BleClient.o)
  "_OBJC_CLASS_$__TtC16BleClientManager8BleEvent", referenced from:
      objc-class-ref in libBleClient.a(BleClient.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hey, be sure to add
"$(SRCROOT)/../node_modules/react-native-ble-plx/ios/BleClientManager/Carthage/Build/iOS"
to framework search path and not header search path.

Hey guys, I've been stuck on this for a while and would like some help.
I upgraded react-native-ble-plx to version 0.10.0 and followed the new instructions on the README, but am now getting this error on iOS for an Expo app. Linking seems to have worked properly and apparently Carthage is not needed anymore, so I deleted the framework search path in my Build Settings, set 'Always Embed Swift Standard Libraries' to 'No', and removed the run script in Build Phases.
Any ideas as to why I'm getting this error? Did I misstep somewhere?

By this error you mean: "Native Module cannot be null"?  There is example app using version 0.10.0: https://github.com/Cierpliwy/SensorTag. Please check if it's working for you and try to spot any differences in configuration.

Yes, I mean that error. Just checked the example app and didn't see any config differences except that 'Always Embed Swift Standard Libraries' was set to 'Yes'. I set that back to 'Yes' in my app but still get the same error.

I'm also experiencing this issue after following your Expo/Podfile instructions exactly. Took a cursory glance at https://github.com/Cierpliwy/SensorTag provided by @Cierpliwy (above) and noticed right away that the react-native package is pointing towards version "0.56.0" instead of the Expo SDK fork (required in the docs provided here).
From what I understand, a detached Expo project won't run in Expo w/o that fork.

SensorTag example is for pure react-native. I'll try to prepare version for Expo as well.

Thanks @Cierpliwy! In the meantime, I did find a workaround for iOS using Expo. For now, if you need to test this library on an iPhone you can: 1) start the project w/ Expo SDK like normal, 2) once a tunnel connection is established in Expo, build to a connected iPhone device w/ Xcode (I followed the steps outlined in this article).
It's not especially convenient, but it does get rid of the "Native module cannot be null" error.

@ianmcgregor Have you found any solution or workaround? I am getting the exact same error

had a similar error after updating to Xcode 10 and removing carthage. fixed it by relinking:
$ react-native unlink react-native-ble-plx
rnpm-install info Unlinking react-native-ble-plx ios dependency
rnpm-install info Platform 'ios' module undefined has been successfully unlinked
rnpm-install info Unlinking react-native-ble-plx android dependency
rnpm-install info Platform 'android' module undefined has been successfully unlinked
$ react-native link react-native-ble-plx
rnpm-install info Linking react-native-ble-plx ios dependency
rnpm-install info Platform 'ios' module react-native-ble-plx has been successfully linked
rnpm-install info Linking react-native-ble-plx android dependency
rnpm-install info Platform 'android' module react-native-ble-plx has been successfully linked

I'm getting the same error: "invariant violation: native module cannot be null"
Using create-react-native-app, not EXPO
What I've done so far following the installation steps:

npm install --save react-native-ble-plx

react-native link react-native-ble-plx

Add empty Swift file if you don't have at least one:

Select File/New/File...

Choose Swift file and click Next.

Name it however you want, select your targets and create it.

Accept to create Objective-C bridging header.

Minimal supported version of iOS is 8.0

If you want to support background mode:

In your application target go to Capabilities tab and enable Uses Bluetooth LE Accessories in Background Modes section.

Pass restoreStateIdentifier and restoreStateFunction to BleManager constructor. ( NOT DONE)

and added this to a .js file
import { BleManager } from 'react-native-ble-plx';
constructor(props) {
  	super(props);
  	this.state = {
  		text: ''
	};
	this.manager = new BleManager();
  }

Tried to fix the problem:
relinking, like @askielboe suggested:
react-native unlink react-native-ble-plx
react-native link react-native-ble-plx
restarting Xcode & bundler
I (briefly) looked at the example, but it looks like typescript, and I have no experience with TS.

May have fixed the problem, though more testing is needed.
What I did was navigating to /node_modules/react-native-ble-plx/ios/BleClient.xcodeproj and

I pulled that into the Libraries folder in the project navigator,
then I went to my target -> build phases -> link binary with libraries and added libBleClient.a

Closing, as there are example apps mentioned on the README page and there is CI integration, which tests if library works properly for all supported RN versions.

@kylewayneluck Hey, I'm running this on Expo as well, and I was running into a similar situation that you did. I have an app right now and I followed the instructions exactly on the README to get the ios setup. For me, whenever I run the app on the simulator provided by xcode, I get no such error "Native module cannot be null". However, as soon as I try to download the js bundle in the Expo ios app (following instructions laid out in this where both expo start and the xcode app is running), I get the native module error. I was wondering if this is what you were experiencing at the time of your writing the quoted post (just to make sure that we are experiencing the same situation to begin with), and whether you found any alternatives to building to a connected iPhone device instead of letting expo handle the updating itself (especially because this also mentions that expo should handle the updating of the js bundle.
Thanks much!

Thanks @Cierpliwy! In the meantime, I did find a workaround for iOS using Expo. For now, if you need to test this library on an iPhone you can: 1) start the project w/ Expo SDK like normal, 2) once a tunnel connection is established in Expo, build to a connected iPhone device w/ Xcode (I followed the steps outlined in this article).
It's not especially convenient, but it does get rid of the "Native module cannot be null" error.

@kylewayneluck Hey, I'm running this on Expo as well, and I was running into a similar situation that you did. I have an app right now and I followed the instructions exactly on the README to get the ios setup. For me, whenever I run the app on the simulator provided by xcode, I get no such error "Native module cannot be null". However, as soon as I try to download the js bundle in the Expo ios app (following instructions laid out in this where both expo start and the xcode app is running), I get the native module error. I was wondering if this is what you were experiencing at the time of your writing the quoted post (just to make sure that we are experiencing the same situation to begin with), and whether you found any alternatives to building to a connected iPhone device instead of letting expo handle the updating itself (especially because this also mentions that expo should handle the updating of the js bundle.
Thanks much!

Thanks @Cierpliwy! In the meantime, I did find a workaround for iOS using Expo. For now, if you need to test this library on an iPhone you can: 1) start the project w/ Expo SDK like normal, 2) once a tunnel connection is established in Expo, build to a connected iPhone device w/ Xcode (I followed the steps outlined in this article).
It's not especially convenient, but it does get rid of the "Native module cannot be null" error.


Failed to set up after update

After upgrade the integration stopped working : "Failed to set up"
Home Assistant 2023.3.6
Supervisor 2023.03.2
Operating System 9.5
Frontend 20230309.1 - latest
Here are the Log Errors:
Logger: homeassistant.config_entries
Source: custom_components/weatherlink/units.py:213
Integration: WeatherLink (documentation, issues)
First occurred: March 23, 2023, 10:10:35 PM (1 occurrences)
Last logged: March 23, 2023, 10:10:35 PM
Error setting up entry WeatherLink 001D0A716E61 for weatherlink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/weatherlink/init.py", line 165, in async_setup_entry
await setup_coordinator(hass, entry)
File "/config/custom_components/weatherlink/init.py", line 156, in setup_coordinator
coordinator = await WeatherLinkCoordinator.build(
File "/config/custom_components/weatherlink/init.py", line 145, in build
await coordinator.__initalize(session, entry)
File "/config/custom_components/weatherlink/init.py", line 92, in __initalize
await self.__update_config(self.hass, entry)
File "/config/custom_components/weatherlink/init.py", line 71, in __update_config
self.units = get_unit_config(hass, entry)
File "/config/custom_components/weatherlink/units.py", line 213, in get_unit_config
if hass.config.units.name == CONF_UNIT_SYSTEM_IMPERIAL:
AttributeError: 'UnitSystem' object has no attribute 'name'
This error originated from a custom integration.
Logger: aiohttp.server
Source: custom_components/weatherlink/units.py:213
Integration: WeatherLink (documentation, issues)
First occurred: 3:11:05 AM (1 occurrences)
Last logged: 3:11:05 AM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 234, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 241, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/weatherlink/config_flow.py", line 129, in async_step_misc
return await self.async_step_units()
File "/config/custom_components/weatherlink/config_flow.py", line 155, in async_step_units
data_schema=get_unit_config(self.hass, self.config_entry).units_schema(),
File "/config/custom_components/weatherlink/units.py", line 213, in get_unit_config
if hass.config.units.name == CONF_UNIT_SYSTEM_IMPERIAL:
AttributeError: 'UnitSystem' object has no attribute 'name'

This is solved in the latest commit that I don't think has a release yet (I used https://github.com/xdecock/hass-weatherlink which solves it)

Hi Simon (@siku2), Thank you so much for all the work you've done on this integration. Would you please publish a release so we can apply the two commits that are waiting for us in the master? Thanks! - Jay

I wanted to make some changes to the changelog first but simply haven't had the chance to do that until now.


Question: Does the attribute request.headers include grpc Metadata?

The docs here for "request.headers" the attributes say "HTTP request headers" I don't think grpc metadata is send over HTTP headers but I could be wrong.

Wayne, could you answer the question and update the docs to make the answer clear?
Thanks.

Ping: Wayne?

Any update on this?

Sorry, I somehow missed it.  Yes,  gRPC metadata will be send over in the "request.headers" attribute.

https://github.com/istio/istio.github.io/pull/816
to update the doc


CORs in 7.0 preflight /3

Fixes #28420

Internal previews

📄 File
🔗 Preview link

aspnetcore/security/cors.md
aspnetcore/security/cors

@fiyazbinhasan  can you review my changes here
If you find something wrong, open an issue. Changes will be live in 30 minutes from now.


hi,are you sure your focal loss equals to -alpha*(1-pt)^gamma*log(pt)

same as above and thank you for your attention in advance

Yes, it is. And we need to take care of two conditions(true or false) just like cross_entropy loss function.


Additional parts genes

I had an issue with additional breasts gene that if you edit pawns genome (i did through devmode/character editor though) with mentioned gene then the pawn gets one more row to the existing one. I guess (judging by the futanari gene report) same things most likely happen with additional penis gene.

Hey!
Thanks for reporting. I don't use Character Editor, can you please elaborate?
What I understand is the following:

You have a new Pawn, no Gene(s)
You add the Extra Breast Gene
Pawn has 2 Pairs of Breasts
You Remove Breast Gene
Pawn has 2  Pairs of Breasts
You Add Breast Gene
Pawn has 3 Pairs of Breasts

1)i make pawn with additional breast gene along with other genes
2) pawn have 2 pairs of breasts
3)i edit genotype, changing other genes
4)pawn gets one more row, now having 3

Oh wow, will fix that. 👍


Examples good quality ogv and webm?

I'm taking a very large mp4/mov file and I want to transcode it into three different formats for cross browser compatibility. I also watermark the video. First I create a smaller watermarked mp4 with h264, and it looks great;
FFmpegBuilder builder = new FFmpegBuilder()

    .setInput(inVideo)     // Filename, or a FFmpegProbeResult
    .addInput(sampleWatermarkImg)
    .overrideOutputFiles(true) // Override the output if it exists
    .addOutput(destFile)   // Filename for the destination
    .setFormat("mp4")        // Format is inferred from filename, or can be set
    .setVideoCodec("libx264")     // Video using x264
    .setVideoFrameRate(24, 1)     // at 24 frames per second
    .setVideoResolution( iwidth , newHeight) // at 640x480 resolution
    .setComplexVideoFilter("\"overlay=main_w-overlay_w-10:main_h-overlay_h-10\"")
    .setStrict(FFmpegBuilder.Strict.EXPERIMENTAL) // Allow FFmpeg to use experimental specs
    .done();

When creating ogv with libtheora and webm with libvpx it looks terrible. Can you please give a hint as to how to set the quality? For ogv I want to set something like -qscale:v 7.

qscale:v isn't one of the supported arguments however, for anything that isn't explicitly supported (yet), you can call .addExtraArgs("-qscale:v", "7"), for example:
// ffmpeg -i input.mkv -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 output.ogv
FFmpegBuilder builder = new FFmpegBuilder()
    .setInput("input.mkv")
    .addOutput("output.ogv")
      .setVideoCodec("libtheora")
      .addExtraArgs("-qscale:v", "7")
      .setVideoCodec("libvorbis")
      .addExtraArgs("-qscale:v", "5")
    .done();

Thank you for that, worked out as expected. Great wrapper! The docs leave us wanting, hence my question. Thank you for taking the time to answer my question.

I've added this example to here https://github.com/bramp/ffmpeg-cli-wrapper/wiki/Random-Examples
I'm happy to accept documentation, or any other patches to increase the usability of the project. I however, don't want this to be a guide on "how to use ffmpeg", since that would be redundant with the official ffmpeg docs.


cmd/go: fmt suggests -buildvcs when it doesn't take build flags

What version of Go are you using (go version)?
$ go version
go version 1.18 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ocket8888/.cache/go-build"
GOENV="/home/ocket8888/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ocket8888/pkg/mod"
GONONPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ocket8888"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="REDACTED"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="REDACTED"
GOVCS="*:off"
GOVERSION="go1.18"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1502895740=/tmp/go-build -gno-record-gcc-switches"

What did you do?
mkdir -p "$GOPATH/src/example.com/m"
cd "$GOPATH/src/example.com/m"
go mod init
cat > main.go <<-EOF
package main
import "fmt"

func main(){
fmt.Println("Hello World!");
}
EOF
mkdir .git
go fmt ./...

What did you expect to see?
package main

import "fmt"

func main() {
    fmt.Println("Hello World!")
}

What did you see instead?
go: missing Git command. See https://golang.org/s/gogetcmd
error obtaining VCS status: exec: "git": executable file not found in $PATH
        Use -buildvcs=false to disable VCS stamping.

Note that this error message is incorrect as neither go nor go fmt accept the -buildvcs flag. Also note that GOVCS is set to *:off.

This will be solved by https://github.com/golang/go/issues/51748 in Go 1.18.2, but I agree that it's unexpected that go fmt would do any VCS build stamping at all. It shouldn't be doing any building.

Will the fix be backported? Ultimately that doesn't actually matter to me unless backporting would happen sooner than the 18.2 release. Otherwise I'd just upgrade. But still curious.

Given that 1.18.1 is out, 1.18.2 is the soonest release it can be in. Backport issue is #51798

Well that's about changing build behavior, right? With go fmt I can't explicitly enable or disable vcs stamping - because it shouldn't need to do that at all, no? gofmt itself doesn't do anything like that, just seems like a true bug in the invocation.

Right, this seems like a regression bug. I imagine 1.18.2 will be out sometime over the next week; it's already been four weeks since 1.18 and usually there would have been a bugfix release two weeks ago.
I think keeping this issue open is worthwhile because it's not a dupliate; as already stated, there's presumably no reason for go fmt to stamp VCS information.

I believe it may have been unintentionally fixed in 1.18.1 already by #51723, which restricts when buildvcs is included (eg go run doesn't have it now, #52338).
strace -f go fmt 2>&1 | grep execve doesn't show git being called for 1.18.1, but it does for 1.18

Ah, you're right. 1.18.1 was announced as a security release, so I assumed it only contained security fixes, but it doesn't.

I didn't check 1.18.1 - didn't realize that existed when I wrote the example. I'll check that out and close the issue if it's resolved in the newest release. (or should I leave it open for tracking backport?)

1.18.1 doesn't have this problem


Category Legend Key Colors Are White if No Content-Type Included - CreateLayer

S/B 8068221
@alonsogarciapablo
Context
Category legend colors become white when create map using createLayer and viz.json if don't include content-type in HTML
Process
Create a Category map in the Editor with category legends
Add map to HTML page using createLayer, don't include content-type in the file
Legend colors will not apply, legend key colors will all be white

This only applies to category visualizations made in the Editor
Expected Result
Legend key colors should be shown

Current Result
Legend key colors are white

Example code:
<!DOCTYPE html>

    <title>Legend Test</title>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

    <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
    <link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" />

@ernesmb, this is the same issue you reported, right?

yes, this is the same one we discussed on #platform. This was the answer from @rochoa

rochoa
the problem it's related to the charset
[17:08]
just place that html within a directory and ...
[17:09]
python -m SimpleHTTPServer
[17:09]
go to http://localhost:8000/untitled.html
[17:09]
you will have the same issue
[17:09]
check response headers for the html file
[17:10]
stop the server and start it but adding the utf-8 charset(edited)
[17:10]
python -c "import SimpleHTTPServer; m = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map; m[''] = 'text/plain'; m.update(dict([(k, v + ';charset=UTF-8') for k, v in m.items()])); SimpleHTTPServer.test();"
[17:10]
check again response headers
[17:10]
legends are ok now
[17:11]
I don't know why it's that way
[17:11]
we need to dig into cartodb.js to know why


Table MudTd & DataLabel aren't bold

Bug type
Component, Docs (mudblazor.com)
Component name
MudTd & DataLabel
What happened?
When I look at the docs, MudTd and DataLabel are bold. But when I run it in the browser, they are not bold. I don't know what, but something is overriding the CSS property font-weight: bold;.
This could be resolved by adding !important to th.
Expected behavior
The MudTd and DataLabel should be bold like the docs.
Reproduction link
default table
Reproduction steps

Open the reproduction link (same as the default table)

Version (bug)
6.0.6
What browsers are you seeing the problem on?
Firefox, Chrome, Other
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

I have the cause of this misbehavior. In the file _table.scss the thickness of the headers was set to 500. This is not enough for them to be considered bold. 700 would be the same as bold...

I had the same issue using 'Lato' font instead of 'Roboto'.
Lato only has 300,400,700 and 900 weights (see https://fonts.google.com/specimen/Lato).
Please change all instances of font-weight: 500 with 700, or make it configurable via a css variable.
Thank you


fix edoburu/django-fluent-pages#64

Hi!
I've solved this in a slightly different way, by changing the source of the call instead (see a1367c7e13a60b1f97a9e0a6ea7770c97caa9196).
Thanks for reporting this issue!


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/alloy/terminal-notifier
https://github.com/julienXX/terminal-notifier

Thanks @dkhamsing, this is great! :heart_eyes:

:smile:


CLI option: Add ability to specify default host

By default, all the various flags for etcd to start up with default to 'localhost'. This presents quite a config hurdle when jumping from playing with 3 instances locally (a common demo in etcd presentations), to running 3 instances on 3 separate machines/VM's, as every single config option using a hostname (a lot) now all need to be specified.
It would make sense to have a single 'hostname' or 'ip_address' flag that replaces all uses of 'localhost', which would make it much easier to try 3 instances on 3 separate machines.

do you mean a --initial-default-hostname ?

Sure, something that would replace 'localhost' in all the config bits that use it.

@bbangert What about this alternative:
IP=<IP_ADDRESS> etcd --listen-peer-urls $IP:7001 --initial-advertise-peer-urls $IP:7001

Does it solve the problem?
For localhost running, i always running goreman start to start a 3-member cluster: https://github.com/coreos/etcd#running-local-etcd-cluster

@bbangert Does @yichengq's suggestion work for you?

Aren't there more settings to configure that all default to localhost as well? The main issue was having to specify every single option with the new IP, rather than just being able to change 'localhost' -> IP with a single flag. I guess I'm just weird that I actually launch things by typing in the command instead of assembling Procfile's to run with goreman.

@bbangert I think a Procfile might serve you's purpose(for demo) better. We are kind of conservative/careful about adding a CLI flag, especially the purpose of it is not for production usage.

@bbangert Another way is to write a script to play with it easily.
Feel free to reopen it if you still have troubles with it.


Ability to change the cross

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
Hardcoded cross inside modal
Expected behavior
Possibility to remove or personalize the cross.
Reproduction of the problem
Any modal have it.
What is the motivation / use case for changing the behavior?
Well, I have a designer that made another cross. Changing it is a pain ATM.
Please tell us about your environment:
whatever it's not environment-related

Smart Modal version: 0.7.x

Angular version: 2.0.x

Browser: all

Language: TypeScript X.X

What do you want to change the cross? The possibility of passing a SVG ?
With @maximelafarie , we had thought of removing the SVG cross and replacing it with a unicode symbol by default.

I think the ability to remove it completely would be nice (adding a button with a custom SVG or something else is not a big deal, no need to have special customization available from the plugin options)

@Nek-  If you didn't want to deal with the icon, actually you can set the closable parameters to false.

@Nek- I understand what you want, and that was one of the first idea I got about this icon. But as @khylias said, you can finally set the closable option to false and add your own icon / button with (click)="yourModalRef.close()". 😉 Let me know if it can fit your needs or if you really think a such feature will be useful! 🖖

God. I missed it in the documentation. Everything looks perfect here.


Incorrect change in ETH balance due to failed transaction

Ledger Live Version and Operating System

iOS version 2.10.0

Expected behavior

After a failed transaction (due to an out of gas error), change in ETH balance should show a decrease due to consumed gas. However, the actual movement of ETH does not go through and change in ETH balance should not include that.

Actual behavior

The weekly/monthly/yearly change in ETH balance is being calculated incorrectly because it incorporates both the consumed gas and the planned ETH movement.
Final ETH balance associated with the account is correct perhaps because it is observed directly from the blockchain.

Steps to reproduce the behavior

Schedule an ETH transaction with high gas price, but low max gas resulting in out of gas error.
Change in weekly/monthly/yearly ETH balance will be incorrect.
Final ETH balance will be correct however.

@hgupta18 Can you try again on latest version? We may have fixed this situation due to some bugs. If it still isn't fixed, we would need more detail on way to reproduce this situation or identifying exactly which operation is not correctly valued.

@gre I just checked again on the latest version. The current ETH balance is still correct, but looking at the "Year" view, the change in the ETH balance (+ XXX ETH in green) is wrong.
For this transaction, I was sending a message to a smart contract and receiving ETH in return. Here is the sequence of transactions and what I think should be happening.
Transaction 1:
Send ETH: 0 ETH (only sending a message)
Fee: x ETH
Receive ETH: y ETH
Transaction 1 fails due to an out of gas error. The balance should only change by -x ETH but it seems to be changing by y-x ETH. I did not receive the y ETH because of the failed transaction and therefore it shouldn't be included.
Transaction 2:
Send ETH: 0 ETH (only sending a message)
Fee: x ETH
Receive ETH: y ETH
Transaction 2 succeeds. The balance is correctly changing by the amount y-x ETH.


Scroll doesn't work as expected at results page

At the result page, scrolling does not work as expected.
On the other pages, scrolling makes the page move down (e.g. borehole and earth page), but on the result page, the scrolling stops when hoovering over the plots. This is can be annoying behavior.

I will take a look at it at the end of the week

I have uploaded a fix. Can you please check if it also works for you?

I made some small changes to get an equal scrolling speed between the figures and other scroll areas. I will continue with the PR.

@tblanke
Is it possible to create a test for this (new) scrolling behavior? Currently, our code coverage would decrease ...

@wouterpeere
I have implemented a test.


有点意思的网站欢迎来讨论

关于有点意思的网站欢迎来讨论
>>>>>>点/此/进/入/最/新/观/看/入/口<<<<<<
学校一学期才交元呢买图画书回家咱自己练父亲摸着山娃的小平头擤了擤鼻子很感动很无奈房东的儿子小伍笨手笨脚的不会的

你可以将有点意思的网站欢迎来讨论　　李君威：这个题目我大概回复不好，我试着答一下。往早了说，华夏人最早的乡土故乡回顾害怕是根源于陶渊明建构的乡土故乡寰球。鲁迅、萧红、沈从文、汪曾祺的作品里都有这种发觉。80岁月的乡土演义“味”就变了，在新颖华夏和陈旧华夏的文明对撞中，自足而宁靖的乡土故乡寰球被完全冲破，外界的消息连接涌入，将来的前途题目形成了实简直在的实际的焦躁感。走出去，加入都会变成一代代乡村青春搏斗的目的。这一功夫的乡土演义，乡土故乡式的生存办法已不复生存，乡土文艺的美感已不简单，展示了那种变异。此刻，在迅猛的都会化过程中，乡村空腹化局面越来越重要，农村成了一个题目。而当农村变成一个题目的功夫，乡土演义也就成了“乡土题目演义”了。当下的乡土体裁演义，多展现乡村展示的各类题目，都会的隔阂，农村的破败，被掏空，光棍，留守童子，空巢老翁，失独，之类，与从来乡土演义的意旨爆发了简直的辩论，甚而走到了背后。宁靖的乡土回顾跟着乡土故乡社会的分割也渐渐消逝。不妨说，乡土文艺的萎缩实属一种必定，而这是令人怅然的。

欢迎来讨论有趣的网站
/ > and memories in the morning or evening when I want to finish this article, write themselves into the memories, memories again with some sad today in the morning and I don't shake hands.
How it like an accident, along with the arrival of the accident, and the subject of the same article, the failure of machine suddenly out of my face.
I don't have to write again this morning, or because they are now in the evening.
When the morning still constantly become memories, as at the moment, on arrival of the time, will still be memories.
My lack of recall feeling strong and hard to give up.
A people believe that writing to remember, and predict the future.
This is what a good idea.
It comes from, I recently read a call gunter. Glass.
In 1999, my office, in a two-storey houses with boiling water poems, with so much passion and imagination.
Before remembering that many life scenes, and imagine one day, I can in the future one day, there are "a new soul and a kind of brand-new feeling".
This is because, in order to constantly rely on fantasy beyond the reality of the humble, I then try to use text structure painting life, and with the aid of the sketch, change or keep some kind of confrontation and rebellion of reality.
And this year, Germany, the prince of the glass won the Nobel Prize for literature.
He starts from "the tin drum", in the memory of their completed his many works of vibration of the German and even the world literature.
His fairy tales, myths, legends into his works, become the people respect and refuse him a typical topic.
Gunter. Glass to difficult to understand in a way that's novel creation the criticism.
But there is no doubt that the glass has become the people the most talked about topic.
When people to recall yesterday and found that life changes in the dense color of fairy tales, covered in the fairy tale in real life, hint, pointing to the enlightenment, looking for docking and life details, they like wings come in his own life with heart, and form a kind of prediction about the relationship between oneself and the world.
This undoubtedly become, people kept coming, experience with the world discovered the power of life.
A few years later, my memories of his constant evolution with a text to declare.
I found that a person must be comprehension, along with the development of imagination and the reality beyond his memories, even put a kind of experience, the environment, the color, so that the perception of art, the madness of the raised to his heart.
I also found a deep impression in the memory and memories in the clear in the evening, a friend let me think of his talk the Wang Fo escape ".
Wang Fo the wonderful painter let his disciple Lin have a crush on this kind of scenery, a blind eye to the beauty of the earth.
Lin is not in love "delicate like reed, immature, such as milk, sweet like saliva, salty tears" wife, and only love Wang Fo did for his wife's portrait, because the picture is better than his wife.
This feeling let wife Lin increasingly haggard, and eventually the hanged himself.
"She hanged in pink flowers blossom is the plum branches, to the end of the hanging belt interweave together waft in the air and her long hair, she is more slender than usual."
We rely on memory, the rebellion of reality, the experience of art and people in it, start to a position of the other people dream.
And we are in it, be a master, one for the holding of the earthly paradise and hell, a fable, it is our inner world of madness fantasy is significant to the person a kind of ability, because they suggest that the likelihood of developing world.
The possibility to become a fairy tale, myths and legends of a witness.
On a boat in the virtual humans have floating toward unknowable future, after in Wang Fo increases gradually, we give ear to hear the rhythmic JiangSheng.
As Wang Fo disciple Lin saw the sea.
We see Lin said: "the sea is beautiful, warm wind, sea birds nesting."
Our yearning toward the sea.
Like the sea in our mind, ups and downs.
In the memory of continuously, the dream is in constant in human various predictions become a reality.
In such a ceaseless arrival, we will see a lot of people, in a big ship, have been sailing to the sea, and disappeared in the depths of the sea.
We are one of the participants, at the same time is also looking at the after disappeared in the sea of the watchers.
We created the possibility of life in the experience of the memory of, with reality and imagination, in the future, and predicted that blending the color, the color rendering of an energy inside our hearts, inspire our enthusiasm, in has arrived at noon, or night, one by one moment, surrounded by flock to ideas of running water and so the same time in the future, and always echoes, reminds us to complete the reality and imagination itself, a kind of can love the image itself, and for the image of the endoplasmic reticulum experience the joy and pain.
On December 27, 2005, 38 points at 11

请参考下方链接：
https://github.com/whathoog/tfri/blob/main/README.md
https://github.com/aoyouzg/gzldx/issues/8
https://github.com/tuderw/9287722/blob/main/README.md
https://github.com/goodiders/ejvty
https://github.com/powercvt/cmcsqy/issues/4
https://github.com/shownews/wxehml/issues/3
https://github.com/chiquane/rknxcsn
https://github.com/makedete/vtqpbbo/blob/main/README.md
https://github.com/tuderw/kxt-kxtge
https://github.com/makedete/nwg-nwgzt/blob/main/README.md
https://github.com/shownews/auyhqf
https://github.com/shownews/etex/blob/main/README.md
https://github.com/makedete/prnuo/issues/3
https://github.com/nyueed/njapjv/issues/1
https://github.com/powercvt/zss-vcesr/issues/5
https://github.com/tooere/iodlyac/issues/1
https://github.com/planshow/ofnl/issues/3
https://github.com/tuderw/7506947/issues/2
https://github.com/fowerv/icns/blob/main/README.md
https://github.com/powercvt/imo-retae/issues/3


Cannot find module<EMAIL_ADDRESS>

Environment
{
"name": "propel-web-client",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^8.0.0-beta.11",
"@angular/cdk": "^7.2.1",
"@angular/common": "^8.0.0-beta.11",
"@angular/compiler": "^8.0.0-beta.11",
"@angular/core": "^8.0.0-beta.11",
"@angular/forms": "^8.0.0-beta.11",
"@angular/http": "^6.1.0",
"@angular/material": "^7.2.1",
"@angular/platform-browser": "^8.0.0-beta.11",
"@angular/platform-browser-dynamic": "^8.0.0-beta.11",
"@angular/router": "^8.0.0-beta.11",
"@vaadin/vaadin-button": "^2.1.2",
"@vaadin/vaadin-grid": "^5.2.7",
"@vaadin/vaadin-text-field": "^2.1.7",
"amexio-chart-d3": "0.0.9",
"amexio-ng-extensions": "^5.20.3",
"angular-font-awesome": "^3.1.2",
"core-js": "^2.5.4",
"d3": "^5.7.0",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"ngx-device-detector": "^1.3.20",
"rxjs": "~6.4.0",
"zone.js": "~0.9.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.13.9",
"@angular/cli": "^7.3.9",
"@angular/compiler-cli": "^8.0.0-beta.11",
"@angular/language-service": "^8.0.0-beta.11",
"@nativescript/schematics": "^1.0.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.3.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"node-sass": "^4.12.0",
"protractor": "~5.4.0",
"sass-loader": "^7.1.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.3.4000"
}
}
Describe the bug
I already have an angular project. trying to migrate it to add nativescript to make it as shared project. I followed the steps mentioned in https://docs.nativescript.org/angular/code-sharing/migrating-a-web-project.
I executed npm install -g --unsafe-perm nativescript to install CLI, it was sucessful.
When i run ng add @nativescript/schematics , it throw the below error. so it doesnt create any nativescript specific files in my project, like main.tns.ts
ng add @nativescript/schematics --sample
Your global Angular CLI version (8.3.5) is greater than your local
version (7.3.9). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Skipping installation: Package already installed
**Cannot find module<EMAIL_ADDRESS>Require stack:

/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS>/Users/suganyasubramanian/Java/propel/propel_php/New<EMAIL_ADDRESS><EMAIL_ADDRESS>/usr/local/lib/node_modules/@angular/cli/bin/ng
Error: Cannot find module<EMAIL_ADDRESS>To Reproduce

Expected behavior
Sample project

Additional context

Firstly You need to Install nativescript-schematics as dev dependency. So run this command:
npm i --save-dev @nativescript/schematics.
Since this installs latest nativescript-schematics you need to install latest @angular/cli. So run this command:
npm install -D @angular/cli
This Should Solve the Problem

Hello @AmbitiousAnil,
I have tried your solution but I still get : Cannot find module<EMAIL_ADDRESS>I have installed Angular 9 and try to install Angular Material
Any other ideas?

I am having the same issue when running ng g c .... I recently upgraded from @nativescript/schematics 0.4.0 to 1.0.0 and started getting this error. Rolling back to 0.4.0 fixed the issue for me and I can run ng g c again (I tried rolling back to 0.7.3 but that didn't work). Not a great solution of course but its at least working.
For reference:
[error] Error: Cannot find module<EMAIL_ADDRESS>Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- C:\Users\---\AppData\Local\Yarn\Data\global\node_modules\@angular\cli\bin\ng
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
    at Function.Module._load (internal/modules/cjs/loader.js:686:27)
    at Module.require (internal/modules/cjs/loader.js:848:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (H:\...\node_modules\@nativescript\schematics\src\angular-project-parser.js:3:12)
    at Module._compile (internal/modules/cjs/loader.js:955:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
    at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)
    at Module.require (internal/modules/cjs/loader.js:848:19)

+1
same problem when running ng add @nativescript/schematics

Had the same problem when running ng add @nativescript/schematics, but after running yarn add -D @angular/cli it worked.

This fixed it for me as well.


Consider using HeaderMap?

There's a lot of smarts in the http crate's HeaderMap and I'm guessing we'd win more performance than we'd lose (compared to just borrowing everything). Also the effort to port something from hyper to hring would be much smaller then.

(Also, header values are usually the large ones, so those are the things we'd want to refcount, not the names)
(Although it would be a shame to do heap allocs for custom header names over and over and over and ov-)


Stale implementation for issues and pr

Stale
Whenever an issue or Pull Request has not been updated for a while, a stale label will be placed to mark it as stale. A closing comment may also be posted to notify contributors.
The stale label is removed if the Issue or Pull Request is updated, or if anyone comments on it.
Use the official Stale action located at https://github.com/actions/stale

Can you add some description for what is stale bot and where is it's documentation

Are there any most options that we can explore?
@kkyusufk
yes we can also use these options
exempt-issue-labels
exempt-pr-labels exempt-pr-labels
close-issue-reason

Can you add some description for what is stale bot and where is it's documentation

in stale.yml file ?

Can you add some description for what is stale bot and where is it's documentation

in stale.yml file ?

In the PR description.

Can you add some description for what is stale bot and where is it's documentation

in stale.yml file ?

In the PR description.

i have updated the description is it looks good for you ?


issues seen using postgres 10 images published 2020-02-21

At some point Friday we began encountering issues using the postgres 10 images (postgres:10 and postgres:10.12). These issues could be fixed by reverting to the images published 21 days ago on docker hub (postgres:10.11)
On application startup, our postgres container began to error:
invalid value for parameter "lc_messages": "en_US.utf8" invalid value for parameter "lc_monetary": "en_US.utf8" invalid value for parameter "lc_numeric": "en_US.utf8" invalid value for parameter "lc_time": "en_US.utf8" configuration file "/var/lib/postgresql/data/postgresql.conf" contains errors postgres exited with code 1

we were able to work around these errors by adjusting our Dockerfile, regenerating the locales:
RUN apt-get update &&
apt-get install -y locales locales-all && \                                                                                dpkg-reconfigure locales locales-all && \                                                                                locale-gen && \                                                                                locale-gen en_US.UTF-8 && \                                                                                localedef -i en_US -f UTF-8 en_US.UTF-8 &&
...

At this point the postgres container would start with no errors.
However, we noticed that other containers within the overlay network were then unable to connect to the container - while port 5432 was exposed, an nmap showed the port wasn't open from the dependent container. Connecting to the postgres container over localhost from the postgres container itself worked and was unaffected.
For the moment we reverted to the images published 2020-02-02.

Seems similar to https://github.com/docker-library/postgres/issues/552
And another similar issue https://github.com/docker-library/postgres/issues/415, localedef -i en_US -f UTF-8 en_US.UTF-8 fixed it
Is there a simple docker run line that demonstrates the issue easily so we can dig into it more?

@wglambert I apologize - I need to close this as essentially user error.
The cause ended up being a bad extension of the image within the Dockerfile - we extended the image, but also performed an 'apt-get upgrade -y' - this messed up locales, config. Caching of the build images, failing to rebuild also contributed to the problem.
Thank you for linking.


SemType: Implement a way to test list and map projections

Description:
We can mimic what's done in nBallerina
// @type m[t] = int

Describe your task(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

At the same time, we should be able to enable (bring in) all the -t tests to jBallerina repo.

Fixed with #35397


Drop years from visits chart labels, Fixes #217

Not 100% sure about this. First ways I tried look like Month-Year to me, not necessarily Month-Day (See below).
I went with D-MMM so: 8 May, 18 Jul, 28 Aug...ect. is this too exotic for the US?

Looks good (much better) to me


Fixes for checkerboard and concurrent access of solids-collection

Hi there
really great project! I would llike to supply two fixes:

checkerboard pattern: was broken along the y-axis
solids collection in Scene:  protect from concurrent access by both the Renderer and the SettingsPanel on Scene selection

Cheers

Haven't tested it, but it looks good. Thank you!


BackLight Keys no longer working

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Looked through the wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the bug
Once I opened the app for the first time the backlight keys stopped working and no matter what they won't work again for some reason
Steps to reproduce
Just open the app for the first time
Expected behavior
I expected them to work normally
Anything else?
No response
Environment Information (please complete the following information)
- macOS version: 12.0.1
- Mac model: MacBook Pro (13-inch, 2011)
- MonitorControl version: v4.0.1
- Monitor(s): SMS19A100
- Apple Silicon/M1 (yes or no): no

The app does not affect keyboard illumination, but you can change this setting in System Preferences/Keyboard:

Alternatively it might be that Apple API controlling the display brightness in Monterey and used by the app  is not fully compatible with the 2011 Macbook model as it is not officially supported by Monterey and this causes some strange issues (like changing brightness of the keyboard instead somehow?).

(let me know if I can help with this somehow in any other way, I'll close the issue until then).


Feature: Implement the 'Create Hash Files' parameter to run the application only for creating checksums of files and writing them to special files

Fixed by 9f6ceb2 commit


Add cloudless-homeconnect to latest

@eifel-tech
Replacement for #4213

reminder 2.11.2024

In the jsonConfig I miss some settings for the different screen resolutions.
Here is an example of what it should look like.
"xs": 12,
"sm": 12,
"md": 6,
"lg": 4,
"xl": 4

@simatec Added the missed screen resolutions and described it at Work in progress section in readme file. This is my first adapter so I wonder if that is enough or do you need a new release now to recheck my code?

Thanks for fast response.
Please stand by. @simatec did a dedicated check in respect to responsive UI. I will do a check of code and general behavior as soon as I find some time for it. Maybe some more remarks will occure.
You may create a new release whenever you want, this will not block any checks. But ist not mandatory at this time.

RE-CHECK!

@eifel-tech
First of all - THANK YOU for the time and effort you spend to maintain this adapter.
And sorry for the long response time.
I would like to give some feedback based on my personal oppinion. @Apollon77 might have additional suggestions or even a different oppinion to one or the other statement. Please feel free to contact him if you cannot follow my suggestions or want to discuss some special aspects.

[ ] Readme.md - Disclaimer
The disclaimer at README:md seems to be left from template text. If you do not feel a need to have it, consider removing it from README.md.

[ ] Readme.md must be written in pure english
As ioBroker is an international software supporting several languages the main Readme.md file must be written in english. Its ok to add additional Readme-.mds of course.
Please remove the german version / all non english versions from Readme.md because Readme.md gets automatically translated and this will not work with multiple languages within Readme.md. You can add locatized Readme pages in (docs/de and docs/en) like https://github.com/iobroker-community-adapters/ioBroker.pvforecast/tree/main/docs and add it to io-package (see https://github.com/iobroker-community-adapters/ioBroker.pvforecast/blob/main/io-package.json#L119-L122)

[ ] sensitive information, especially passwords should be stored encrypted
You configuration seems to contain passwords (or other sensitive information) which is not stored encrypted. As long as those information is not stored inside a table you can encrypt and secure this infomation simply by adding the following configuration to io-package.json. The iob runtime will encrypt / decrypt the data as required; no addition programming effort is required. Note that users will need to reenter this info one time after adding encryption, so drop a note at release notes.
"encryptedNative": [
  "password",
  "data2"
],
"protectedNative": [
  "password",
  "data2"
],

[ ] directory 'js'
Although its completly Ok to name directories as you like, I want to note, that all utility modules typically are placed into 'lib' directory. So I would suggest to move your files from 'js' to lib. This would make it mor consistent with typical adapter structure.

[ ] name attributes must be english or multilingual
"name" attributes for objects (states) must contain an english text (string) or an i18n multlingual object with all supported languages.

[ ] invalid characters must be filtered from object ids
Some characters are not allowed to be used as part of an object id. If an object id is not hardcoded or even depending on user input you should ensure that such an object id does not contain an invalid character.  Iobroker provides the constant adapter.FORBIDDEN_CHARS, i.e. by using the following snippet:

function name2id(pName) {
    return (pName || '').replace(adapter.FORBIDDEN_CHARS, '_');
}

As far as I read the code the configuration is retrieved from the device and the ids for all states is created by this information. The adapter msut ensiure, that no invalid characters are passed in this way. So filter all invalid characters when creating object ids.

[ ] objects of type state must not have children
It look like you create some object of type state "dev_uid here:
https://github.com/eifel-tech/ioBroker.cloudless-homeconnect/blob/d3342dfab5457573afcf277e8d0844bcc8309b02/main.js#L308
And here you create an object of type state with id "dev_uid.optioname"
https://github.com/eifel-tech/ioBroker.cloudless-homeconnect/blob/d3342dfab5457573afcf277e8d0844bcc8309b02/main.js#L289

This construct seems to create states as children of other states. This is not allowed. The parent of an state must be of type device, channel or folder. Objects of type state must not have children.

[ ] log messages should / must be in english
As ioBroker is an international software, please use only english wording for all logging messages - unless you translate logging depending on system language. Logging using the system langugae is ok of course - buts its your decision if you want toe invest the effort. German only logs are not desired. Thios refers to all text defined by you - error messages reurned from aservice (external text) can be kepogt as is of course.

[ ] onStateChange handler ignores ack flag
The adapter must honor the ack flag when processing onStateChange events. Whenever the onStateChange handler is called for an own state (a state owned by the processing instance of the adapter) it must ignore this event if the ack flags is set. Only stateChanges with ack==false are allowed to be processed.
When processing foreign states which are output of another adapter  processing must only occure if the ack flag is true.

[ ] reevaluate state roles
Only the values specified here (https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/stateroles.md) may be used as state roles. Do not invent new names as this might disturb the functionalyity of other adapters or vis.
In addition the roles MUST match the read/write functionality. As an example a role value.* requires that the state is a readable state. Input states (write only) should have roles like level.*. Please read the description carefully. States with role 'button' should (must) have attribute 'common.read=false' set. A button ( "Taster" in german only triggers when you press but else has no state), so it should also be not readable. This is also like HomeMatic does it. A switch has clear states true or false and so can be read.
Please avoid using general roles (state, value) whnever a dedicated role exists.

[ ] Add timeout to axios calls
All axios calls should have a timeout set. The default value for axios timeout is 0 which results in no timeout. So an unresponsive remote system could lead to an hanging adapter. Either set an appropiate timeout per axios call or set a default timeout globally for the axios instance.

[ ] all timers / intervals must be canceld at onUnload handler
During onUnload processing all timers and intervalls must be cancelled. a ckearIntervall for refreshInterval seems to be missing.

[ ] check and adapt testing
Please use standard iobroker test-and-release.yml workflow like
https://github.com/ioBroker/ioBroker.example/blob/master/JavaScript/.github/workflows/test-and-release.yml

[ ] linter setup
Please use standard iobroker linter setup. This is located at @iobroker/eslint-config. See migration guide at https://github.com/ioBroker/ioBroker.eslint-config/blob/main/MIGRATION.md

Thanks for reading and evaluating this suggestions.
McM1957
Please add a comment when you have reviewed and fixed the suggestionsor at least commented the suggestions and you think the adapter is ready for a re-review!

RE-CHECK!

** RE-REVIEW Workksheet only - please ignroe for now**

[ ] Readme.md - Disclaimer
The disclaimer at README:md seems to be left from template text. If you do not feel a need to have it, consider removing it from README.md.

[ ] Readme.md must be written in pure english
As ioBroker is an international software supporting several languages the main Readme.md file must be written in english. Its ok to add additional Readme-.mds of course.
Please remove the german version / all non english versions from Readme.md because Readme.md gets automatically translated and this will not work with multiple languages within Readme.md. You can add locatized Readme pages in (docs/de and docs/en) like https://github.com/iobroker-community-adapters/ioBroker.pvforecast/tree/main/docs and add it to io-package (see https://github.com/iobroker-community-adapters/ioBroker.pvforecast/blob/main/io-package.json#L119-L122)

[ ] sensitive information, especially passwords should be stored encrypted
You configuration seems to contain passwords (or other sensitive information) which is not stored encrypted. As long as those information is not stored inside a table you can encrypt and secure this infomation simply by adding the following configuration to io-package.json. The iob runtime will encrypt / decrypt the data as required; no addition programming effort is required. Note that users will need to reenter this info one time after adding encryption, so drop a note at release notes.
"encryptedNative": [
  "password",
  "data2"
],
"protectedNative": [
  "password",
  "data2"
],

[ ] directory 'js'
Although its completly Ok to name directories as you like, I want to note, that all utility modules typically are placed into 'lib' directory. So I would suggest to move your files from 'js' to lib. This would make it mor consistent with typical adapter structure.

[ ] name attributes must be english or multilingual
"name" attributes for objects (states) must contain an english text (string) or an i18n multlingual object with all supported languages.

[ ] invalid characters must be filtered from object ids
Some characters are not allowed to be used as part of an object id. If an object id is not hardcoded or even depending on user input you should ensure that such an object id does not contain an invalid character.  Iobroker provides the constant adapter.FORBIDDEN_CHARS, i.e. by using the following snippet:

function name2id(pName) {
    return (pName || '').replace(adapter.FORBIDDEN_CHARS, '_');
}

As far as I read the code the configuration is retrieved from the device and the ids for all states is created by this information. The adapter msut ensiure, that no invalid characters are passed in this way. So filter all invalid characters when creating object ids.

[ ] objects of type state must not have children
It look like you create some object of type state "dev_uid here:
https://github.com/eifel-tech/ioBroker.cloudless-homeconnect/blob/d3342dfab5457573afcf277e8d0844bcc8309b02/main.js#L308
And here you create an object of type state with id "dev_uid.optioname"
https://github.com/eifel-tech/ioBroker.cloudless-homeconnect/blob/d3342dfab5457573afcf277e8d0844bcc8309b02/main.js#L289

This construct seems to create states as children of other states. This is not allowed. The parent of an state must be of type device, channel or folder. Objects of type state must not have children.

[ ] log messages should / must be in english
As ioBroker is an international software, please use only english wording for all logging messages - unless you translate logging depending on system language. Logging using the system langugae is ok of course - buts its your decision if you want toe invest the effort. German only logs are not desired. Thios refers to all text defined by you - error messages reurned from aservice (external text) can be kepogt as is of course.

[ ] onStateChange handler ignores ack flag
The adapter must honor the ack flag when processing onStateChange events. Whenever the onStateChange handler is called for an own state (a state owned by the processing instance of the adapter) it must ignore this event if the ack flags is set. Only stateChanges with ack==false are allowed to be processed.
When processing foreign states which are output of another adapter  processing must only occure if the ack flag is true.

[ ] reevaluate state roles
Only the values specified here (https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/stateroles.md) may be used as state roles. Do not invent new names as this might disturb the functionalyity of other adapters or vis.
In addition the roles MUST match the read/write functionality. As an example a role value.* requires that the state is a readable state. Input states (write only) should have roles like level.*. Please read the description carefully. States with role 'button' should (must) have attribute 'common.read=false' set. A button ( "Taster" in german only triggers when you press but else has no state), so it should also be not readable. This is also like HomeMatic does it. A switch has clear states true or false and so can be read.
Please avoid using general roles (state, value) whnever a dedicated role exists.

[ ] Add timeout to axios calls
All axios calls should have a timeout set. The default value for axios timeout is 0 which results in no timeout. So an unresponsive remote system could lead to an hanging adapter. Either set an appropiate timeout per axios call or set a default timeout globally for the axios instance.

[ ] all timers / intervals must be canceld at onUnload handler
During onUnload processing all timers and intervalls must be cancelled. a ckearIntervall for refreshInterval seems to be missing.

[ ] check and adapt testing
Please use standard iobroker test-and-release.yml workflow like
https://github.com/ioBroker/ioBroker.example/blob/master/JavaScript/.github/workflows/test-and-release.yml

[ ] linter setup

@eifel-tech
Thanks for processing the issues. There's only one issue which need further checks. See below:
ad lint:0
Its ok to use own linter setup. Using recommended eslint-config is nozt mandatory. Eventually you will recieve some recommandations from adapter checker in future but those will not be mandatory / level error too.
ad testing:
Creating github releases is a good practise but not required.
As long as standard iobroker tests are executed ( ioBroker/testing-action-check@v1, ioBroker/testing-action-adapter@v1) its ok. Additional test are welcome of course.
So testing is OK
ad object Tree:
Please post a view at the object tree (fully expanded) created by the running adapter (i.e. as a screen shot or as a json export) so that I can check if the state / child relations are ok. Thanks.

@mcm1957
Here you can check the object tree of the adapter.
I hope it's all ok now?

lgtm

This adapter has been released to latest repository and should be visible within 24h maximum.
Please create a thread at https://forum.iobroker.net/category/91/tester titled like "Test Adapter " to collect some user feedback and provide a link to this topic when requesting addition to stable repository later.
Note: If an other testing topic already exists, it' OK to continue using this topic too.
If you do not have write access to TESTER section, please drop a PN / Chat Note to HOMORAN at forum.


Fix Issue with require (closes #15)

Issue #15
Fixes module resolution for first and third-party dependencies using require and import.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

I signed it! 🙂👍


[stdlib] Fix error in nextUp and nextDown

What's in this pull request?
This fixes an error in the nextUp and nextDown implementation and adds a test for verification.
Before:
(swift) (10.nextUp, 10.nextDown)
// r0 : (Double, Double) = (10.000000000000002, -10.000000000000002)
(swift) ((-10).nextUp, (-10).nextDown)
// r1 : (Double, Double) = (10.000000000000002, -10.000000000000002)

After:
(swift) (10.nextUp, 10.nextDown)
// r0 : (Double, Double) = (10.000000000000002, 9.9999999999999982)
(swift) ((-10).nextUp, (-10).nextDown)
// r1 : (Double, Double) = (-9.9999999999999982, -10.000000000000002)

Resolved bug number: n/a

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

@stephentyrone just fyi

@swift-ci Please test

Thank you!


Error when converting my_frozen_graph.pb to .tflite for Speech Commands example app TF Speech

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): Binary
TensorFlow version (or github SHA if from source): Tensorflow 2.0.1

Command used to run the converter or code if you’re using the Python API
tflite_convert.py

# Copy and paste here the exact command

python tensorflow/lite/python/tflite_convert.py --enable_v1_converter --output_file=/tmp/foo.tflite --graph_def_file=/tmp/my_frozen_graph_anika_26000.pb --input_arrays=wav_data --output_arrays=labels_softmax --input_shapes=1,3920
The output from the converter invocation
Here is a list of operators for which you will need custom implementations: AudioSpectrogram, DecodeWav, Mfcc.

# Copy and paste the output here.

Traceback (most recent call last):
File "tensorflow_core/lite/python/tflite_convert.py", line 598, in
main()
File "tensorflow_core/lite/python/tflite_convert.py", line 594, in main
app.run(main=run_main, argv=sys.argv[:1])
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "tensorflow_core/lite/python/tflite_convert.py", line 580, in run_main
_convert_tf1_model(tflite_flags)
File "tensorflow_core/lite/python/tflite_convert.py", line 210, in _convert_tf1_model
output_data = converter.convert()
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\lite\python\lite.py", line 1007, in convert
**converter_kwargs)
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\lite\python\convert.py", line 457, in toco_convert_impl
enable_mlir_converter=enable_mlir_converter)
File "C:\Anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\lite\python\convert.py", line 203, in toco_convert_protos
raise ConverterError("See console for info.\n%s\n%s\n" % (stdout, stderr))
tensorflow.lite.python.convert.ConverterError: See console for info.
2020-02-05 20:57:48.272648: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-02-05 20:57:48.273069: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-02-05 20:57:49.877294: I tensorflow/lite/toco/import_tensorflow.cc:659] Converting unsupported operation: DecodeWav
2020-02-05 20:57:49.877602: I tensorflow/lite/toco/import_tensorflow.cc:659] Converting unsupported operation: AudioSpectrogram
2020-02-05 20:57:49.877911: I tensorflow/lite/toco/import_tensorflow.cc:659] Converting unsupported operation: Mfcc
2020-02-05 20:57:49.883065: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 24 operators, 36 arrays (0 quantized)
2020-02-05 20:57:49.883549: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 24 operators, 36 arrays (0 quantized)
2020-02-05 20:57:49.884589: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 11 operators, 22 arrays (0 quantized)
2020-02-05 20:57:49.887081: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 2: 10 operators, 21 arrays (0 quantized)
2020-02-05 20:57:49.887552: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 3: 9 operators, 19 arrays (0 quantized)
2020-02-05 20:57:49.888012: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 9 operators, 19 arrays (0 quantized)
2020-02-05 20:57:49.888461: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 9 operators, 19 arrays (0 quantized)
2020-02-05 20:57:49.888891: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Identify nearest upsample.: 9 operators, 19 arrays (0 quantized)
2020-02-05 20:57:49.889328: I tensorflow/lite/toco/allocate_transient_arrays.cc:345] Total transient array allocated size: 0 bytes, theoretical optimal value: 0 bytes.
2020-02-05 20:57:49.889717: I tensorflow/lite/toco/toco_tooling.cc:471] Number of parameters: 926865
2020-02-05 20:57:49.890164: E tensorflow/lite/toco/toco_tooling.cc:498] We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
and pasting the following:
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: CONV_2D, FULLY_CONNECTED, MAX_POOL_2D, RESHAPE, SOFTMAX. Here is a list of operators for which you will need custom implementations: AudioSpectrogram, DecodeWav, Mfcc.
Traceback (most recent call last):
File "c:\anaconda3\envs\tf-gpu\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\anaconda3\envs\tf-gpu\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Anaconda3\envs\tf-gpu\Scripts\toco_from_protos.exe_main.py", line 7, in
File "c:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\lite\toco\python\toco_from_protos.py", line 93, in main
app.run(main=execute, argv=[sys.argv[0]] + unparsed)
File "c:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "c:\anaconda3\envs\tf-gpu\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "c:\anaconda3\envs\tf-gpu\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "c:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_core\lite\toco\python\toco_from_protos.py", line 56, in execute
enable_mlir_converter)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
and pasting the following:
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: CONV_2D, FULLY_CONNECTED, MAX_POOL_2D, RESHAPE, SOFTMAX. Here is a list of operators for which you will need custom implementations: AudioSpectrogram, DecodeWav, Mfcc.
Also, please include a link to the saved model or GraphDef
# Put link here or attach to the issue.

Failure details
If the conversion is successful, but the generated model is wrong,
state what is wrong:

Producing wrong results and/or decrease in accuracy
Producing correct results, but the model is slower than expected (model generated from old converter)
When I try to convert without '--target_ops=TFLITE_BUILTINS,SELECT_TF_OPS', I get the error saying Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. These are: AudioSpectrogram, DecodeWav, Mfcc.
When I use '--target_ops=TFLITE_BUILTINS,SELECT_TF_OPS', I do get a .tflite file, but that file fails to run on Andriod, and gives the error message: "Unexpected failure when preparing tensor allocations: Regular TensorFlow ops are not supported by this interpreter"

Any other info / logs
Complete Error when running a .tflite file (that was created using the SELECT_TF_OPS option) on Andriod:
error running on android:
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.tensorflow.lite.examples.speech/org.tensorflow.lite.examples.speech.SpeechActivity}: java.lang.RuntimeException: java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: Regular TensorFlow ops are not supported by this interpreter. Make sure you apply/link the Flex delegate before inference.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Try this
tflite_convert
--output_file=/output.tflite
--graph_def_file /path/to/my_frozen_graph.pb
--input_arrays decoded_sample_data,decoded_sample_data:1
--output_arrays labels_softmax
--allow_custom_ops

Thanks! I will try it out soon and let you know.

You need to create custom implementations: AudioSpectrogram, DecodeWav, Mfcc. as they are not currently covered by the tflite ops.
See https://www.tensorflow.org/lite/guide/ops_custom

Try this
tflite_convert
--output_file=/output.tflite
--graph_def_file /path/to/my_frozen_graph.pb
--input_arrays decoded_sample_data,decoded_sample_data:1
--output_arrays labels_softmax
--allow_custom_ops

Thanks it works with above. I only needed to add --enable_v1_converter

You need to create custom implementations: AudioSpectrogram, DecodeWav, Mfcc. as they are not currently covered by the tflite ops.
See https://www.tensorflow.org/lite/guide/ops_custom

Thanks! The command mentioned above worked, but I want to know why you think I will need to do the custom implementations. And if I do need to, is it already not available in GitHub by someone?

Try this
tflite_convert
--output_file=/output.tflite
--graph_def_file /path/to/my_frozen_graph.pb
--input_arrays decoded_sample_data,decoded_sample_data:1
--output_arrays labels_softmax
--allow_custom_ops

Thanks it works with above. I only needed to add --enable_v1_converter

Did you try the tflite model in android studio?Is it working there?.could you please send the images of the tflite model and graphdef model by opening it in https://lutzroeder.github.io/netron/

Thanks for providing the link to open the model. I am finding some differences between the original tflite model from the Android example app (conv_actions_frozen.tflite.png) and the new one I created using the tflite_convert command you provided (foo1.tflite.png)

Any idea why the two tflite models differ, and how to get the new model to be the same as original model? The tensorflow model (pb file) I am using was created using the example speech_commands app, and I had only changed the wav files to customize them, and used the original train.py file to create the model (tensorflow/examples/speech_commands/train.py).

Thanks for providing the link to open the model. I am finding some differences between the original tflite model from the Android example app (conv_actions_frozen.tflite.png) and the new one I created using the tflite_convert command you provided (foo1.tflite.png)

Any idea why the two tflite models differ, and how to get the new model to be the same as original model? The tensorflow model (pb file) I am using was created using the example speech_commands app, and I had only changed the wav files to customize them, and used the original train.py file to create the model (tensorflow/examples/speech_commands/train.py).

i dont know ,but the new tflite model which u got will work in android studio

Closing this issue since it's resolved. Thanks.