Uncaught ReferenceError: FlashSavedata is not defined

Hi
Sorry to bother you again, but from the issue 14 now i'm getting this error, i don't know if it is a problem with the .gba file but i've tried multiple and i'm getting the same error:
Uncaught (in promise) ReferenceError: FlashSavedata is not defined
    at window.GameBoyAdvanceMMU.GameBoyAdvanceMMU.loadRom (react-gbajs.js?323e:10)
    at G.setRom (react-gbajs.js?323e:10)
    at G.loadRomFromFile (react-gbajs.js?323e:10)
    at H (react-gbajs.js?323e:10)
    at play (react-gbajs.js?323e:10)
    at _callee$ (emulator.js?a22c:33)
    at tryCatch (runtime.js?c56e:45)
    at Generator.invoke [as _invoke] (runtime.js?c56e:274)
    at Generator.prototype.<computed> [as next] (runtime.js?c56e:97)
    at asyncGeneratorStep (emulator.js?a22c:1)
    at _next (emulator.js?a22c:1)

I've also cloned your example and it seems that it gives me the same error
Let me know if i can provide more information
Thank you

Please, try loading the same ROM on http://endrift.github.io/gbajs/ and say here if it worked or not.
I think that it's an issue on gbajs itself, not on this wrapper.

Hi @macabeus yes it is working on gbajs, but i think i've found the issue, there is no window.FlashSavedata exported inside the .js files, i've changed the savedata.js file like that:

