Web view on loading html for first time does not show UI on android.

Hi,
Web view when loading html for the first time does not respond on android 9 and lesser versions. I cannnot find the issue because it occurs for the first time when app installed. Can anyone find the issue?

Sample code
import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_full_pdf_viewer/flutter_full_pdf_viewer.dart';
import 'package:flutter_html_to_pdf/flutter_html_to_pdf.dart';
import 'package:path_provider/path_provider.dart';
import 'package:printing/printing.dart';
import 'package:tvs_visibility/src/visibility/wdsihelper/customprogressindicator/customprogress.dart';
import 'package:webview_flutter/webview_flutter.dart';

class CustomWebView extends StatefulWidget {
  String title = '';
  String path;
  bool isUrl;
  bool isAssets;
  bool isPrintable;
  bool isPdfFile;

  CustomWebView({@required this.title,
    @required this.path,
    this.isUrl = false,
    this.isAssets = false,
    this.isPrintable = false,
    this.isPdfFile = false});

  @override
  State<StatefulWidget> createState() {
    return CustomWebViewState(this.title, this.path, this.isUrl, this.isAssets,
        this.isPrintable, this.isPdfFile);
  }
}

class CustomWebViewState extends State<CustomWebView> {
  String mTitle;
  String mPath;
  bool mIsUrl;
  bool mAssets;
  bool mPrintable;
  bool mPdfFile;
  File generatedPdfFile;
  final Completer<WebViewController> _controller =
  Completer<WebViewController>();

  CustomWebViewState(this.mTitle, this.mPath, this.mIsUrl, this.mAssets,
      this.mPrintable, this.mPdfFile);

  @override
  Widget build(BuildContext context) {
    return FutureBuilder(
        future: loadLocalHTML(),
        builder: (context, AsyncSnapshot<String> snapshot) {
          if (snapshot.hasData) {
            return Scaffold(backgroundColor: Colors.white,
              appBar: AppBar(
                  title: Text(mTitle),
                actions: <Widget>[
                  NavigationControls(_controller.future),
                ],),
              body: Container(
                width: MediaQuery
                    .of(context)
                    .size
                    .width,
                height: MediaQuery
                    .of(context)
                    .size
                    .height,
                child: Column(
                  mainAxisSize: MainAxisSize.max,
                  children: <Widget>[
                    Expanded(
                      child: webView(snapshot.data),
                    ),
                    mPrintable
                        ? Container(
                      child: FlatButton(color: Colors.white,shape: RoundedRectangleBorder(side: BorderSide(color: Colors.grey)),
                        onPressed: () {
                          printView();
                        },
                        child: Text("Print"),
                      ),
                      color: Colors.white,
                    )
                        : Container()
                  ],
                ),
              ),
            );
          } else {
            return CustomProgress();
          }
        });
  }

  Future<String> loadLocalHTML() async {
    var htmlContent;
    if (mIsUrl) return mPath;
    htmlContent = mAssets ? await rootBundle.loadString('$mPath') : mPath;
    await generatePdfFile(htmlContent);
    return htmlContent;
  }

  webView(String snapshot) {

    return WebView(
      initialUrl: mIsUrl != true
          ? Uri.dataFromString(
        snapshot ?? "No Data...",
        mimeType: 'text/html',
      ).toString()
          : mPath,
      javascriptMode: JavascriptMode.unrestricted,
      onWebViewCreated: (WebViewController webViewController) {
        _controller.complete(webViewController);
      },

      navigationDelegate: (NavigationRequest request) {
        if (request.url.startsWith('https://www.youtube.com/')) {
          print('blocking navigation to $request}');
          return NavigationDecision.prevent;
        }
        print('allowing navigation to $request');
        return NavigationDecision.navigate;
      },
      onPageFinished: (String url) {
        print('Page finished loading: $url');
      },
    );
  }

  generatePdfFile(String htmlContent) async {
    generatedPdfFile = await FlutterHtmlToPdf.convertFromHtmlContent(
        htmlContent, (await getTemporaryDirectory()).path, "bill");
  }
}

