Android: Evothings Viewer craches

Reported on Evothings Gitter channel: https://gitter.im/evothings/evothings
https://gitter.im/evothings/evothings?at=582901e0e462097a30458f60

I am having a problem with my Evothings Viewer on an Android device. It 'crashes' periodically (can find no pattern to this yet) and I have tried uninstalling and reinstalling, forced stop, clearing caches and data, but nothing except resetting my device to factory settings seems to work. The viewer shows a blank screen and then shuts down. This has been happening with the app downloaded from Google Play, rebuilding from source or building a custom one.

https://gitter.im/evothings/evothings?at=582a4a2d65485ebc6796f34f

My app calls the ble plugin, camera, dialogs and cordova-http of the standard ones. My own viewer also includes file, file-transfer, cordova-httpd, social sharing and secure storage. The android version is 5.0.1. The app crashes at start up - it does not even present the "connect" page. I will work on getting the logcat and post.

the device is a Lenovo Tab3 7

From logcat:
E/StrictMode(21320): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode(21320): java.lang.Throwable: Explicit termination method 'close' not called
E/StrictMode(21320):     at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode(21320):     at java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
E/StrictMode(21320):     at com.android.webview.chromium.WebViewChromiumFactoryProvider.startChromiumLocked(WebViewChromiumFactoryProvider.java:16107)
E/StrictMode(21320):     at com.android.webview.chromium.WebViewChromiumFactoryProvider.ensureChromiumStartedLocked(WebViewChromiumFactoryProvider.java:333)
E/StrictMode(21320):     at com.android.webview.chromium.WebViewChromiumFactoryProvider.startYourEngines(WebViewChromiumFactoryProvider.java:427)
E/StrictMode(21320):     at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:162)
E/StrictMode(21320):     at android.webkit.WebView.<init>(WebView.java:580)
E/StrictMode(21320):     at android.webkit.WebView.<init>(WebView.java:515)
E/StrictMode(21320):     at android.webkit.WebView.<init>(WebView.java:498)
E/StrictMode(21320):     at android.webkit.WebView.<init>(WebView.java:485)
E/StrictMode(21320):     at org.apache.cordova.engine.SystemWebView.<init>(SystemWebView.java:47)
E/StrictMode(21320):     at org.apache.cordova.engine.SystemWebView.<init>(SystemWebView.java:43)
E/StrictMode(21320):     at org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:75)
E/StrictMode(21320):     at com.evothings.evothingsviewer.MainActivity$EvothingsWebViewEngine.<init>(MainActivity.java:165)
E/StrictMode(21320):     at com.evothings.evothingsviewer.MainActivity.makeWebViewEngine(MainActivity.java:154)
E/StrictMode(21320):     at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:192)
E/StrictMode(21320):     at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:141)
E/StrictMode(21320):     at com.evothings.evothingsviewer.MainActivity.onCreate(MainActivity.java:71)
E/StrictMode(21320):     at android.app.Activity.performCreate(Activity.java:6041)
E/StrictMode(21320):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
E/StrictMode(21320):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2437)
E/StrictMode(21320):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2564)
E/StrictMode(21320):     at android.app.ActivityThread.access$800(ActivityThread.java:170)
E/StrictMode(21320):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1441)
E/StrictMode(21320):     at android.os.Handler.dispatchMessage(Handler.java:111)
E/StrictMode(21320):     at android.os.Looper.loop(Looper.java:194)
E/StrictMode(21320):     at android.app.ActivityThread.main(ActivityThread.java:5576)
E/StrictMode(21320):     at java.lang.reflect.Method.invoke(Native Method)
E/StrictMode(21320):     at java.lang.reflect.Method.invoke(Method.java:372)
E/StrictMode(21320):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955)
E/StrictMode(21320):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
W/System.err(21320): StrictMode VmPolicy violation with POLICY_DEATH; shutting down.

Some observations:
The part of logcat shown above indicates that the origin is here:
https://android.googlesource.com/platform/libcore-snapshot/+/ics-mr1/luni/src/main/java/java/io/RandomAccessFile.java#128
The random access file seems to be opened by the WebView code.
The viewer source code in MainActivity.java does not seem to open Closables (except for the caching code, which is currently not used or called to my knowledge).
Could the error be caused by any of the plugins added? Have not seen this error in the "plain" Viewer.

As reported on Evothings Gitter channel, this error seems to occur with a custom version of the viewer (including the additional plugins), a viewer built from source project (with no additional plugins) and the one downloaded from the app store. The Viewer will work for a few hours and then crash. Once any version has crashed it will not start up again until the device factory settings have been restored ( with selection to not use a backed up version to restore).  The full logcat output is attached.
crash_original_log_15112016_id_removed.txt

UPDATE:  This error seems to be caused by latest Android System Webview updates on my device.  Uninstalling the updates has resulted in the viewer being stable.

@tmac2470 Thanks a lot for reporting! Closing this issue for now. Let me know if to reopen.

I am fairly sure this is a pure Android WebView bug (not Evothings or Cordova related), as reported here:
https://code.google.com/p/android/issues/detail?id=226751
It seems to manifest itself on only on later Android versions and I also found this quote implying that API 25 has changed to fix it:

"I've been having the same issue, and it looks like it's a bug in API < 25. Try your program in an emulator with API 25 and see if it works. If it works there, then it is most likely the same problem and you are out of luck until is able to fix the issue."

Currently Cordova-android uses Android API 14-23: https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html
...so not sure how we can fix this?

One approach to solve the WebView issue could be to use Crosswalk: https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview

This probably was ie to some old setup of the viewer souce. One that updates did not fix. Using the Studio 2.2 build or creating a new project with cordova seemed to fix this.


Exceptions when launching and closing

