question-it.com

question-it.com

Looks like duplicate of https://github.com/Taraflex/Back2stackoverflow/issues/88

Looks like duplicate of https://github.com/Taraflex/Back2stackoverflow/issues/88


Document all error message format string options

The README has an example that contains the following line:
'errorformat': '%A%f: line %l\, col %v\, %m \(%t%*\d\)',

but these different strings like %A,%f,%m,%t,%* are never explained!
Could there be exhaustive documentation on the options?

These are already part of (neo)vim's documentation. See :h errorformat.

@notantonia Thanks! Maybe we should point to that in the README, then?

@siddharthist
Good point.  Do you like to create a PR for that?


Append to evernote (current or specific note)

Ref: Conversation #1403 / jarod

Ref: Conversation #4304 / Katie

Ref: Conversation #4274 / Gregory

Ref: Conversation #5616 / Steve


Jaypatch groundwork

Coverage remained the same at 100.0% when pulling c62e4447b31e81629b3932e84e39073be23268b1 on jaypatch-groundwork into deac9ea7fe8e5c7ec1d8a7d936d83a477446d463 on master.


Which permissions needs to be allowed ?

Hi :)
Intro : I'm using android nougat 7.0 and I know that we need to allow permissions on runtime . I use a cordova pluging for that.
My problem : I get callback error when attempting CordovaCall.receiveCall()
Error : "You need to accept phone account permissions in order to send and receive calls"
My question : I looked into android Manifest and I'm confused between CALL_PHONE, GET_ACCOUNTS,READ_PHONE_STATE,ACCEPT_HANDOVER permissions. Which one/ones needed for all functionalities in this plugin ?
Thnks :)

Scratch this, Apparently the permissions are declared in the plugin.xml and they don't require runtime permissions from what i reckon .
I guess my problem now is with Huawei phone. As i tested on samsung running android 8 and it's working fine.
In Huawei phone under call>settings> there is no mention of account settings or any voip related settings.
+On calling receiveCall, it just shows very abruptly the Account settings and vanishes very quickly. Than i get the callbackError :  "You need to accept phone account permissions in order to send and receive calls"

Hi, I fixed Huawei issue with the following changes on CordovalCall.java
https://gist.github.com/iKlotho/eb69d48e9f446c58826ae13ab6511775


TRT inference

Thanks for this great work.
For DSVT, there is  DSVT-AI-TRT for TRT inference.
I am wondering if there is anything available for UniTR like DSVT-AI-TRT ？

I think this is definitely no problem, unitr and dsvt use the same partition code, backbone is the same, may need a slight change in the head.

Sorry for the very late reply!

Thanks for the replay


implement PVWatts

I implemented the PVWatts module and inverter models as described in http://pvwatts.nrel.gov/downloads/pvwattsv5.pdf
I originally proposed something like this for ModelChains in #143, and @cwhanse wisely suggested adding PVWatts. It's probably best to first add the basic functions so that they don't get tied up in ModelChain land.
I'm looking for feedback on the function signatures and variable names so that we can try to maintain consistency throughout the library. I've mostly used the exact names from the PVWatts documentation, but we should consider changing at least a few of them. Keep in mind that we do have a variable/style guide, but also that it's not set in stone:

irrad_trans: Short for irradiance_transmitted, long for Itr. There are some other functions (e.g. calcparams_desoto) that currently use poa_global but that should use this instead.
pdc: I might prefer this to e.g. power_dc
pdc0: I prefer this to e.g. power_dc_0.
gamma: I might prefer temp_coeff or temp_co.
eta, eta_nom, eta_ref: I'd consider dc_ac_ratio_* or similar.

To do:

[ ] add notes to whats new
[ ] add new terms to style guide

Hi Will,
pdc and power_dc are intuitive enough, I think either works.  Appending a 0 or _stc should indicate a value at STC conditions.
Eta is the conventional symbol for efficiency, I’d stick with it.  But I’d add _inv (eta_inv) to indicate the inverter efficiency because eta is also used for cell efficiency (sunlight to current).
I’d use gamma_pdc for the temperature coefficient.  Its conventional to use alpha for current temperature coefficients (e.g., alpha_isc), beta for voltage and gamma for power.  But some literature also use gamma for the diode factor.
Its crucial to note somewhere that in PVWatts gamma_pdc has units of 1/C, not W/C.
I don’t care for irrad_trans or Itr.  However, this is a grey area and there’s no convention I know of.  G is most commonly used for broadband irradiance (e.g., Gpoa) and E for effective irradiance (adjusted for spectral content).  In PVWatts, Itr represents Gpoa reduced by reflections.  I wouldn’t use I for irradiance, so perhaps Gtransmitted?
Cliff
From: Will Holmgren<EMAIL_ADDRESS>Sent: Wednesday, June 22, 2016 11:34 AM
To: pvlib/pvlib-python<EMAIL_ADDRESS>Cc: Hansen, Clifford W<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] [pvlib/pvlib-python] implement PVWatts (#195)
I implemented the PVWatts module and inverter models as described in http://pvwatts.nrel.gov/downloads/pvwattsv5.pdf
I originally proposed something like this for ModelChains in #143https://github.com/pvlib/pvlib-python/issues/143, and @cwhansehttps://github.com/cwhanse wisely suggested adding PVWatts. It's probably best to first add the basic functions so that they don't get tied up in ModelChain land.
I'm looking for feedback on the function signatures and variable names so that we can try to maintain consistency throughout the library. I've mostly used the exact names from the PVWatts documentation, but we should consider changing at least a few of them. Keep in mind that we do have a variable/style guidehttp://pvlib-python.readthedocs.io/en/latest/variables_style_rules.html, but also that it's not set in stone:

irrad_trans: Short for irradiance_transmitted, long for Itr. There are some other functions (e.g. calcparams_desoto) that currently use poa_global but that should use this instead.
pdc: I might prefer this to e.g. power_dc
pdc0: I prefer this to e.g. power_dc_0.
gamma: I might prefer temp_coeff or temp_co.
eta, eta_nom, eta_ref: I'd consider dc_ac_ratio_* or similar.

To do:

[ ] add notes to whats new
[ ] add new terms to style guide

You can view, comment on, or merge this pull request online at:
https://github.com/pvlib/pvlib-python/pull/195
Commit Summary

implement pvwatts dc and ac models
fix np less than 1.10 test bug, fix doc string

File Changes

M pvlib/pvsystem.pyhttps://github.com/pvlib/pvlib-python/pull/195/files#diff-0 (106)
M pvlib/test/init.pyhttps://github.com/pvlib/pvlib-python/pull/195/files#diff-1 (17)
M pvlib/test/test_pvsystem.pyhttps://github.com/pvlib/pvlib-python/pull/195/files#diff-2 (79)

Patch Links:

https://github.com/pvlib/pvlib-python/pull/195.patch
https://github.com/pvlib/pvlib-python/pull/195.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pvlib/pvlib-python/pull/195, or mute the threadhttps://github.com/notifications/unsubscribe/AFJNLyw2kLdboDlx7dgE4ZC0Imu7OoD8ks5qOXH9gaJpZM4I8B-m.

Thanks for the helpful comments.
eta (without the _nom or _ref) is actually only used within the pvwatts_ac function. The function arguments would become eta_inv_nom/eta_nom_inv and eta_inv_ref/eta_ref_inv.
I've never cared much for G, but maybe I should learn to live with it. Is irradiance_transmitted too long for an argument name? In principle, one could apply a spectral correction modifier to the irradiance before passing it into the function.
I'll let this sit for a day or two so that other people can comment, too.

I'm definitely not a fan of irradiance_transmitted, in any form, long or
short, because that's not a term I have ever used. And it doesn't say
anything about what kind of irradiance it is (POA is implied, perhaps, but
I prefer if it is explicit). Not sure what Cliff means by GPOA reduced by
reflections. Do you mean shading? Oh, incident angle reflections, I guess.
As you might guess, I am more comfortable with PVsyst terminology, which
lead to g_poa (or poa_global) and g_poa_effective, where g_poa_effective is
g_poa reduced by incident angle reflection, shading (horizon and near), and
soiling. I would rather use g_poa as an input to ModelChain, and handle all
of the reductions separately, but maybe I'm not understanding how you are
architecting this?
I agree with Cliff's comments on gamma_pdc and eta_inv. (I'd go eta_inv_nom
and ref at the end, myself).
On Wed, Jun 22, 2016 at 2:24 PM, Will Holmgren<EMAIL_ADDRESS>wrote:

Thanks for the helpful comments.
eta (without the _nom or _ref) is actually only used within the pvwatts_ac
function. The function arguments would become eta_inv_nom/eta_nom_inv and
eta_inv_ref/eta_ref_inv.
I've never cared much for G, but maybe I should learn to live with it. Is
irradiance_transmitted too long for an argument name? In principle, one
could apply a spectral correction modifier to the irradiance before passing
it into the function.
I'll let this sit for a day or two so that other people can comment, too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pvlib/pvlib-python/pull/195#issuecomment-227850286,
or mute the thread
https://github.com/notifications/unsubscribe/AH66AaIWlpQsXNLfeLe30Rb3r6G-6RsFks5qOYvwgaJpZM4I8B-m
.