Log
I/WebViewFactory(30070): Loading com.android.chrome version 78.0.3904.90 (code 390409037)
I/cr_LibraryLoader(30070): Time to load native libraries: 5 ms
I/chromium(30070): [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader(30070): Expected native library version number "78.0.3904.90", actual native library version number "78.0.3904.90"
W/cr_ChildProcLH(30070): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
W/slsl.visibilit(30070): Accessing hidden method Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z (light greylist, reflection)
I/cr_BrowserStartup(30070): Initializing chromium process, singleProcess=false
E/chromium(30070): [ERROR:filesystem_posix.cc(89)] stat /data/user/0/in.tvslsl.visibility/cache/WebView/Crashpad: No such file or directory (2)
E/chromium(30070): [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/in.tvslsl.visibility/cache/WebView/Crashpad: No such file or directory (2)
W/chromium(30070): [WARNING:dns_config_service_posix.cc(341)] Failed to read DnsConfig.
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;-><init>(Landroid/content/Context;I)V (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logEvent(Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;)V (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionStarted(I)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection)
W/slsl.visibilit(30070): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (light greylist, reflection)
W/cr_media(30070): Requires BLUETOOTH permission
W/VideoCapabilities(30070): Unrecognized profile 4 for video/hevc
W/VideoCapabilities(30070): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities(30070): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities(30070): Unsupported profile 4 for video/mp4v-es
W/Utils   (30070): could not parse long range '175-174'
D/NetworkSecurityConfig(30070): No Network Security Config specified, using platform default
I/slsl.visibilit(30070): Background concurrent copying GC freed 35566(2MB) AllocSpace objects, 25(1268KB) LOS objects, 87% free, 1765KB/13MB, paused 8.208ms total 61.084ms

Flutter Doctor
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 10.0.18362.418], locale en-IN)
    • Flutter version 1.9.1+hotfix.6 at C:\srcFlutter\Flutter
    • Framework revision 68587a0916 (9 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\WDSI\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 40.0.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Hi @bharanics04
I see that your code contains many element unrelated to the issue you are describing,
I try to simplify a bit the code to better address the issue;
the two key element that might cause the issue you are describing are:

the FutureBuilder that provide the url
the WebView

does this code still represent the issue you are describing?
thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Disables Date Bug

Hi daniel, Me again.
I found a bug when declar
public disabledDates = [new Date(2017, 7, 9), new Date(2017, 7, 12), new Date(2017, 7, 15), new Date(2017, 7, 20)];
The function only disable dates on August 2017, Not July.

Come man
Please learn about javascript before open any issue


rtsp_source: set UA to rtsp-simple-server

Otherwise the default is gortsplib, which is fine albeit less descriptive.

Hello, while this surely makes debugging easier, on the other hand exposing a server version is a well known security issue, that allows attackers to easily find vulnerable servers by scanning the internet. All popular servers don't expose their version, and we don't want to facilitate the creation of botnets.

Typically web servers (e.g., nginx via the server_tokens option) allow this to be configurable (and by default, does expose its server version FWIW). Would it be acceptable to make this an option? Or just changing it to rtsp-simple-server (without a version) instead of gortsplib would I think be an improvement.


[Feature]:Prices Filter

Describe the feature
Filter option and its functionality on prices
Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please be more detailed

assign me this issue under gssoc'24


Update gameUpdate the game over message

Update the game over message so people know how to play

assigned myself as reviewer

.


Question: support for react-native-navigation?

Way to go for this awesome library!
I wanted to know if it can be used with react-native-navigation?

Hi, I've answered this one in #13. Closing because of duplicate

Oh sorry, I was looking but somehow missed it. Thank you!


mpich2: 3.2.1 -> 3.3b1

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/parkill -h got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/parkill help got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpicc --help got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpicc -v and found version 3.3b1
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpicxx --help got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpicxx -v and found version 3.3b1
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpiexec.hydra -h got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpiexec.hydra --help got 0 exit code
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpiexec.hydra --version and found version 3.3b1
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpichversion -v and found version 3.3b1
ran /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/mpichversion --version and found version 3.3b1
found 3.3b1 with grep in /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1
directory tree listing: https://gist.github.com/bfaeb16995b481e7aced98b13372fa41

cc @markuskowa for review

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: mpich2
No partial log is available.

Success on x86_64-linux (full log)
Attempted: mpich2
Partial log (click to expand)
shrinking /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/hydra_nameserver
shrinking /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin/hydra_persist
shrinking /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/lib/libmpifort.so.0.0.0
shrinking /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/lib/libmpicxx.so.0.0.0
shrinking /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/lib/libmpi.so.0.0.0
gzipping man pages under /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/lib  /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1/bin
patching script interpreter paths in /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1
checking for references to /tmp/nix-build-mpich-3.3b1.drv-0 in /nix/store/xmp1026d9gjmisf4z5fcwiw0iis1c49w-mpich-3.3b1...

Success on aarch64-linux (full log)
Attempted: mpich2
Partial log (click to expand)
shrinking /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/bin/hydra_persist
shrinking /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/lib/libmpicxx.so.0.0.0
shrinking /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/lib/libmpifort.so.0.0.0
shrinking /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/lib/libmpi.so.0.0.0
gzipping man pages under /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/lib  /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1/bin
patching script interpreter paths in /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1
checking for references to /build in /nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1...
/nix/store/g2w75va9ily4djvbhzk4swkladqpay71-mpich-3.3b1

mpich-3.3b1 is a preview, not a stable release. Please close this PR.


docs for cognitive-services-speech-sdk-rs failing to build

Crate name: cognitive-services-speech-sdk-rs
Build failure link: https://docs.rs/crate/cognitive-services-speech-sdk-rs/0.1.1/builds/380044
Additional details:
failing to build because custom build script is trying to download native dependencies (MS Speech SDK) from github. I originally had these dependencies in lib directly but then I was not able to publish lib to crates.io since it allows only 10 MB in total per lib.
Please advise how to proceed to build documentation for this crate. I cannot include libs directly due to 10 MB limitation and I cannot download them due to docs.rs buildsend box limitation.

You might be able to use #593 if it's ever finished. I don't have suggestions other than that.

I don't know what you mean by "load these files directly" - do you mean compile the docs on your own and upload them? That's https://github.com/rust-lang/docs.rs/issues/93.
I think I'd recommend hosting your own documentation on a separate website and linking to that in the readme. Docs.rs defaults to showing the readme if the documentation didn't build: https://docs.rs/deno_runtime.

@adambezecny are you planning to work on this? If not there's not much point in us tracking it ... the features you've requested are already tracked elsewhere.

hi, working on what exactly? docs.rs has very sever limitations, like build cannot download any external dependencies, file system is read only. Makes very hard to build docs for crates which are using these things. I had to host documentation somewhere else. I guess this can be closed than. thx

Got it. Sorry for the trouble.


ERROR! 'always_run' is not a valid attribute for a Task

Since Ansible 2.6 always_run is deprecated [1] and replaced by check_mode: no.
ERROR! 'always_run' is not a valid attribute for a Task

The error appears to have been in '/home/user/.ansible/roles/reallyenglish.jenkins-slave/tasks/main.yml': line 16, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Register ssh authorized key
  ^ here

This error can be suppressed as a warning using the "invalid_task_attribute_failed" configuration

Please fix.

https://github.com/trombik/ansible-role-jenkins-slave is a replacement and fixed this bug


[Command] Uptime, does not show more than 24 hours.

Describe the bug
The uptime command counter, when it exceeds 24 hours, is reset instead of adding a day to the counter and continuing to count the hours.
To Reproduce
Steps to reproduce the behavior:

Wait 24 hours with the bot active.
Enter the command !uptime
See error.

Expected behavior
The function must add a day in cash and continue counting the hours in the same way.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu, Windows, MacOS
Version: Alpha -v1

Fixed in last PR


ADD: Content Filtering API

Currently failing because server returns array of doubles. Not sure if change here to list or change server to single value.

Why isn't codeship failing?

^ Good question.

I fixed it

@anneCarlson  the promised logic extraction is in this PR. sorry it should have been on its on


extract common classes for server request decompressor

Extract common decompression functions and types for future HTTP Request Decompressor
Motivation:
Changes introduced in #56 could be used as a baseline for #59, but in order for second PR to be merged we need to extract common functionality and common types first.
Modifications:
Introduced a namespace for all common public types: NIOHTTPDecompression
Introduced a common decompression utility type: Decompressor that can be reused between response and request decompressors
Result:
Request decompression PR should be much simpler now.

These abstractions looks like they'll work for https://github.com/apple/swift-nio-extras/pull/59. Good work! 👍


Add password requirements to password reset and registration screens

Requirements:
Min length: 10
Min numeric: 1
Min alphabetic: 0
Min uppercase: 1
Min lowercase: 1

Closing as moot


Jumping between files destroys jump history

While jumping between pieces of the same file, the history is not updated and it's impossible to   to move back and forth.
How to reproduce:

open a file
open a second file
search for something in the current file
follow the result

Fixed in https://github.com/danielefongo/microscope-files/commit/19cd04838754940782177083843facf6950e004c


Please review  fix inverted safety check

I'll cherry-pick that into 2.2.X.
Others are minor improvements for baseimage-update.

LGTM. This also needs to be pulled into eve, right?

LGTM. This also needs to be pulled into eve, right?

Correct.


WinUI 3 Read access conflict

Describe the bug
当应用窗口关闭时，会触发 Activated 事件，在此时访问 SystemBackdrop 时会提示读取访问权限冲突。
When the application window is closed, the Activated event is triggered. Against the SystemBackdrop, access conflict is prompted.
Steps to reproduce the bug
See describe
Expected behavior
The window is closed normally, and no access conflict is displayed
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.4.3: 1.4.231115000
Windows version
Windows 11 (22H2): Build 22621
Additional context
None

It is important to remember that the WM_ACTIVATE window message, and by extension the Window.Activated event, is used to indicate when the window is activated and deactivated.
What this means is that, surprising as it is, the underlying HWND will get a WM_ACTIVATE with WA_INACTIVE when you close a window. It is therefore no surprise to find that the Xaml runtime filters this through and triggers the Activated event one last time. If you check the WindowActivatedEventArgs.WindowActivationState property, is this properly being set as WindowActivativationState.Deactivated? If it is then you are just getting caught out by this, and you probably need to use some other means, like AppWindow.Closing to disable the event handler.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Please provide a relatively good solution


haiku: add platform support.

Restricting to just the 'positive' would create unnecessarily complex #[cfg(...)] attributes, wouldn't it?
Having to list every supported OS instead seems a bit cumbersome. If I go this route, I would prefer to list the targets one per line throughout. Would that be acceptable? Scrolling horizontally is a pain ;-)

@jessicah You have any time to get around to resolving this? We'd love to have Haiku support!

@jessicah Wanted to ping you again on this.

Sorry, yes, I will get back to it; laptop died, and haven't gotten around to setting up on my other machine.

We're about to cut a new release soon and I'd love to say that we fixed up Haiku support. So whenever you have time I'd love to merge this.
BTW what's your involvement with Haiku? You run it as a daily driver or just want to play with Rust on Haiku?

Okay, I'll see if I can get to it this week.
I'm core committer/maintainer. Mainly working on rust so can run librespot on Haiku :p

@jessicah Any updates on this? We've had a bunch of syntax changes happen (like from #801), so this will likely need a good rebase. If you don't have time to do this in the near future, I'd rather close this and you can re-submit a PR whenever some time frees up for you.


Obsoletion notice: 'GO:0102283 3-ketodihydrosphinganine (C20) reductase activity' and GO:0102284 L-threo-sphinganine reductase activity'

Dear all,
The proposal has been made to obsolete
GO:0102283 3-ketodihydrosphinganine (C20) reductase activity' MetaCyc RXN-12642 / 0 annotations
GO:0102284 L-threo-sphinganine reductase activity' MetaCyc RXN-12645  / 0 annotations
The reason for obsoletion is that these represent specific substrates of the reaction GO:0047560 3-dehydrosphinganine reductase activity (RHEA:22640). All 3 terms are mapped to the same EC, EC:<IP_ADDRESS>. Only GO:0047560 has a RHEA mappings.
There are no annotations to these terms. There are MetaCyc mappings (that correspond to the same EC with the specific substrates.). These terms are not present in any subsets.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/25450
Thanks, Pascale

Terms will be replaced with GO:0047560 3-dehydrosphinganine reductase activity


TensorRT: export failure ❌ 30.4s: 'NoneType' object does not support the context manager protocol

TypeError: 'NoneType' object does not support the context manager protocol
Nvidia graphics card=gtx 960

Try to reinstall torch.


cmd ( we cant fine any pokestops in a range............)

#3406

@hazman87 this is not a bot for this repo!! oh my god. LMAO. HAHAHAHA

@fari-99 eh? really?.. then here use what bot?

#2780 please close this issue.

lol

2780 3 days ago.... this issue just now API update.. lol

@hazman87 oh my god. you are using a wrong bot!! no one will help you here. LMAO.

lol...  for sure im download from here lol...

Delete this bot and download the latest version, following the instructions on the wiki. And welcome to August.

alright... ^_^


FEATURE: Improved "event decoration"

Introduces a new final class DecoratedEvent that unifies
decorated event handling that previously required the
EventDecoratorUtilities to be "unwrapped".
Previously:
$decoratedEvent = new EventWithCorrelationIdentifier($originalEvent, $correlationId);

now:
$decoratedEvent = DecoratedEvent::addCorrelationIdentifier($originalEvent, $correlationId);

The main benefit is probably more that no recursive (un-)wrapping happens rather than the arguable syntax change shown above ;) I like it!

The main benefit is probably more that no recursive (un-)wrapping happens rather than the arguable syntax change shown above

yes, you're right - I could have been more clear in the description :)
It's mainly a move towards a more defensive API


arch/xtensa/esp32s3: Deinitialize ESP32-S3 QSPI GDMA engine.

Summary
 arch/xtensa/esp32s3: Deinitialize ESP32-S3 QSPI GDMA engine.

 Correctly releasing channels after using QSPI is crucial to
 prevent issues caused by multiple requests that may lead
 to DMA channel resource conflicts.

Impact
 Only ESP32s3

Testing
 esp32s3-devkit

please change the pr title to arch/xtensa/esp32s3: Deinitialize ESP32-S3 QSPI GDMA engine.
and add a commit description explaining the change

Done


Extra/Unknown fields handling (was Any Setter/Getter)