This issue relates to FlashDevelop <IP_ADDRESS>7 for .NET 4.8 (development#1e62a1d8fa), under Windows 10 64bit.
I've uninstalled the prior version, installed the new, then deleted FleshDevelop's folder within AppData before each launch test (%HOMEPATH%\AppData\Local\FlashDevelop).  These exceptions were pulled from Exceptions.log.  No project is being opened, only launching the app.
When launching FlashDevelop 32bit, I'm presented with these exceptions:
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.MainForm.CreateCustomDocument(Control ctrl)

System.NullReferenceException: Object reference not set to an instance of an object.
   at StartPage.PluginMain.CreateStartPage()
   at StartPage.PluginMain.ShowStartPage()
   at StartPage.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.Docking.TabbedDocument.AddEditorControls(String file, String text, Int32 codepage)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.MainForm.CreateCustomDocument(Control ctrl)

System.NullReferenceException: Object reference not set to an instance of an object.
   at StartPage.PluginMain.CreateStartPage()
   at StartPage.PluginMain.ShowStartPage()
   at StartPage.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.Docking.TabbedDocument.AddEditorControls(String file, String text, Int32 codepage)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

When closing FlashDevelop 32bit, I'm presented with these exceptions:
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.MainForm.CreateCustomDocument(Control ctrl)

System.NullReferenceException: Object reference not set to an instance of an object.
   at StartPage.PluginMain.CreateStartPage()
   at StartPage.PluginMain.ShowStartPage()
   at StartPage.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.Docking.TabbedDocument.AddEditorControls(String file, String text, Int32 codepage)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

When launching FlashDevelop 64bit, I'm presented with these exceptions:
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

When closing FlashDevelop 64bit, I'm presented with this exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at FlashDevelop.Docking.TabbedDocument.AddEditorControls(String file, String text, Int32 codepage)
   at FlashDevelop.MainForm.CreateEditableDocument(String file, String text, Int32 codepage)

When I opened FlashDevelop today (next day, effectively after reboot), I'm not faced with any of these issues anymore.
Perhaps all that was needed was a reboot?


Only one workaround to get "srb init" to work with Ruby 2.7.0-preview1

Had to change "VOID = Module.new.freeze" to "VOID = Module.new #.freeze"
in<EMAIL_ADDRESS>file to get "srb init" to work with Ruby 2.7.0-preview1.
Unclear how to fix it correctly.
Other "srb" options not tried yet.
Sorbet: 0.4.4933
Ruby:   2.7.0preview1 (2019-05-31 trunk c55db6aa271df4a689dc8eb0039c929bf6ed43ff) [x86_64-darwin16]
Rails:  6.1.0.alpha or 6.0.0

Why did you have to change that?
What was the error?

Ran "SRB_YES=1 bundle exec srb init" and got: https://gist.github.com/jasnow/3b64231769ab41cc072a3a201b4faea3

I chatted with @XrXr  and he said this is a known issue with 2.7.0-preview1 and that it's fixed in 2.7.0-preview2.
Thanks Alan!

2.7.0-preview2 will be a much harder upgrade.


[main] Clean up /dashboard delete/edit buttons

Describe the bug
Minor issue. Can affect user's ability to work with subdomains on phone.
To Reproduce
Steps to reproduce the behavior:

Go to /dashboard

Screenshots

This should have been fixed a while ago


Promote link of ServiceRef may be incorrect into Switchyard SCA

When generating a promotion link of a ServiceRef, first invocation a component service should be assigned. Generator currently used the first invocation found event if it's not assigned to a Route really using the ref.
This led to incorrect reference links : SCA component may be bound to reference event if it does not realy use it !!

Done !


check directories one by one and not depend only on config.js

As mentioned in https://github.com/docker-library/ghost/pull/5 this change introduces a less radical init process checking and gives you the opportunity to inject your own config.js from a data-only container, which should be responsible for holding the state. Otherwise it would not be possible to upgrade the image the container is running on without losing your current state.
This solution still has problems because of the way the container start is handled in general.
The config.example.js does not include the paths attribute for the production environment and so it is not "fixed" in the way the development environment is with the sed command in docker-entrypoint.sh
That's why the container start fails when giving NODE_ENV=production.
If you put a correct config.js in a container from which you get the volumes before the first start, the container crashes because the subfolders of the GHOST_CONTENT dir were not initialised. This is because a config.js was found and the init phase is totally skipped.
This is fixed in this PR.
Anyway you have to pay attention to also "fix" the paths for other environments manually because the automatism via sed is only run when als the config.js is initialsed automatically which again leads to the production environment problem.
So that's all a bit hacky because the original config.example.js is incomplete and needs manual adjustment to work in production.

LGTM

Seems sane. :+1:
LGTM

Do we have any documentation we can point to upstream to note that this is the full list of possible directories in content?

I just picked the directories which are present there: https://github.com/TryGhost/Ghost/tree/master/content


error messages?

Is there a simple way to get error messages when readConf fails?
(I've been doing cabal install && cabal exec ghc -- -c foo.conf but that feels a bit roundabout, and requires a main function in foo.conf.)

Probably not the way it's currently implemented, but depending on your needs it's also probably not too difficult to get working.
If you could give an example of what you are looking for that would help.  You could even go as far as demonstrating it with a failing test case - https://github.com/carymrobbins/haskell-conf/blob/master/tests/UnitTests.hs

As an example, getConf "foo" (parseConf "foo = [\"bar\" \"baz\"]") :: Maybe String gives Nothing.
GHC would at least give me a line number (and tell me I was using "bar" as a function, which is a bit silly, but better than Nothing).
Perhaps one way would be to have a function showErrs :: String -> String where you can pass in the whole config and get any GHC parse error messages out (or perhaps parseWithErrs :: String -> (Conf, String) to do it all in one go).

I would have parseConf return a Monad m, and let the caller decide if they want a Maybe or Either.


Navbar button colors not matching

Describe the bug
Navbar button colors not matching with the button colors on rest of the website.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

I would like to work on this issue under GSSoC'21

/assign

/assign

@Pranav016 I just checked the btn-info class is giving the current color but I can't change it because it is a bootstrap class. I was thinking to create a new class and adding style to that. Should I proceed with this ?

@Pranav016 I just checked the btn-info class is giving the current color but I can't change it because it is a bootstrap class. I was thinking to create a new class and adding style to that. Should I proceed with this ?

remove the btn-info class and add the class we have given to the other buttons..


Add aria-live to New messages

Fixes #2669

Changelog Entry

Description
New messages button itself is not accessible. This adds an aria-label to it

~[ ] Testing Added~

Manual testing:

Run Web Chat
Type 'help'
Scroll up a bit, so bottom of transcript is hidden
Open Developer Tools > Elements
Confirm that a span above the New messages button exists with the value being 'New messages'

Coverage increased (+0.006%) to 61.166% when pulling c33907caecb8fca28a60540b68aa368979259e5f on corinagum:#2669-NM-button into e204e8cb6747bf69cba7c7621fac7fb3059cefae on microsoft:master.

Closing - on further examination, Chrome is not respecting labels the way I previously expected


Chinese version link

can you add a link to https://github.com/MLEveryday/Machine-Learning-Cheatsheets?
we already finished the first three parts.

Thanks for your message @zhyongquan. As responded in this other issue, we would need these translations to be in the right format in order to be valid.
Could you please fill the fields of the Chinese folder accordingly and open a pull request for each of these cheatsheets? Thanks!


Docs: All ES6 classes need to be registered with Marty before using

Current docs just attempt to use a ES6 classs directly (not an instance). This doesn't work. Instances need to be obtained by using Marty.register

:+1:


Find python3 in cmake, fix warning

There are some cmake warnings now reported by jenkins since we upgraded one of the jenkins plugins:

 https://build.osrfoundation.org/job/sdformat-ci-sdformat9-bionic-amd64/31/

CMake Warning at CMakeLists.txt:226 (message):
  -- 	Python psutil package not found.  Memory leak tests will be skipped

The issue is that we are installing the python3 version of psutil, so we need to find the python3 interpreter in cmake.

The sdformat ci is still failing one test, which seems psutil related:
81: [ RUN      ] ElementMemoryLeak.SDFCreateDestroy
81: Traceback (most recent call last):
81:   File "/var/lib/jenkins/workspace/sdformat-ci-pr_any-ubuntu_auto-amd64/sdformat/tools/get_mem_info.py", line 4, in <module>
81:     import psutil;
81: ImportError: No module named psutil
81: unknown file: Failure
81: C++ exception with description "stoi" thrown in the test body.

Codecov Report

Merging #328 into sdf9 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             sdf9     #328   +/-   ##
=======================================
  Coverage   86.40%   86.40%
=======================================
  Files          59       59
  Lines        9053     9053
=======================================
  Hits         7822     7822
  Misses       1231     1231

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 33d24e6...1f84744. Read the comment docs.

The sdformat ci is still failing one test, which seems psutil related:

should be fixed by 1f84744

CI is :green_circle:

LGTM! I guess CMake warnings are ignored in windows?

I guess not; it actually has quite a few cmake warnings, but we'll just leave those alone for now


Minigame: Rock-Paper-Scissors

A minigame to be played by two players one-versus-one. One of the players may be a bot.
See #13 for API info
Rules
General rules should be obvious.
When the game starts, a timer also starts (in the ballpark of 5 seconds). Both players have to make their selection before the timer runs out.

If one fails to do so, they lose.
If both fail to do so, the minigame is cancelled and there is no winner nor loser
When both have made their selection, the outcome is revealed instantly and the game is over if there is a winner or another round is started after some short delay.

The Rock-Paper-Scissors minigame has been implemented, including both the Python logic and the HTML/CSS for the UI. The game logic works, and the UI now looks as shown in the attached image. Testing is required to ensure proper integration with the main project.


UndefKeywordError for keyword arguments

Create a package with just this
module kwarg
       f(;arg) = 3
end

With both julia 1.8.5 & 1.9.0-beta2 run with julia 1.7.3 (it works fine with 1.8rc1)
report_package("kwarg")
You'll get this error with JET 0.6.24
═════ 1 possible error found ═════
┌ @ /home/dani/dev/julia/sandboxes/jet/kwarg/kwarg/src/kwarg.jl:2 throw(UndefKeywordError(:arg))
│ UndefKeywordError: keyword argument arg not assigned: throw(UndefKeywordError(:arg)::UndefKeywordError)::Union{}

I have a the same issue, I'm wondering why this is treated as an error? It should be valid?

hi, any news? Sorry for the spam, but this adds a lot of noise

Duplicate of #487.


gitlab: 17.1.1 -> 17.1.2

Description of changes

https://about.gitlab.com/releases/2024/07/10/patch-release-gitlab-17-1-2-released/
https://gitlab.com/gitlab-org/gitlab/-/blob/v17.1.2-ee/CHANGELOG.md
Fixes CVE-2024-2880
Fixes CVE-2024-5257
Fixes CVE-2024-5470
Fixes CVE-2024-5528
Fixes CVE-2024-6385
Fixes CVE-2024-6595

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The NixOS test is spamming the error
vm-test-run-gitlab> gitlab # [ 2070.861174] bundle[66491]: ERROR: The hook worker_start_hooks failed with exception (ArgumentError) "weakmap value was not a string".
vm-test-run-gitlab> gitlab # [ 2070.861966] bundle[66491]: {"timestamp":"2024-07-11T09:30:42.847Z","pid":66491,"message":"Early termination of worker"}

The NixOS test is spamming the error
vm-test-run-gitlab> gitlab # [ 2070.861174] bundle[66491]: ERROR: The hook worker_start_hooks failed with exception (ArgumentError) "weakmap value was not a string".
vm-test-run-gitlab> gitlab # [ 2070.861966] bundle[66491]: {"timestamp":"2024-07-11T09:30:42.847Z","pid":66491,"message":"Early termination of worker"}

The error message seems to come from gitlab's prometheus lib

Also this could help

The FreeBSD port has seamingly fix this by replacing the vendored sidekiq gem with the original upstream version.
https://github.com/freebsd/freebsd-ports/blob/main/www/gitlab/files/patch-Gemfile#L79-L80

Thanks for your suggestions! I un-vendored sidekiq and the issue no longer appears (at least for me).
@ofborg build nixosTests.gitlab


Issues with using custom ICon

Hi, when i define the custom icon notificationIcon : res://icon.png   or even in the drawable folder, the pulgin works in a very unexpected way by over writing the notificationTitle  and notificationText to the default name of the App, once you click on the notification, the takes to to RUNNING APPS program.
What is the standard way of defining and setting the custom Icon

Make sure, that those icons are really available. I've had issues like yours before.

Ok, where are the icons expected to be ?

Very good example is the SampleApp.

I have this exact same problem. If I use:
notificationTitle: 'MyApp',
notificationText: 'MyApp is continuing to track your location',

Then the notification gets that correct title and text. If I change it to:
notificationIcon: 'icon',
notificationTitle: 'MyApp',
notificationText: 'MyApp is continuing to track your location',

Then the icon appears as desired, but the text changes to what netbitsolutions mentions. The icon is definitely available (it appears fine).

Same problem here. The icon is visible (although not notificationColor), but not the title and text:
Title: AppName is running
Text: Touch for more information or to stop the app.

That's the default system message, that from my experience is not shown when icon is not found.
It's not exactly bug, but it's kind of my fault. The icon has to be in drawable folder, which is not created by cordova add platform by default and has to be created in cordova script or manually.

Yes, that really worked. Thank you!
At the moment, if I want to change the notification titlte and/or text, it seems that I would have to stop the service, (re)configure and then start the service again. I think that the notification should be more configurable or maybe an option to disable it (and use another plugin more specified for it).

@RistoNiinemets all notification related stuff is on lines 97 - 113. Probably post some more code, so I can help.
https://github.com/mauron85/cordova-plugin-background-geolocation/blob/master/src/android/AbstractLocationService.java#L97

The custom icon is working fine except one thing, it does not change it's color, keeps white.
Created the icon with AndroidAssetStudio, used my own PNG and tried one Clipart, but same result, the icon keeps white.
The text color changed as expected.

white color accent is how notifications now works on android. nothing i can do about it.


NioEventLoop takes 1 second to shutdown if there are open connections

Given the following:
package io.netty.handler.codec.http;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.Unpooled;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;

import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.util.concurrent.TimeUnit;

import static io.netty.handler.codec.http.HttpHeaderNames.*;
import static io.netty.handler.codec.http.HttpResponseStatus.OK;
import static io.netty.handler.codec.http.HttpVersion.HTTP_1_1;

public class SlowShutdownTest {

  private static final byte[] CONTENT = {'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd'};

  public static void main(String... args) throws InterruptedException, IOException {
    NioEventLoopGroup loop = new NioEventLoopGroup(1);
    ServerBootstrap b = new ServerBootstrap();
    b.group(loop)
      .channel(NioServerSocketChannel.class)
      .childHandler(new ChannelInitializer<SocketChannel>() {
        @Override
        protected void initChannel(SocketChannel ch) throws Exception {
          ch.pipeline()
            .addLast(new HttpServerCodec())
            .addLast(new SimpleChannelInboundHandler<HttpRequest>() {
              @Override
              public void channelReadComplete(ChannelHandlerContext ctx) {
                ctx.flush();
              }

              @Override
              public void channelRead0(ChannelHandlerContext ctx, HttpRequest req) {
                boolean keepAlive = HttpUtil.isKeepAlive(req);
                FullHttpResponse response = new DefaultFullHttpResponse(HTTP_1_1, OK, Unpooled.wrappedBuffer(CONTENT));
                response.headers().set(CONTENT_TYPE, "text/plain");
                response.headers().setInt(CONTENT_LENGTH, response.content().readableBytes());

                if (!keepAlive) {
                  ctx.write(response).addListener(ChannelFutureListener.CLOSE);
                } else {
                  response.headers().set(CONNECTION, HttpHeaderValues.KEEP_ALIVE);
                  ctx.write(response);
                }
              }
            });

        }
      });

    Channel channel = b.bind(8080).sync().channel();
    URLConnection urlConnection = new URL("http://localhost:8080").openConnection();
    urlConnection.connect();
    urlConnection.getInputStream().close();

    channel.close().sync();
    loop.shutdownGracefully(0, 1, TimeUnit.MINUTES);

    long start = System.currentTimeMillis();
    loop.awaitTermination(1, TimeUnit.MINUTES);
    long stop = System.currentTimeMillis();

    System.out.println("Termination took millis: " + (stop - start));
  }
}

Termination will take a second. This is problematic as it slows down testing.
The use of keep alive is significant.
I've tracked this down to being due to the event loop being “blocked” in a select here: https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java#L621
It looks to me like the problem is that selector.select() is called even though the loop isShuttingDown(), and the 1 second delay corresponds to the timeoutMillis value given to this method.
I was able to “fix” this by adding:
if (isShuttingDown()) {
  break;
}

Just before: https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java#L612
I'm not expert in this code and acknowledge that's probably not the best fix.
The fundamental problem seems to be that selector.select() is performed after the loop has started shutting down.

@normanmaurer - Would you mind taking this one?

Forgot to mention that the code is based on the 4.1 branch.

@Scottmitch @alkemist will take a look this week...

Sorry I totally forgot about this one... working on a fix now

Great, thanks.

@alkemist should be fixed by https://github.com/netty/netty/pull/5634

👍

Fixed by https://github.com/netty/netty/pull/5634


generalize file-based constructor for multiple laser slices

Add 'one' laser wavefront from data files to multiple laser slices by dividing fields by number of slices

will eventually need gaussian longitudinal profile, maybe not this issue

Also, need to make changes to crystal.py (just added them to this issue):

need to set self.A = param.A, etc for use with _propagate_abcd_lct
changes to mesh by lct propagators causes issue with self._interpolate_pop_change() when propagating through multiple crystal slices, check and fix

Duplicate issue


Update text based on Johanne reviwe

Affected files:

Bower.json
README.md

No reaction from author, thus replaced with commit:
https://github.com/SAP/openui5-basic-template-app/commit/eb0b8aafe971ff071db52ddc7390c9d7c47737c7


Account for signedness in memset const pat

Fixes #1061
Thanks to LegNeato for pointing out what was wrong

Awesome, that was quick!!!! 😍


SAKIII-4765 make collections default permission configurable

https://jira.sakaiproject.org/browse/SAKIII-4765

Verified and merged.


CLI does not detect installed Digital Ocean CLI (doctl)

When attempting to do a deployment:
➜  ~ ./tg deploy do vm -a tenant --size s-1vcpu-512mb-10gb
[INFO]    Using Twingate account: 'tenant'
[ERROR]   'doctl' CLI not detected on path. Please check that it is installed.
[ERROR]   Exception: Error: 'doctl' CLI not detected on path. Please check that it is installed.
    at DigitalOceanDeployer.checkAvailable (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:72682:19)
    at async DigitalOceanDeployer.checkAvailable (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:77143:9)
    at async DigitalOceanDeployer.deploy (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:77394:9)
    at async Command.fn (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:77455:28)
    at async Command.execute (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:2470:13)
    at async main2 (file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:78840:12)
    at async file:///home/runner/work/tg-cli/tg-cli/tg.bundle.js:78843:5

The Digital Ocean CLI is installed, see below:
➜  ~ which doctl
/opt/homebrew/bin/doctl
➜  ~

doctl was installed with brew install doctl

Hi @alexmensch - thanks for reporting. We recently refactored the CLI detection code since command is not universally supported and this broke DigitalOcean. This should be fixed in the latest build so please could you try again.
As an action item we will check other deployment options too.

This works now, thanks!

Thank you for reporting and confirming the fix


Problem with divs resizing

Hello. I am getting your example and try to use your library together with the jQuery lib, which makes divs resizeable, but have a little problem: resizing goes incorrect. Look: http://criptbook.myjino.ru/resize.html (left sidebar is resizeable).
It was established that the problem appears at the time of contextMenu initialization:
var menu = new D3NE.ContextMenu({    Values: {       Value: componentNum,       Action: function() {          alert("ok");       }    },    Add: componentAdd });
In fact I dont need this ContextMenu in my project, but if i try to comment it, the editor initialization goes wrong.
var editor = new<EMAIL_ADDRESS>container, components, menu);
Maybe you could help me to solve this problem?

Try to wrap the  <div id="nodeEditor" ... </div> into a container

It was established that the problem appears at the time of contextMenu initialization:

You can initialize an editor like this:
var editor = new<EMAIL_ADDRESS>container, components);