window.FlashSavedata = function FlashSavedata(size) {
  MemoryView.call(this, new ArrayBuffer(size), 0);

  this.COMMAND_WIPE = 0x10;
  this.COMMAND_ERASE_SECTOR = 0x30;
  this.COMMAND_ERASE = 0x80;
  this.COMMAND_ID = 0x90;
  this.COMMAND_WRITE = 0xa0;
  this.COMMAND_SWITCH_BANK = 0xb0;
  this.COMMAND_TERMINATE_ID = 0xf0;

  this.ID_PANASONIC = 0x1b32;
  this.ID_SANYO = 0x1362;
...

also in the mmu.js i've exported memoryview:
window.MemoryView = function MemoryView(memory, offset) {
  this.buffer = memory;
  this.view = new DataView(
    this.buffer,
    typeof offset === "number" ? offset : 0,
  );
  this.mask = memory.byteLength - 1;
  this.resetMask();
};

and in the util.js i've exported the hex function:
window.hex = function hex(number, leading, usePrefix) {
  if (typeof usePrefix === "undefined") {
    usePrefix = true;
  }
  if (typeof leading === "undefined") {
    leading = 8;
  }
  var string = (number >>> 0).toString(16).toUpperCase();
  leading -= string.length;
  if (leading < 0) return string;
  return (usePrefix ? "0x" : "") + new Array(leading + 1).join("0") + string;
};

Now it seems to work fine

Nice that you fixed it!
Can you open a PR, please?

Can't do it right now hopefully at the end of the day 😁

Hi
Sorry to bother you again, but from the issue 14 now i'm getting this error, i don't know if it is a problem with the .gba file but i've tried multiple and i'm getting the same error:
Uncaught (in promise) ReferenceError: FlashSavedata is not defined
    at window.GameBoyAdvanceMMU.GameBoyAdvanceMMU.loadRom (react-gbajs.js?323e:10)
    at G.setRom (react-gbajs.js?323e:10)
    at G.loadRomFromFile (react-gbajs.js?323e:10)
    at H (react-gbajs.js?323e:10)
    at play (react-gbajs.js?323e:10)
    at _callee$ (emulator.js?a22c:33)
    at tryCatch (runtime.js?c56e:45)
    at Generator.invoke [as _invoke] (runtime.js?c56e:274)
    at Generator.prototype.<computed> [as next] (runtime.js?c56e:97)
    at asyncGeneratorStep (emulator.js?a22c:1)
    at _next (emulator.js?a22c:1)

I've also cloned your example and it seems that it gives me the same error
Let me know if i can provide more information
Thank you

I'm getting the same error

Fixed on 1.0.3


Integrate libmediapipe into Akihabara

This pull request is an attempt to integrate libmediapipe into Akihabara.
For now, it fixes MediapipeException typos (some places were still using MediaPipeException) and turns NativePacketCallback into a delegate so that it can be used in the definition of the mp_CalculatorGraph__ObserveOutputStream__PKc_PF call.
Thus, Akihabara now builds successfully.
However, the method for building and linking libmediapipe alongside Akihabara is still unclear. It will eventually be done in this pull request.

Alright, thanks for merging! Unit tests will come in a separate PR then


IE tracker fix

Tracker did not work in ie 11.
URL in IE
https://stackoverflow.com/questions/48447629/new-urllocation-href-doesnt-work-in-ie
foreach in IE
https://gist.github.com/bob-lee/e7520bfcdac266e5490f40c2759cc955

@mikecao  hello

I'd like to avoid bloating the tracker with polyfills if possible. Plus all the stuff you're doing with babel is already handled by buble. I think we should replace the URL functionality with equivalent logic. Looks like it's only being used in two places.

If I'm not mistaken, it looks like all the URL logic can be done with simple string operations/regex.  Also, the .forEach can be replaced with a traditional for-loop for a much more streamlined solution.


Bug with AnimatedSprite & AnimationPlayer.

Godot version:
3.1.1
OS/device including version:
mac 10.14
Issue description:
can't make curve animation for animated sprite. here has two bug.

Select animationplayer first, then select animatedsprite. The keyframe button don't display any more. After that always don't show key frame button with other nodes. (AnimatedSprite it self can't be set animation. And it stop other nodes do that.)

AnimatedSprite is not never be animation. It can to it only with manual keyframe control.

About point 1.
I was unable to reproduce with Godot 3.1.1 on Ubuntu 18.04:

Did I misunderstood the reproduction steps?
About point 2.
When you define an animation you should be able to play it in runtime with play("animation name") method of AnimatedSprite

About point 1.
I was unable to reproduce with Godot 3.1.1 on Ubuntu 18.04:

Did I misunderstood the reproduction steps?
About point 2.
When you define an animation you should be able to play it in runtime with play("animation name") method of AnimatedSprite

Your animatedSpirte's frames is empty. You can try with not empty frames for this.

When you select AnimatedSprite the SpriteFrames panel is opened by default, that's why the key icons no longer appear, you need to select the Animation panel at the bottom.

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

I guess not.


Expose 'Main_' entrypoint for building executable kts files

I am attempting to incorportate kscript and .kts compatible build in Gradle.
I have not yet found a way to do this fully but Im close.
The current stumbling block is how to run a compiled .kts file that works with both kscript and gradle.
When using kscript --package a main is created on the fly and the source is disposed --
extracting the class files from the built package I seee this 👍

public final class Main_Getprops$Companion {
  public final void main(java.lang.String[]);
  public Main_Getprops$Companion(kotlin.jvm.internal.DefaultConstructorMarker);
}

This corresponds to the source generated in Kscript.kt
To emulate the equivalent of "kscript file.kts" or "kscript --package .. ; ./file" I belive I need to incorporate this wrapper (or maybe specify a different template ???)

I was finally able to create a standalone build that works in intellij, via 'gradle run',  and 'kscript src/main/kotlin/file.kts'
In intellij this works directly with  (select Getprops.kts) Right Click-> Run...
Steps:
build.gradle ( edited, YMMV)
buildscript {
    repositories {
       jcenter()
    }
}
plugins {
  id 'org.jetbrains.kotlin.jvm' version '1.2.60'
}
dependencies {
  repositories {
jcenter()
    maven {
        url 'file:<local-maven-directory>'
    }
  }
}
apply plugin: 'kotlin'

apply plugin: 'java'
apply plugin: 'application'
mainClassName='MainKt'
dependencies {
    compile "org.jetbrains.kotlin:kotlin-script-runtime" // needed ???
    compile "com.github.holgerbrandl:kscript-annotations:1.2"

}

src/main/kotlin/Main.kt //(NOT  Main.kts)

fun main(args: Array<String>){
 val script = Getprops::class.java.classLoader.loadClass("Getprops")
   script.getDeclaredConstructor(Array<String>::class.java).newInstance(args)
}

src/main/kotlin/Getprops.kts

#!/home/dlee/bin/kscript    # helper script file, can use #!/usr/bin/env kscript --script
//IMPORT Main.kt             // Not Needed ???
@file:MavenRepository("localrepo","file:/path/to/local/repo")

@file:DependsOn("local built module : x : x ")

object Properties: Table(name="properties") {
  val name = varchar("name",256).primaryKey()
  val value = varchar("value", 256)
}
fun main(args:Array<String>){
... normal kts code
  }
}

main(arrayOf())   // Needed to run main() via kscript

Why don't you use a kt-file as input? There you could define your main entry point yourself, see https://github.com/holgerbrandl/kscript#use-entry-to-run-applications-with-main-method
Imho this solves your problem.

Closed due to inactivity. Feel welcome to keep commenting on this thread.


Rigidwall motion card bug

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
This function is not setting the right value for OPT in RIGIDWALL_GEOMETRIC_MOTION
cyl_indentor.set_motion(Curve(x=[0, 10.0], y=[0, 5.94]), motion=Motion.ACCELERATION,dir=Direction(0, 0, -1))
📝 Steps to reproduce
cyl_indentor.set_motion(Curve(x=[0, 10.0], y=[0, 5.94]), motion=Motion.ACCELERATION,dir=Direction(0, 0, -1))
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
0.4.1
🐍 Which Python version are you using?
3.7
📦 Installed packages
---

This problem has been resolved in the version 0.4.2


[full-ci] [tests-only] Move tests from core to oCIS related to /Shares of TUS upload

Description
This PR adds the tests for TUS upload related to /Shares which are removed from the core with this PR https://github.com/owncloud/core/pull/40305 as /Shares related implementation is not in core and is shifted to oCIS.
Related Issue

Part of https://github.com/owncloud/ocis/issues/4154#issuecomment-1206026045

How Has This Been Tested?

Locally
CI

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

Implementing in PR https://github.com/owncloud/ocis/pull/4470. So closing this PR.


Variable to Rotate Monitor Focus

Description
I apologize if this already exists. It would be awesome if there were a variable to allow you to create a binding to rotate through multiple monitors.
E.g. Super+Tab would move the mouse and focus to the next monitor in the list and then the next and then the next, allowing you easily to move the focus to the workspaces on the other monitors.

`hyprctl

monitor	One of: direction, ID, name, current, relative (e.g. +1 or -1)
focusmonitor	focuses a monitor	monitor

Thank you.
For anyone who comes across this in the future this is how it worked out:

bind = $mainMod, Tab, focusmonitor, +1
bind = $mainMod SHIFT, Tab, focusmonitor, -1


Porcupine Issue: Constantly getting my accounts deleted without any understanding what I have done wrong.

Have you checked the docs and existing issues?

[X] I have read all of the relevant Picovoice Porcupine docs
[X] I have searched the existing issues for Porcupine

SDK
Node.js
Porcupine package version
I dont know
Framework version
node.js on Rasberry pi
Platform
Raspberry Pi
OS/Browser version
node.js
Describe the bug
My account has been deleted so I changed to using a different account and now that has been deleted. why?
Steps To Reproduce
Open an account
build a PPN
load it into my instance of node.js
account get deleted short time later
Expected Behavior
to not loose my account

Picovoice Audit System can delete accounts in case of Picovoice Terms of Use violations, such as suspicious activities, creating multiple accounts, providing false or inaccurate information.
If you think there is a mistake, please send an email to<EMAIL_ADDRESS>with your name, surname, country, city and project details. We’ll investigate it further.

I did all that.  I am honestly following all the rules.  Its annoying to
not be able to keep my simple custom wake word function alive without any
idea why i am getting shutdown..    i have asked twice and you are the only
person who has responded.
On Thu, Sep 26, 2024 at 1:38 AM Ian Lavery @.***> wrote:

Picovoice Audit System can delete accounts in case of Picovoice Terms of
Use https://picovoice.ai/docs/terms-of-use/ violations, such as
suspicious activities, creating multiple accounts, providing false or
inaccurate information.
If you think there is a mistake, please send an email to
@.*** with your name, surname, country, city and project
details. We’ll investigate it further.
—
Reply to this email directly, view it on GitHub
https://github.com/Picovoice/porcupine/issues/1316#issuecomment-2374749535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BH7HKZFAMYW3AY2HVRUP2X3ZYLYLBAVCNFSM6AAAAABOZ2U67WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUG42DSNJTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Would someone please get back to me regarding restoring my account.   I
used this one until you deleted it and thought maybe picovoice didn’t like
basic gmail accounts.  So I created another using my @.***
company account.   You deleted that also.    Why?  What is the reason I
can’t have access to you platform to learn and build personal projects?
On Thu, Sep 26, 2024 at 11:26 AM MMaik100 @.***> wrote:

I did all that.  I am honestly following all the rules.  Its annoying to
not be able to keep my simple custom wake word function alive without any
idea why i am getting shutdown..    i have asked twice and you are the only
person who has responded.
On Thu, Sep 26, 2024 at 1:38 AM Ian Lavery @.***>
wrote:

Picovoice Audit System can delete accounts in case of Picovoice Terms of
Use https://picovoice.ai/docs/terms-of-use/ violations, such as
suspicious activities, creating multiple accounts, providing false or
inaccurate information.
If you think there is a mistake, please send an email to
@.*** with your name, surname, country, city and project
details. We’ll investigate it further.
—
Reply to this email directly, view it on GitHub
https://github.com/Picovoice/porcupine/issues/1316#issuecomment-2374749535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BH7HKZFAMYW3AY2HVRUP2X3ZYLYLBAVCNFSM6AAAAABOZ2U67WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUG42DSNJTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Same problem here.
Did nothing to violate guidelines.
Fix your algorithm please.

There is no way this ticket should be closed.   With no response from any review of my case, my account was cancelled for no reason and nobody has replied.   This is the absolute worst service by any firm.   Why would someone want to use a system where the company will not only shut the user down but give no reason or chance to resolve the issue.

Picovoice Audit System can delete accounts in case of Picovoice Terms of Use violations, such as suspicious activities, creating multiple accounts, providing false or inaccurate information.
If you think there is a mistake, please send an email to<EMAIL_ADDRESS>with your name, surname, country, city and project details. We’ll investigate it further.

Why does nobody reply to any request?   Is picovoice still in business?


Replication stream endpoint

From @nolanlawson on February 8, 2015 0:1
So there is ongoing discussion in CouchDB about adding a _bulk_revs endpoint to speed up replication.
I would like to go one step further and have an endpoint that exposes replication as a stream, using pouchdb-replication-stream. @janl has expressed some interest in this, so I think it's the kind of thing where we could add an experimental API to express-pouchdb and them try to propose it as a Couch standard.
The endpoint should be very simple, something like:
GET /_replication_stream?since=5&limit=10&feed=continuous

It would only accept three options: since, limit, and feed, all borrowed from _changes. (I guess we may also need heartbeat and timeout, if we're gonna have feed.)
This could alternatively be added as an option to _changes (e.g. style=stream, ala style=all_docs), but then I worry that it would be more difficult to feature-detect from the client's point of view. Also, there are many features in _changes that I would not want to borrow here: descending, include_docs, filter, attachments.
I think this should just be a super-simple API that gives you everything what you need for replication, without allowing you to shoot yourself in the foot. The goal is to replace the existing replication algorithm with a less chatty protocol. Thoughts?
Copied from original issue: pouchdb/express-pouchdb#198

From @daleharvey on February 8, 2015 11:21
I suspect we will still want filter, but 100% yes I would live to get this in to pouchdb as a plugin then see if we can get it into core couchdb, I suspect there will be some more discussions about the format and exact implementation, not sure a spit out all of every docs is going to be ideal, but if it works for a first implementation its good for me, I think<EMAIL_ADDRESS>would be the best place to make a start on this

From @janl on February 23, 2015 16:39
+1 to all this.

We have discussed this at CouchDB Dev Summit and for now our hypothesis is that Http/2 solves most of these issues


Lone Survivor [PCSE00301]

App summary

App name: Lone Survivor
App serial: PCSE00301
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3203
Commit hash: https://github.com/vita3k/vita3k/commit/2101d1ea
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Sam
OS: Windows 10
CPU: AMD 5500u
GPU: AMD Radeon Graphics
RAM: 6 GB

Issues

Screenshots

Log
vita3k.log
Recommended labels

https://github.com/Vita3K/compatibility/labels/crash
https://github.com/Vita3K/compatibility/labels/Nothing
C?

try again with opengl and report again

run game at opengl

vita3k.log
https://github.com/Vita3K/compatibility/labels/graphics bug
https://github.com/Vita3K/compatibility/labels/Intro

as of https://github.com/Vita3K/Vita3K/commit/eb521c25dd9eb57f4d1d78f4c17d8476216f2c39, the game is displaying graphics while in OpenGL, yet Vulkan isnt booting the game at all. The audio seemed normal for a few seconds, before it bugged out and stuttered although the sound effects are working. The character started to have some graphical flicking while moving (in 4th screenshot).
Screenshots

Log
vita3k.log
Recommended Labels

Playable
graphical bug
vulkan crash

as of https://github.com/Vita3K/Vita3K/commit/4ac8a41669c511a52598ab230665fe29a8df57fd, Vulkan can now boot and the audio bug isnt there anymore but the character glitching remained (but not too distracting).
Screenshot

Log
vita3k.log


device specific light and illuminance output

This PR should either give a lux illuminance output or a binary light output, dependent on the specific device. See #4 which device should give what output.

Codecov Report

Merging #6 (bb8916c) into main (dc622a5) will increase coverage by 0.26%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   45.74%   46.01%   +0.26%
==========================================
  Files           2        2
  Lines         647      652       +5
  Branches      138      141       +3
==========================================
+ Hits          296      300       +4
+ Misses        297      296       -1
- Partials       54       56       +2

Impacted Files
Coverage Δ

src/xiaomi_ble/parser.py
45.59% <25.00%> (+0.26%)
:arrow_up:

src/xiaomi_ble/__init__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

arggh forgot about that lint commit thing again, it is not in my system yet.


Structured Logging

Is there a setting anywhere, to enable structured logging?  We would definitely prefer to have everything in our cluster log as JSON.

Hi @jseiser there is no such setting or comprehensive structured logging support.

I guess I'll close this ticket now. Fell free to follow up and/or open a new issue if you have further questions.


Add newer hspec to LTS 18.10

This is being added before we move this LTS into production use, so
immutability is being circumvented.
This new hspec allows us to understand suite performance and
bottlenecks by reporting test timings.

I built core on my local with this LTS.


Error: GraphicsAdapterNotFound

iced-examples on ArchLinux and windows7  is Error: GraphicsAdapterNotFound ; but gtk and orbtk is normal operation；

I have same issue on nixos with nouveau.
Possibly related to missing support of vulkan gfx api.

I have same issue on nixos with nouveau.
Possibly related to missing support of vulkan gfx api.

I have same issue on nixos with nouveau.
Possibly related to missing support of vulkan gfx api.

I'm on NixOS too and yes, one will get this error by default. This happens because the Vulkan library (among other libraries) cannot be found when the application tries to dl_open. This can be fixed if you set your LD_LIBRARY_PATH to where these libraries are, which can be done with Nix:
{ pkgs ? import <nixpkgs> { } }:
  let
  neededLibs = with pkgs; (with xorg; [ libX11 libXcursor libXrandr libXi ])
    ++ [ vulkan-loader wayland wayland-protocols libxkbcommon ];
  in with pkgs;
  mkShell {
    shellHook = ''
      export LD_LIBRARY_PATH=${lib.makeLibraryPath neededLibs}
    '';
  }

example as a Nix shell. Note that just having these packages in your environment will not fix the issue.

I have same issue on nixos with nouveau.
Possibly related to missing support of vulkan gfx api.

I'm on NixOS too and yes, one will get this error by default. This happens because the Vulkan library (among other libraries) cannot be found when the application tries to dl_open. This can be fixed if you set your LD_LIBRARY_PATH to where these libraries are, which can be done with Nix:
{ pkgs ? import <nixpkgs> { } }:
  let
  neededLibs = with pkgs; (with xorg; [ libX11 libXcursor libXrandr libXi ])
    ++ [ vulkan-loader wayland wayland-protocols libxkbcommon ];
  in with pkgs;
  mkShell {
    shellHook = ''
      export LD_LIBRARY_PATH=${lib.makeLibraryPath neededLibs}
    '';
  }

example as a Nix shell. Note that just having these packages in your environment will not fix the issue.

Thx @yusdacra
But seems the vulkan only backend is supported:
[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTermPhysDevs:  Failed to detect any valid GPUs in the current config
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTrampPhysDevs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTermPhysDevs:  Failed to detect any valid GPUs in the current config
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTrampPhysDevs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan] Could not enumerate physical devices! Initialization of a object has failed
Error: GraphicsAdapterNotFound

IIRC wgpu has basic support for gl

Thx @yusdacra
But seems the vulkan only backend is supported:
[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTermPhysDevs:  Failed to detect any valid GPUs in the current config
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTrampPhysDevs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTermPhysDevs:  Failed to detect any valid GPUs in the current config
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan]
    GENERAL [Loader Message (0)] : setupLoaderTrampPhysDevs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
    object info: (type: INSTANCE, hndl:<PHONE_NUMBER>9360)

[2021-01-07T18:37:26Z ERROR gfx_backend_vulkan] Could not enumerate physical devices! Initialization of a object has failed
Error: GraphicsAdapterNotFound

IIRC wgpu has basic support for gl

For now (iced 0.2) you need Vulkan on Linux. Most modern installs shouldn't have an issue (have you installed Vulkan Mesa packages?).

IIRC wgpu has basic support for gl

Iced has its own backend for openGL, with its own set of limitations. You can enable it with the glow feature.

For now (iced 0.2) you need Vulkan on Linux. Most modern installs shouldn't have an issue (have you installed Vulkan Mesa packages?).

IIRC wgpu has basic support for gl

Iced has its own backend for openGL, with its own set of limitations. You can enable it with the glow feature.

@twitchyliquid64 Unfortunately nouveau graphics driver does not support the Vulkan API for now.

@twitchyliquid64 Unfortunately nouveau graphics driver does not support the Vulkan API for now.

@katyo Mesa has a pretty speedy CPU emulation for Vulkan if youre stuck with hardware vendors that doesn't play well with Linux

@katyo Mesa has a pretty speedy CPU emulation for Vulkan if youre stuck with hardware vendors that doesn't play well with Linux

@twitchyliquid64 I have no ideas how to get it works.

@twitchyliquid64 I have no ideas how to get it works.

What distro are you on?
On Sat, Jan 16, 2021 at 11:29 PM Kayo Phoenix<EMAIL_ADDRESS>wrote:

@twitchyliquid64 https://github.com/twitchyliquid64 I have no ideas how
to get it works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hecrj/iced/issues/677#issuecomment-761747975, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQJCDMQOPQJRPG4LNVH22TS2KGWXANCNFSM4VPF5IQQ
.

What distro are you on?
On Sat, Jan 16, 2021 at 11:29 PM Kayo Phoenix<EMAIL_ADDRESS>wrote:

@twitchyliquid64 https://github.com/twitchyliquid64 I have no ideas how
to get it works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hecrj/iced/issues/677#issuecomment-761747975, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQJCDMQOPQJRPG4LNVH22TS2KGWXANCNFSM4VPF5IQQ
.

Seems it works fine with google's swiftshader.

Seems it works fine with google's swiftshader.

Wut? how did you glue switftshader to iced?

Wut? how did you glue switftshader to iced?

I just add swiftshader to buildInputs in my shell.nix

I just add swiftshader to buildInputs in my shell.nix

Ah, you installed it and now it looks like Iced is working via swiftshaders' CPU implementation?

Ah, you installed it and now it looks like Iced is working via swiftshaders' CPU implementation?

@twitchyliquid64 yep, this just works with acceptable performance
This is my shell.nix:
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell rec {
    name = "shell";
    nativeBuildInputs = [pkgconfig gdb];
    buildInputs = [
        openssl freetype expat
        vulkan-loader vulkan-tools
        wayland wayland-protocols libxkbcommon swiftshader
    ] ++ (with xorg; [
        libX11 libXcursor libXrandr libXi
    ]);
    shellHook = ''
        export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${lib.makeLibraryPath buildInputs}";
    '';
}

@twitchyliquid64 yep, this just works with acceptable performance
This is my shell.nix:
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell rec {
    name = "shell";
    nativeBuildInputs = [pkgconfig gdb];
    buildInputs = [
        openssl freetype expat
        vulkan-loader vulkan-tools
        wayland wayland-protocols libxkbcommon swiftshader
    ] ++ (with xorg; [
        libX11 libXcursor libXrandr libXi
    ]);
    shellHook = ''
        export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${lib.makeLibraryPath buildInputs}";
    '';
}

Nice!

Nice!

For me adding the "glow" feature to iced in Cargo.toml fixes this problem.
I'm running Ubuntu 18.04 LTS.

(Nit note: the glow feature is an entirely different graphics backend based on openGL - its doesnt fix the issue of not having a modern graphics pipeline on your system).

Interesting thanks.

@twitchyliquid64   Yeah I'm noticing some of the example packages won't work using "glow".  I guess that is related to what you are talking about :(
So when you say there is no modern graphics pipeline on my system, is that a hardware or a software problem?  And how modern is modern?


Inconsistent:  URL Field in Behavior Section

The URL Field, is also inconsistently applied:  in TS_TA551, a behavior is set to string type, and in another behavior it is set to array type.  Schema Version 1.6 states it is supposed to be a string type when it is used in the Behavior section.

Wiki Behavior Section

          {
            "behavior": "MSHTA connected to public server via HTTP",
            "id": "68c2a8a7-cc23-4367-9001-2875b0ad08f4",
            "type": "Network Accessed",
            "connections": [
              {
                "dstIp": [
                  "45[.]144.29.211"
                ],
                "url": "http://wilkinstransportss[.]com/bdfh/M8vW0wEDKC/13990/98945/78577/UqmtFoUgSxQJgcBW2fbvUZ2w7h9ymtYJSptD/sumej1?m4m=uGAi7rUeR3HcNJNavdx&cid=LtbWPeO8zSCYlRGIYaA4Nf&H4PX=6Qrvk6oCdF49I89tjCSo&time=h9tCXQxzNuY1C4oJM4SS7q1cYDVUb",
                "dstHost": "wilkinstransportss[.]com",
                "protocol": "tcp",
                "dstPort": [
                  80
                ],
                "userAgent": [
                  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
                ],
                "method": "GET"
              },

    - behavior: MSHTA connected to public server via HTTP
      id: 68c2a8a7-cc23-4367-9001-2875b0ad08f4
      type: Network Accessed
      connections:
        - dstIp:
          - 45[.]144.29.211
          url: http://wilkinstransportss[.]com/bdfh/M8vW0wEDKC/13990/98945/78577/UqmtFoUgSxQJgcBW2fbvUZ2w7h9ymtYJSptD/sumej1?m4m=uGAi7rUeR3HcNJNavdx&cid=LtbWPeO8zSCYlRGIYaA4Nf&H4PX=6Qrvk6oCdF49I89tjCSo&time=h9tCXQxzNuY1C4oJM4SS7q1cYDVUb
          dstHost: wilkinstransportss[.]com
          protocol: tcp
          dstPort:
          - 80
          userAgent:
          - "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)"
          method: GET
        - dstIp:
          - 80[.]92.206.122
          dstHost: steptransport2017b[.]com
          protocol: tcp
          dstPort:
          - 80
          userAgent:
          - "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; HCTE; Zoom 3.6.0)"
          method: GET
      att&ck:
        commandAndControl:
        - "T1071.001 - Web Protocols"

Sighting fixed. URL must be an array of strings, since it is possible that exists many communications with different URLs in the same behavior.


Integration in learning platform

We create Learnbeat, the leading e-learning platform for high schools in The Netherlands. We would love to use this API to help Art teachers to create lessons and exercises in our platform.

Please use the API via https://developers.artsy.net, let us know if you need anything else.


Add info about project status to Readme

What about adding a badge?
![Project Status](https://img.shields.io/badge/Project%20Status-alpha-orange.svg?maxAge=43200)


export_presets.cfg

The problem
export_presets.cfg contains the Godot export preset settings, having it missing in the repo by default will leave potential contributors confused, even if they figure out how to make it work by reading Godot documentation, it will hit them again a second time, there are specific settings you need to do to have a functional export at all.
Possible solutions

Commit the file into the repo. Cons: people might change their export settings and thus touch the file
Provide a export_presets.cfg.example file withe the defaults, explain how to use it in the docs.
Have a guide on how to do the settings from scratch in the docs.

Extra
I opted for the third solution in my fork as I was collecting the information I had learned on my own.

The third option looks like to be the working solution, I consider this good enough and done.


L.Google is not a constructor

Getting the following when I try to use the google plugin for tiles:
L.Google is not a constructor
This was a facepalm.  just include the files properly.

So what was the "bug" ?

Ha, just seen the facepalm files not included well, so the bug was between the chair and the keyboard :p


Can I hide exposed port in base image of Dockerfile?

Hi, All,
Here is my situation. I have a base_image of BASE1, and it is built form Dockerfile1. In Dockerfile1, there is two exposed ports(port1 and port2)with EXPOSE.
Now I hope to build an image named NEWIMAGE from Dockerfile2, in Dockerfile2 there is FROM BASE1.
Can I hide port2 and just leave port1 when building Dockerfile2?
If I could, how to write my Dockerfile2 to hide port2?

Not yet but there's a PR to "unset" things from a base image: https://github.com/docker/docker/pull/8177


Breakdown of django/django is different from Linguist

As @guillemdb found out while doing the ML challenge for source{d}, enry reports wrong results for django/django. Ground truth:

enry:

Thank you for the report, indeed numbers look a bit off! It's documented that some of the strategies do not produce the same results in https://github.com/src-d/enry#divergences-from-linguist
So far I'm not aware of the attempts to verify the accuracy of enry that goes beyond the samples dir of Linguist (as part of the tests, we make sure each strategy agrees with Linguist on every file there) and am looking forward to measuring and improving it under this issue!
Here are the results of  reproducing this comparison locally with enry and linguist 7.2.0 CLI
mkdir /tmp/linguist-django; cd /tmp/linguist-django
git clone --dept 1 git@github.com:django/django.git
cd -

enry -prog /tmp/linguist-django/django
67.85%	Python
31.04%	Modelica
1.02%	JavaScript
0.03%	Makefile
0.03%	Shell
0.03%	Smarty

./bin/github-linguist /tmp/linguist-django/django
95.80%  Python
1.90%   JavaScript
1.66%   HTML
0.63%   CSS
0.01%   Shell
0.00%   Smarty
0.00%   Makefile

Good start on this issue would consist of:

shell/shell/go script for CI to compare order of magnitude of the results of this breakdown (high-level)
dig deeper in CLI code to make sure "apples" are compared to "apples"
integration test that over the same codebase file by file and compare results with linguist "gold" results (low-level)

Django uses .mo files for localization translation that are known as Modelica to linguist (even if they are not).
So, from a first glance - it seems like in linguist a content classifier was able to differentiate those but on enry it may be the second case of miss-classification from https://github.com/src-d/enry#divergences-from-linguist and most probably due to similar cause as https://github.com/src-d/enry/issues/194
To 100% verify that one would need to run django.mo though linguist and enry with instrumentation from  https://github.com/src-d/enry/issues/188 enabled.

Ok, the above explanation is although very probable, is not plausible - it may also be a bug in enry cli.
On a dir with 2 files
find /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES
 /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES/django.mo
 /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES/django.po

One is reported as binary with 30 sloc (wc -l is sure it's 29) and another as Gettext Catalog.
enry /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES/django.mo
django.mo: 30 lines (30 sloc)
  type:      Binary
  mime_type: text/plain
  language:

./enry -prog /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES/django.po
django.po: 1301 lines (975 sloc)
  type:      Text
  mime_type: text/plain
  language:  Gettext Catalog

But if the whole dir is analyzed, it becomes 100.00%	Modelica 😖
enry -prog /tmp/linguist-django/django/django/conf/locale/be/LC_MESSAGES
100.00%	Modelica

So, by changing our CLI to:

call GetLanguage on every file, instead of what we do now - would remove wired Modelica
apply result filtering, equivalent to linguist
and not using -prog, so HTML and CSS is not excluded

should allow to get same CLI results as in Linguist.

@bzz But how does it work right now if it doesn't call GetLanguage on every file?!

As one specific application using enry library, enry CLI instead of relying on high-level API of GetLanguages tries to avoid reading every file and use more low-level API in a smart way.
Some API calls do not need to have a content of the file, e.g GetLanguageByExtension and others always require it e.g GetLanguage thus if a first one already returns a plausible candidate - the file does not need to be read.
I would say that CLI should mimic github linguist CLI output at least in default configuration. I'm going to submit a change that does soon.

As soon as #214 merged I'm going to make a new release where the CLI outputs will be the same and it's not going to be such miss-understandings https://github.com/src-d/enry/pull/214#issuecomment-480043357 (no language detection logic changes)

While a release is still blocked by CI, latest master results are
./enry /tmp/linguist-django/django
95.87%	Python
1.85%	JavaScript
1.65%	HTML
0.63%	CSS
0.01%	Shell
0.00%	Smarty
0.00%	Makefile

./bin/github-linguist /tmp/linguist-django/django
95.86%  Python
1.85%   JavaScript
1.65%   HTML
0.63%   CSS
0.01%   Shell
0.00%   Smarty
0.00%   Makefile


Support non-arm processors

Our product currently supports all architectures (including arm) but we would really love to incorporate card-io. But we don't want to limit the update to only ARM processors and were wondering if there might be a potential update down the line which would enable card-io for all processors?

https://github.com/card-io/card.io-Android-SDK#requirements-for-card-scanning says an ARMv7 processor is required.


Fails on systems without yum (but with dnf)

On distros that have moved to dnf as the default package manager over yum (like Fedora 22, Fedora 23), the role fails with a yum import error.
Traceback (most recent call last):
  File "/home/vagrant/.ansible/tmp/ansible-tmp-1453913472.43-6655968565982/yum", line 27, in <module>
    import yum
ImportError: No module named yum

The right way to fix this is to use the package Ansible role, which supports both yum and dnf. That came out in Ansible 2.0, which was very recently released but hasn't yet been packaged and distributed as an RPM. The could be fixed by moving to the dnf Ansible module, but that would break yum distros like CentOS 7. Could add some conditional to the tasks, but that's hack.
For now we'll target CentOS 7 over F22/F23 and move to the package module once it's out.

CentOS now has Ansible <IP_ADDRESS>-2.el7, so this is unblocked.

This was fixed in #22 and e56dd8af2fb7bcff938cb2198d8127a64f366e9c.


Bug: Folder with zips in loads quite slowly

Description
I have a folder with 14 zip archives in and it takes about 10 seconds for it to load but after when going in and out of the folder its instant. This seems to only happen after a computer restart or Files update.
Steps To Reproduce

Create a folder with 10+ archive files
Restarting computer
Navigate to the folder of archives

Steps to fix
?
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.675
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Is this folder set as the startup tab?

No, I just navigate to it like normal

Does this happen with the default app settings?

No. I'll try see what setting makes it slow.

Is it calculate folder sizes?

Nope it still very slow. The reset might of just being a onetime thing since I can't get it to do that again. There also doesn't seem to be a setting making it that way.

I've found this happens will .dll too.

Is this still an issue in the preview version? https://files.community/download/preview

Yes

This seem to be fixed in <IP_ADDRESS>


Allowing to control resolution of bends in the section_based_ring

Adding an addiitonal parameter ang_res to contorl the angular resolution of each section.

@joamatab I rolled back the option to remove the original layers, but in general I think that when you do dataprep you have to have that option.
A clear case I can thik of is when you manhattanize: if you manhattanize a layer you of course don't want to have the original non-manhattan polygon.
But in general, any dataprep operation in which the resulting shape might not enclose the original shape you want to delete the original layer. Another obvious case: if you just want to erode a layer.

Thank you Marc, looks great
we can add the remove layer option, but if we do it we need to make sure we flatten the extracted geometry as Component.extract won't hit the cache and is dangerous the way it was
I can send a PR for this


BLE security vulnerability

I am "working" and by working i mean i am trying to understand security mechanism in BLE. Ive got some issues with my own application thats why i decided to perform tests on esp-idf provided examples.
My authentication settings are for both, server and client:

ESP_LE_AUTH_REQ_SC_ONLY
ESP_IO_CAP_IO

Noticed issue:

10/10 numeric comparison values are different but the same on both esp32 - just one answer is correct (YES)

My understanding is that on every reconnect numeric comparison should be the same or different, but 10 on 10 is not right.

@chegewara What is your problem? Can you description clearer, I still do not understand.

@Yulong-espressif
If we are trying to connect 2 devices with ESP_IO_CAP_IO capability then each device should display numeric value to comparison with the other device. To perform authentication we need to confirm on both devices that 2 numbers are equal or not with buttons YES/NO.
Im running examples from esp-idf (gatt_security_server and gatt_security_client) and every single time pseudo-generated numbers are the same on both devices. Which means to confirm authentication i have to press YES on both devices.
There should be about 50% chances that answer is either YES or NO. But we have 100% cases with answer YES.

Its from logs:
E (2837182) BT: Non bonding: No keys will be exchanged
E (2837182) BT: lmp_version_below LMP version 6 < 8
E (2837482) BT: Value for numeric comparison = 763988

763988 is value which is different every time im trying to connect 2 devices (2 x esp32) but its the same value on both esp32.

Im closing this issue because it seems my understanding was wrong. I have read it one more time and now i undertand that connection is performerd only when end user confirm with yes on both devices that sees the same numbers. My bad, sorry.


TF Lite updated quantization_utils.cc

Fixed warning in the file.

This changes combine with #26236 .


Implementation of file parsing as byte[] instead of using file path.

Thanks @mayaganesan! I like the idea this is going for. However, I don't want to add overloads for different ways we can pass file types in. The reason I chose a filestream was because it contained Path and Stream. I'd prefer some abstraction like this:
public interface IDependencyFile
{
    public string Path {get;}
    public Task<Stream> GetContentsAsync();
}

That way, both FileInfo or byte[] objects could be passed in, and have one API for it. What do you think?

Sure, a Stream should work fine. I chose to go with a byte array because there seems to be a read/write timeout in some Streams and I didn't want to run into any issues there. But all the places that require file paths should be modified in this pull request, so you can go ahead and make the change if you think that would be better.

Just saw this old PR and was wondering what the solution should be? Is this what you had in mind?
IDependencyInfo FindDependencies(IEnumerable<Stream> inputStreams, IProgressReporter progressReport);

or
IDependencyInfo FindDependencies(IEnumerable<byte[]> input, IProgressReporter progressReport);

The latter would remove the dependency on us to use a File.Open in MetadataDependencyFinder.

The problem with passing a Stream is that it requires it to be open. It would be better to have some type (an IFileInput) that has a method like (Stream OpenRead()) that will open a file to be read (maybe an async version?). Then a byte[], fileinfo, or other type could be implemented.

I'm going to close this as I've done some work with this in another branch and will open a new PR. Please see #201 for that work.


Sorting search results

Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.

What are you trying to do?
Sort search results (for example, sorting https://search.maven.org/search?q=g:org.apache.hadoop AND a:hadoop-client&core=gav by "Updated" column)

What feature or behavior is this required for?
Finding information about a specific artifact or comparing similar artifacts. (For example, comparing similarly named artifacts with different groupIds, sorting by artifactId)

How could we solve this issue? (Not knowing is okay!)
Could use something like https://datatables.net/ or provide a sortby directive in the search language.

Anything else?
Nope. Keep up the good work!

This is a neat idea! We ultimately want to sort them by popularity at some point (as the default way we return them), as that seems like it would be very helpful for people. WDYT?

Popularity might be useful, but sometimes what is popular isn't the best thing. For example, if multiple people fork servlet-api, and what becomes popular is (as example) Tomcat's package for servlet-api, but really the one that contains the canonical standard is the javax.servlet-api artifact, popularity can be misleading.
Having a default sort of popularity could be good, but I kind of like the current default (which appears to be "most recent"), because it tends to show me what I'm looking for, which is most often the answer to the question: is there a newer version of this?.
Regardless of default, having multiple sort options can support a wider variety of use cases.

@ctubbsii just as sorting on popularity, this would require some Back End changes to allow sorting on specific fields.
This project is specifically related to the Front End of Search Maven Org, when we start looking into improving our Back End servers we will hopefully address this as well.
For now closing this, I did add a specific label that allows us to come back and review any changes we need to make once we updated out Back End.

I know this is closed, but sorting by most-recent version/date would be incredibly helpful for projects that publish a lot of modules, and have changed their module structure over time.


Features Added to handle various operations on build APKs from the app

Added features #85 for build APKs

Added a section in navigation drawer Saved APKs for showing different APKs that have been developed

One can share any APK by long touching it.

They can also delete any APK.

Users can install the build APKs by simply clicking on the particular item

Here is the animated video of it:

Merged after fixing the codacy issues.

via 82c10b0c93f56350294526746e525e5bf6935857


random_pop_song_json... line stopped responding

Ran into an issue today as the code suddenly stopped responding / executing while executing the following line (execution through a for loop was completely fine beforehand without changing anything):
random_pop_song_json : str = get_random(spotify=spotify_client, type="track", genre=genre_type, year="2002-2021")
Tried with a completely separate client ID etc. but execution keeps lagging in this line so I would assume that this isn't related to the Spotify API limits or similar... Has anything changed in the library or is there another obvious reason that would explain this issue?
Thanks already in advance :)

Sorry for replying so late, I hope you have already found a solution for this problem because so far we have changed nothing in the code. We are using the random spotipy extension for our personal project as well and there it still returns random songs as it should be.


Things that should be in 1.0.0 release - PLEASE FEEL FREE TO CONTRIBUTE IF YOU FEEL SOMETHING IS MISSING OR WRONG

Hi everyone,
With the work I've done/accomplished this week-end, I think we are close to a major 1.0.0 release.
I would like to make a Todo List of what is needed for this final release.
Please feel free to contribute and tell me what's wrong/missing in this plugin.
I'll update this post according to your advice. Thanks !!
TODO

[ ] Meteor.collection(collectionName).update should work offline and not just wait that the connection is live again
[ ] Meteor.loginWith[Provider] : how to do it ? We can't just reproduce Meteor code because we should have to add plugins like react-native-facebook-login : what do you think ?

@radiegtya @spencercarli

Meteor.ddp.on("change") etc still not working on mine. Can you give some example about implementing that?

Hello, for Meteor.loginWith[Provider], maybe with a Oauth authentication like https://github.com/FranciscoVictor/accounts-facebook-ddp ?
@Mokto @spencercarli

I personally like the way that meteor does Oauth - more of an opt-in than baked in out of the box.
What I found when writing this Google Oauth tutorial is that there are a lot of moving parts on both the meteor side and RN side (especially configuration on the RN side).
Maybe it would be better to write docs/guides/tutorials for this and link to them in the README? Can we build extensions off of this npm package to enable oauth? i.e. react-native-meteor-oauth-google

@radiegtya can you please create an issue regarding this ? It is not appropriate here.
@balibou The problem is that we have to add native code to this plugin event for users who don't use oauth signin.
@spencercarli I do not know yet what to do. There are 2 possibilities in my opinion :

Do what you say, it could be really nice to add plugins to extend features. In this case maybe we should move FSCollection to another plugin called react-native-meteor-collectionfs. Or just in case native code is needed. What do you think ?

Or maybe we should just call login method with credential token and credential secret and let each user do the work to get these credentials.

I do not know yet ^^

@Mokto : ok I'll :+1:

@Mokto I would rather go the first route - put as much work as possible on the extension packages rather than in application code. I've found with OAuth there are a ton of ways to mess it up and I would love to have one "right" way to do it.

Ok, I'll go for first solution then. What do you think about plugins that don't need native code ? Shall I include them in this plugin ?

That's an interesting one - if it's in a different package then it can be released independently of the entire react-native-meteor package but then it's an additional repo to manage...
I guess it goes to the whole debate we often see in the Meteor community. Is it worth it to be a "core" package or should we split it out to more of a community type package?
I've offered no solutions, simply more questions haha

Ok,
CollectionFS seems to be pretty important to me so I'll let it in this package. I'll think about it for other packages.

What will you do with collectionFS @mokto? You want a complete one (saving data to gridfs/filesystem/s3, fetch the data, and modify the data) or you just want a part of it? This is interesting, ofc if you can implement it with combination of the popular react-native-image-picker

No I want the full CollectionFS !
I have done what is needed to read data (this is more important to me) but eventually I'll add something to upload photo (by the way, I think it is already working, I just did not try yet).
React-native-image-picker sends base64 back, so the only thing that matters is to do Meteor.collection('images').insert(base64ImageData)

yeah it's working. I have tried 3 days a go lol. But video cannot be saved because it doesn't return base64Data on react-native-image-picker. I can't successfully convert the response.uri callback to base64 manually for video. Plus taken picture (not from camera roll) but directly using camera, the base64 file able to be saved to collectionFS, but it cannot be shown.
Dunno if it's appropriate to talk here. But if you can help me, it will be cool and ofc can be used to be added to Readme working example

https://github.com/facebook/react-native-fbsdk/tree/release-0.1.0-alpha just released, looking into it when I get time available.

Just wanted to say many thanks for the great project. I hope Ill be able to help as soon as I get better at all this.

Thank you !
Another thing for 1.0.0 : what do you think about documentation ?

Did everyone understand it well ?
I am french, so there must be a lot of mistakes.

Does anyone want to do it ? 👍

@Mokto what do you think about using container components, the new react-meteor api as of 1.3[1]

Thank you for pointing this out !
Yes I think I have to fit new meteor specs... Looking into this soon.

Might be useful for loginWithOauth:
https://github.com/eddflrs/meteor-ddp/blob/master/meteor-ddp-oauth.js

Thanks. I did know how to login with oauth. What takes time to do is implementing a native Facebook, Google, Twitter...etc login.

In fact I really like the way you did it. What would the gain with containers ?

It's just a matter of preferences. getMeteorData would stay as it is now.
The pro of createContainer is to separate view and data, I think. I have not tried it yet ;)

Use of Promises would be nice to have. For example for subscriptionIsReady something like:
Meteor.subscribe("products").then(() => { // do stuff }).catch((err) => { console.log(err) });

I try to fit the most to meteor client.
Subscribe already returns an reactive handle which returns ready when it is.

It is awesome that the usage is similar to Meteor (and so far the only library that I found which is using this way), but for me it causes problems in Meteor 1.3 as the handle.ready() always returns false, or at least is not causing a re-render. I have also created a question on stackoverflow.
Do I see that correctly, that the library is not compatible with Meteor 1.3 yet? For some reason the handle is not reactive for me... :(
Beside that: Great package that saves a lot of time!

I just answered your stackoverflow asking.
;)

Wow, so fast! Thank you so much! :) Really appreciate!

I just got done getting React Native up and running with @spencercarli 's boilerplate repo. I'm looking to spin this up next. A useful thing to have might be a limitations section in the README... what can't you do with this package that you would normally be able to do with Meteor because:

they have not been added/integrated yet
they will not be added/integrated
they cannot be added/inegrated because of limitations of React Native

This limitation section could also help provide perspective on what else might be important to have.

Absolutely right !
Will be adding this soon ! ;)

By the way, I'm not sure if this helps address limitations suggestion by @funkyeah but it seems like most of the meteor context is in order.
https://github.com/smartdemocracy/react-native-local-mongodb
I like the idea of showcasing limitations, I was wondering if minimogo-cache and the trackr dependencies represent drop-In substitutes for minimogo and Tracker.

@smooJitter
Yes minimongo-cache and trackr are react-native compatible substitutes for minimongo and Tracker.
Your library is very interesting replacing minimongo-cache btw. I am now considering replacing minimongo-cache by https://github.com/smartdemocracy/react-native-local-mongodb. What do you think ? Thanks for the link.

I recently wrote a tutorial about oauth with facebook and used react-native-meteor and the new react-native-fbsdk. The way I'm doing things is pretty hacky but it may serve as a good example on how we could start creating packages for oauth.
<EMAIL_ADDRESS>The biggest challenge is going to be configuring the native packages for android and ios.

Your article looks great !
Yes, it is a shame that there is no rnpm install yet.
I haven't got time available for this, but I had seen react-native-fbsdk too, and want to create a react-native-meteor-fblogin for this plugin, as we discuss earlier.

Hi, I am trying to do some research before starting a project,
I have coded with meteor working through tutorials etc and am really pleased to see that it has been integrated with react-native so I don't have to use cordova,
May I ask if it is possible to use your react-native-meteor to sync/link data from the meteor mongodb backend to an offline Realm db for full functionality in apps when in offline mode,
If so do you have any suggestions how this may be accomplished either now or in future features of your plugin?
Looking at https://realm.io/docs/react-native/latest/ this seems to be way things are going to go with react-native and also from what meteor team are saying that they will be integrating further with react on-going it would be a useful step to add the realm 'connection' into your plugin rather than a completely new solution, would appreciate any advice or feedback you may give,
Thanks very much,

Hi,
Yes, offline subscriptions is one of most needed feature with this plugin.
But unfortunately I have no time to deal with this feature right now.
I do not know Realm db to be honest, but I cannot see how this would help this plugin. I was more thinking about using https://github.com/smartdemocracy/react-native-local-mongodb to save data into cache.
Thanks for your feedback ;)

Hi,
first, thanks for your awesome work.
I'm starting with Meteor, React, React Native and would love to see realworld examples of apps built using react-native-meteor. Are there such on github or tutorials?
Thanks for your answer :-)

Hi,
Thanks !
@spencercarli did an article on Facebook Login.

I hope can have promise for Meteor.call and some other methods, like Meteor.Accounts.createUser, Meteor.loginWithPassword etc.

Hi guys, first of all thanks for putting al this together. Having used Meteor for a while and trying to do a react native project, and what you did looks very exiting. I was bale to put a together a project using user/password and facebook auth with this package and reading a few of @spencercarli articles, that btw are so helpful. I used the react-native-fsdk too. Putting everything together was very challenging since it's not as straightforward as it is nowadays with meteor, where you pretty much have a package to do everything. It would be great to be able to do the same using react-native. It's being a while since you last updated this, so I was wondering what was your progress putting the fb-accounts package or any other accounts package, if you are still working on it.
Thank you


Improve keyboard interaction for accessibility

Per accessibility standards (WAI-ARIA, MDN, WebAIM), it's important to ensure that all content can be accessed with the keyboard alone - and that the keyboard and mouse produce the same experience.
Since this component supports click to zoom, it should also support keyboard interaction to initiate and exit zoom.

[x] By default, users can only navigate to links, buttons, and form controls with a keyboard. These natively-accessible elements should be used whenever possible. If this is not possible (like this case), you may need to use tabindex="0" to ensure an element can receive keyboard focus.
[x] Following ARIA Practices, the interaction most closely models a button, so it should honor both Enter and Space. Use onkeydown to trap rather than onkeypress since IE will not fire keypress events for non-alphanumeric keys.
[x] Since the zoomed appearance functions like a modal dialog, focus should return to the image element that opened the dialog.
[x] Since the zoomed appearance functions like a modal dialog, it should support Esc to close as it already does.

Closed via https://github.com/rpearce/react-medium-image-zoom/pull/71 and https://github.com/rpearce/react-medium-image-zoom/pull/73


Migration file name date part is generated based on system region settings

When creating new Migration, Migration file name starts with a date part like '20180808120946_MigrationName' .
and this part seems to be used for ordering.
Our problem is if we change our region settings to some calendar other than Georgian (like Persian Calendar) new migration file name are generated based on Persian date that is for example<PHONE_NUMBER>3708_NewMigrationName) and that breaks the ordering.
In some of my colleagues PCs even after resting the region settings to Georgian new migration names still generates based on Persian Date.

I did a little investigate to find the cause
It seems that this file (https://github.com/aspnet/EntityFrameworkCore/blob/d59be61006d78d507dea07a9779c3c4103821ca3/src/EFCore.Relational/Migrations/Internal/MigrationsIdGenerator.cs)
is responsible for generating migration file names and in this method:
public virtual string GenerateId(string name)
        {
            var now = DateTime.UtcNow;
            var timestamp = new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second);

            lock (this)
            {
                if (timestamp <= _lastTimestamp)
                {
                    timestamp = _lastTimestamp.AddSeconds(1);
                }

                _lastTimestamp = timestamp;
            }

            return timestamp.ToString(Format) + "_" + name;
}

We see how the time part is generated.
I have created a simple .Net Core Console App to test this function and copy this function into that App and print the result. but even in Systems that we have Persian Migration, this code will print Georgian Date. it's strange ...
so maybe there is a general configuration in the project some where that cause this
hope this help you


Default value loaded from XML Comment

Currently there is not way to specify the default value of a Web API parameter when including XML comments. It would be could if you could add an extra field to the XML comment to include the default value like
<param name="product" default="baseball">The new product to add</param>

If "product" is a class, you can add the tag [SwaggerDefaultValue(defaultValue)] before any attribute.
Example:
///
/// Definition of class Product.
///
class Product{
///
/// The name of the product.
///
[Required, StringLength(50, MinimumLength = 1)]
[SwaggerDefaultValue("baseball")]
public string name { get; set; }
...
};
Now adding a default value to default types (like string, int, double, ...), I don't know how to do that. If someone can help, we all appreciate that.


Need to make the biconomy options configurable

Make the API URL configurable:

https://github.com/nftlabs/nftlabs-sdk-ts/blob/a1bdebcd044616ad6ccf805c076ab1038efd9960/src/core/index.ts#L609

Make the deadline configurable

https://github.com/nftlabs/nftlabs-sdk-ts/blob/a1bdebcd044616ad6ccf805c076ab1038efd9960/src/core/index.ts#L106

Make the transaction gas price selection configurable

Waiting for biconomy to let us know what the new parameter is we need to pass

For dedicated relayers, they have a custom URL, we need to make sure we support overriding this.

Sounds good, i think we can re-use transactionRelayerUrl or something? remove the hardcode in the URL.
deadlineSeconds is already configured in the SDK options.


Workflow.await(duration, condition) does not automatically cancel the timer if the condition is resolved

Is your feature request related to a problem? Please describe.
Workflow.await(duration, condition) should automatically cancel the timer when the condition is resolved
Describe alternatives you've considered
User can currently do this manually with a cancellation scope around the await
Additional context
This will need to be versioned with SDK flags to avoid breaking determinism.

Implementer should also verify that if the condition is immediately satisfied no timer is created


sensor source

@hugokernel hi, do you know where inside eu i can get the sensors? from china takes to long and i have to pay extra tax
EDIT: i think i will just get a wind direction and speed sensor. I made an arduino weather station and from that i have both rain gauge and bme280
i dont want to get the temp in the sun but if i want to could just add another bme280

Q: could i just repeat like this? i plan to use adafruit sensor and if SDO pin is put to GND it changes from 0x76 og 0x77

platform: bme280
address: 0x76
update_interval: 60s
iir_filter: 16x
temperature:
name: "${friendly_name} temperature"
oversampling: 16x
humidity:
name: "${friendly_name} humidity"
oversampling: 16x
pressure:
name: "${friendly_name} pressure"
oversampling: 16x
platform: bme280
address: 0x77
update_interval: 60s
iir_filter: 16x
temperature:
name: "${friendly_name} temperature"
oversampling: 16x
humidity:
name: "${friendly_name} humidity"
oversampling: 16x
pressure:
name: "${friendly_name} pressure"
oversampling: 16x

and i forgot to ask, (i cant figure the code yet), but does this part ever reset?

platform: pulse_counter
pin:
number: GPIO38
mode: INPUT_PULLUP
unit_of_measurement: 'mm'
name: "Rain gauge"
icon: 'mdi:weather-rainy'
id: rain_gauge
internal: true
count_mode:
rising_edge: DISABLE
falling_edge: INCREMENT
internal_filter: 13us
update_interval: 60s
filters:
Each 0.011" (0.2794mm) of rain causes one momentary contact closure

multiply: 0.2794
accuracy_decimals: 4

i understand that rain per minute and daily rain are reset, but does the above work as a rain in total that is only reset if mcu is reset(power cycle)

Did you find answers to all your questions?

I think yes
My problem is more checking if my code is right
tor. 23. sep. 2021 12.33 skrev Charles R. @.***>:

Did you find answers to all your questions?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hugokernel/esphome-weather-station/issues/3#issuecomment-925692417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5HTL2WRONDIWZGN45BYFTUDL7ARANCNFSM5EMLPRWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

But not home before evening
But if you have time to check my code for any obvious errors I would be
happy
tor. 23. sep. 2021 12.33 skrev Charles R. @.***>:

Did you find answers to all your questions?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hugokernel/esphome-weather-station/issues/3#issuecomment-925692417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5HTL2WRONDIWZGN45BYFTUDL7ARANCNFSM5EMLPRWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Q: could i just repeat like this? i plan to use adafruit sensor and if SDO pin is put to GND it changes from 0x76 og 0x77
i know that pressure will be the same and prob. also humidity, but i'm just looking for working code
  - platform: bme280
    address: 0x76
    update_interval: 60s
    iir_filter: 16x
    temperature:
      name: "${friendly_name} in shade temperature"
      oversampling: 16x
    humidity:
      name: "${friendly_name} in shade humidity"
      oversampling: 16x
    pressure:
      name: "${friendly_name} in shade pressure"
      oversampling: 16x
  - platform: bme280
    address: 0x77
    update_interval: 60s
    iir_filter: 16x
    temperature:
      name: "${friendly_name} in sun temperature1"
      oversampling: 16x
    humidity:
      name: "${friendly_name} in sun humidity1"
      oversampling: 16x
    pressure:
      name: "${friendly_name} in sun pressure1"
      oversampling: 16x

If you change the address, yes, it will work but after that, I don't really see the point of measuring the temperature in the sun ;)

i understand that rain per minute and daily rain are reset, but does the above work as a rain in total that is only reset if mcu is reset(power cycle)

The integration will start again at the beginning but is it really a problem? The assembly may reset often?

Temperature in the sun makes sense when summer starts and you want to know
if you need a jacket or t-shirt or yo can go topless
tor. 23. sep. 2021 16.53 skrev Charles R. @.***>:

Q: could i just repeat like this? i plan to use adafruit sensor and if SDO
pin is put to GND it changes from 0x76 og 0x77
i know that pressure will be the same and prob. also humidity, but i'm
just looking for working code

platform: bme280
address: 0x76
update_interval: 60s
iir_filter: 16x
temperature:
name: "${friendly_name} in shade temperature"
oversampling: 16x
humidity:
name: "${friendly_name} in shade humidity"
oversampling: 16x
pressure:
name: "${friendly_name} in shade pressure"
oversampling: 16x
platform: bme280
address: 0x77
update_interval: 60s
iir_filter: 16x
temperature:
name: "${friendly_name} in sun temperature1"
oversampling: 16x
humidity:
name: "${friendly_name} in sun humidity1"
oversampling: 16x
pressure:
name: "${friendly_name} in sun pressure1"
oversampling: 16x

If you change the address, yes, it will work but after that, I don't
really see the point of measuring the temperature in the sun ;)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hugokernel/esphome-weather-station/issues/3#issuecomment-925890329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5HTL7MM4ZNRJF66HPR6FDUDM5MZANCNFSM5EMLPRWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

my code so far
esphome:
  name: vejrstation
  platform: ESP8266
  board: nodemcuv2
  esp8266_restore_from_flash: True

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: vejrstation
    password: !secret ap_password

web_server:
  port: 80

logger:

api:

ota:

captive_portal:

i2c:
  frequency: 100kHz
  sda: D2
  scl: D1

sensor:
  - platform: pulse_counter
    pin:
      number: D6
      mode: INPUT_PULLUP
    unit_of_measurement: 'm/s'
    name: "Wind speed"
    icon: 'mdi:weather-windy'
    count_mode:
      rising_edge: DISABLE
      falling_edge: INCREMENT
    internal_filter: 13us
    update_interval: 60s
    # rotations_per_sec = pulses / 2 / 60
    # circ_m = 0.09 * 2 * 3.14 = 0.5652
    # mps = 1.18 * circ_m * rotations_per_sec
    # mps = 1.18 * 0.5652 / 2 / 60 = 0,0055578
    filters:
      - multiply: 0.0055578
      #- sliding_window_moving_average:
      #    window_size: 2
      #    send_every: 1

  - platform: pulse_counter
    pin:
      number: D5
      mode: INPUT_PULLUP
    unit_of_measurement: 'mm'
    name: "Rain gauge"
    icon: 'mdi:weather-rainy'
    id: rain_gauge
    internal: true
    count_mode:
      rising_edge: DISABLE
      falling_edge: INCREMENT
    internal_filter: 13us
    update_interval: 60s
    filters:
      # Each 0.011" (0.2794mm) of rain causes one momentary contact closure
      - multiply: 0.2794
    accuracy_decimals: 4

  - platform: integration
    name: "rainfall per min"
    id: rain_per_min
    time_unit: min
    unit_of_measurement: 'mm'
    icon: 'mdi:weather-rainy'
    sensor: rain_gauge

  - platform: total_daily_energy
    name: "total daily rain"
    power_id: rain_gauge
    unit_of_measurement: 'mm'
    icon: 'mdi:weather-rainy'
    # x60 To convert to aggregated rain amount
    filters:
      - multiply: 60

  - platform: bme280
    address: 0x76
    update_interval: 60s
    iir_filter: 16x
    temperature:
      name: "temperature"
      id: bme280_temperature
      oversampling: 16x
    humidity:
      name: "humidity"
      id: bme280_humidity
      oversampling: 16x
    pressure:
      name: "pressure"
      id: bme280_pressure
      oversampling: 16x

  - platform: bme280
    address: 0x77
    update_interval: 60s
    iir_filter: 16x
    temperature:
      name: "temperature(sun)"
      id: bme280_temperature_sun
      oversampling: 16x

  - platform: adc
    id: source_sensor
    pin: A0
    name: ADC
    #attenuation: 11db
    internal: true
    update_interval: 5s
    accuracy_decimals: 3
    filters:
    # - multiply: 3.3 ##built into Wemos
    # - multiply: 0.0009775171   #1/1023
    # - multiply: 0.846153 # 3.9 -> 3.3V

  - platform: resistance
    sensor: source_sensor
    id: resistance_sensor
    configuration: DOWNSTREAM
    resistor: 10kOhm
    internal: true
    name: Resistance Sensor
    #reference_voltage: 3.9V
    accuracy_decimals: 1
    filters:
      #- median:
      #    window_size: 7
      #    send_every: 4
      #    send_first_at: 3
      - heartbeat: 90s
    on_value:
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 3132
              below: 3200
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "N"
            - sensor.template.publish:
                id: wind_heading
                state: 0.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 1600
              below: 1700
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "NE"
            - sensor.template.publish:
                id: wind_heading
                state: 45.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 250
              below: 350
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "E"
            - sensor.template.publish:
                id: wind_heading
                state: 90.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 550
              below: 650
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "SE"
            - sensor.template.publish:
                id: wind_heading
                state: 135.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 900
              below: 1100
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "S"
            - sensor.template.publish:
                id: wind_heading
                state: 180.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 2300
              below: 2450
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "SW"
            - sensor.template.publish:
                id: wind_heading
                state: 225.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 3900
              below: 4100
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "W"
            - sensor.template.publish:
                id: wind_heading
                state: 270.0
      - if:
          condition:
            sensor.in_range:
              id: resistance_sensor
              above: 3500
              below: 3800
          then:
            - text_sensor.template.publish:
                id: wind_dir_card
                state: "NW"
            - sensor.template.publish:
                id: wind_heading
                state: 315.0

  - platform: template
    name: "Wind heading"
    id: wind_heading
    unit_of_measurement: "°"

text_sensor:
  - platform: template
    name: "Wind cardinal direction"
    id: wind_dir_card

interval:
  - interval: 60s
    then:
      - sensor.integration.reset: rain_per_min

# Enable time component to reset energy at midnight
time:
  - platform: sntp
    timezone: "Europe/Copenhagen"

i understand that rain per minute and daily rain are reset, but does the above work as a rain in total that is only reset if mcu is reset(power cycle)

The integration will start again at the beginning but is it really a problem? The assembly may reset often?

i plan to power it from 5v usb adapter so if power goes out it will reset

Temperature in the sun makes sense when summer starts and you want to know if you need a jacket or t-shirt or you can go topless tor. 23. sep. 2021 16.53 skrev Charles R. @.***>:

I think there are much more reliable ways to measure the temperature felt by taking into account the wind, the humidity (dew point?).

good thinking, that escaped my mind totally
will look in to it straight away since i have nothing better to do


Refactor all of CLI

Motivation and context

The main goal for this refactoring is to co-locate all code responsible for each command. Currently, such code is spread across 3 places:

parser configuration in parser.py;
implementation in cli.py;
name-to-code mapping in __main__.py.

This patch combines all three aspects of each command in a single class following a common protocol. This makes it easier to add/modify commands.
In addition, I made the following changes:

Moved most code into an _internal package, to discourage external code from using it.

Split off some code into dedicated modules.

Added a CommandGroup class that itself implements the Command protocol. This makes it possible to implement command hierarchies in the future.

Redid the somewhat hacky way in which the code determined which options to pass to the command implementation. Now we pop all common options when we process them, which means all remaining options belong to the command. I had to mark some of the create options with default=argparse.SUPPRESS to make this work.

Replaced the descriptions for some of the commands with the docstring of the implementation functions, which had more details. Removed the docstrings themselves, which were redundant.

Removed the RawTextHelpFormatter from the create argument parser, to ensure consistent help formatting between commands. Adjusted the --filename_pattern option description to compensate.

Cleaned up the signatures of implementation functions: made all parameters except the client kw-only, removed default values (which would never be used), removed parameters that didn't correspond to any command-line options.

Other than the command description updates, none of the changes here should affect the external behavior of the CLI.
How has this been tested?

CLI tests.
Checklist

[x] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit
Release Notes

New Features

Introduced a structured command-line interface (CLI) for managing CVAT tasks, including commands for listing, creating, deleting, and auto-annotating tasks.
Added functionality to parse command-line arguments for authentication, resource types, and task operations.

Bug Fixes

Enhanced error handling for API exceptions and user input validation.

Documentation

Updated copyright notices and improved clarity in command handling documentation.

Chores

Removed deprecated CLI components to streamline the codebase.

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

Project coverage is 74.34%. Comparing base (bce96ea) to head (317749c).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8614      +/-   ##
===========================================
+ Coverage    74.22%   74.34%   +0.11%
===========================================
  Files          403      401       -2
  Lines        43375    43319      -56
  Branches      3925     3925
===========================================
+ Hits         32195    32205      +10
+ Misses       11180    11114      -66

Components
Coverage Δ

cvat-ui
78.78% <ø> (+0.24%)
:arrow_up:

cvat-server
70.55% <ø> (+<0.01%)
:arrow_up:


IoT Hub routing: wrong values in device lifecycle event types

Hello,
I think the list of device lifecycle event types is incorrect in the following sentence:
Yes, message routing can be used for telemetry data, report device twin changes, device lifecycle events (ex. when devices are created, deleted, connected and disconnected from IoT Hub), and digital twin change events.
From what I've tested the device lifecycle events from IoT Hub message routing works for device creation and deletion, but not for connections and disconnections.
And in the following page only the device identity creation and deletion is listed among event types.
I don't know if adding connections and disconnections in lifecycle events in IoT Hub routing is planned (that would be great), but for the moment this is quite confusing in the documentation. As far as I know it can only be done using Event Grid, I was hoping to implement it using IoT Hub routing to filter the events based on Device Twin content but it's not possible currently.
Please let me know if you think I did not understand the doc correctly.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a9fd885-7e4f-6420-7063-88a6da77bc9c
Version Independent ID: 4437ac5f-cee9-8948-8e1c-421ec28db295
Content: Compare Event Grid, routing for IoT Hub
Content Source: articles/iot-hub/iot-hub-event-grid-routing-comparison.md
Service: iot-hub
GitHub Login: @kgremban
Microsoft Alias: kgremban

Hello @xaviermignot , thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.

You have mentioned,

From what I've tested the device lifecycle events from IoT Hub message routing works for device creation and deletion, but not for connections and disconnections.
And in the following page only the device identity creation and deletion is listed among event types.

Do you have a scenario to share if that is not working as expected?

what endpoints are you using?
@kgremban Do you have any thoughts on this query? Did something changed recently?

I have tested with Blob Storage and Event Hubs endpoints.
Basically I was using a .NET console app with the device SDK, sending D2C messages using a connection string of an already existing device. Starting and stopping the app several times did not result in any event in the Event Hub or any entry in the Blob Container.
But creating or removing devices from the IoT Hub did send events to both endpoints.
Since I have created this issue I have moved to using Event Grid integration, and with Event Grid subscriptions and the same console app I can generate connection/disconnections events.
If you need more detail please let me know.

@Thanks for the additional information. I have assigned the issue to the content author @kgremban  to evaluate and update as appropriate.

Hi @xaviermignot, according to the documentation of device heartbeats, subscribing to the events that IoT Hub publishes  Event Grid is the recommended way to monitor device connected and disconnected events.
@ash2017 Can you review this question and provide clarification around how message routing can be used to monitor device connected and disconnected lifecycle events?

Hi @kgremban, yes I agree Event Grid is the way to go to react to device connected and disconnected events, that's what I will use for my need.
I am almost sure that IoT Hub routing can't be used for connected/disconnected lifecycle events (maybe it used to but has been deprecated since ?). Everywhere in the documentation, except in the page I'm referring to in my initial comment, it says that IoT Hub routing lifecycle events are device creation and deletion.
I have seen it again yesterday in the enrichment page (lovely feature btw).
I am happy with Event Grid for my need, I just think the doc needs this little clarification for other folks (and for future me too as it's the second time I'm wondering how to monitor these events 😇).
Anyway, I wish you happy holidays 🎅

@xaviermignot I'm glad that you have a solution that works for you. The comparison article was updated yesterday to remove references to connect/disconnect events from the routing column of the table. I'm going to close this issue now as resolved, but if you have any further questions or comments on this topic feel free to post here again and we can reopen the issue.
Happy new year!
#please-close

@xaviermignot I'm glad that you have a solution that works for you. The comparison article was updated yesterday to remove references to connect/disconnect events from the routing column of the table. I'm going to close this issue now as resolved, but if you have any further questions or comments on this topic feel free to post here again and we can reopen the issue.
Happy new year!
#please-close


What is missing?

[[[[[ ~/Documents/Meteor/tutorialexample ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While building the application:
client/styles/theme.less:1:1: Less compiler error:
'/packages/bootstrap3-less/bootstrap.import.less' wasn't found
=> Your application has errors. Waiting for file change.

This was caused by a presumably missing meteorite and bootstrap3-less. I've removed both dependencies because of how Meteor continues to treat LESS files (you can't just import Bootstrap's LESS version without some serious configuration).

Thanks for fixing it. BTW: This works with a plain meteor project
meteor add less
meteor add nemo64:bootstrap
And now it works also with your boilerplate :)


CAMEL-12487: S3Producer must close the streams it opens

See https://issues.apache.org/jira/browse/CAMEL-12487

Thanks, I'm merging.

Thanks for the PR. It has been merged on master, 2.21.x and 2.20.x