Hello,
I made a proof of concept for handling unknown keys : https://github.com/anaelorlinski/glaze/tree/json_any
This feature exists in Java in the Jackson parser with annotations @JsonAnyGetter and @JsonAnySetter, the idea is to provide the same kind of feature.
Here this is how it works:
With this method on your class
void my_set_unkwown_key(const glz::sv& key, const glz::raw_json& value) {
     // whatever, for example
     // extra[key] = value;
  };

add to the meta class
static constexpr auto json_any_setter = glz::json_any_setter<&T::my_set_unkwown_key>;
Same idea for json_any_getter to write back the keys.
In the proof of concept glz::opts{.error_on_unknown_keys = false} must be provided.
Let me know if this sounds a good addition, I can fix the todos and propose a PR

Can you make a draft pull request so we can compare the changes, please?

Also, are you aware of the existing glz::merge?

This is a really smart idea, and I appreciate how it is just another compile time field of glz::meta. I do have some thoughts.
my_set_unkwown_key and my_get_unkwown_keys feel like an unnecessary indirections. I think we should just be able to remove them and register the extra map. See updated code below:
struct unknown_fields
{
  std::string a;
  std::string missing;
  std::string end;
  std::map<glz::sv, glz::raw_json> extra;
};

template <>
struct glz::meta<unknown_fields>
{
   using T = unknown_fields;
   static constexpr auto value = object(
      "a", &T::a,
      "missing", &T::missing,
      "end", &T::end
   );
   static constexpr auto json_any_setter{&T::extra};
   static constexpr auto json_any_getter{&T::extra};
};

We can also add support for lambda functions, etc.

Because this if for handling unknown fields, I feel like it is useful across the binary BEVE and JSON. So, I would change the name of the fields to unknown_read and unknown_write.
The updated glz::meta would look like:
template <>
struct glz::meta<unknown_fields>
{
   using T = unknown_fields;
   static constexpr auto value = object(
      "a", &T::a,
      "missing", &T::missing,
      "end", &T::end
   );
   static constexpr auto unknown_write{&T::extra};
   static constexpr auto unknown_read{&T::extra};
};

Because we are dealing with keys, this obviously implies that unknown_write and unknown_read need to provide object types (often known as maps in C++).
Currently your code parses into a glz::raw_json value and then calls the helper function to parse the value in the extra object. I think we can remove this double parsing, making things more straightforward and faster.
Let's say the user registers a std::map<std::string, std::vector<double>> for extra values. We can just grab the entry and parse directly:
// ...assume we are in an object parsing context and we encounter and unknown key
// first we parse the key
// use the key in the "extra" map, and directly parse into that value:
read<json>::op<Opts>(extra[key], ctx, it, end);

This way we don't end up parsing the array for std::vector<double> twice.

Of course my_set_unkwown_key and my_get_unkwown_key can look like straightforward indirection but also can be used to implement custom user code like logging. Registering the extra map directly should be possible too, as well as using lambdas. This is why my code has proof of concept quality :)
The main purpose I expect to work is the pattern decode/modify/encode where only some fields are known and all the others kept as is, hence saving raw_json. Any further enhancement could be useful in other usecases.

Totally! You should be able to register custom functions as well, I just want to make sure we can do the simple things without performance overhead. So, work on removing allocating the glz::raw_json in the default case. The user can always make a map that contains glz::raw_json if they need to, but most of the time using this is a design flaw.

Just a thought, do we need a custom setter/getter for such a feature? Is one set of setter/getter enough for one object?
What I am thinking is moving the logic to the glz::object,
struct unknown_fields
{
  std::string a;
  std::string missing;
  std::string end;
  std::map<glz::sv, glz::raw_json> extra;
};

template <>
struct glz::meta<unknown_fields>
{
   using T = unknown_fields;
   static constexpr auto value = object(
      "a", &T::a,
      "missing", &T::missing,
      "end", &T::end,
      glz::merge{ &T::extra }
   );
};

This would also solve other issues, like the one in json schema file.

@jbbjarnason If that supports both reading and writing, my vote is with your suggestion, as it fulfills the original requirement in a simpler manner without more members.

Implemented in #529


IDNA-encode domain names with non-ASCII chars before MX lookup

TL;DR
Attempting to MX-validate email addresses with non-ASCII domain names results in encoding errors from Resolv::DNS. This PR IDNA-encodes such domains before trying to resolve them.
Description
DNS supports only ASCII characters; however, many applications support non-ASCII characters in domain names, and use IDNA to encode these as ASCII when making DNS requests. This includes mailservers, with IDNA now incorporated into SMTP standards, and IDN mailboxes increasingly being supported in popular MTAs.
valid_email uses the mail gem to extract the domain name from an email address, but because this gem isn't concerned with DNS, it doesn't need to handle IDNA-encoding. Meanwhile, the ruby stdlib Resolv::DNS doesn't handle UTF8 domain names, and seems unlikely to do so in the near future, if ever. This means that trying to validate non-ASCII domain names using Resolv::DNS frequently returns encoding errors.
This change therefore introduces a new dependency, simpleidn, and uses it to ASCII-encode any domains containing multibyte characters prior to checking their MX records.
Rationale
I saw that this suggestion has been made before in #2, and decided against on the grounds of complexity. I'm very sympathetic to that, but I felt that since in the intervening years SMTP support for IDNA has been standardised and it's increasingly supported in real MTAs, it might be worth revisiting. Anecdotally, our site has seen a small but steadily-increasing number of users trying to register with non-ASCII email addresses, and we'd like to support them, since those addresses really are deliverable.
I think the valid_email gem feels like the right place to apply this logic because it's specifically involved with taking data from a context that supports UTF8 (the mail gem) and using it in a context that doesn't (DNS resolution).
Does this seem reasonable?

Looks good to me


fix(claims): make clientId claim configurable

Description
Make the clientId claim to an optional configurable value
Why
The client id claim within the token differentiate within our environments. For dev & rc it is clientId, for int it is client_id.
Issue
Refs: #457
Corresponding CD PR
#160
Checklist

[x] I have followed the contributing guidelines
[x] I have performed IP checks for added or updated 3rd party libraries
[x] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

@evegufy  figured out that we have a mismatch between runtime and seeded service accounts. The fix will be applied in the iam repo for the seeded service accounts


Update step-by-step doc to match new nMigen cfu API.

PR #170 changed the API for nMigen CFUs. This PR updates the step-by-step.rst doc to match these changes.

Closing to make sure PR comes from my fork.


publish starknet cairo1 compiler plugin

This should replace the StarkWare remix plugin. Can you remove it in this pr?

This should replace the StarkWare remix plugin. Can you remove it in this pr?

Done! can I have the updated icon link ? @JorikSchellekens


[hi] Localize /en/docs/reference/glossary/pod-disruption.md

This pull request is with reference to the issue #37536 for localizing pod-disruption.md.
Please review and suggest any changes if needed.

Please resolve the failing checks.

Please resolve the failing checks.

Can you tell me what i am doing wrong? I am not quite getting the problem.


TrumpScript could allow imported code but impose tariffs by making it run slower

In order to allow imported code but put locally produced code on a level playing field, imported foreign code should be made to automatically run slower.   One way to do this would be to impose a delay when the foreign module is first imported.  A second way would be to have the VM automatically run imported code slower.  I don't know or care what the implementation costs are or what unintended consequences this will create.

+1

Originally we wanted to pop up a link to a bitcoin wallet or paypal purchase button when importing.

+1

+1

guys there is a +1 button on comments you don't need to flood this place with +1

See a76f078


Freezing occurs when running iOS app in MacBook (M1 process)

I was experiencing freezing when running the iOS app on the MacBook (M1 process).
So, looking for the cause, there was a problem with swizzling.
https://github.com/ReactorKit/ReactorKit/blob/master/Sources/ReactorKitRuntime/ReactorKitRuntime.m
#if !TARGET_OS_MACCATALYST
    [self swizzleInitializeOfClassNamed:@"NSViewController"];
#endif

It seems that only the iPad app is supported, but it seems that the iOS app must be handled together for normal operation.
https://stackoverflow.com/questions/65042788/how-to-detect-if-an-ios-app-is-running-on-an-m1-mac
So I'm checking the isiOSAppOnMac flag in the private repo and handling it, and I'm curious if there are any other ideas.
(I am not good at English. Even if the words are awkward, I hope you understand.)

You are right, but they don't seem to be dealing with it……


error: expected class-name before '(' token

Got error message, when using library:
error: expected class-name before '(' token
   43 |     Throwable(const std::string &message) : std::runtime_error(message) {}

Solution:
add
#include <stdexcept>
in
include/throwable.h

So  #440 fixes it

There is a maintained fork where a PR to fix this issue has been merged, you can find it here: https://github.com/fast-debug/PHP-CPP

Fixed in 2.4.0 (c2b36b9843b4b98f67342f6c0a956d1217bcb948)


Error while trying to compile

when i try to compile it gives me the error Error: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

Please provide further details: Have you installed Java? What did you do to compile ArrayV up until this error occurred, and was there any other output?
My best guess is that the error message already tells you exactly what you need to fix.

Please provide further details: Have you installed Java? What did you do to compile ArrayV up until this error occurred, and was there any other output?
My best guess is that the error message already tells you exactly what you need to fix.

sorry, i put JAVA_HOME into the wrong folder
it compiled now


Missing info: Changing users

See https://github.com/docker/docker/issues/28027

This should go into docker/docker if possible

https://github.com/docker/docker/issues/28585 too