It doesn't work unfortunately.
Such an editor initialization leads to error:

Uncaught TypeError: Value of argument "menu" violates contract.
Expected:
ContextMenu
Got:
void
at new NodeEditor (editor.js:16)

What D3NE version are you using?

Well, i'm including this scripts
    <script<EMAIL_ADDRESS>    <script<EMAIL_ADDRESS>    <script<EMAIL_ADDRESS>

Replace 0.6.6 to 0.7.4

Well, it did not work either)
So maybe the problem is not in ContextMenu)
There are some another strange sympthoms: LeftMenus's default value is differs from its css value (in css: width = 300px vs 257px in fact). And Div#nodeEditor's width is set in 100% of my screen width, but it must be changed during the resizing. Looks like the default zoom out or smth like that.
Also there is an event listener on mouseMove for whole window. Maybe it's possible to change it only for Div#nodeEditor?

Also try to set overflow: hidden on container and call editor.view.resize() while changing width of the left menu

Thank you) That helped)


FillupPadTransform missing?

thanks for sharing this repo!
i wanted to play with it, but the FillupPadTransform from batchgenerators is missing in the current stable version 0.19.5, it seems?
any chance you can share the function instead of me trying to rewrite it?

ah, sorry for bothering, i found it in your branch of batchgenerators ;)
thanks again!