This PR is totally separate from ModelChain. I'm just implementating two simple equations from pvwatts.

Ok, I guess I was confused by your first comment of "There are some other
functions (e.g. calcparams_desoto) that currently use poa_global but that
should use this instead." I definitely disagree with that.
On Wed, Jun 22, 2016 at 1:05 PM, Will Holmgren<EMAIL_ADDRESS>wrote:

This PR is totally separate from ModelChain. I'm just implementating two
simple equations from pvwatts.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pvlib/pvlib-python/pull/195#issuecomment-227860548,
or mute the thread
https://github.com/notifications/unsubscribe/AH66AVK1NyDcGFNdFkc94nfTB377bI5hks5qOZV8gaJpZM4I8B-m
.

@jforbess I updated my first comment to make it less specific. The point I was trying to make is that there may be additional cases in pvlib where the important thing is the irradiance after accounting for reflection losses.
Now is a great time to change any names that you don't like, but I'll suggest making a new issue for it if they're not specific to these two functions.

I added pvwatts_losses and PVSystem.pvwatts_losses. The function uses a keyword argument with a default value for each of the PVWatts loss parameters.
Here's a link to the readthedocs build for this branch: http://wholmgren-pvlib-python-new.readthedocs.io/en/pvwatts/modules.html#pvlib.pvsystem.pvwatts_ac
A few more notes here regarding the PVWatts model for future reference:

The PVWatts aoi loss model is the same as our physicaliam but with K=4 and L=0.002
The PVWatts thermal model is Fuentes 1987. I'm not familiar with it.
The PVWatts transposition model is Perez, but with isotropic for zenith angles 87.5-90 degrees. Default albedo of 0.2.

I'll merge this on Monday unless I hear objections.


test

Codecov Report

Merging #24 into master will increase coverage by 8.15%.
The diff coverage is 43.47%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   55.46%   63.62%   +8.15%
==========================================
  Files          12       12
  Lines         896      921      +25
==========================================
+ Hits          497      586      +89
+ Misses        279      218      -61
+ Partials      120      117       -3

Impacted Files
Coverage Δ

pkg/file/file.go
71.42% <ø> (ø)

pkg/file/file_instance.go
60.00% <6.25%> (+5.22%)
:arrow_up:

pkg/file/person.go
58.84% <54.16%> (+3.00%)
:arrow_up:

pkg/records/end_payer_record.go
56.81% <100.00%> (+18.18%)
:arrow_up:

pkg/records/end_transmission_record.go
80.64% <100.00%> (+25.80%)
:arrow_up:

pkg/records/payee_record.go
61.94% <100.00%> (+16.81%)
:arrow_up:

pkg/records/payer_record.go
70.00% <100.00%> (+10.00%)
:arrow_up:

pkg/records/state_record.go
58.33% <100.00%> (+16.66%)
:arrow_up:

pkg/records/transmitter_record.go
77.96% <100.00%> (+13.55%)
:arrow_up:

... and 7 more

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 2e0f003...25a327a. Read the comment docs.


YAML document separators

According to the YAML specification three dashes are used to separate YAML directives from the document content and are also used to mark the start of a document if the file (stream) contains more than one YAML document. However, several templates include a document separator at the end of the file, which can cause odd syntax problems depending on the order Helm arranges the templates.
This PR adds triple dashes to the top of each YAML document and removes extraneous appearances elsewhere. The document separator is optional if a file only contains one YAML document, but I have added them to all templates for completeness.

I will try to get rid of the extraneous commit (b64a7af) that should not have been included in this PR.


Can't start the bot due to error

Whenever im trying to start the bot by using "java -jar PteroBot.jar", its showing me error "Can't access/find the file PteroBot.jar".
I tried running this bot in both replit and pterodactyl panel with minecraft vannila and discord.js egg but it didnt work out

Would you mind providing exact error ? Also bot can't be ran with minecraft or d.js egg, use generic java egg from pterodactyl repo

Hi and thanks for replying!
Im trying to run the bot in replit.com and now im getting this error.

Thanks! i have downloaded the pterobot.jar and i can start it but there is still an error -

Looks like your server doesn't recognize discord ssl cert somehow, not really related to PteroBot. You can find more detailed answer here.

Hey!
Thanks for helping me out there, im hosting the bot in pterodactyl panel with java 19 and its running fine without any error now.
Btw i have a question that is there any option to create servers in the panel through the bot?

Glad you made it ! There is not yet, but its planned as next feature and already under work.


Problem when writing Gmsh mesh with cell data

Hello,
I'm using meshio to read and write Gmsh mesh files, and I encountered a problem when trying to handle Physical groups : the mesh file is correctly read, but when I try to write it again in a file in Gmsh format, the nodes and elements are not written in the file.
I attached an example : in.msh is the input file (containing two Physical groups) and out.msh is the output file generated by meshio.
Here is the code I used :
mesh = pygmsh.meshio.read("in.msh")
meshio.write("out.msh", mesh[0], mesh[1], cell_data=mesh[3], field_data=mesh[4])

Thanks in advance for your help.
mesh.zip

Thanks for the report. There was indeed an issue about how cell data was written. Should be fixed now.


fix: add schema.json and NOTICE in release tarball

Bundle schema.json and THIRDPARTY.npm (notice) along with generated static files for ucc-gen to consume.

Note: license-check CI should pass after merging: https://github.com/splunk/addonfactory-ucc-base-ui/pull/32

The notice file change was missing and added in: https://github.com/splunk/addonfactory-ucc-base-ui/pull/35


[v4.4.1] Version issue

Describe the bug
mjml-validator throw errors after a simple update of version 4.4.0.
MJML environment (please complete the following information):

MJML Version 4.4.1