Added to main Docker docs:
https://github.com/docker/cli/pull/691


Scrapoxy how does it differ than Oxylab or Luminati?

Hello,
We used Luminati residential Proxy services but its too costly that is why we are exploring Scrapoxy but have some confusion will it rotate IPs for each request? if yes then how its work?
Thanks,
Padam

Just a round robin rotation for each request. Searvers restarted every N configured minutes, after restart you get a new IP.

Scrapoxy 4.X.X will support Oxylabs and Luminati in addition of existing clouds.


everywhere: fix typos

Fix a lot of typos
Signed-off-by: Nazar Kazakov<EMAIL_ADDRESS>

nice, how did you detect all of those typos and ended fixing them? any scripts or tools you used?

nice, how did you detect all of those typos and ended fixing them? any scripts or tools you used?

I don't know which tool was used, but this one is nice nice https://github.com/codespell-project/codespell

Grumpy curmudgeon perspective: patches this big and this broad have costs. What applying this means is that we'll have a "before spell check" and "after spell check" era to the source tree. Patches from before aren't likely to apply without collisions, which is a big pain for those having to do reversion testing and editted bisections.

This will need to be done at some point anyway, and having gone through every single change in this PR, it looks to be comprehensive enough to me.
Maybe we can look into adding a spellcheck in the CI to prevent more of these in the future.

Maybe we can look into adding a spellcheck in the CI to prevent more of these in the future.

we have this as part of checkpatch, but with a static dictionary with just common typos...


Bump version in version.go

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

@lsm5 @mrunalp PTAL

This should be 1.11.0-dev
Sent from my iPhone

On May 8, 2018, at 6:19 AM, Lokesh Mandvekar<EMAIL_ADDRESS>wrote:
@rhatdan I vaguely remember @mrunalp mentioning moving master to 1.11.0 , but otherwise, LGTM.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing in favor of #1564


Can't share session

Issue Type: Bug
Trying to start session with signed teamates and it keeps falling with the error log that states sessionId is null
Extension version: 1.0.2478
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:17:14.222Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
60, 162, 149

Memory (System)
16.00GB (0.27GB free)

Process Argv

Screen Reader
no

VM
0%

Thanks for reaching out. Can you give us more details about your scenario? is the account you are trying to sign in GitHub account ? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

I'm having this issue as well.
extension version: 1.0.2666
VsCode version:  1.48.1
OS: windows 10
20200825_091143_15983467030820_VSCode.log

Closing this as resolved, since we believe we've fixed this issue and we haven't heard it reported it in a while. Please re-open this if you're still encountering a problem here. Thanks!


Handle failed image upload in image block

If a the image upload fails, Sir Trevor will still create an empty image block, which can cause rendering problems.

That's an interesting one, if I have a failed image upload I still end up seeing the image (now as a base64 file) in an image block but adds a warning to inform that the image failed.
Although thinking about it, I don't use the default image block I've been using Image-extended so that might have something to do with it.
Admittedly, there could do with a way of replacing the uploaded image block without first removing it but that's more of a usability issue than anything else and isn't much of an issue at that.

Going through old issues as part of a block creation / config idea i'm working on.
It'll address bad uploads and allow re-uploading without deleting the block. Also you'll be able to say whether the image element is required, which will allow us to force re-upload or the user will need to delete the block before being able to save and submit the data.
As a side note. This would make image blocks easier to build rather than replicating and editing each time someone wants to customise a field.

Coolbeans, it's not a critical end of the world as we know it kinda issue but It's nice to know it's being looked at.

@raffij Is this feature still in progress?

This can also happen with a video block.

I thought the validation regex tweaks prevented that from happening on the vids? I'll see if i've got time this weekend and see if I can see how to validate the video block

@SgtOddball it's something i need to fix anyway for one of our projects.
The decision is whether an invalid video block should be ignored, or fail validation before a url is posted.

Ahh ok, I'd think that invalid blocks should be ignored otherwise a video link that becomes invalid later on could cause issues as it's already been accepted previously as valid (unless it gets re-evaluated each time the block is rendered).

That's my thinking too.

Just stumbled into this too. It seems that the current image block can no longer detect if an image upload failed in any way. The Promise will always trigger the success method, no matter what the server responded.
So, it is completely possible that i read the code wrong, but the image block (and maybe other blocks using the uploader and/or cancellable-promise) is no longer able to react to any problems during upload.


The line thickness slider does not work on mobile devices

Describe the bug
The line thickness slider does not work on mobile devices.
To Reproduce
Steps to reproduce the behavior:

Use any mobile device with touch screen
Select the draw tool or the shape tool in the editor
Try to increase or reduce the line thickness by moving the dot right or left.
Expected behavior
The dot is moving below the finger, the thickness value is getting changed

Screenshots

Smartphone (please complete the following information):

Device: Xiaomi Note 8 Pro, iPhoneXS
OS: Android, iOS
Browser: Chrome, Safari
Version: any

thanks, We already have the same issue channel, so we will deal with it there.
#418


Add document checker

This is a result.
chainer_chemistry.functions.r2_score
chainer_chemistry.links.GraphBatchNormalization
chainer_chemistry.links.GeneralReadout
chainer_chemistry.links.GGNNReadout
chainer_chemistry.links.NFPReadout
chainer_chemistry.links.SchNetReadout
chainer_chemistry.links.StandardScaler
chainer_chemistry.links.GGNNUpdate
chainer_chemistry.links.NFPUpdate
chainer_chemistry.links.RelGATUpdate
chainer_chemistry.links.RelGCNUpdate
chainer_chemistry.links.RSGCNUpdate
chainer_chemistry.links.SchNetUpdate
chainer_chemistry.models.RelGAT
chainer_chemistry.models.RelGCN
chainer_chemistry.models.RSGCN

Some functions and classes don't have document page. We need to generate them.

We may need to check about preprocessor and datasets. 😄

Codecov Report

Merging #331 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #331   +/-   ##
=======================================
  Coverage   80.42%   80.42%
=======================================
  Files         197      197
  Lines        8994     8994
=======================================
  Hits         7233     7233
  Misses       1761     1761

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 b71a03b...24300dc. Read the comment docs.


is this already stable and working

paymongo is working-ish. paymaya, not so. i made the paymongo only work with gcash. although, few tweaks should be able to make it work with cards and over-the-counter as well. ive never tried it in production yet, but it works fine in the sandbox. i had trouble with the webhooks, but i found my way around with polling. paymaya needs some work on the webhook part, i couldnt test it in the sandbox. i might do polling instead. overall, its still under development and needs further improvement.

Hi sir,
Were you able to make the Paymaya acquirer work by any chance? Thank you!

Hi,
It was working in dev environment.

On Jan 21, 2023, at 10:52 PM, dixytudla @.***> wrote:
Hi sir,
Were you able to make the Paymaya acquirer work by any chance? Thank you!
—
Reply to this email directly, view it on GitHub https://github.com/cuburt/odoo-modules/issues/1#issuecomment-1399265711, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH34SO536IZQWVQRKLJUCUDWTPZ3VANCNFSM4OVQ3CQA.
You are receiving this because you commented.

Thanks for the update. I'm trying to get the Paymaya addon installed. Ran into the "no module named polling" error but installing polling now. Hope the Paymaya addon works as Maya has updated their system as well. Hoping it will match. Thank you!


Edit imported REG file only?

I want to import an existing REG file, edit it and export it, to create specific policies for another computer.
But when I import a REG file, Policy Plus also shows the local (current computer) policies.
So the only way to do what I want is to use POL files through "Open Policy Resources", correct?
This works so it's not a big deal, but it would be nice if it could be done with REG files too.

Right, importing a REG adds its settings to your current policy source. Policy Plus currently does not support REG files as policy sources, so you would have to create a blank POL and work with that, but adding support for REG sources sounds feasible.


Add Interactive messaging to flutter App

I wan to Know how to implement interactive  messaging and how it works with flutter app

At the moment interactive messages are not supported in the flutter sdk


Streamin.to broken

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://streamin.to/02c0m3svdcqk', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela
[debug] exe versions: ffmpeg N-75403-g3a8e447, ffprobe N-75403-g3a8e447, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 02c0m3svdcqk: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 02c0m3svdcqk: Downloading webpage
[generic] 02c0m3svdcqk: Extracting information
ERROR: Unsupported URL: http://streamin.to/02c0m3svdcqk
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1393, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 279, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 268, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 40, column 19
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 673, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2063, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://streamin.to/02c0m3svdcqk
...
<end of log>

The extractor is broken since it should work (used in xfileshare.py).

It's not yet released.


Angular drag and drop cdk is not scrolling container when dragging

<!--------

The Angular team can't provide general troubleshooting help. However, the extended community of
users can provide more help:
I am developping a frontend app in which i am using angular 7.I am using angular cdk for dragging and dropping elements but the problem is when i make a drag the div container is not scrolling.So is there any sollution for that.

this is my html

<div class="col_container" >

    box

this is my css

.col_container {
  height: 300px;
  width: 10%;
  margin: 0 auto;
  padding: 10px;
  background-color: yellow;
  overflow-x: auto;
  overflow-y: auto;
  border-style: solid;
  border-width: 0.1px;
  border-color: black;
}
.column {

  color: blue;
  background-color: azure;
  border-style: solid;
  border-width: 0.1px;
  border-color: black;
  display: inline-block;
  width: 30px;
  margin: 0 6px;
  vertical-align:top;

}
this is my component

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'scrollTestForDragAndDrop';
}
the expected behaviour is when i drag the box to the border the yellow div must scroll

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.