Still facing the same issue. I think you removed this FillupPadTransform from your repo.
Please check again.
Thanks!

Sorry for the late reply.
Check-out: https://github.com/MIC-DKFZ/batchgenerators/tree/david-crap
Cheers,
David

did you try searching github for it? i found this link, no idea if this might be the right version:
https://github.com/ORippler/MSD_2018/blob/bf2bb158d8718052d0160daa8cce325fbe0728b4/batchgenerators/transforms/crop_and_pad_transforms.py#L133


sudo needed to run on linux again

Hi,
After the commit number 9ffdc69f07d4f3c984ad5434e4b18602a6117e59,
The issues #259, #241, #270, and #262 where re introduced.
This issue is caused by libusb, and therefore pyusb, requiring sudo to work.
A work around to this issue can be seen in this stackoverflow
Did the commit 7515edd823166844d606110bcc6f2e30f132734a affected the following commits functionality that was necessary to remove the fix or is this just a merge conflict?

I reviewed the 9ffdc69f07d4f3c984ad5434e4b18602a6117e59 it does affect the previous solution,
Is it possible to add this issue to the project  README

Hi @LuisMendoza94, it sounds like this was a regression. I'll look into fixing it so a readme isn't necessary.

Closing this issue. The readme has been updated with information about udev rules, and an example udev rule file is included (udev/50-pyocd.rules).


Implement separate rate limits for logged in users

I think we need to modify our middleware for detecting the remote address / user so that we can return the user when logged in and then configure the client rate limits to be like 2-3 times higher than the non-logged in limits.
Documentation:
https://github.com/stefanprodan/AspNetCoreRateLimit/wiki/ClientRateLimitMiddleware
https://github.com/AprilHickson/AspNetCoreRateLimit/wiki/IpRateLimitMiddleware

This is now implemented using the .NET 7 inbuilt rate limiting. Still could add separate rate limit for when using access keys for uploading devbuilds.


Allow for multiple schemas

Currently, all tables, functions and other context variables are supposed to belong to the single schema "schema".
In principle, both Calcite and the SQL parser statements allows for multiple schemas, we would just need to implement:

[ ] dictionaries instead of lists for functions, tables and models in the context
[ ] passing the schema information on into the RelationalAlgebraGenerator object.
[ ] statements for creating a schema, deleting it (with cascade) and switching the root schema (= the schema which is inherently used when no schema is defined).