Additional context
The problem comes from this commit (https://github.com/mjmlio/mjml/commit/72aae004f42f1ae4d939d2f3cf29539ddab41505), the version of mjml-validator has been updated in the package.json after the NPM release.
I have a monorepo with packages/A that has a dependency on<EMAIL_ADDRESS>and a package/B that has a dependency on<EMAIL_ADDRESS>The problem is that<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>(without ^), so I have 2 versions of mjml-validator and the dependencies are not saved in the right place when I use registerDependencies (https://github.com/mjmlio/mjml/blob/master/packages/mjml-validator/src/dependencies.js#L10).
It can be seen in version 4.4.1 released here (line 49<EMAIL_ADDRESS>

A workaround to fix a problem with your publish, works only with yarn:
  "resolutions": {
    "mjml-validator": "4.4.0"
  }

4.4.0 works fine, 4.4.1 is broken.

"I do not have the mistake so no one else can have it..."
I will wait for the next version!

We'll see if we can get a release next week, let's keep that open for now.

4.5 release don't have this problem so we can close this one


It's possbile to drag Drawers with the mouse

Currently, Drawers can be dragged open and closed with the mouse:
https://user-images.githubusercontent.com/389558/158868272-c2aacf4e-1c1c-404c-9b45-004594f6d066.mp4
There is no way to disable this behavior.  We should either provide a way to disable this, or if no one wants this behavior at all, remove it completely for mouse interactions.
To reproduce

Run an app with a Drawer, such as the one given below.
Make sure you have a mouse connected.
Drag from the left side of the screen with the mouse.

Expected: Nothing happens
Actual: The menu is revealed.  It can also be dragged shut.

Code
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        platform: TargetPlatform.macOS,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Drawer Demo'),
        ),
        drawer: Drawer(
          child: ListView(
            padding: EdgeInsets.zero,
            children: const <Widget>[
              DrawerHeader(
                decoration: BoxDecoration(
                  color: Colors.blue,
                ),
                child: Text(
                  'Drawer Header',
                  style: TextStyle(
                    color: Colors.white,
                    fontSize: 24,
                  ),
                ),
              ),
              ListTile(
                leading: Icon(Icons.message),
                title: Text('Messages'),
              ),
              ListTile(
                leading: Icon(Icons.account_circle),
                title: Text('Profile'),
              ),
              ListTile(
                leading: Icon(Icons.settings),
                title: Text('Settings'),
              ),
            ],
          ),
        ),
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            CupertinoTextField(
              maxLines: 3,
            ),
            SizedBox(height: 32.0),
            TextField(
              maxLines: 3,
              decoration: InputDecoration(
                border: OutlineInputBorder(
                  borderRadius: BorderRadius.circular(30.0),
                  gapPadding: 0.0,
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Reproducible on stable and master using code sample provided above.

videos

chrome
macOS

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.10.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (2 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.65.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 99.0.4844.74

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.142, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.142 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8e11192d0f (2 hours ago), 2022-03-18 01:55:20 -0400
    • Engine revision 6495796bce
    • Dart version 2.17.0 (build 2.17.0-216.0.dev)
    • DevTools version 2.11.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.65.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 99.0.4844.74

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hey @justinmc!

There is no way to disable this behavior. We should either provide a way to disable this,

drawerEnableOpenDragGesture and endDrawerEnableOpenDragGesture allows to disable this.
Scaffold with drawerEnableOpenDragGesture: false

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key, this.dark = true}) : super(key: key);

  final bool dark;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      theme: dark ? ThemeData.dark() : ThemeData.light(),
      home: const Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(25.0),
      child: Scaffold(
        drawerEnableOpenDragGesture: false,
        appBar: AppBar(
          title: const Text('Material App Bar'),
        ),
        drawer: const Drawer(),
        endDrawer: const Drawer(),
      ),
    );
  }
}

... or if no one wants this behavior at all, remove it completely for mouse interactions.

If you're proposing the later, I can work on that.

@TahaTesser Thanks, I didn't realize those parameters existed.  That definitely helps alleviate the problem.
I wrote this issue after reading this blog post: https://andrewzuo.com/flutter-for-desktop-apps-isnt-ready-yet-663664262dde
I think I am proposing the latter...  I want to say that what users like that author want is to disable this for mouse interactions by default but keep it for tapping.  What do you think?  Or we could also keep this issue open and see if we can gather feedback from anyone that stumbles onto it.

Sorry, I think we should add a switch to enable or disable it instead of completely disabling it on the desktop. Use 'drawerenableopendraggesture' `enddrawerenableopendraggesture 'reasonably. OK?
Disabling it completely on the desktop is a bad idea


Change new([]*...) to slice zero value

This change is a proposal and is open for discussion.
Change-Id: I62da2980c76d6220ce2ef12e6a1e64b60769ab01

Thank you, @shurcooL! I believe I addressed your comments.

Other readers - please note that the general handling of return ..., nil instead of return ..., err when err == nil will be handled in a separate PR.  I'll file an issue.

Yes, by "general handling", I mean all other instances.
Sorry for the auto-squash... the tools that I use perform this on my behalf. I'll try to remember to stop using them.  They were a requirement for working with the Go repos I worked on.

Merging.

Yes, by "general handling", I mean all other instances.

Gotcha. 👍

Sorry for the auto-squash... the tools that I use perform this on my behalf. I'll try to remember to stop using them. They were a requirement for working with the Go repos I worked on.

No problem, and thanks. I hope I'm not inconveniencing you too much. If this were Gerrit, it would keep track of your individual pushes so I could always see a diff between patch sets, but GitHub doesn't do that.


Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).

Bug type
Other
Component name
No response
What happened?
The problem is after moving to an area where there is mud. I am using Blazor Web .net 8 rc 2
[19:17:31 WRN] Unhandled exception rendering component: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudDrawer.UpdateHeight()
   at MudBlazor.MudDrawer.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[19:17:31 ERR] Unhandled exception in circuit '3XEYEBcIFsrXwy0fqSk2jBoU8NNq7thNG2T1qMcYU1U'.
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudDrawer.UpdateHeight()
   at MudBlazor.MudDrawer.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[19:17:31 INF] Executed endpoint 'Microsoft.AspNetCore.Routing.RouteEndpoint'
[19:17:31 INF] Request finished HTTP/2 CONNECT https://localhost:5001/_blazor?id=oZh1jP4MMqT_JP5N3w34Uw - 200 null null 1318.7291ms
[19:17:31 INF] Connection id "0HMUB8SBNRIGD", Request id "0HMUB8SBNRIGD:00000015": the application completed without reading the entire request body.
[19:17:31 WRN] Unhandled exception rendering component: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudCollapse.UpdateHeight()
   at MudBlazor.MudCollapse.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[19:17:31 ERR] Unhandled exception in circuit '3XEYEBcIFsrXwy0fqSk2jBoU8NNq7thNG2T1qMcYU1U'.
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudCollapse.UpdateHeight()
   at MudBlazor.MudCollapse.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[19:17:31 WRN] Unhandled exception rendering component: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudCollapse.UpdateHeight()
   at MudBlazor.MudCollapse.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[19:17:31 ERR] Unhandled exception in circuit '3XEYEBcIFsrXwy0fqSk2jBoU8NNq7thNG2T1qMcYU1U'.
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
    at https://localhost:5001/_framework/blazor.web.js:1:734
    at Array.forEach (<anonymous>)
    at l.findFunction (https://localhost:5001/_framework/blazor.web.js:1:702)
    at b (https://localhost:5001/_framework/blazor.web.js:1:5445)
    at https://localhost:5001/_framework/blazor.web.js:1:3238
    at new Promise (<anonymous>)
    at y.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.web.js:1:3201)
    at ln._invokeClientMethod (https://localhost:5001/_framework/blazor.web.js:1:61309)
    at ln._processIncomingData (https://localhost:5001/_framework/blazor.web.js:1:58784)
    at connection.onreceive (https://localhost:5001/_framework/blazor.web.js:1:52425)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at MudBlazor.MudCollapse.UpdateHeight()
   at MudBlazor.MudCollapse.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Expected behavior
.
Reproduction link
.
Reproduction steps

...
Relevant log output
No response
Version (bug)
.net 8 rc 2
Version (working)
No response
What browsers are you seeing the problem on?
Other
On what operating system are you experiencing the issue?
Other
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

I have the same Problem but with Blazor Server core 7! mudblazor v.6.11

I had the same problem, but it occured from time to time, even with the latest version 6.19.1.
Added StaticWebAssetsLoader.UseStaticWebAssets(builder.Environment, builder.Configuration), still the same.
Attached the image, 2 different browser, Edge got issue.

What could be the solution?

@klchin66 try this: https://stackoverflow.com/questions/58436497/what-are-asp-net-core-static-web-assets
I have in my code in program.cs:
#if DEBUG
builder.WebHost.UseStaticWebAssets();
#endif

Hi @JanRajnoha, thank for the help.
I had this line in my program.cs after the problem happened.
But still it was readomly occuring. It could happened when it
the system boot-up and start the VS or after sometime during development.
But for Edge browser, for sure it happened with or without the line.
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
at http://localhost:5261/_framework/blazor.server.js:1:734
at Array.forEach ()
at l.findFunction (http://localhost:5261/_framework/blazor.server.js:1:702)
at _ (http://localhost:5261/_framework/blazor.server.js:1:5445)
at http://localhost:5261/_framework/blazor.server.js:1:3238
at new Promise ()
at y.beginInvokeJSFromDotNet (http://localhost:5261/_framework/blazor.server.js:1:3201)
at Xt._invokeClientMethod (http://localhost:5261/_framework/blazor.server.js:1:61001)
at Xt._processIncomingData (http://localhost:5261/_framework/blazor.server.js:1:58476)
at Xt.connection.onreceive (http://localhost:5261/_framework/blazor.server.js:1:52117)
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at MudBlazor.MudDrawer.UpdateHeight()
at MudBlazor.MudDrawer.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
After copy wwwroot/_content,  wwwroot/Identity and some other folder from my older app.
The Edge problem was gone.

I also found this error in our logs, so some of our users encountered it. Probably using Edge, since that is the companies default.
We use .Net6 on Blazor Server & MudBlazor 6.21 / 6.17 (because of #8746). There was an error for both Versions.
It happens rarely though, I and cannot pinpoint it at the moment, nor reproduce it myself yet. But it is in the log, so it does happen sometimes.

@klchin66 try this: https://stackoverflow.com/questions/58436497/what-are-asp-net-core-static-web-assets
I have in my code in program.cs:
#if DEBUG builder.WebHost.UseStaticWebAssets(); #endif

But that would only work during development. Would you not need it for all release cycles?
Also is there any documentation, that this library needs those static webassets?
The error happens only rarely - it shows up in the log, but I have no idea how to reproduce it. I just want to make sure, this would actually fix the error.

According to the docs, this UseStaticWebAssets() should not be used in production.
Since the error over here happend in production, the cause must be something different!

I think in our case, it was the loading order of the Javascript files:
    <script src="_framework/blazor.server.js"></script>
    <script src="_content/MudBlazor/MudBlazor.min.js"></script>

Blazor might load before MudBlazor, so its not necessarily available yet.
I changed the loading order now, and hope this fixes it:
    <script src="_content/MudBlazor/MudBlazor.min.js"></script>
    <script src="_framework/blazor.server.js"></script>

@Wolfware2023 Blazor should be loaded first, if you do otherwise you can get many side effects. Especially in the SSR version.

@Alerinos See this Stackoverflow answer: https://stackoverflow.com/a/76364667/20167714
According to it, you should load MudBlazor first.
Also, what kind if side effects are you thinking? My expectation would be, that if blazor.js is not loaded, it should not be able to call any libraries yet.


doc bug on gpu installation page

Your install website (https://www.tensorflow.org/install/gpu) has the wrong cuda version number referenced. It says that tensorflow wants cuda 9.0 and cuda 7.2, but cuda 7.2.1 seems to work only with cuda 9.2. If you don't upgrade cuda you get this obscure error:
"Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED"
I have written custom code, but not relevant for this problem.
os: ubuntu 16.04
tensorflow-gpu installed with pip
tensorflow version: v1.11.0-0-gc19e29306c 1.11.0
python 3.5.2

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

@chahld you can ignore @tensorflowbutler . @tfboyd any ideas on what exactly it should be?

cuda 9.2 and cudnn 7.2.1 with tensorflow 1.11 worked for me.

It all depends on where you install from.  The instructions assume you install from the tensorflow official pip by pypi or our website, e.g.  pip install tensorflow-gpu
The official pip requires CUDA 9.0 and cuDNN greater than or equal to 7.2.  You can use newer cuDNN's but CUDA does not have the same backward compatibility agreement.
I have been told the Anaconda install is compiled with CUDA 9.2 by the Conda team and that would require CUDA 9.2.
Finally, there have been changes to the license with NVIDIA that would allow us to include CUDA/cuDNN/TensorRT/NCCL (now open source) in the builds, but that will bring the package size to almost 500MB well above current pypi limits, which are normally maybe 50MB, if my memory is correct, that we have had increased to well over 200MB.

@chahld   To help other people please update your comment to say where your install came from.  My concern is people will think they should use CUDA 9.2 and that is not going to work with 1.11 from the official pip.  Thank you for helping.

My original comment does say that: "tensorflow-gpu installed with pip", but I added a summary to try to make it clearer.
If you choose cudnn 7.2.1 you have to use cuda 9.2. Based on nvidia's website:
https://developer.nvidia.com/rdp/cudnn-archive. This is the only 7.2.xxx version that is available and it says that it requires cuda 9.2.
Note I chose to install cudnn 7.2.1 instead of latest 7.3.1 because of tensorflow docs. 7.3.1 has a version that works with cuda 9.0. So the 9.0+7.3.1 combination might work also (I haven't tried it).

@chahld  NVIDIA had been slow to move the items to the archive.  If you install with apt-get you can still get 7.2.x with CUDA 9.2.  I would suggest just moving 7.3.  I am surprised CUDA 9.2 is working for you but I am glad you got it working.  Sorry about the request, for some reason I looked at your comment and though you were a different person from the original poster.  I thought you were just a random person adding a data point.

@chahld
Went an extra mile here is what I tried:

nvidia-docker run -it nvidia/cuda:9.2-devel-ubuntu16.04 bash
apt-get install python3
apt-get install python3-pip
pip3 install tensorflow-gpu
python3  and then import tensorflow as tf

Error is what I expected below, but it is possible that you CUDA 9.0 is still in a path and I have used cuDNN that says it is for a different version of CUDA that I installed a few times.  No idea how often that should work but it likely works more often than not I would guess as I do not think it does any kind of check the API just has to match up.
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory


Make display(fig) work without tweaks

Atm we have to set Makie.ALWAYS_INLINE_PLOTS[] = false and use Makie.display(f; backend=SVGMakie) to trigger drawing. Ideally, it should just be display(f).
Bonus: Can open an external viewer to show the output? What are some default SVG viewers besides Firefox and Chrome.

Fixed by de4bdaae3d8d00f111ae5e8509581a900b515875


[Window] Error when install ign-math on Window10

Original report (archived issue) by drtritm (Bitbucket: drtritm).

Hello everyone.I tried to install Gazebo on window10 following the tutorial on here http://gazebosim.org/tutorials?tut=install_on_windows&cat=install
But when I tried to configure ign-math ( step 9). It keeps saying the following error
" Could not find a package configuration file provided by "ignition-cmake2" "
I tried to clone ignition-cmake2 into folder "gz-ws" and configure it and succeeded. But ign-math still not worked.
The same issue happen with ign-transport, it require ignition-cmake0. Could anyone help me.
Thanks for reading

Has this issue been resolved or not? I can't seem to get it working. I get the following error , and am at a loss of what to do.
By not providing "Findignition-cmake0.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"ignition-cmake0", but CMake did not find one.
Could not find a package configuration file provided by "ignition-cmake0"
(requested version 0.3.0) with any of the following names:
ignition-cmake0Config.cmake
ignition-cmake0-config.cmake

To overcome this issue I changed the configure.bat file for ign-math by adding:
-Dignition-cmake0_DIR="G:\gz-ws\ign-cmake\build\install\Release\lib\cmake\ignition-cmake0"

Not sure if this issue is still valid. Feel free to reopen if you're still having problems.


CostManagement 2019-11-01

Adding new version for CostManagement APIs. The API is essentially the same as previous version but the Exports functionality now supports all the scope variations that were already available for Query and Dimensions. Some cleanup of unsupported features is also included.

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

HI @melmullen is service change public already? If  yes, we can merge it. Otherwise merge will hold until service pubic.

Yes it’s ready. Thanks!
From: Yunge Zhu<EMAIL_ADDRESS>Sent: Thursday, December 12, 2019 5:49 PM
To: Azure/azure-rest-api-specs<EMAIL_ADDRESS>Cc: melmullen<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-rest-api-specs] CostManagement 2019-11-01 (#7958)
HI @melmullen https://github.com/melmullen  is service change public already? If yes, we can merge it. Otherwise merge will hold until service pubic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Azure/azure-rest-api-specs/pull/7958?email_source=notifications&email_token=AMCLO64ARNN4ZRYLVNSIOG3QYLS2BA5CNFSM4JZYION2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYUKJQ#issuecomment-565265702 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCLO65WEAGOQEX5RVPMDXTQYLS2BANCNFSM4JZYIONQ .  https://github.com/notifications/beacon/AMCLO65ECKFIUYNO3PMRRV3QYLS2BA5CNFSM4JZYION2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYUKJQ.gif


Can't install properly

I tried to install using following command but while installing getting error and can not use the color picker.
command:-  "npm i react-native-color-picker"
I'm using expo.
![Uploading Screenshot 2020-08-24 at 9.51.26 PM.png…]

@nachiket-asbuilt, make sure that you have typescript pkg installed.
If not, just complete npm i typescript -g or yarn global add typescript

sorry, for incovenience. In between, try to install version 0.5 instead.
npm i<EMAIL_ADDRESS>

@nachiket-asbuilt - can you try to install latest version again?

@sodik82 still getting same error.

@sodik82 it installed now but i can only see slider no circle or triangle colour picker.

@nachiket-asbuilt, make sure that you have typescript pkg installed.
If not, just complete npm i typescript -g or yarn global add typescript

@dmko1610 i tried it but got same error.

I have tried our example app with latest expo and both android phone and ios simulator and it worked fine.
do you have enough space for color picker - i.e. used eg. flex:1 or set enought height for your picker component?

Thanks. It installed now but i am unable to change height or any style of the picker. Sorry but i'm new to react native. Can you please share your code snippet?
My code:
const Home = (props) => {
return (
<ColorPicker
onColorSelected={(color) => alert(Color selected: ${color})}
style={{ flex: 1, height: 500 }}
/>
);
};
and following is the output.

well, it looks almost correct :) there is something with width - you can try to set it explicitly. but usually the better way (than explicitly setting width/height) is to use flexbox https://reactnative.dev/docs/flexbox
color picker uses all the space the user/programmer will provide to it. so you just need to properly layout your components.


winrt::array_view cannot convert from gsl::span or other such representations

Trying to use something in an already safe structure like a gsl::span or a std::basic_string_view (until C++20's std::span) should be easily convertable to winrt::array_view.
I've found it is not.
winrt::array_view seems to accept either a bare array, a std::array, or a std::vector.
While I'd like it to naturally accept the gsl::span or std::basic_string_view, that might be difficult. But I had expected to at least be able to pass the .data() and .size() elements directly over to the other form.
However, that particular constructor is hidden from public view on winrt::array_view.
This represents a request to either make that constructor public so I can just hand over the data and size members to effectively yet-another-span type or to implement constructors accepting conversions from GSL and STD types that are spans as well.

So the guidance is then "suck it up buttercup and suppress your cppcorechecks warnings about bare pointer math because this train ain't leaving the station until mid to late 2020 when std::span should arrive?"
I can do that. Just confirming.

Pretty much. 😄

Alrighty. Thanks, Kenny. Works for me.


No such operator image::read_file

When i'm running camvid.py, This happened "No such operator image::read_file"，
Excuse me, why is this?
Related error messages：
Traceback (most recent call last):
File "D:\anaconda3\envs\TF2.5\lib\site-packages\IPython\core\interactiveshell.py", line 3437, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('D:/PYcode/Code6/datasets/camvid.py', wdir='D:/PYcode/Code6/datasets')
File "D:\PyCharm 2021.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
File "D:\PyCharm 2021.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/PYcode/Code6/datasets/camvid.py", line 86, in
image, label = next(iter(dataloader))
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torch\utils\data\dataloader.py", line 435, in next
data = self._next_data()
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torch\utils\data\dataloader.py", line 475, in _next_data
data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:/PYcode/Code6/datasets/camvid.py", line 54, in getitem
image = io.image.read_file(img_path)
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torchvision\io\image.py", line 79, in read_file
data = torch.ops.image.read_file(path)
File "D:\anaconda3\envs\TF2.5\lib\site-packages\torch_ops.py", line 61, in getattr
op = torch._C._jit_get_operation(qualified_op_name)
RuntimeError: No such operator image::read_file

I think your pytorch is very low. To run the code, you need to have torch >= 1.8.1 and torchvision >= 0.9.1.

thanks for your answer!


Expose Query class via Tasks API

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
Expose Query class via Tasks API.

As of today, Tasks API exposes createTaskLineModal and executeToggleTaskDoneCommand
We can get all the tasks via plugin.getTasks method

Can we expose the query so that we are filter the tasks using the tasks query via Tasks API
✔ Solution
expose applyQuery(query: string, tasks: Tasks) via Tasks API
❓ Alternatives
expose `applyQuery(query: string, tasks: Tasks)
📝 Additional Context
Taks querying capability is so powerful that we can expose it via Tasks API, so other plugins can leverage it.

As of today, Tasks API exposes createTaskLineModal and executeToggleTaskDoneCommand
We can get all the tasks via plugin.getTasks method

That getTasks() method is not documented, and so not supported and may get removed in future.

Can we expose the query so that we are filter the tasks using the tasks query via Tasks API

Yes, agreed that this would be good.
We are tracking an equivalent way of doing this in:

https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2459

There is prior discussion about what needs to be done to release it.
I plan to close this as a duplicate.


Seperate arguments with spaces?

Hey, sorry for posting so many issues, but I'm trying to get the most out of this library!
Is there a way to seperate arguments to functions by spaces instead of commas too?
Like this:
MYFUNC 90 20 "arg3"

Instead of
MYFUNC 90, 20, "arg3"

I've looked into _is_separator_char and tried to a whitespace char there, but it did not work unfortunately. Any idea? Thanks!
Thanks!

It's ambiguous syntax to use space as separator. Eg. it's impossible to tell if MYFUNC a + b - c stands for MYFUNC a, +b - c, MYFUNC a + b, -c, MYFUNC a, b, -c or MYFUNC a+b-c.


some modules cause the exceptionGoError: Invalid module

hello, everyone.
I recently started use benthos sink with javascript processor.
And it's implemented using this library, goja.
And I figured out that when I run some JS modules like below
const request = require('request');

I got an error that GoError: Invalid module.
Some modules work well like (lru-cache, ua-parser-js, ...), but there are problems with some modules like request/axios/http/fetch...

Hi. This library does not implement any modules, nor even the require function. I think opening an issue with benthos would be a good starting point.


[Bug] Reading a byte stream from a backend hangs in the passthrough

Description:

$Subject

Steps to reproduce:

Add a sample pdf file(sample.pdf) to resources directory.

Run the following backend service :

import ballerina/io;
import ballerina/http;

service /file on new http:Listener(8080) {

    // Using the caller to responsd
    resource function get pdf/v1(http:Caller caller) returns error? {
        check caller->respond(check io:fileReadBlocksAsStream("resources/sample.pdf"));
    }

    // Using the response object
    resource function get pdf/v2() returns http:Response|error {
        http:Response res = new;
        res.setByteStream(check io:fileReadBlocksAsStream("resources/sample.pdf"));
        return res;
    }
}

Run the passthrough service :

import ballerina/io;
import ballerina/http;

http:Client clientEP = check new("http://localhost:8080");

service on new http:Listener(9090) {

    // Directly return the response from the backend
    resource function get test() returns http:Response|error? {
        return check clientEP->/file/pdf/v1;
    }

    // Return using a caller after reading the response from the backend
    resource function get test/v1(http:Caller caller) returns error? {
        http:Response backendResp = check clientEP->/file/pdf/v1;
        stream<byte[], io:Error?> streamer = check backendResp.getByteStream();
        return caller->respond(streamer);
    }

    // Return using a new response object after reading the response from the backend
    resource function get test/v2() returns http:Response|error {
        http:Response backendResp = check clientEP->/file/pdf/v2;
        stream<byte[], io:Error?> streamer = check backendResp.getByteStream();
        http:Response response = new;
        response.setByteStream(streamer, "application/test+pdf");
        return response;
    }
}

Use the following client file to execute different requests :

import ballerina/log;
import ballerina/http;

public function main(string url) returns error? {
    log:printInfo("sending request to " + url);
    http:Client httpClient = check new(url);
    http:Response response = check httpClient->/;
    log:printInfo("response received", status\-code=response.statusCode,
                  content\-type=response.getContentType());
}

command
output

bal run client.bal -- http://localhost:8080/file/pdf/v1
works fine

bal run client.bal -- http://localhost:8080/file/pdf/v2
getting a timeout

bal run client.bal -- http://localhost:9090/test
getting a timeout

bal run client.bal -- http://localhost:9090/test/v1
getting a timeout

bal run client.bal -- http://localhost:9090/test/v2
getting a timeout

Affected Versions:
Ballerina SwanLake 2201.3.2

Transfered this to be followed up from runtime. Will create a separate issue to keep track of this from http module.

Will add a little detail for this.
import ballerina/io;
import ballerina/http;

service /file on new http:Listener(8080) {

    // Using the caller to responsd
    resource function get pdf/v1(http:Caller caller) returns error? {
        check caller->respond(check io:fileReadBlocksAsStream("resources/sample.pdf"));
    }

    // Using the response object
    resource function get pdf/v2() returns http:Response|error {
        http:Response res = new;
        res.setByteStream(check io:fileReadBlocksAsStream("resources/sample.pdf"));
        return res;
    }
}

For the above service, pdf/v1 (case 1) works and pdf/v2 (case 2) hangs.
In the implementation, Both of these scenarios go and invoke the mime:next function via the mime-native using runtime.invokeAsync call [1] .
But for case 1, it doesnt go back and forth among ballerina and java. But for case 2, we return from the service to the notifySuccess of the http-native and then we invoke a ballerina FunctionA via that. In the FunctionA we again call a native method MethodA. Inside the MethodA we again call a ballerina function FunctionB. Here when we call the runtime.invokeMethodAsync, we use a CountDownLatch to get the result synchronously.
However this gets stuck and the ballerina function FunctionB does not get invoked until the CountDownLatch timesout.
[1] https://github.com/ballerina-platform/module-ballerina-mime/blob/master/native/src/main/java/io/ballerina/stdlib/mime/util/EntityBodyHandler.java#L370


Create a TodoBackend implementation using Slim

Hi,
I'm a curator for todobackend.com, a community resource showing examples of how to build the same simple HTTP API using different frameworks. We'd love to get a Slim implementation contributed - in fact we have an issue filed for it! We have a Symfony2 implementation, and it would be nice to see how Slim differs.
Creating a todobackend implementation usually only takes a hour or two for someone experienced in the framework they're using. There's lots more information about how to do it on the todobackend site here.

I can take a look at it. Is there and todo API spec somewhere or do I just read the source of other implementations? Looking at the Sinatra example that is pretty much how I do my APIs. One difference being I return 200 from DELETE actions instead of 204.

Needs some polishing but passes tests.
https://github.com/tuupola/slim-todo-backend

This can be closed.


TODO: Perform Stochastic Reconfiguration Optimization

refer to Becca and Sorella 6.4. Is it possible to use fine-tuned optimizer in Julia to schedule the learning rate?

Workflow: use Carlo.jl to perform Energy and Og results. Use these results to update the parameter g.

resolved in (#34)


[drake_ros] Use modern drake::systems::Event API

See https://github.com/RobotLocomotion/drake/pull/19989.

This change is

+@EricCousineau-TRI for reviews, please.


docs: fix incorrect link

Summary
I've updated a link for the create-react-apps docs which was outdated :smile:
Test plan

Open the new link
Observe

Current coverage is 87.97% (diff: 100%)

Merging #2036 into master will not change coverage

@@             master      #2036   diff @@
==========================================
  Files            38         38
  Lines          1256       1256
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1105       1105
  Misses          151        151
  Partials          0          0

Powered by Codecov. Last update e7f34a4...fabd329

thanks!


Comments on this datamodel

Hi folks, this is my first commit to this repository, and I'm not even (anymore) a developer. I do have an open source development team, though.
I'm very interested to get involved in the Metadata Task Team and work with my team on whatever useful contributions we can make. We currently have data models in 2 open source software projects that we are involved in that we would like to try to harmonize to the Metadata model:

Phenotype Database (see for base model https://github.com/PhenotypeFoundation/dbxpBase/tree/master/grails-app/domain/dbnp/studycapturing, it's surprisingly similar to the Metadata Avro schema)
tranSMART / i2b2 (base model is a bit too much to describe here, but see https://github.com/transmart)

The website suggests that I should get in touch via GitHub, but is there also a call I could join?
Warm regards,
Kees van Bochove

-1 on the relative time.
Also, we should probably be specific about which epoch we are referring to http://en.wikipedia.org/wiki/Epoch_(reference_date)#Notable_epoch_dates_in_computing

+1 to @diekhans. There is an off-branch metadata developer version at
https://github.com/ga4gh/metadata-team/blob/master/avro-playground/metadata_redo.avdl
... which uses timestamp-millis
for most of the time attributes. Will see to move this into a PR.

where are we with this?

@skeenan -1 to relative timestamps. But +1 to develop a general way to represent relative times/intervals, e.g. for time series, clinical followup (that is length + start).

Agree with @mbaudis -1 to relative time stamps.
With respect to a general method for representing time stamps, I think the best way is to close this issue, and create a new issue about a general way to represent time stamps across the entire schema. That issue should identify all of the places in the schema that need adjustment.

Closed.


Download the latest SDK as the input to existing code

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


[on-chain config] make reconfig subscription from trait to struct

Summary
Make EventSubscription trait to ReconfigSubscription struct, since mechanism for publishing reconfig notification will be pretty uniform
Also had to change u32 conversion in language/vm/src/file_format_common.rs due to clippy complaint

@bors-libra r=zekun000

:pushpin: Commit 2b28605 has been approved by zekun000

@bors-libra r=zekun000

:pushpin: Commit c824db5 has been approved by zekun000

:hourglass: Testing commit c824db5944f6ede00cb233dd1e6b6579a0ea957c with merge 54be4078767bebad94a8849d81a06caddc7b8520...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: zekun000
Pushing 54be4078767bebad94a8849d81a06caddc7b8520 to master...

@zekun000  @christinacelee
This PR add all libra-channel dependencies to libra-types , which in turn added hundreds of deps , this caused problem for us, could we move this event_subscription file somewhere else?

@zekun000 @christinacelee
This PR add all libra-channel dependencies to libra-types , which in turn added hundreds of deps , this caused problem for us, could we move this event_subscription file somewhere else?

This will be moved out to common!


UP-4783: Import Export Portlet - Add missing id input - master

https://issues.jasig.org/browse/UP-4783
Issue
Import Export portlet, delete view has an <label> that does not have an associated <input>
Resolution
Remove unused <label>
edit
id <input> and <label> are actually both needed. The <input> was accidentally removed before.

Coverage decreased (-0.004%) to 22.997% when pulling 64bb3b8a0eed84415d9e1024b4bb74e689ae36aa on ChristianMurphy:UP-4783-remove-unused-label-master into 66ef4bdca205f6d63d791e9e49bbf67add7f32fc on Jasig:master.

Thanks @drewwills and @cousquer id input and label has been added to the delete view in the portlet.

Coverage decreased (-0.004%) to 22.997% when pulling 56358f5aad59e24176c96e06d5c4af86c926f3ce on ChristianMurphy:UP-4783-remove-unused-label-master into 66ef4bdca205f6d63d791e9e49bbf67add7f32fc on Jasig:master.

Thanks @cousquer code has been updated per review.
As well as a new danger icon flourish around warning message.

Coverage remained the same at 23.001% when pulling cd3d49d0e9fa70adf5910e83a798c49a4358a94d on ChristianMurphy:UP-4783-remove-unused-label-master into 66ef4bdca205f6d63d791e9e49bbf67add7f32fc on Jasig:master.


Added portfolio webpage

Added  files for portfolio webpage

hi added the portfolio webpage again pls add hacktoberfest tag , any modifications would be appreciated , thank you.


My model does not recognize the keyword when I have background noises or speechs

Hey Everyone,
I have trained tons of OWW models and I can say that they work fine in my opinion but when I have some background noise eg. speech. it does not detect at all. How can I prevent that issue ?
My keyword is Hey Miza and I have used 20000 positive data with 5000 false positive weights and my stepsize is 500000.  Should I change my layer size ? Should I train my model more ? I have used automatic model training.
Thanks,
Batu.

I'm no expert, but it might be worth trying enable_speex_noise_suppression=True
https://github.com/dscripka/openWakeWord?tab=readme-ov-file#noise-suppression-and-voice-activity-detection-vad

In general, detecting a wakeword in the presence of other speech is the most difficult situation for any wakeword model. While the openWakeWord models can do this reasonably well in some cases, as the the actual wakeword becomes less clear (that is, lower signal-to-noise ratio) compared to the other speech the likelihood that the model will correctly detect the wakeword becomes much lower.
The scenario you describe is a perhaps the most difficult situation for any wakeword model; multiple speakers, far-field audio, and < 0 db signal-to-noise ratio. It's not surprising that the model does not work correctly in this scenario.
Improving performance for this scenario is very challenging, and generally involves more complex combinations of hardware and software. It's unlikely that just adjusting the parameters of the training will make a significant difference here, unless you can collect or simulate training examples very similar to this scenario.


Experimental Hebrew font

I modified Dennis8 bitmap to support Hebrew, before I go any further, I want to make sure I'm doing the right thing.

Thanks.

Wow, that's great - thanks!
A hack to make this work would be to add the font code into the following in a file called hebrew.boot.js:
g._setFont = g.setFont;
g.setFont = function(f,n) {
  if (f=="6x8") {
   // probably just replace font/widths with the base64 in-place
   this.setFontCustom(font, 32, widths, 8);
  } else this._setFont(f,n);
}

The only gotcha is that Dennis8 is 8x8 and the built-in font is 6x8, so some apps may be expecting the font to be a slightly different width.

Is this better?

Looks great! Thinking about it, it's probably best to put the code I posted above in the locale file if using a locale that needs it - so apps that don't use locale won't load it in, but if they use the locale module it'll add it.
So in order to get something like https://github.com/espruino/BangleApps/pull/248 in, I guess we need to specify a codepage. For the font you posted, what codepage is it?
Probably the best thing to do is to add a codepage field to the locale.js for he_IL.
Then locale.html can detect this, add the font, and do translation.
To do the actual translation to the codepage, I'm not sure if anything is built in, but maybe the most sane thing to do is to actually write out the mapping. So...
var codepages = {
 "ISO8859-8" : { // maybe?
   bitmap : "....",
   widths : "....",
   mapping :
    " !"#$%&'()*+,-./"+
    "0123456789...."+
    "..."
};

Then locale.html could basically just run through the trans text like:
  result="";
  for (var i=0;i<text.length;i++) {
    var mapped = codepages[codepage].mapping.indexOf(text[i]);
    if (mapped>=0) result+=String.fromCharCode(mapped);
  }

Hi - I'm happy to do all the relevant changes to make this work, but what codepage is this? It doesn't look like ISO8859-8 to me (which would have that char starting at 0xE0):
http://czyborra.com/charsets/iso8859.html

I'll change this accordingly, sorry.

Did you get around to this? I've just added https://github.com/espruino/BangleApps/commit/d9442f2fd077eba216abda3ccd41a8e766e1c3aa to fix some other stuff, so if we had the correct font then it should be pretty easy to get this in now

I need a couple of more days, thank you for checking back with me, I'll try to work on it pretty soon.

Any update on this @yarons ? Should I try to pick this up? I'm interested in adding hebrew support to improve my new hebrew calendar app for PR #996

Hey @barakplasma It's a copy and paste task with some painting app, I did the initial with some pixel editor online, now if you want this fixed all you have to do is to change their order accordingly and it should be good enough.
I can help with some further explanation but since I'm not usually using a mouse it's very hard for me to do.

I should add that there's the font converter here: http://www.espruino.com/Font+Converter
And you can see in that you can select a Range of characters. It should be possible to change the such that there was another option that renders a completely different codepage out? That might be more flexible

I tried using the font converter, but since hebrew starts from charCode 1488 to 1514, the converter isn't working (usually it works with range up to 255, which does work in ISO-8859-8 , but not in JS). I tried to fix the converter in https://jsbin.com/wawuzoxixu/edit?html,output but I haven't figured it out yet. (I tried using  as the input)

Yes, the idea would be that instead of:
var img = drawCh(String.fromCharCode(ch));

you do:
var img = drawCh(String.fromCharCode(FONTMAP[ch]));

And FONTMAP is a 256 entry array which contains what character codes go where - possibly you could use the same format as suggested for mapping in https://github.com/espruino/BangleApps/issues/399#issuecomment-627169001

I'm stuck; I think I'm going to abandon my PR ( https://github.com/barakplasma/BangleApps/pull/2/files ) for now.
I was able to generate a codepage with a mapping. However, I think the mapping is backwards (right to left), and I am having a hard time moving forward. Let's leave this closed for now.
const codePages={
"ISO8859-8": {
    name: "ISO8859-8",
    bitmap: undefined,
    widths: undefined,
    // eslint-disable-next-line no-irregular-whitespace
    mapping: " ¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾‗אבגדהוזחטיךכלםמןנסעףפץצקרשת"
  }
}

Ok, thanks - sorry it's not going. I wonder if maybe because hebrew is read right-left there's something strange going on with the character orderings?

Yeah, unicode solved that by individual character directionality but it's pretty difficult to implement, both Hebrew and Arabic has numerous browser encoding configurations exactly for that reason, until today there are many GNU utilities that are translated sdrawkcab (backwards 😄).


TypeError in org.prideinlondon.festival.MainActivity

Error in Pride in London 2018 app
TypeError in org.prideinlondon.festival.MainActivity
undefined is not a function (evaluating 'r()')
View on Bugsnag
Stacktrace
src/screens/DonateScreen/accessibilityLabel.android.js:33 - onRefresh

View full stacktrace
Created automatically via Bugsnag

This is the same bug as #348

Caused when manual refreshing the events list

Fixed by #353


Incorrect battery critical and charging indications

Fixes https://github.com/I-Connect/NukiBleEsp32/issues/8

Just merged, did you test? I now get battery critical  true while bat perc is 80

Tested of course.
What's the value of keyTurnerState.criticalBatteryState that you get? What's the battery percentage reported by Nuki app?

Found it.... ignore my question, I inverted the value in the main application


Bug: Clicking the tray icon opens a different channel of Files

Description
This issue can be resolved by implementing #13112 .
If multiple channels of Files are installed, a default one can be selected through  Settings -> Apps -> Default Apps -> Search "FILES-UWP". Opening a non-default version, closing the window, and clicking the tray icon will cause the default version of Files starting to load.
https://github.com/files-community/Files/assets/68013339/c76af590-3465-49b9-afff-be6ed2c2293d
Steps To Reproduce

Install Files Stable and Files Preview
Set Files Stable as default
Open Files Preview
Close the window
Click the tray icon
Observe the color of the tray icon changes from blue to yellow and the Files Stable starts loading

Requirements
I believe it would be better to keep the application consistent.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.3007
Log File
.

Thanks for the report, we’re tracking this in #13112.


Secured Feature service with attachments enabled does not work if the service is passed through proxy and attachment size is greater than 4 MB

Unable to attach attachments to secure services through proxy. The issue occurs when the attachment size exceeds 4Mb and when we try to pass the service through proxy. The application fails to attach any attachment with size greater than or equal to 4MB and throws internal server error. Attached is the sample application(In .Txt format, Please save it as HTML for testing )
Attachment_test.txt

This is more likely a web server issue.  You're using the DotNet proxy, and IIS 6 have a default maximum file upload size of 4 MB.  See e.g. http://ajaxuploader.com/large-file-upload-iis-asp-net.htm for more info.
Are you using IIS 6?

Closing as presumed answered.  @amritkumar90 - feel free to re-open with more details.

I have a form that excepts a file upload in ASP.NET. I need to increase the max upload size to above the 4 MB default.
Write in Web.config in DotNet proxy folder
To increase uploading file's size limit we have two ways

IIS6 or lower
By default, in ASP.Net the maximum size of a file to be uploaded to the server is around 4MB. This value can be increased by modifying the maxRequestLength attribute in web.config.
Remember : maxRequestLenght is in KB

Example: if you want to restrict uploads to 15MB, set maxRequestLength to “15360” (15 x 1024).
<system.web>

</system.web>

IIS7 or higher
A slight different way used here to upload files.IIS7 has introduced request filtering module.Which executed before ASP.Net.Means the way pipeline works is that the IIS value(maxAllowedContentLength) checked first then ASP.NET value(maxRequestLength) is checked.The maxAllowedContentLength attribute defaults to 28.61 MB.This value can be increased by modifying both attribute in same web.config.
Remember : maxAllowedContentLength is in bytes

Example : if you want to restrict uploads to 15MB, set maxRequestLength to “15360” and maxAllowedContentLength to "15728640" (15 x 1024 x 1024).
<system.web>

</system.web>
<system.webServer>

</system.webServer>
http://stackoverflow.com/questions/288612/how-to-increase-the-max-upload-file-size-in-asp-net


Fix TestResolver to include extra files

TestResolver simply ignores extra files at present.
This causes multi-file tests to give false positive results.

TestResolver now extends VsCodeResolver, replacing TextDocuments usage with fs.readFileSync, as files are not changed during tests.


Why does intellisense autocompletion delete the remaining string!?!

Environment data
dotnet --info output:
.NET SDK:
 Version:   7.0.107
 Commit:    bf72c06963

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  23.04
 OS Platform: Linux
 RID:         ubuntu.23.04-x64
 Base Path:   /usr/lib/dotnet/sdk/7.0.107/

Host:
  Version:      7.0.7
  Architecture: x64
  Commit:       5b20af47d9

.NET SDKs installed:
  7.0.107 [/usr/lib/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.7 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.7 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/usr/lib/dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

VS Code version: 1.79.2
C# Extension version: 1.25.9
OmniSharp log
Steps to reproduce
Just type anything at the beginning of a string. Autocompletion will delete remaining string which rolls your eyeballs trying to recollect what was there previously before the autocompletion. This is awefully wrong.
Expected  behavior
A clear and concise description of what you expected to happen.
Insert a space instead of remove the remaining string.
Actual behavior
Additional context
https://github.com/dotnet/vscode-csharp/issues/3296

Duplicate of #5777

This is the issue with OmniSharp, not the new C# Roslyn Server. Duplicate of https://github.com/dotnet/vscode-csharp/issues/5804


Missing translations

While we have a lot of translations files in our project, most of them simply hold english text. It seems we lost some translations somewhere along the project restructuring.

Duplicate of #656


work

Hello, I saw your project, it feels very good to see the effect, I am also doing video-based deblurring related work, comparing the effect you showed with other algorithms and my own algorithm, I think this work makes me excited, and I am eager to know your inference time based on each frame of the video and the generality of the video, because many algorithms are based on the inherent video dataset, and cannot perform general inference on your own video, I don't know if your work has made improvements in this regard? It would be a great job if it was more generic, and I look forward to your source code

Thank you for your interest in FMA-Net.
Please refer to Table 1 in the paper for the inference time.  Table 1 compares the inference time of FMA-Net with existing models, and unfortunately, the improvement in inference speed of FMA-Net compared to existing models is not significant.


Missing Level3 in rpu extraction?

I am not really sure, but I wonder why I have never seen Level3 data in rpus from profile 7 streams.
I ask because I'm trying to implement the Level2 trims (stuff in DoviExtMetadataBlockLevel2) where follwing the documentation I would expect to also have offsets for those (DoviExtMetadataBlockLevel3).
However, just always taking the default which is to be used in case of missing offsets seems to produce wrong outputs. So I wonder whether the Level3 stuff might perhaps be missing by mistake, especially since all other levels are there in almost all streams I tried.
Example output using info, with all levels being there apart from 3:
"cmv29_metadata": {
  "num_ext_blocks": 5,
  "ext_metadata_blocks": [
    {
      "Level1": {
        "min_pq": 12,
        "max_pq": 2715,
        "avg_pq": 1167
      }
    },
    {
      "Level2": {
        "target_max_pq": 2081,
        "trim_slope": 1991,
        "trim_offset": 2162,
        "trim_power": 1992,
        "trim_chroma_weight": 2121,
        "trim_saturation_gain": 2072,
        "ms_weight": 512
      }
    },
    {
      "Level4": {
        "anchor_pq": 1119,
        "anchor_power": 641
      }
    },
    {
      "Level5": {
        "active_area_left_offset": 0,
        "active_area_right_offset": 0,
        "active_area_top_offset": 0,
        "active_area_bottom_offset": 0
      }
    },
    {
      "Level6": {
        "max_display_mastering_luminance": 4000,
        "min_display_mastering_luminance": 50,
        "max_content_light_level": 1633,
        "max_frame_average_light_level": 114
      }
    }
  ]
}

Level 3 is part of cmv40_metadata, so it won't appear if the metadata is CM v2.9, which is what most Blu-ray titles use.

L3 is not related to L2, either. It's supposed to affect the base L1 values.


getloclist does not return an empty dictionary when there is no location list

The documentation for getloclist states:

Returns an empty Dictionary if there is no location list for the window {nr} or the window is not present.

https://github.com/vim/vim/blob/b816dae16dbeec91ccb6fd1c0289b86b4ad5d7b3/runtime/doc/eval.txt#L5478-L5479
However there is either always an empty location list to start, or a non-empty dictionary is returned when there is no list.
Reproduction steps:
vim -u NONE
:echo getloclist(1, {'all': 0})

Expected: {}
Actual: {'changedtick': 0, 'context': '', 'quickfixtextfunc': '', 'filewinid': 0, 'qfbufnr': 0, 'items': [], 'id': 0, 'nr': 0, 'winid': 0, 'idx': 0, 'title': '', 'size': 0}
The same result if I add a location list and then call setloclist(1, [], 'f'), I expect that getloclist would then return an empty dictionary.
Vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 20 2020 13:11:17) Included patches: 1-1718

Hi Nate,
On Sun, Sep 20, 2020 at 1:30 PM Nate Bosch<EMAIL_ADDRESS>wrote:

The documentation for getloclist states:
Returns an empty Dictionary if there is no location list for the window
{nr} or the window is not present.
https://github.com/vim/vim/blob/b816dae16dbeec91ccb6fd1c0289b86b4ad5d7b3/runtime/doc/eval.txt#L5478-L5479

The documentation needs to be updated. If the specified window is not
present, then returns an
empty dictionary. If the location list is not present, then returns default
values for all the items.
This is to be consistent with the quickfix stack which cannot be deleted
unlike the location list stack.

Yegappan

However there is either always an empty location list to start, or a
non-empty dictionary is returned when there is no list.
Reproduction steps:
vim -u NONE
:echo getloclist(1, {'all': 0})
Expected: {}
Actual: {'changedtick': 0, 'context': '', 'quickfixtextfunc': '',
'filewinid': 0, 'qfbufnr': 0, 'items': [], 'id': 0, 'nr': 0, 'winid': 0,
'idx': 0, 'title': '', 'size': 0}
The same result if I add a location list and then call setloclist(1, [],
'f'), I expect that getloclist would then return an empty dictionary.
Vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 20 2020
13:11:17) Included patches: 1-1718

Fixed by 8.2.1727.  The commit fixed another issue – hence why the message seems irrelevant – but the documentation was still updated in it.


Add missing test to decoded vector APIs

Summary:
Add tests for the new decoded vector api that does not consumes a selectivity vector.
https://github.com/facebookincubator/velox/issues/3118
Differential Revision: D41091402

Thanks masha i put this diff on top of the original diff with out your fixes and veirfied that it fails on two test:
☢ velox/vector/tests:velox_vector_test - DecodedVectorTest.dictionaryWrapping
☢ velox/vector/tests:velox_vector_test - DecodedVectorTest.dictionaryOverConstant


Inclusion of amsthm breaks font size in theorem environments

If I simply put \usepackage{amsthm} in the template .tex file you have provided, then this changes how text is formatted in theorem environments to be inconsistent with the rest of the document. The font size becomes smaller. See attached picture.

this is fixed in v2


WIP: introduce a new sampler

This new sampler will ultimately be capable of returning a more
sophisticated Sample response that includes:

response headers
ip address
start time
name lookup time
time to connect
time to first byte
finish time

This is still a sketch and is not passing tests (fully).
TODO

[ ] support timeouts
[ ] support sending request headers so that tests pass
[ ] capture IP address of target
[ ] capture time to connect
[ ] capture time to first byte
[ ] lookout for edge cases around hostname + ports
[ ] test the individual funcs in the sampler package

Tradeoffs

only HTTP 1.1 for now
if response does not contain Content-Length header, we don't attempt to read the body

A couple notes so far as I'm working through this:

if Target included an actual url.URL instead of a string, we'd be able to reduce some of the error handling and additional parsing
I don't like the implied error handling stuff that I introduced early on, I'd rather it be more explicit
we should be using things like time.Duration vs integers wherever possible
probably should be using pointers instead of passing by value everywhere

I don't think I'm going to try and address these points during this PR, but will likely be opening subsequent ones after the fact.

Alright, down to one failing test: TestSampleWithCanonicalizedHeaderName.  Going to lean in and figure this one out in a few.

Tests are passing now.  I'm going to invest a little bit in some cleanup.

OK, this PR is ready or some review.  No longer a WIP.  I plan to merge this in a couple days pending any concerns.
Once this lands, I plan to open up a few other housekeeping PRs to address some of my nitpicks I mentioned in the PR body.

fixes https://github.com/canaryio/canary/issues/36

cc @blalor because this might align with some of your interests


react-native-reanimated v3 support

Hey, thanks for a great package. Do you plan to support react-native-reanimated v3? Currently, npm install fails because of ^2.x.x in peer dependencies.

Released in v0.3.6

@pavelbabenko дякую 🇺🇦


Mis-processing of GCC flags "--param arg1=val1 --param arg2=val2"

This issue was originally created at: 2015-12-24 15:16:27.
This issue was reported by: hartwork.
hartwork said at 2015-12-24 15:16:27

Hi!
When building libmypaint [1] I ran into a bug with valid gcc CFLAGS
CFLAGS="--param l1-cache-size=32 --param l2-cache-size=6144"
that make otherwise happy compilation fail.  I wonder if we are dealing with a
bug in the way that scons processes CFLAGS or with libmypaint's specific use of
scons.  I am hoping for your help with answering that question.
libmypaint's build system is accessing CFLAGS like this:
fgrep -Rw CFLAGS .
./SConstruct:if os.environ.has_key('CFLAGS'):
./SConstruct:   env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
./SConstruct:env.Append(CFLAGS='-std=c99')
./SConstruct:env.Append(CFLAGS='-D_POSIX_C_SOURCE=200809L')
./SConscript:    env.Append(CFLAGS='-fopenmp')
To reproduce the error I get (ruther down) you could run the following:
git clone https://github.com/mypaint/libmypaint.git
cd libmypaint
git checkout -b mybranch 379dbba7897815d9bad8bb068560376f03dcd12b
CFLAGS="--param l1-cache-size=32 --param l2-cache-size=6144" scons
enable_gegl="true"
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Creating 'mypaint-config.h'
gcc -o brushmodes.os -c -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3
--param l1-cache-size=32 --param l2-cache-size=6144 -Wall -Wstrict-prototypes
-Werror -g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -I. -I/usr/include/json-c brushmodes.c
generate_cheaders(["mypaint-brush-settings-gen.h", "brushsettings-gen.h"],
["generate.py", "brushsettings.py", "brushsettings.json"])
python2.7 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
Writing mypaint-brush-settings-gen.h
Writing brushsettings-gen.h
gcc -o fifo.os -c -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 --param
l1-cache-size=32 --param l2-cache-size=6144 -Wall -Wstrict-prototypes -Werror -g
-fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -I. -I/usr/include/json-c fifo.c
gcc -o gegl/mypaint-gegl-surface.os -c -std=c99 -D_POSIX_C_SOURCE=200809L
-fopenmp -O3 l1-cache-size=32 --param l2-cache-size=6144 -Wall
-Wstrict-prototypes -Werror -g -pthread -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -I.
-I/usr/include/json-c -I/usr/include/gegl-0.3 -I/usr/include/json-glib-1.0
-I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/babl-0.1 gegl/mypaint-gegl-surface.c
gcc: error: l1-cache-size=32: No such file or directory
scons: *** [gegl/mypaint-gegl-surface.os] Error 1
scons: building terminated because of errors.
I am looking forward on your feedback.
Thanks and best, Sebastian
[1] https://github.com/mypaint/libmypaint
[2] https://github.com/mypaint/libmypaint/issues/30

bdbaddog said at 2015-12-24 19:09:42

Generally we ask users to bring their issues to the users mailing list to
discuss the issue before filing a bug.
You can see our bug policy here:
http://scons.org/bugs.php
This will get far more eyes than filing the bug.
Can you try escaping the space between param and it's argument?

hartwork said at 2015-12-25 05:31:53

When escaped I get this:
CFLAGS="--param\ l1-cache-size=32 --param\ l2-cache-size=6144" scons
enable_gegl="true"
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o brushmodes.os -c -std=c99 -D_POSIX_C_SOURCE=200809L -fopenmp -O3 --param
l1-cache-size=32 --param\ l2-cache-size=6144 -Wall -Wstrict-prototypes -Werror
-g -fPIC -DHAVE_JSON_C -DHAVE_GETTEXT -I. -I/usr/include/json-c brushmodes.c
gcc: error: unrecognized command line option ‘--param l1-cache-size=32’
gcc: error: unrecognized command line option ‘--param l2-cache-size=6144’
scons: *** [brushmodes.os] Error 1
scons: building terminated because of errors.
Same with double back-slash.
(Since in some distros CFLAGS are configured system-wide, making the escaped
version work would not be a real fix since it would break other build systems then.)

The linked PR would add recognition of --param to ParseFlags, and thus to the methods that invoke it - MergeFlags and ParseConfig - but would not affect trying push these directly into CCFLAGS as in the example above.

Cool, thank you!