Error in model training

Hi,
I have trained the model from scratch for 100 epochs. Now when I retrain the model again, initializing weights from the model earlier trained (on 100 epoch) it seems that it starts training from scratch again. Because the loss is very high and accuracy very low in retraining. There is also some weird message which is displayed "2019-03-02 12:39:12.753314: tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr"
I would be very grateful if you could help me through it.
Below is the logs. The first part of the logs shows the loss and accuracy on train set in the 100th epoch.And then I restart training, initialising weights from the previous model, but the loss is very high and that weird message is displayed. :(
Thank You!
Epoch: 100
Train NN
Batch: 1 / 18 Loss: 0.32776487
Batch: 2 / 18 Loss: 0.60198474
Batch: 3 / 18 Loss: 0.48517135
Batch: 4 / 18 Loss: 0.27418187
Batch: 5 / 18 Loss: 0.55649453
Batch: 6 / 18 Loss: 0.26786774
Batch: 7 / 18 Loss: 0.34285638
Batch: 8 / 18 Loss: 0.20939198
Batch: 9 / 18 Loss: 0.27928185
Batch: 10 / 18 Loss: 0.6662815
Batch: 11 / 18 Loss: 0.5485757
Batch: 12 / 18 Loss: 0.5808813
Batch: 13 / 18 Loss: 0.9294588
Batch: 14 / 18 Loss: 0.86137664
Batch: 15 / 18 Loss: 0.50504154
Batch: 16 / 18 Loss: 0.68977255
Batch: 17 / 18 Loss: 0.9456356
Batch: 18 / 18 Loss: 0.41855794
Character train error rate: 1.444444%. Word train accuracy: 92.111111%.
Validate NN
Batch: 1 / 8
Batch: 2 / 8
Batch: 3 / 8
Batch: 4 / 8
Batch: 5 / 8
Batch: 6 / 8
Batch: 7 / 8
Batch: 8 / 8
Character dev error rate: 13.708333%. Word dev accuracy: 51.750000%.
Character error rate not improved
(SimpleHTR) shipsy@shipsy-pc:~/Ritika/Text_Recognition/SimpleHTR/src$ python main1.py --train
Python: 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0]
Tensorflow: 1.12.0
2019-03-02 12:39:07.470070: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-03-02 12:39:07.474119: I tensorflow/core/common_runtime/process_util.cc:69] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Init with stored values from ../model/snapshot-34
Epoch: 1
Train NN
Batch: 1 / 18 Loss: 0.27486247
Batch: 2 / 18 Loss: 12.9338875
Batch: 3 / 18 Loss: 59.33571
2019-03-02 12:39:12.753314: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:12.753377: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 4 / 18 Loss: 59.97041
Batch: 5 / 18 Loss: 37.964706
Batch: 6 / 18 Loss: 58.27094
Batch: 7 / 18 Loss: 35.533077
Batch: 8 / 18 Loss: 33.15117
Batch: 9 / 18 Loss: 25.096054
2019-03-02 12:39:18.523761: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:18.523794: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 10 / 18 Loss: 14.908901
2019-03-02 12:39:19.445465: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:19.445845: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 11 / 18 Loss: 14.322981
2019-03-02 12:39:20.312253: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:20.312287: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 12 / 18 Loss: 13.987829
2019-03-02 12:39:21.205180: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:21.205211: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 13 / 18 Loss: 14.24977
2019-03-02 12:39:21.989036: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:21.989381: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 14 / 18 Loss: 14.085554
2019-03-02 12:39:22.900757: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:22.901134: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 15 / 18 Loss: 13.849102
2019-03-02 12:39:23.766655: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:23.766704: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 16 / 18 Loss: 13.1134615
2019-03-02 12:39:24.642604: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:24.642637: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 17 / 18 Loss: 13.719116
2019-03-02 12:39:25.501310: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:25.501352: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 18 / 18 Loss: 14.152748
2019-03-02 12:39:26.263092: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:26.263124: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Character train error rate: 93.259259%. Word train accuracy: 0.111111%.
Validate NN
Batch: 1 / 8
2019-03-02 12:39:26.595233: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:26.595940: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 2 / 8
2019-03-02 12:39:27.060717: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:27.060748: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 3 / 8
2019-03-02 12:39:27.378411: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:27.378444: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 4 / 8
2019-03-02 12:39:27.926617: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:27.926659: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 5 / 8
2019-03-02 12:39:28.494950: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:28.494982: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 6 / 8
2019-03-02 12:39:28.825010: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:28.825041: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 7 / 8
2019-03-02 12:39:29.049452: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:29.049822: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Batch: 8 / 8
2019-03-02 12:39:29.292437: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
2019-03-02 12:39:29.292787: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr
Character dev error rate: 100.000000%. Word dev accuracy: 0.000000%.
Character error rate improved, save model
The logs is not complete. This message "2019-03-02 12:39:29.292787: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr" stops showing after training more epochs. Also, it is displayed everytime, whether I train from scratch or initialise weights from previous models.

I could solve the tensorflow error message "2019-03-02 12:39:29.292787: E tensorflow/core/common_runtime/bfc_allocator.cc:373] tried to deallocate nullptr"  by making a new virtual env and installing packages from scratch.
But the retraining of model from checkpoint still gives very high loss and very low accuracy. I do not understand why. When I have restored the weights from checkpoint then the training should start from the restored checkpoint and the loss should further decrease (on train data). But the loss shoots out of range in the second batch of first epoch itself. Please resolve this bug.
Training again from scratch every time is very monotonous.
Thank You!

set learning rate to a fixed number, e.g. 0.0001:
https://github.com/githubharald/SimpleHTR/blob/master/src/Model.py#L212

Firstly, I would like to extend my heartful thanks to you for being so considerate in taking the time out to reply to our issues. It really means a lot! 💯
Now coming back to what you suggested I believe that might help. But if that is the issue then the loss in the first batch should also be very high. But when the retraining starts then the loss is very low for the first batch. Why? The learning rate is consistent for the first ten batches and so must the losses be during the first ten batches. Am I missing something?


Add missing word 'to'

Simply added a word that was missing in the writeup.

@timothymeyers : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Looks good; thanks @timothymeyers.


Q. Automatically finding errors that generate React Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).

Hi Guys,
I'm really enjoying using the this starter kit as it has saved me a lot of time.
However, is it just me or is anyone else running into a large number of these types of errors:
warning.js:44Warning: React.createElement: type should not be null, undefined, boolean, or number.

It's literally costing me hours trying to track down where exactly I'm not exporting a function/object or some other error.
The error for all intents is basically useless.
I have no idea where in the code base it's complaining about, or what its complaining about.
This is basically, "there is an error somewhere in your code, I'm not going to give you any idea where it is."
I'm sure I'm missing something, is there an option or some kind of processor I can enable that can tell me these things in advance? or in the browser? because it's very very painful process to try and find these by trial and error.
Kind regards, Jason.

I think you have wrong import somewhere most likely something like
import { Counter } from 'components/counter'

when it should be
import Counter from 'components/counter'

Meaning you are trying to import something with default export like it is named export. Or it could be something else

Thanks @kolpav
Yes, its things like this or, maybe something like:
export class Counter extends React.component {
  render() {
    return null;
  }
}

export default Counter