Hi @nils-braun ,
Need some more clarification on this issue, Please provide your view on this :
Currently we have following data structures/containers to store the meta information
schema: str
functions: Dict[str, callable]
table : Dict[str,DataContainer]
models:  Dict[str, Tuple(sklearn_model,training_cols)]
experiments: Dict[str, pd.DataFrame]
To introduce multiple schema feature, what is your recommendation ?,(I have some difficulty, understanding first point mentioned above )
Are we planning some thing like using dict with key as schema name and list of dictionaries like below?
functions : Dict[str, List[Dict[str, callable]]] => {schema_name: [{fn_name: callable}]}
similarly for all other entities ?
so that we can create , delete schema and their respective entities like functions, models, experiments?

Hi @rajagurunath
yes, my first intention was to go from e.g. tables: Dict[str, DataContainer] to Dict[str, Dict[str, DataContainer]. However, as the number of items that we need to store for each schema grows (functions, table, models, experiments, ...) I am wondering if it would be better to just define a small helper data class
class SchemaData: # or a better name
    table: Dict[str, DataContainer] = {}
    ....

with some utility functions and then just store a dictionary of those SchemaData instances in the context. What do you think?

Hi @nils-braun
Thanks for the Hints & Explanation, completely agreed with your concern and tried implementing a small helper class in dataContainer.py, stored tables, functions, experiments, models inside SchemaContainer  based on your above explanation.
I modified all the files where we are  referencing tables,functions,experiments,models etc . here: https://github.com/nils-braun/dask-sql/compare/main...rajagurunath:feature/multiple_schema  for example like this - context.schema[context.schema_name].tables[table_name], Need your help or suggestions here, is this the right way to access different entities using already set context.schema_name ? And how to get schema Names from calcite in places like create tables, models, experiments, etc. ( basically wherever we need)  Anything I am missing here?
And, Trying to add Create schema, drop Schema, use schema SQL statements :
Create Schema -- > Creates SchemaContainer object and stores it in schema Dict in the context
drop Schema  --> Removes the Schema from the Dict
Use Schema  --> sets the current schema name in context.schema_name ( is this approach right, will it create any other problem/side effects  (like any race condition when sending subsequent requests to the server with two different schema_name )?)

Hi @rajagurunath
Cool, I like having a class for that. I have never used the singledispatchmethod before - very cool idea. Not sure if it is really needed here, but cool to see anyways ;-)
I think you did already cover most of the changes, nice work!

And how to get schema Names from calcite in places like create tables, models, experiments, etc.

I think we can be very pragmatic here: we only allow a user to edit (create/drop) entities in the currently selected schema. If a user wants to delete a table in a different schema, they will need to switch schemas. That is similar to e.g. a database in a SQL system.
We could also replace all SimpleIdentifiers with CompoundIdentifiers in the parser definition, which would allow us to write things like DROP TABLE foo.bar to drop the table bar from the schema foo (even if it is not currently selected). Actually, SELECT ... FROM table does exactly this (and allows to select tables from different schemas in one select call). As a result, we can get the list of identifiers (instead of just a single identifier) with the .names member.
With that, the logic of something like context.schema[context.schema_name].tables[table_name] will get a bit more complicated (if the table name is compound, use the schema from the identifier, if not, use the currently active schema) - so I think it would be wise to get convenience functions for that to not repeat ourselves all the time.
While writing this, I see that this is quite involved and I am not able to bring this into words reasonably well. How about the following: I will build up upon your branch and try to add the CompoundIdentifier I was talking of for CREATE/DROP MODEL/VIEW/TABLE/EXPERIMENT upon that (and hopefully learn how exactly it works while working on it). Is that ok for you? Am I allowed to add my changes to your very good first draft?

Hi @nils-braun,
Thanks a lot for the detailed explanation, Now I understood the difference between SimpleIdentifiers with CompoundIdentifiers, Clearly I see your point, we need to have the convenience function.
It's all yours @nils-braun, 💟   I am just modifying the code here and there,  Please modify/change the code wherever you want, If you need any permission please let me, I am not sure what are all the permissions needed.
Actually, I understood some of the nuances from your detailed explanation But was not able to completely visualize/develop the convenience function. so please go ahead do your changes, I will take that as an example and try to finish the rest of the (multiple schemas) things.


Plotextractor: report "bad image" in plots view

Originally on 2010-11-21
Sometimes the Plotextractor does not extract images or captions appropriately. This can be identified as bad image conversions, wrong captions etc. In these cases, it would be beneficial to add some kind of interaction (link, button etc.) associated with each image, where users can report these cases for amending.
At the same time, such a feature will produce valuable data, pointing out cases where the Plotextractor could be improved to avoid these in the future.

Deprecated as INSPIRE specific. The plotextractor now lives here: https://github.com/inspirehep/plotextractor


Complete, beautifully designed READ.ME page

README Contents

[x] Example screenshots
[x] Quickstart
[x] Documentation
[x] Contributing

All done


failed to fetch servers (error code: 502)

im a mobile player (also in pc).
so the issue is that everytime i try to use globed on mobile it just sends me an error:
"Failed to fetch servers (code 502)
(error code: 502)"
and when i try pressing the login button it sends me another error:
"Creating challenge failed: error code: 502"
is this intentional? i really wanna play with my mobile friend online using globed but this error isn't letting me

Globed only supports the latest version of Geometry Dash, 2.206. This error means you are using an old version of the game.


Helix API fetch_channel could request 100 broadcasts at once

Current class Client::fetch_channel method only allows single channel information API request
https://github.com/TwitchIO/TwitchIO/blob/d7512f6797e9f8b46e8a36050b53d2f62a6d1223/twitchio/client.py#L443-L471

Twitch API ref Link
before making PR, should it be fetch_channel or fetch_channels ?
or make it deprecated for next version with warning?
async def fetch_channels(self, broadcaster: Union[str, List[str]] ):
       # ...

async def fetch_channel(self, broadcaster: Union[str, List[str]] ):
        # ...

        logging.info("Deprecated use 'fetch_channels' instead of 'fetch_channel' ")
        return await self.fetch_channels( ... )

I already have something prepared for this before next release 2.x release, that I haven't pushed yet.
fetch_channel will be fully removed in 3.0.

I've just pushed the changes if you would like to try

I've just pushed the changes if you would like to try

works well


some max objects to look into

snowfall~: phasor-driven particle
stash~: store and recall audio signal values
subdiv~: integer subdivision of a phasor
swing~: subdivide a phasor
twist~: non-linearize incoming ramps
updown~: Trapezoidal function generator with constant attack and release
what~: sample triggers based on a list of signal values
where~: elapsed + predicted phasor~ time