where the problem is that you forgot to capitalise the c in `Component.
This is something you can stare at for literally minutes scratching your head because you missed a uppercase C and nothing in the error says: error on line 9, missing class component. I'd even settle for not identifying the problem with the class name and just say tried to instantiate the class Counter and failed.
There are also other errors like this that compile silently and fail with the same error:
export const RESET_ERROR_MESSAGE = `error\${message}`

this generates the same Warning: React.createElement: type s... error.
Again, totally unhelpful, sure that's incorrect JS, but I didn't know that as someone attempting to learn ES6.
Kind regards, Jason.

Another thing is that if there is an error because of PropTypes not being satisfied the component fails to instantiate.
Why are all errors being treated as the same error?
Is this something to do with hot reloading? If I were to compile this normally without hot loading would I get an error saying that PropTypes was not being satisfied rather than Warning: React.createElement: type s... ?

Agree. Hopefully, this will be fixed soon. This decreases the productivity enormously as there is no indicator where an error is (Syntax error? Missing state variable? Wrong import? etc...)

This is something that would have to be fixed on the webpack or babel level, since they are responsible for building the dependency tree and importing all of the modules. If somebody knows of a plugin or configuration option to switch on, I'd love to do so, but I really don't think there is much we can do.
We do have ESLint, but there's a limit to how much we can control. If you do want to get rid of these errors entirely, I recommend trying out something like TypeScript, since what you're referring to are fairly common troubles for JS devs, and not exactly something specific to this project.

Even with TypeScript or other static type checkers, the problem remains that we do not have any indicator for runtime errors. E.g. just adding console.log(foo.bar); somewhere in your code results in the pretty non-saying error
warning.js:44Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).

Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

instead of something like Uncaught ReferenceError: foo is not defined

Ok, I think I see the problem, that the issue totally unrelated to React but is still causing those render errors. @JMacLulich 's idea sounds correct that it could be related to the HMR setup. I'll dig into this ASAPly.

Thanks @eduards and @davezuko I'm pretty sure its got something to do with HMR.
Because once you're past errors in loading the first page of your app and can start clicking on links (route transitions) to take you to components with errors you start getting the more familiar React errors I'm used to -- like failed props and other things.
If I then modify the page and hot reload the changes I get the generic React.createElement: type should not be null error.
I have to return to a different route (that loads) then go back to the route that was causing the issue to get the proper Rect error to present.

Maybe this will light a fire under me to try to get the new react hot loader setup working finally.

It definitely is the current hot reload setup, since if you disable it the errors display correctly. Working on this now.

WIP branch for RHL 3 here: https://github.com/davezuko/react-redux-starter-kit/tree/feature/react-hot-loader-v3. It doesn't play well with react-router and async routes, it seems, so right now it isn't actually doing anything different than what exists now, but the annoying React issue is fixed... so it may be worth checking out.

+1 for this fix.
It's cost me a lot of time today to have this unhelpful error message. Can we disable HMR and get our normal errors back?

@jnarowski until I get that branch merged you can just uncomment https://github.com/davezuko/react-redux-starter-kit/blob/master/src/main.js#L59-L74. This is very much in limbo right now, unfortunately.

Thanks. I guess I don't quite get it. I gutted all the HMR and hot reloading stuff and still got the invariant message for a simple intentional syntax error after doing a full reload. Does this have to do with React?

I'm still troubleshooting it myself, honestly, so not entirely sure. The whole hot reloading ecosystem seems to be up in the air right now, at least from my point of view, as we've now gone from react-hot-loader -> react-transform-hmr -> back to react-hot-loader, and there's so much going on in the build system that it's a bit difficult to wade through.

Ok, I'll let you know what I find also. If it helps, it seems to only be happening to class based components. Functional components with syntax and other raise errors properly.


Use custom image?

Hi this library is amazing, i have only a question, i have a custom image of a star, it's possible to use it in this library?

Hi @Piero87!
I'm sorry, but this library draws the star directly.
You can subclass it and override -(void)_drawStarWithFrame:(CGRect)frame tintColor:(UIColor*)tintColor highlighted:(BOOL)highlighted if you want it to draw anything else other than a star.
For example, you could use that method to draw your custom image for both normal and highlighted modes.
PS: I may consider supporting custom images in the future, but for now the idea is to keep it as light and clean as possible.

ok thanks!

My implementation of custom images in HCSStarRatingView subclass:
- (void)_drawStarWithFrame:(CGRect)frame tintColor:(UIColor*)tintColor highlighted:(BOOL)highlighted{
    UIImageView *starView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:highlighted ?  NL(@"rating-full-heart") : NL(@"rating-empty-heart")]];
    starView.frame = frame;
    [self addSubview:starView];
}

- (void)_drawHalfStarWithFrame:(CGRect)frame tintcolor:(UIColor *)tintColor highlighted:(BOOL)highlighted {
    UIImageView *starView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:NL(@"rating-half-heart")]];
    starView.frame = frame;
    [self addSubview:starView];
}

- (void)drawRect:(CGRect)rect {
    [self.subviews makeObjectsPerformSelector: @selector(removeFromSuperview)];
    [super drawRect:rect];
}

I hope it will be helpful.

Thanks for that @Ponf!
Seeing this makes me reconsider supporting custom images... :-)

I added support for custom images in the latest version.


Prepare kubevirt-apb for v0.3.0

Use v0.3.0-alpha-4 as base for the new manifests. They significantly changes since the last update.
Signed-off-by: Roman Mohr<EMAIL_ADDRESS>

lets wait for sprint demo to be done prior to merging

Post demo, merging


none of the button inputs work

Describe the bug
when playing in screen mode none of the button endpoints listed in the controller docs work
To Reproduce
Steps to reproduce the behavior:

send an osc msg for anything under the button section of the controller docs while in desktop
observe that it does not do its function

Info (please complete the following information):

Type: Desktop
VRChat version w_2022.1.1-a221aaba5b

using touch designer for testing, based on the in game osc debug ui and loging in td with a osc in data it seems im sending the right DAT

oh, oops. im dumb. sorry for wasting yalls time. the issue was that i was sending floats not ints.


Error flyout is cropped by modal

See sample code that is using<EMAIL_ADDRESS>https://codesandbox.io/s/7w8rxj10z0
  <Box>
    <Modal heading="test">
      <Box padding={4}>
        <TextField
          onChange={() => {}}
          id="textfield"
          placeholder="Placeholder"
          errorMessage="test"
        />
      </Box>
    </Modal>
  </Box>

I believe this issue was fixed in #486 which was added as part of version 0.92.0.

Technically a Flyout inside a modal will still continue to be cut off by the overflow: hidden but yes, we switched to inline errors so if the field is a gestalt input field then it wont receive the Flyout treatment anymore. Going to close this ticket out per @powerlanguage recommendation.


Adding disk.EnableUUID to VMWARE

Huh...somehow the merge conflict no longer exists... blindly accepts PR


Unit Tests for Codec - (Scale Codec)

Unit-Tests for Codec class can be achieved by testing different types and its mixed combination with each other.

[ ] Test Primitive Types ( i, u ) + ( 8, 16, 32, 64, 128, 256 )
[ ] Test _enum
[ ] Test _struct
[ ] Test Compact<T>
[ ] Test Vec<T>
[ ] Test Option<T>
[ ] Test Tuple: (K, V, T .....)
[ ] Test Address
[ ] Test Bytes
[ ] Test BitVec

@gabrielokura Please feel free to add, and also mark the ones which is completed from your side.


Create UPDATE query examples

We need a few examples of UPDATE queries under different schemas, both to validate the design and flesh out edge cases, as well as to show people how to use the data type to model UPDATE queries.

I'm not sure if this one still needs to be done or we can close it as mentioned here?

That one was closed and split into new issues (with this being one of them)

@marcinkrykowski I think we've only got one example with one schema so we still need some more. Feel free to try and break the DSL and raise new issues - this is how we can make it better.


Issue in Billing process

We have a free access App, and inside the App the user can upgrade to pay. In the charges table, it creates the charges but when is an 'active' charge is it save as Null in the column Status. If I make and API call to shopify asking for that charge it returns that is active, and inside the Shopify Partners panel appears as active too. We are using version v4.0.2.

It fills in with whatever Shopify returns.

How are you upgrading the user?

route('billing', ['plan_id' => 1]), having the plan 1 in the database.
I did a test just after the client pays. I made an API call to /admin/api/2019-04/recurring_application_charges/'.$chargeId.'.json and it returns correctly the status.

What did it fill in for the DB? Is billing_on, trial_ends_on filled in as well?

is filled all expect the status. Of course, cancelled_on is null and the other that should be null

Has this happened every time?

yes

Is this for a recurring or one time charge?

In testing, I am getting active on accept... if this issue still persists, let me know.


Change log: Labels for Midline / Endline not translated when targets are changed

When I first add a Midline / Endline target, the labels ARE translated:

But when I modify targets, they're not:

Also, in the above illustration, note that the "no reason required" system-generated message is not translated. Just noticed that.

Moving to passed, as I can no longer reproduce.


[PE-D][Tester A] Editing a class after assigning a student

The class name under the student is not automatically updated to display the new name

Labels: type.FeatureFlaw severity.Low
original: ichigh0st/ped#8

See #130


Repost settings

PR Checklist
Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[ ] I have checked that this PR does not introduce a breaking change
[x] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number:
What is the current behavior?
Currently there is no way to filter out reposts from those you follow.
What is the new behavior?
A setting that allows you to filter reposts.
Other information
The issue with this PR is that if showReposts is set to false claim searches are performed with a defined claim_type of stream. This may inadvertently filter out channels and any future claim types.
Ideally the LBRY SDK would have a not_repost filter as it does for not_tags and not_channels (though I understand the latter are both arrays of id's).
It's also not ideal that this is starting with reposts turned off by default - any advice on how to set the default to true would be appreciated.

That was added very recently. I guess the docs haven’t been updated yet.
On Thu, Feb 20, 2020 at 1:22 PM Luke Wesley-Holley<EMAIL_ADDRESS>wrote:

@Lukewh commented on this pull request.
In ui/component/claimListDiscover/view.jsx
https://github.com/lbryio/lbry-desktop/pull/3712#discussion_r382176047:

@@ -155,6 +158,10 @@ function ClaimListDiscover(props: Props) {
}
}

if (!showReposts) {
options.claim_type = 'stream';

Great. The SDK docs seem to suggest you can only supply a string.
Will update later / tomorrow morning UK time
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-desktop/pull/3712?email_source=notifications&email_token=AEAZZDUPBMAPZP33SKYRDO3RD3C7BA5CNFSM4KYN6F6KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWK2NEY#discussion_r382176047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAZZDQOD2LVRQCYO5Y3GG3RD3C7BANCNFSM4KYN6F6A
.

--
Sean Yesmunt
Engineer for lbry.com

Thanks for the PR! I know @jessopb was going to add this to his filtering options under https://github.com/lbryio/lbry-desktop/pull/3667 - so I'm not sure we want a separate setting for this.

hey @Lukewh , if you'd like, send me an email at<EMAIL_ADDRESS>so we can get you added to our Tech Guests slack chat so you can communicate with us more easily!

Thanks for the PR! I know @jessopb was going to add this to his filtering options under #3667 - so I'm not sure we want a separate setting for this.

No worries, I figure I'd update and keep this PR open anyway - there might be some reason the filters are delayed :man_shrugging:

I think we should hold off on this until other sdk commands take a list as the value for claim_type. We still want channels to surface from different searches

@Lukewh I pushed up a commit to make a change to the way the claimType prop worked since we added it after this PR was opened (and somehow brought a rogue commit into this).
I tested and noticed the sdk timing out on queries so maybe sending lists for claim_type doesn't work. I'll confirm. This can be merged once that is ready


Smooth lfo

DEV NOTES:

dev panel now saves settings changes.
added header display panel for mono and hold

RELEASE NOTES:

Improve sound quality by smoothing square and sawtooth LFOs.

I've changed the base to master :)


Drive left read only

Etcher version: 1.0.0-beta16
Operating system and architecture: Ubuntu 16.04 64-bit
Do you see any meaningful error information on DevTools? No

I was using Etcher to make a FreeDOS bootable USB drive which worked great except that it created the only partition in an indeterminate file system format and whenever I would try to write files to the drive I would get an error back because the system was read only (write protected).
I tried to use hdparm to set readonly to off but it had no effect. I was unable to fix the problem to copy a file to the drive. I ended up going back to Unetbootin (sadly).

Can you provide a link to the FreeDOS image you tried flashing to your USB drive? Apart from being read-only, did it actually boot?

Etcher simply copies the image content byte by byte, so the read-only setting probably comes from the image itself. UNetbootin takes a very different approach, since it extracts the files from the image, partitions the drive itself, and copies things over, so that's probably the reason why you're not hitting it in UNetbootin.
I'll close this issue under the assumption that the actual image is causing the final drive to be read-only, but feel free to re-open if you find this is not the case (you could confirm with dd, for example, which takes a very similar writing strategy to us).

I used FreeDOS 1.0, 1.1, and 1.2 and all exhibited the same issue. I'm not so concerned that the image writes as read only. It was/is more annoying that I can't seem to unset the read only flag on the drive afterwards.
I also tried doing this with multiple other ISOs. They all seemed to do the same thing. However, just to compare I did try writing them all with dd and noticed the same problems going on so I suspect that it is not anything exclusively related to Etcher after all.
That being said, is it possible for Etcher to unset the readonly flag during the write process somehow? It might be a nice option.

That being said, is it possible for Etcher to unset the readonly flag during the write process somehow? It might be a nice option.

I guess we could, in theory (at least in some operating systems), however that could lead to some weird results (the readonly flag might be there for some reason).
That being said, I guess we can investigate some ways to unset this and document the solution in Etcher's user documentation.


Reporting broken use in subclass when inner class goes from public to protected

Class A in the library has an inner class I. I goes from public to protected. Class C in the client project extends A. C also defines the inner class IC extending I. Maracas reports a broken use when C initializes a variable of type IC, even though no compilation error is expected. This is a false positive case.
Related broken use:
Path: path-to/maracas/test-data/comp-changes/client/src/mainclient/classLessAccessible/ClassLessAccessiblePub2ProExt.java
Line: 9
Breaking change: CLASS_LESS_ACCESSIBLE
API use: TYPE_DEPENDENCY
Used declaration: main.classLessAccessible.ClassLessAccessiblePub2Pro.ClassLessAccessiblePub2ProInner
Source declaration: main.classLessAccessible.ClassLessAccessiblePub2Pro.ClassLessAccessiblePub2ProInner

A new false-negative case is being reported after the modification. The cause of this broken use is actually associated with a CONSTRUCTOR_LESS_ACCESSIBLE case. Label it as a false positive.

Check this additional case:
ID: ec3d1557-26ba-4bc1-8b77-d488323057ab
Path: /code/maracas/test-data/api-evolution-data-corpus/client/src/accessModifierClazzNestedClazzAccessDecrease/Main.java
Line: 10
Message: ClazzPublicToProtected() has protected access in testing_lib.accessModifierClazzNestedClazzAccessDecrease.AccessModifierClazzNestedClazzAccessDecrease.ClazzPublicToProtected


Not working in shed

This user suggests that the mod does not work in the shed.

I just reproduced the bug. Will look into it and push a fix.


Teaching BAD routing philosophies, use Query Parameters!

For years react-router has taught tens of thousands of developers how to do routing in react. Unfortunately, many times a year I have to un-teach colleagues routing philosophies taught in the documentation.
Query Parameters, particularly IDs, should not be a middle part of a URL! The primary reason is it makes doing tracking very difficult.
Is the best url really
animals/dogs/:dogId/breed and  animals/dogs/:dogId/description  versus
animals/dogs/breed/:dogId and animals/dogs/description/:dogId
I get it! the breed and the description are for the :dogId so it should be in this order...
Think about it as a product analyst. You don't care about the :dogId, what you are interested in is how many people are using the breed or description pages by dogs.
When you hook up GA with default settings you will immediately understand this problem.
I think React-router's documentation should recommend usage of the QueryParameters API over placing IDs arbitrarily through the url like animals/dogs/breed?dogId=
Improving React Router's documentation with expert opinions will save every developer using the library from having to refactor when a business person actually cares about their work.

You're literally posting this on a website with IDs in the middle of the URL...
https://github.com/*ReactTraining*/*react-router*/issues/*6404*

This is a fundamental property of REST and is supported by RFC 1738/3986.
It may be a bad for your particular use case, but I really doubt any business people care much about URL structure. Sorry, but we're going to keep supporting it.

@timdorr  Please be open minded. I am not making this claim on some whim but after years of frustration.
"I really doubt any business people care much about URL structure. "
I used to be a web analytics expert. I have been responsible for reporting on millions of dollars of web advertising and like I stated, TODAY I regularly have to teach react developers the problems taught by this naive structure.
An expert like me isn't too hindered by developers making this mistake because we know advanced analytics techniques to get around it! But most developers are working in small shops and don't have access to a GA expert. They rely on your advice for setting up react-router, usually while they are still first learning react.
From the front page of React-Router guide
app.get("/", handleIndex);
app.get("/invoices", handleInvoices);
app.get("/invoices/:id", handleInvoice);
app.get("/invoices/:id/edit", handleInvoiceEdit);

/invoices/:id:/edit is wrong, it should be /invoices/edit?id=:id`
This is very different than your counter example where it goes github.com/:entityName:/:projectName:/feature/ , this is an SEO and Feature Friendly url that is using Names not IDs.
invoices/:id/edit is WRONG and should not be taught.
Just because github has experts to get around this issue doesn't mean  you should keep propogating bad knowledge! Most people using react-router aren't implementing it in coordination with product owners. This means that they will have to refactor when they first get a non-expert that sets up GA and can't use behavioral analysis because of a bad philosophy on route naming.