basicshapes~	An oscillator which fades between basic shapes (sine, triangle, saw, square)
alternate~	A modulator that alternates between two values	Really?
ringmod~	Ring modulator with drive
bitgrunge~	An oscillator based on the parity of bits in an incrementing count. The number of set bits in an unsigned int switches from odd to even in a self-similar non-repeating pattern. Subsequent powers of two mean each bit will be switching at half the rate. Generating a square wave oscillator from all the bits XORed together produces many sub-oscillators of the phasor frequency, producing a gritty lo-fi sound.
bubble~	A simulation of the sound of bubbles in water
chip~	A simple square wave oscillator producing sounds emulating an 8-bit game console
chorus~	Stereo chorus
compander~	An Law compression/expanding compander
crackle~	Random transients
darkhall~	Hybrid’s reverb
dfm~	A digitally modeled analog lowpass filter
distortion~ 	Tight and aggressive guitar pedal distortion
doubler~	Stereo doubler
dualbasicshapes~	A dual oscillator which fades between basic shapes (sine, triangle, saw, square)
ensemble~	Stereo ensemble effect
envfollower~	Envelope follower
euclid~	A modulator that produces a sequence of decreasing ramps with onsets distributed according to the Euclidean rhythm algorithm
expshaper~	Exponential shaper	Really?
extratone~	A meld oscillator retriggering the KickOscillator at the rate of the frequency to produce granular-esque kick drum tones found in Extratone music
filterednoise~	A noise generator with a resonant bandpass filter	Really?
filther~	A filter that has two distortion stages
flanger~	Stereo flanger
fmbass~	A simple 3-operator FM oscillator with two modulators and one carrier
foldfm~	An oscillator that mixes FM, waveshaping and wavefolding
fuzz~	Heavy and broken guitar pedal distortion
harmonicfm~	A macro oscillator that smoothly fades between FM oscillators with increasing modulator ratios
modalresonator~	A resonator using a modal filter bank
modulator~	A modulator that morphs between basic shapes
noiseloop~	An oscillator that loops a noise buffer at fast rates to produce granular-esque tonal sounds	!!!!!!!!!!!!!!!!!!!!
noisyshapes~	A dual oscillator with noise bursts and waveshaping
overdrive~	Heavy and broken guitar pedal distortion
pitchshifter~	Stereo pitch shifter
phaser~	Stereo phaser
prism~	Live's hybrid reverb, prism algorithm
pulsate~	A modulator that emits random pulses
quartz~	Live's hybrid reverb, quartz algorithm
rain~	An oscillator that mimics the sounds of raindrops mixed with wind
ramp~	A ramp modulation source
saturator~	Waveshaping saturation
shepard~	A Shepard tone oscillator with depth and direction
shimmer~	Live's hybrid reverb, shimmer algorithm
simplefm~	A simple two-operator FM oscillator with one carrier and one modulator
squarefifth~	An oscillator that morphs a square to a square pitched a fifth above
squaresync~	Two synced square waves
stereolfo~	A stereo low-frequency oscillator
subosc~	An oscillator with waveshaping and an auxiliary sub-bass oscillator
swarm~	A swarm of oscillators with modulation and frequency spacing
tarp~	A kick/bass oscillator creating 808 style sounds
tides~	Live's hybrid reverb, tides algorithm
transientdesign~	Transient designer from Live's drum buss. This applies transient shaping on a signal given another reference signal
velvetnoise~	A velvet noise generator
vibrato~	Stereo vibrato effect
vowel~	A bank of five bandpass filters with frequencies and gains that correspond to the vowels AEIOU
wander~	A modulator that ramps between random levels
waveshaper~	Waveshaping distortion


Getting error Module not found: Can't resolve 'http2' in '/node_modules/@grpc/grpc-js/build/src'

When installing Dialogflow npm module, I am getting this error
Module not found: Can't resolve 'http2' in '/node_modules/@grpc/grpc-js/build/src'
When I add this to my code const dialogflow = require('dialogflow');
Then I get above error:
When I remove const dialogflow = require('dialogflow')
then the code works fine.

my npm version is 5.6.0

Just updated npm to latest version 6.9.0 still getting the same error.

Greetings!  I can't reproduce this one.  Nodejs 10.2.1 is very old.  Can you try 10.15.2?
Also - can you share the full code example you're using?
And your operating system?

OK I installed latest version of node v11.
Removed node_modules folder and done npm install again
However, still seeing the exactly same error.
Here are the environment details
Mac OS High Sierra 10.13
I have created a chatbot app using Create React App and then trying to integrate it with Dialogflow.
Here is the code:
`
import React, { Component } from 'react';
import './App.css';
import './scripts';
import Messages from "./Messages";
import Input from "./Input";
const dialogflow = require('./dialogflow');
class App extends Component {
state = {
messages: [
{
id: 0,
text: "This is a test message!",
member: {
color: "blue",
username: "Chatbot"
}
}
],
member: {
id: "Chatbot",
username: randomName(),
color: randomColor()
}
}
onSendMessage = (message) => {
dialogflow.getResponse(message)
.then((response) => {
const messages = this.state.messages;
messages.push({
id: this.state.messages.length,
text: message,
member: this.state.member
})
messages.push({
id: this.state.messages.length,
text: response,
member: {
username: "Chatbot",
color: "blue"
}
})
this.setState({messages: messages})
});
}
render() {
return (

My Chat App

);
}
}
export default App;
`

Can see a similar problem here:
https://github.com/grpc/grpc-node/issues/610
I did npm install http2
And now seeing this error:
Compiled with warnings.

./node_modules/http2/lib/protocol/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

./node_modules/grpc/src/grpc_extension.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/pre-binding.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/util/versioning.js
Critical dependency: the request of a dependency is an expression

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

It looks like create-react-app is the common bond here.

not to pile on (but I'm piling on) could you try deleting a package-lock.json before the installation? (if you haven't already).

OK deleted the package-lock.json and node_modules and then did npm install but still getting the same error
Compiled with warnings.

./node_modules/http2/lib/protocol/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

./node_modules/grpc/src/grpc_extension.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/pre-binding.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/util/versioning.js
Critical dependency: the request of a dependency is an expression

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

@Anshul0305 aha! I should have read a bit closer, because of the node-pre-gyp dependency, I don't believe you will be able to include this in the frontend react component -- I believe it might be webpack generating these error messages.
I think your best bet at this time would be running a service that the react application interacts with, which in turn runs dialogflow.

Oh got it. Actually, that's what I was thinking. Thanks for your help.

@Anshul0305 I'm closing this issue, but it does continue to underscore how much we'd love to be able to drop the node-pre-gyp dependency eventually, which is already on our minds 👍

Benjamin E. Coe Cloud You please see this how to fix it
Thank you in Advance :)
<EMAIL_ADDRESS>Module not found: Can't resolve 'http2' in 'E:\ReactPubsub\PubSub\publisher_app\node_modules@grpc\grpc-js\build\src'

Hello everyone
getting  error in npm googleapis package Module not found: Can't resolve 'http2' in ./node_modules/googleapis-common/build/src/http2.js
as i have installed npm i googleapis  and trying installing http2 but again it is giving error using in reactjs

Running into the same issue:
Module not found: Can't resolve 'http2' in 'node_modules/googleapis-common/build/src'

The aforementioned issue doesn't seem to have any resolution. Is there any update on the timeline of supporting this with an app bootstrapped by create-react-app?
Additionally, if I try npm i http2, then the npm start output is
Compiled with warnings.

./node_modules/http2/lib/protocol/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

and the app fails during runtime (in browser) with Error: Cannot find module './framer'

If this issue is going to be left "closed", then Google is lying -- some of us remember "Don't be evil" -- in its public documentation when it fails to loudly say that the googleapis is not compatible with create-react-app.
So I, as an nodejs/npm newbie, am apparently left on my own to write my own interface/adapter to the youtube api because all the resources of Google or Alphabet or whatever can't figure out how to make this work.
This is EASY to replicate, it's been open more than a year, and it's marked as "closed" with no suggestions at all about what developers should do. Thanks, guys.

@SomervilleTom I deleted your comment because it violated our code of conduct:
https://github.com/googleapis/nodejs-dialogflow/blob/master/CODE_OF_CONDUCT.md
If you'd like to file a new issue using your best kind words, along with specifics of what you're running into, we'd be happy to take a look.