https://xkcd.com/1053/

React Router is open source; feel free to fork it.


LICENSE missing for UriFactory.java

LICENSE missing for src/main/java/org/eclipse/uprotocol/uri/factory/UriFactory.java

fixed by a previous commit


client.appendInputAudio not working

Seems like server-side VAD isn't working. I'm routing audio from ReactJS client through Node.JS WebSocket and then through the RealtimeClient.
GPT never creates a response, or updates the conversation. I can't pick up on these events.
Anyone else have this problem? Did manual (not server_vad) end up working?

Nevermind, got it working
const buf = new Uint8Array(e.data).buffer;
the crucial line to convert ArrayBuffer(8192) --> ArrayBuffer that can used in client.appendInputAudio
Wish this was included in docs

this worked for me


Request to add support for .envrc format

We are using https://direnv.net/ to share a base config and it works really well for that. Would be even better if we could reference the same file in our run configs.
Format is pretty simple:
export DB_NAME=abc
export DB_HOSTNAME=www.hosts.com
export DB_PORT=3333
Thanks!

It seems that this is pretty much the same as an .env file but ignoring/removing export strings at the beginning of a line?
That way, a shell script could source the .env file and sets the exports and this plugin can use it directly.

.envrc for direnv is bash script compatible.
So $ source .envrc is corect way to apply it.
I also think adding .envrc type support is very valuable!

Would love if #117 could get merged :)

I have no intention on merging #117 as it is right now.
I'm considering whether I'd agree to merge it if #117 included a feature toggle.
That being said, it sounds like the right way to handle this is to add support for a new format type which would execute a given executable in a shell and then read the environment variables from it. Would welcome such contribution.

While we don't have @shinichy's PR merged, my current workaround is to change the syntax of the .envrc file to:
DB_NAME=abc
DB_HOSTNAME=www.hosts.com
DB_PORT=3333

export DB_NAME DB_HOSTNAME DB_PORT

That way both direnv and EnvFile can load the file correctly.

As a fresh user of this plugin, I hit this issue. Any updates on this? @ashald It seems #160 is closed for some reason.
I was about to adopt EnvFile but this is making me reconsider.


Review for JOSS

Hi,
https://github.com/openjournals/joss-reviews/issues/5975
I'm sorry it took me ages to start review the repo and manuscript. Hopefully, as already was reviewewd once, it will be a smooth process.
I will be comenting here all my doubts and questions and once they al solved or clarified it is done.

first example does not work