Let me try again, with more restraint. It is disappointing to find this issue marked as "closed" when "shivasuri" and at least four other people (including yours truly) are reporting this failure within the past month. I hope that that "closed" status will be revisited.
My specific experience is exactly the same as reported above by "shivasuri". I'm running CentOS 7 on an AWS EC2 instance. I develop using Visual Studio Code (VSC) on a local robust Win10 Pro system using the "RemoteSSH" extension to connect to the target system.  I keep an SSH connection from the local host to the remote target system at all times, and I forward various ports including 3000, 3001, and so on from the target system back to the local host. I use a local up-to-date Chrome browser, and I use the "Debugging in Chrome" extension in VSC.
I've installed googleapi following the guidance from the documentation:
$ npm install googleapis --save
$ npm install google-auth-library --save

When I attempt to start the react app, I see the same complaints reported above:
Module not found: Can't resolve 'http2' in 'node_modules/googleapis-common/build/src'

When I install http2 from the command line:
$npm i http2

I get the same failure reported above:
Compiled with warnings.

./node_modules/http2/lib/protocol/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

It would be very helpful if a workaround (with enough detail for an npm/react newbie to follow) could be posted here, especially if this issue is to remain closed. It prevents me from using googleapis, and that in turn is blocking my ability to successfully continue development of my current project (which requires using the youtube v3 search api).

Awesome - thanks for reposting :) Could I trouble you to take this exact comment, and create a new issue?  When folks start commenting in the same issue, it has a funny way of confusing multiple issues, and making the thread a lot harder to follow.  I would create it for you, but I want to make sure you get notified and such when we post.  I am going to go ahead and lock this thread from here on out so others don't saunter in, and end up with us missing it.  Thank you!


Replace deprecated logging.warn with logging.warning

Replace logging.warn (deprecated in Python 2.7, 2011) with logging.warning (added in Python 2.3, 2003).

https://docs.python.org/3/library/logging.html#logging.Logger.warning
https://github.com/python/cpython/issues/57444

Closing this year-old PR, happy to re-open if there's interest. 👍


[Enhancement] Requesting allowing of adding additional classes to components

So I am working with the input fields, and based on what I'm seeing, I am unable to define, change, or add tailwind classes to things like buttons, input field labels or inputs. For example, I'd like to have a label -> input on one row instead of them being on separate rows. I've read through the documentation and just was unable to find a way to do this.

Hey, thank you for issue, that problem is part of issue #192

I am also experiencing this issue on customizing the tailwind classes. Any updates or workarounds would be greatly appreciated.

Hey @TissyashriS
Sorry for the delay with this...
We're updating components one by one to enable users to use "class" attribute on them...
<fwb-button> is one of the already updated components (not many of them as of now). When you use class attribute on the button component it will be added to the calculated classes and merged using twMerge package.
Le me know which components are most important to you and I'll try to prioritize them first.
@kupoback I know it's antient issue for you... but just wanted to let you know that I've took over maintenance of this repo... and I'll try to fix all of the issues like that as soon as possible. 🤞


New TileMap editor: The physical settings for all tiles are not saved

Godot version
godot4 a12
System information
win10 vulkan desktop
Issue description

The physics collision setting is lost.
Steps to reproduce
add tilemap,set tileset,add physics layer,then set the physics options in the tileset, then save and close again for loading.
Minimal reproduction project
No response

Happened to me once (alpha 12), so I switched to alpha 8. Now it's happening in that version too, when creating a new project.

Likely a duplicate of https://github.com/godotengine/godot/issues/58848. Is your TileSet a subresource and not saved independently ?

is subresource,but tileset save as a  disk resource (*.res) and the problem disappeared

Ok, closing as a duplicate of https://github.com/godotengine/godot/issues/58848.
If you have a consistent way to reproduce the issue, please provide your feedback there.


[cordova] Centralize scripts of test harness, web runner and test xsl

Remove unused test harness reources including cordova-feature-android-tests,
cordova-sampleapp-android-tests and cordova-webapp-android-tests

Update suite.json to centralize scripts of web runner and test xsl

All suites build successfully
https://crosswalk-project.org/jira/browse/XWALK-4464

LGTM


Documentation link is dead

Link is dead: http://pickledrick.ddns.net/Help/Documentation.html.
Do you have an alternate location for the documentation?

Resolved.


updated the index text

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hello!
Thank you for your contribution. We definitely want our customers to be contributing to this shared resource.
However, I don't think we will approve this pull request as it stands because I don't think it adds value that the rest of the community can use.
Please feel free to update this pull request if you have more useful contributions you would like to share.
Thanks!


Missing directory

Not sure where to open this issue. The getting started documentation says

To simplify things, our Vagrant file maps the /srv/salt folder on your Salt master to the local salt-vagrant-demo-master/saltstack/salt

Yet /srv/salt/saltstack directory doesn't exist inside the vagrant VM

I just tested this and it's works for me:
vagrant@saltmaster:~$ ls /srv/salt/
common  top.sls

Are you still having this issue? Have you made any changes to the Vagrantfile?

I've tested this again and the directory is still correctly mapped. Since I haven't heard back I'm going to close this issue. Please feel free to comment here if you're still seeing this issue and we're reopen.
Thanks!


Style by coding (YAML, ...)

At SOTM we have discussed a need to be able to write the style by hand as well...
There is the @tmcw codeflow project which demonstrates such approach with YAML, TOML and JSON5 syntax for the GL JSON format.
Details in:
http://www.macwright.org/2015/08/17/mapbox-gl-codeflow.html
The code:
https://github.com/mapbox/mapbox-gl-codeflow-example

I agree, this would be helpful for styling attributes not yet supported by the graphical editor. YAML would be my first choice since it is more compact than JSON.

I think this has been adressed with both the JSON editor within Maputnik in each layer and
the possibility to edit a JSON locally and have it sync up with Maputnik.
https://youtu.be/vCFsrwocE9s

I think this has been adressed with both the JSON editor within Maputnik in each layer and
the possibility to edit a JSON locally and have it sync up with Maputnik.
https://youtu.be/vCFsrwocE9s


docs: remove the synchronize database option for the command 'db:drop'

This is a PR for the reported Issue #1225 .
It is just editing the documentation and removing the command db:drop for the CLI option --synchronize or -s.

LGTM :relaxed: :muscle:


control my C2N-Amp crestron with your integration

Hello @georgesak
Thanks for the update on crestron integration with HA.
I would like to control my C2N-Amp crestron with your integration.
Can you help me to do this integration?
If yes, can you tell me how to fill the join on the crestron.
my yaml config:
`crestron:
port: 16384
media_player:
platform: crestron
name: "Room 1"
turn_off: 10
turn_on: 9
mute_join: 4
volume_up_join: 1
volume_down_join: 2
volume_join: 1
source_number_join: 13
sources:
1: "Android TV"
2: "Roku"
3: "Apple TV"
4: "Chromecast"
7: "Volumio"
8: "Crestron Streamer"`
The source names are only indicative.
I would like to have zone On/Off and volume management.
Thanks for your help

What processor are you using?

My processor is a DIN-AP3

So you need to add 2 things:

TCP/IP client, point it to your HA instance (IP + port 16384)
XSig symbol. And expose the joins there.

It's best to use 2 XSigs, one for digital and another for analog/serial. Otherwise join numbering gets confusing (read the original readme, this is documented).
Let me know if that helps or you're still stuck.

Hello @georgesak
Thanks for your help.
As I understand it:
TCP/IP client, point it to your HA instance (IP + port 16384)

XSig symbol. And expose the joins there

First question is it normal to have "unlnown" in my connection with HA?

thank you for your feedback

Everything looks good. It should show connected, mine does.
Only difference is that I don't have a "1" on the Connect signal of the TCP Client. It might be that the network stack is not yet up and running. I drive it with a delay so try that:

Have a buffer that has "1" on both the enable and the input, and name the output something like "System_Started"
Add a delay symbol (try 30s to be safe), drive it with "System_Started", take the output and use that to enable the TCP Client

Hopefully that works!


fix function

Fix cloud_provider definition, use its value in check.provider and in configmap.
Add relevantImageVulnerabilitiesConfiguration to configmap

@dwertent
Done. I have also changed the include for the prometheus helm-chart


Make the nutribrick one bite smaller

made it one bite smaller so you can eat it and drink the survival box water with no bites to spare

PRAISE


Type Subscription must define one or more fields

Hey 👋🏼
Support for multiple schemas works well! 🚀
The issue I encountered was only this one:
GraphQLError: Type Subscription must define one or more fields.
    at SchemaValidationContext.reportError (poc-platformatic/node_modules/graphql/type/validate.js:73:7)
    at validateFields (poc-platformatic/node_modules/graphql/type/validate.js:271:13)
    at validateTypes (poc-platformatic/node_modules/graphql/type/validate.js:244:7)
    at validateSchema (poc-platformatic/node_modules/graphql/type/validate.js:43:3)
    at Object.<anonymous> (poc-platformatic/node_modules/mercurius/index.js:193:36)
    at poc-platformatic/node_modules/fastify/lib/hooks.js:152:22
    at _encapsulateThreeParam (poc-platformatic/node_modules/avvio/boot.js:557:7)
    at Boot.timeoutCall (poc-platformatic/node_modules/avvio/boot.js:453:5)
    at Boot.callWithCbOrNextTick (poc-platformatic/node_modules/avvio/boot.js:435:19)
    at Task.release (poc-platformatic/node_modules/fastq/queue.js:149:16) {
  path: undefined,
  locations: [ { line: 220, column: 1 } ],
  extensions: [Object: null prototype] {}
}

I was able to skip it since I'm not interested yet in subscriptions, disabling them with the config core.events set to false.
Anyway, I think in this case plaformatic doesn't catch the error, that popped up in the graphql library and so it's quite hard to understand. Debugging it locally I was able to follow the function calls until they arrived at the process.nextTick inside avvio.
It's doable to catch and log this error inside platformatic? 😊

I've never seen that error. Could you add some way to reproduce it?

I've never seen that error. Could you add some way to reproduce it?

I'm trying to reproduce it, it's not so easy because I'm connected to an already existing DB.
I also found a bug in the meanwhile, regarding how we connect to the versions table in case of schema is available.
I'll open a bugfix soon...

Bugfix resolution available here.

Regarding the error mentioned before, I encountered it connecting to an already existing DB with a table created in this way.
The setup used is available here.

Going by intuition I think the issue is related to a type used on the table, that maybe is not currently be supported on the GraphQL subscription logic. But as I said debugging it was hard (since multiple packages are called), so I don't exactly what cause it.

Ah I know what the problem is, a fix is incoming.

Fix is there: https://github.com/platformatic/platformatic/pull/395


What is resolveHeaders property?

@iegik Hey, this feature was introduced here https://github.com/kfiroo/react-native-cached-image/pull/16

Loading images is also HTTP request, so auth headers can be passed with image uri in source (source.headers) attribute. Now we need something onError, onCache (onBeforeLoad) and onLoad to handle fetch response.


Fix NPE on casting a geometry collection of a single non-composable type

Fixes regression introduced in https://github.com/crate/crate/commit/92127e65a62fcbf2aad67520712f477fa46e63a0

I do not understand what this code should fix. I also don't see any logical change in the code changes, maybe I'm blind. Please elaborate.

select
  {type='GeometryCollection',
     geometries=[
      {type='MultiLineString', coordinates= [[[100.0, 0.0], [101.0, 1.0] ],[ [102.0, 2.0], [103.0, 3.0]]]},
      {type='MultiLineString', coordinates= [[[100.0, 0.0], [101.0, 1.0] ],[ [102.0, 2.0], [103.0, 3.0]]]}
   ]
  }::GEO_SHAPE

fails on master with  ERROR: Cannot cast {"type"='GeometryCollection,...
I updated my comment above it was confusing (bold stands for the update)

Same test passes on master with reverted https://github.com/crate/crate/commit/92127e65a62fcbf2aad67520712f477fa46e63a0, it's a regression.

logical change in the code changes

There was no else branch for
String targetType = COMPOSABLE_TYPES.get(typeInCollection[0]);
if (targetType != null) {

and we returned en empty map.

@BaurzhanSakhariev Thanks for the clarification, did indeed not caught the change in the if/else branch.


Derive Hash for ResourceType

Deriving Hash for ResourceType (and maybe for other structs, too) would allow to use ResourceType as key in a HashMap.

Which ResourceType do you mean? The one used across the library to differentiate between resource types etc. is already Hash. Only the generated, extensible one from the FHIR definitions is not, but you are right, they could also derive Hash I guess. I've done that now ^^


Remove both driver folders, they are not needed anymore

DCDC NUC kernel patch is not needed after updating the PSU firmware to the latest version.
FTDI Driver is not needed, we can setup the udev rule to dynamically load the driver.

yay


Is there any intention of implementing IMPALA?

FAIR has an implementation in Pytorch here if it would help -- https://github.com/facebookresearch/torchbeast/

rlpyt can only be used in one single machine, from my point of view, I think rlpyt's owner will not make it run on multiple machines.
Comparing to rlpyt, the PolyBeast, which is "somewhat harder to install" according to FAIR, I think rlpyt is really too too too easy to install/setup and more friendly.

A single node implementation of IMPALA is also included, and could be helpful

Hi!  This is right that rlpyt as it stands is single-node only, and there's only one set of neural net parameters.  I'd have to go back and look more closely but I think this means the importance sampling in IMPALA would all just go to 1?  This could change if running in asynchronous mode, where there is one optimizer agent and one sampling agent, which can be slightly lagged.  This can probably be handled by PPO.  (note: async policy gradient isn't currently implemented, would need to make PPO build a replay buffer and learn from it like DQN)
Open to other thoughts/reasons, though!

@astooke I think the workflow would be to create aysnchronous sampling for PG, then implement V-trace algorithm and importance sampling. Totally fine if this is not in the roadmap. Just wondering

Ok good question!  It's crossed my mind to implement it, but is not yet a priority.
Would need to find a compelling use case (i.e. the problem is big) in policy gradient where the time spent sampling is roughly equal to the time spent optimizing, so the asynchronous mode could give up to a 2x speedup.  This was the case for the R2D2 re-implementation, where it brought experiment time down to ~140 hours.  It might also take some effort to tune replay hyperparameters to keep good learning performance...something that had been done for us already in the R2D2 work.

Yeah I think Impala is stronger for the multi-node case

Right, no immediate plans for IMPALA, closing this for now but please reopen if a new use case comes up :)


Fix Insteon IOLinc sensor

Description:
Fix issue with Insteon IOLinc sensor not reading correctly.
Related issue (if applicable): fixes #18247
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

I'm having an issue now with binary sensors showing the wrong status?

Can you reproduce the issue? What are you seeing?

Please open an issue if you suspect a bug. If you need help please use our help channels:
https://home-assistant.io/help/#communication-channels
Merged PRs should not be used for support or bug reports. Please continue troubleshooting in an issue. Thanks!


Bug isPopup position

Bec position absolute

@Asgator There should be some conflict with your layout. Can you locate the problem?


Open source resin-jwt and prepare for npm publish

See https://github.com/resin-io-modules/resin-jwt/pull/2