> # examples
> ## -- load gcamreport library.
> library(gcamreport)
> ## -- store the database path, name, and scenarios in a variable.
> dbpath <- "examples"
> dbname <- "database_basexdb_ref"
> scen <- "Reference"
> ## -- choose a project name
> prjname <- "example1.dat"
> ## -- generate the reporting dataset until 2050 for EU-12 and EU-15 for all the
> ## -- Agricultural variables, save the output in .RData, .csv and .xlsx format,
> ## -- and lunch the user interface
> generate_report(db_path = dbpath, db_name = dbname, scenarios = scen,
+                 prj_name = prjname, final_year = 2050,
+                 desired_regions = c('EU-12', 'EU-15'),
+                 desired_variables = c('Agricultural*'),
+                 save_output = TRUE, launch_ui = TRUE)
[1] "Creating project..."
/home/sergio/basex/.basex: writing new configuration file.
Error in localDBConn(db_path, db_name, migabble = FALSE) :
  Database does not exist or is invalid: examples/database_basexdb_ref
In addition: Warning messages:
1: In normalizePath(dbPath) :
  path[1]="examples": No such file or directory
2: The following named parsers don't match the column names: name, date, version

shiny needs to be added in imports or depends in DESCRIPTION

launch_gcamreport_ui("examples/example3.RData")
Listening on http://<IP_ADDRESS>:7278
Attaching package: ‘magrittr’
The following objects are masked from ‘package:testthat’:
equals, is_less_than, not

Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box

Learn different usages for shinyjs and other Shiny tricks:
https://deanattali.com/blog/advanced-shiny-tips
Attaching package: ‘shinyjs’
The following object is masked from ‘package:shinyWidgets’:
alert

The following object is masked from ‘package:shiny’:
runExample

The following objects are masked from ‘package:methods’:
removeClass, show

Warning in file(con, "r") :
cannot open file '/home/sergio/R/www/style.css': No such file or directory
Warning: Error in file: cannot open the connection
72: file
71: readLines
70: includeCSS
2: runApp
1: launch_gcamreport_ui [/home/sergio/gcamreport/R/main.R#724]

Dear @ibarraespinosa,
Thank you for your comments and performed validations. Find attached some details:

Regarding the First example: it might be that either you did not clone the repository, you are not using the gcamreport project, or you do not have placed the example database in the correct folder. It might also be that, when extracting the database from the zip folder, an intermediate folder appeared and the database is located into examples/database_basexdb_ref/database_basexdb_ref instead of examples/database_basexdb_ref. I have written a few lines in the tutorials to make sure no one experiences this error.
I have checked, and shiny is already present in the DESCRIPTION file.
Regarding the Third example: it might be that either you did not clone the repository or you are not using the gcamreport project. I have written a few lines in the tutorials to make sure no one experiences this error.

In order to launch the shiny app, the package relies on some files (e.g., css files) that were difficult to include as package data. Thus, the repository clone is necessary to experience the full capabilities of the tool.
Thank you for your time and hope that the clarifications are okay,
Best wishes,
Clàudia

Hi, I was able to download the input data and generate the gui.
I have a very basic question. Brazil should be one available region, however, it does not appear in the report
-- load gcamreport library.
devtools::load_all()
-- store the database path, name, and scenarios in a variable.
dbpath <- "examples"
dbname <- "database_basexdb_ref"
scen <- "Reference"
-- choose a project name
prjname <- "example1.dat"
-- generate the reporting dataset until 2050 for EU-12 and EU-15 for all the
-- Agricultural variables, save the output in .RData, .csv and .xlsx format,
-- and lunch the user interface
available_regions()
available_continents()
generate_report(db_path = dbpath, db_name = dbname, scenarios = scen,
                prj_name = prjname, final_year = 2050,
                desired_regions = c('Brazil', 'EU-15'),
                desired_variables = c('Agricultural*'),
                save_output = TRUE, launch_ui = TRUE)

Dear @ibarraespinosa,
Thank you so much for this check. I reproduced the error and found that the cache was not being properly cleaned. I amended it and now works fine, regardless of your previous gcamreport runs.
Best,
Clàudia

Dear @ibarraespinosa ,
Thank you for your time and effort. Your thoughtful feedback has provided valuable insights that will undoubtedly enhance the quality of the work. After addressing all comments I would like to know if you have more suggestions or aspects that should be improved or discussed.
Keep in touch,
Best wishes,
Clàudia

I will check tonight
On Fri, Mar 22, 2024 at 4:00 AM Clàudia Rodés Bachs <
@.***> wrote:

Dear @ibarraespinosa https://github.com/ibarraespinosa ,
Thank you for your time and effort. Your thoughtful feedback has provided
valuable insights that will undoubtedly enhance the quality of the work.
After addressing all comments I would like to know if you have more
suggestions or aspects that should be improved or discussed.
Keep in touch,
Best wishes,
Clàudia
—
Reply to this email directly, view it on GitHub
https://github.com/bc3LC/gcamreport/issues/6#issuecomment-2014743243,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGRM74AGZBVITZMZW745T43YZP6MXAVCNFSM6AAAAABDP5NWRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUG42DGMRUGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hola,
El paquete funciona muy bien y has hecho un gran trabajo. El software lo dejare por aprobado pero tengo un comentario general. Veo en DESCRIPTION que importas un gran numero de librerias. Tambien veo que importas data.table solo para retornar un objeto de clase data.table sin usar sus capacidades en operaciones.
En pocas palabras, ve la forma de reducir los paquetes.

DESCRIPTION mentiones LICENCE Mit + File but LICENSE file says BSD 2-Clause License. Is that equivalent with MIT?

As I recall, you need to have a directory named paper in your repo with the paper in it, probably built with rticles.

-Paper:

First phrase is too long (L9-12).
Code in summary is not needed. To that end, use the code Functionality  section, where it can be a subsection or so.
What is the reference for gcamextractor?

I could not access the help index, is that OK?

Dear @ibarraespinosa ,
Thank you for your checks! Some answers below:

Hola,
El paquete funciona muy bien y has hecho un gran trabajo. El software lo dejare por aprobado pero tengo un comentario general. Veo en DESCRIPTION que importas un gran numero de librerias. Tambien veo que importas data.table solo para retornar un objeto de clase data.table sin usar sus capacidades en operaciones. En pocas palabras, ve la forma de reducir los paquetes.

Good point! Thank you! I have erased some packages that could be easily substituted by others, and have moved some that were only used for testing purposes to the suggested packages section

Tambien veo que en documentation escrves importfrom data.table y luego en la funcion, as.data.table, sin data.table::as.data.table. Recuerdo que la segunda forma es la apropiada. Puedes comentar por favor?

The code was initially written with this notation, but another reviewer, bpbond, pointed out in this issue that import from was best practice. That's why I have been following this notation/format accross the package

DESCRIPTION mentiones LICENCE Mit + File but LICENSE file says BSD 2-Clause License. Is that equivalent with MIT?

You are right, the LICENCE didn't match. I re-uploaded the Mit+ LICENCE

As I recall, you need to have a directory named paper in your repo with the paper in it, probably built with rticles.

Sure! The paper directory was in another branch, but I have moved it to the main branch as suggested. I will be easier to find ;)

-Paper:

First phrase is too long (L9-12).
Code in summary is not needed. To that end, use the code Functionality  section, where it can be a subsection or so.
What is the reference for gcamextractor?
Figure 2 does not provide much information. A flow diagram would be more helpful for new users. (suggestion)

Thank you for the manuscript suggestions.

The first sentence was re-written
The code example was moved to the Functionality section, where two subsections were created
The gcamextractor was properly cited
Figure 2 was modified to show the user interface screenshot and the user management workflow. Thank you for the suggestion, it will help to understand better the usage workflow

I could not access the help index, is that OK?

I'm sorry, but where did you see this?
Thank you so much,
Best,
Clàudia

Hi, I was able to see the help index. I checked the documentation and functions, and paper, and all seems ok to me


In day view, unable to set day-view-start and day-view-end dyamically

The github issues tracker is for bug reports and feature requests ONLY. Please use stackoverflow or read the documentation and examples for support issues, as well as checking previous issues.
Issues that ignore this template will be closed without notice!
Bug description / Feature request:
Link to minimally-working plunker that reproduces the issue (starter template: http://plnkr.co/edit/tursHHxWA8SdALaj0Bx6?p=preview)
Versions
Angular:
Calendar directive:
Browser name and version:

Here is the plunkr
http://plnkr.co/edit/HRVIKi1g9ck8zwYagms8

Those are interpolated values, here's your plunker fixed: http://plnkr.co/edit/Ek3hVGvoZF7FMONBlk4P?p=preview

Thank you very much.


Perfomance Improvements // Profiling

Is there anything we can do to improve the performance of this library, perhaps by parallelizing it?
I really like it, but unfortunately it causes an unresponsive script error in Firefox (seems okay in Chrome) - any advice?

Okay, after a little poking around, it looks like the performance issue is probably in my code, not yours. :)

Hi @Miserlou, would you mind sharing what you did on your end that caused perf issues?  It might help others in the future.  Thanks.

Turns out that Firefox's (<52) calls to getImageData() are very slow, my application was calling this method a lot when deciding when to floodfill. My (as yet unimplemented) strategy to mitigate this was the call getImageData for a larger area and check the stored bytes instead of calling it for every look up. This seems particularly bad for large, high-dip screens.
Related ticket in Firefox Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1001069

Thanks @Miserlou.  As this is not a floodfill bug, closing this issue.