Compilation failing on ubuntu 18.04

Title says it all. Here's debug log:
$ npm run compile

><EMAIL_ADDRESS>compile /home/whosethenerd/Builds/vscode
> gulp compile --max_old_space_size=4095

[09:15:26] Node flags detected: --max_old_space_size=4095
[09:15:26] Respawned to PID: 22887
[09:15:26] Local gulp not found in ~/Builds/vscode
[09:15:26] Try running: npm install gulp
[09:15:26] Using globally installed gulp
module.js:549
    throw err;
    ^

Error: Cannot find module 'event-stream'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/whosethenerd/Builds/vscode/build/lib/util.js:7:12)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

npm ERR! Linux 5.1.16-050116-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "compile"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>compile: `gulp compile --max_old_space_size=4095`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>compile script 'gulp compile --max_old_space_size=4095'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the code-oss-dev package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp compile --max_old_space_size=4095
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs code-oss-dev
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls code-oss-dev
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/whosethenerd/Builds/vscode/npm-debug.log
$ cat npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'compile' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for precompile, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/share/npm/bin/node-gyp-bin:/home/whosethenerd/Builds/vscode/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/whosethenerd/Builds/vscode
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'gulp compile --max_old_space_size=4095' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec compile script
14 verbose stack Error<EMAIL_ADDRESS>compile: `gulp compile --max_old_space_size=4095`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at EventEmitter.emit (events.js:214:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at ChildProcess.emit (events.js:214:7)
14 verbose stack     at maybeClose (internal/child_process.js:925:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd /home/whosethenerd/Builds/vscode
17 error Linux 5.1.16-050116-generic
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "compile"
19 error node v8.10.0
20 error npm  v3.5.2
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>compile: `gulp compile --max_old_space_size=4095`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>compile script 'gulp compile --max_old_space_size=4095'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the code-oss-dev package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     gulp compile --max_old_space_size=4095
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs code-oss-dev
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls code-oss-dev
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
$ node -v
v10.16.0

Did you do a yarn install ?

yarn install does nothing.
$ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

Using npm however gets these messages:
$ npm install

><EMAIL_ADDRESS>preinstall /home/whosethenerd/Builds/vscode
> node build/npm/preinstall.js

ERROR: There are no scenarios; must have at least one.
child_process.js:669
    throw err;
    ^

Error: Command failed: yarn -v
ERROR: There are no scenarios; must have at least one.

    at checkExecSyncError (child_process.js:629:11)
    at Object.execSync (child_process.js:666:13)
    at Object.<anonymous> (/home/whosethenerd/Builds/vscode/build/npm/preinstall.js:16:24)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>preinstall: `node build/npm/preinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/whosethenerd/.npm/_logs/2019-07-08T12_39_13_126Z-debug.log
$ cat /home/whosethenerd/.npm/_logs/2019-07-08T12_39_13_126Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session 9f77aceb70e04583
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall<EMAIL_ADDRESS>7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/whosethenerd/Builds/vscode/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/whosethenerd/Builds/vscode
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'node build/npm/preinstall.js' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec preinstall script
14 timing stage:rollbackFailedOptional Completed in 1ms
15 timing stage:runTopLevelLifecycles Completed in 278ms
16 verbose stack Error<EMAIL_ADDRESS>preinstall: `node build/npm/preinstall.js`
16 verbose stack Exit status 1
16 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
16 verbose stack     at EventEmitter.emit (events.js:198:13)
16 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
16 verbose stack     at ChildProcess.emit (events.js:198:13)
16 verbose stack     at maybeClose (internal/child_process.js:982:16)
16 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
17 verbose pkgid<EMAIL_ADDRESS>18 verbose cwd /home/whosethenerd/Builds/vscode
19 verbose Linux 5.1.16-050116-generic
20 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
21 verbose node v10.16.0
22 verbose npm  v6.9.0
23 error code ELIFECYCLE
24 error errno 1
25 error<EMAIL_ADDRESS>preinstall: `node build/npm/preinstall.js`
25 error Exit status 1
26 error Failed at the<EMAIL_ADDRESS>preinstall script.
26 error This is probably not a problem with npm. There is likely additional logging output above.
27 verbose exit [ 1, true ]

This doesn't look like the right yarn :-). Have you tried the instructions here: https://yarnpkg.com/en/


Server and client parts are missing

What happened?
Server and client parts are missing
To get started, head over to the [/server/](https://github.com/danielmiessler/fabric/tree/main/server) directory and set up your own Fabric Mill with your own Patterns running! You can then use the [/client/standalone_client_examples](https://github.com/danielmiessler/fabric/tree/main/client/standalone_client_examples) to connect to it.

Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

Fixed the documentation. You just run ./setup and it'll tell you how to run them.


Question: Callhasher is removed from public interface

We used CallHasher to get the specialization for certain datatypes. Will this specialization now happen automatically?

Yes. The need for this was eliminated when the standard library added hash_one on the BuildHasher trait. As long as this method is invoked to perform the hashing, specialization is automatic.


cherrypick-2.0: sql: fix qualified index name resolution

PR: https://github.com/cockroachdb/cockroach/pull/24817
From release notes:

Added more ways to specify an index name for statements that require one (e.g., DROP INDEX, ALTER INDEX ... RENAME, etc.), improving PostgreSQL compatibility. [#24817][#24817] {% comment %}doc{% endcomment %}

Closing as this is for a very old, now-unsupported version of crdb.


Finetuning on small dimension images

Hello,
I am wondering which parameters would you think is best to change in one of the config files when inputing low res images (due to their small size, 480*360). Definitely the resize option needs to be changed but what else would be needed to improve accuracy?
Thank you

You may further try multi-scale training to improve accuracy. A template is here.

Thanks. I observe however that you have this:
dict(
        type='Resize',
        img_scale=[(1600, 400), (1600, 1400)],
        multiscale_mode='range',
        keep_ratio=True)

Why is (1600,400) there two times?
Also, later you have:
test_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(
        type='MultiScaleFlipAug',
        img_scale=(1333, 800),
        flip=False

Why is it in testing (1333,800)?

This is to make sure the images have the same size in testing to avoid randomness.
For the COCO dataset, a common practice is to make it has a size (1333, 800). You can set a value suitable for your own dataset.

Thanks for your reply.

My mistake, I missed the second element.
I had the impression that the size to which you train needs to be the same when testing.

The multi-scale setting works for both only detection or instance segmentation.


Update default notebook generateName function for create note dialog

What is this PR for?
The current default name for a notebook in create dialog is random, which is difficult to remember.
Instead of randomly generating names it's useful to have a prefix "Untitled Note " + seq number.
eg: Untitled Note 1, Untitled Note 2 etc.
What type of PR is it?
Improvement
How should this be tested?
Create note with default names populated in the field and check if the naming sequence is correct.
When there are no notes with "Untitled Note " the default name should be "Untitled Note 1", otherwise it should be max num + 1.
Screenshots
Before

agreed with @felixcheung, reset looks good to me.

@felixcheung @prabhjyotsingh
travis fails for
SPARK_VER="1.4.1" HADOOP_VER="2.3" PROFILE="-Pspark-1.4 -Phadoop-2.3 -Ppyspark"
and the message is
Your test run exceeded 120 minutes.  One possible solution is to split up your test run.
not related to this change

CI test looks fine.
Thanks for the improvement.
LGTM

merging this if there is no more discussion

A good refactor in the HTML also:
<button type="button" id="createNoteButton"
            class="btn btn-default"
            data-dismiss="modal" ng-click="notenamectrl.createNote()">
            Create Note
            Clone Note
</button>

instead of having 2 buttons with ng-show

@corneadoug thanks for the detailed review. updates in b6c1f31

It looks good to me. Merge if there're no more discussions.
Thanks @r-kamath for the nice improvement.


Simplify skinning to always expect VEC4 joint/weight accessors.

A few weeks ago I was implementing skinning in a desktop product, and looked to Cesium's implementation for some inspiration.  This is a story of what I unearthed.
In glTF 2.0, the JOINTS_0 and WEIGHTS_0 accessors are specified to be vertex attributes of type VEC4 only.  But in glTF 1.0, this was left unspecified.  Normal software that writes this stuff always wrote VEC4 data, but our intrepid intern at the time took the loose specification to mean that any type of accessor could appear there.
As a result, a complex block of JavaScript writes skinning GLSL vertex shader code for any conceivable layout of joint+weight data, including the possibility of using a per-vertex matrix of references to joint matricies.  There is no known sample or test data that does this, and indeed this code was not covered by unit tests for any case other than the VEC4 case alone.
In this PR, I've replaced all the crazy skinning-shader-writing code with a copy of the correct output for VEC4 which should always have been the only allowed case.  As a precaution I put in a sanity check to disable skinning on a mesh in case an invalid format is ever found in this field.
I tested this with the four old sample glTF 1.0 files, to confirm they all use VEC4, and yes, they do and they work correctly.  I also briefly tested with a glTF 2.0 file, but I'm not as concerned there since the spec is a little tighter.
I expect no change in behavior, this is just a simplification (and removal of untested, presumed-dead code for dealing with matrices of matrices).

Thanks for the pull request @emackey!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I'm seeing a crash for materials-common models like https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/1.0/BrainStem/glTF-MaterialsCommon.

Though to be fair, master doesn't animate it correctly.

Thanks, forgot to actually test materialsCommon.  The crash in this PR was an old variable skinMat that got renamed to skinMatrix during my hasty copy-and-paste.  The stiff joint behavior in master is due to an old set of semantics JOINT and WEIGHT which were renamed years ago to JOINTS_0 and WEIGHTS_0 for glTF 2.0.
Both should be fixed now.

Wait wait wait... just spotted something odd

OK I'm out of my element with the logDepth stuff, and it's unrelated to this PR.
But in master, I know that skinned models don't have proper depth buffering.  And in this vertex shader output, I can see that the czm_vertexLogDepth thingie is clearly being told about the mesh's rest (bind pose) position, without any influence from skinning, so that's a huge red flag.
But the code that generates that code is... interesting.  Can't quite follow the logic there yet.
Can anyone more familiar with logDepth advise?  Specifically:

Why is the argument to czm_vertexLogDepth re-calculating a value that was already calculated in the czm_depth_main() function?
What is the best way to make sure that all of czm_depth_main's calculations are properly reflected in the log depth system?

@emackey was that a workaround to fix https://github.com/CesiumGS/cesium/issues/6447? Based on the discussion there the workaround might not be needed, and model can go back to not messing with log depth.

Yes, looks like if the workaround is pulled, some glTF 2.0 models are fixed (like BearOnBalloons from #6416), but models with non-normalized bone weights are then broken (such as the glTF 1.0 version of CesiumMan).
I'd rather see the glTF 2.0 models work than the 1.0 models, so it may be time to pull that workaround.  That could be a separate PR though from this.

@emackey agreed, can't really justify keeping that workaround in just for some skinned 1.0 models.

All looks good here.


onExit parameter isn't called when MouseRegion widget is applied to a Scaffold on web

This works as expected on flutter desktop, but fails on web.
Expected:
As the mouse leaves the flutter Web Application, the container's width and height should be set to 0.

Actual:
Container width and height remains the same the moment the mouse leaves the scaffold area.

Reproduceable code:
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {

  double x = 0;
  double y = 0;

  void _updateLocation(PointerEvent details) {
    setState(() {
      x = details.position.dx;
      y = details.position.dy;
    });
  }

  void _onExit(PointerEvent details) {
    setState(() {
      x = 0;
      y = 0;
    });
  }
  @override
  Widget build(BuildContext context) {
    return MouseRegion(
      onHover: _updateLocation,
      onExit: _onExit,
      child: Scaffold(
        body: Container(
          decoration: BoxDecoration(
            color: Colors.black45,
            borderRadius: BorderRadius.circular(10.0),
          ),
          width: x,
          height: y,
          child: Text("The position at x is $x and the position at y is $y"),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.4, on LMDE 5 (elsie) 5.10.0-16-amd64, locale
    en_GB.UTF-8)
    • Flutter version 3.0.4 at /home/henryr/Dev/SDK/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (11 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /home/henryr/Android/Sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at:
      /home/henryr/Dev/SDK/AndroidStudio/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/henryr/Dev/SDK/AndroidStudio/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • LMDE 5 (elsie) 5.10.0-16-amd64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

Hi @whiskeyPeak, it would appear that this issue has been fixed in newer versions of flutter as I can reproduce this on the stable channel but not on the  beta or master channels.

videos

stable
beta/master

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-GB)
    • Flutter version 3.0.4 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (11 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.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: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/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.12+0-b1504.28-7817840)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

[✓] Flutter (Channel beta, 3.1.0-9.0.pre, on macOS 12.4 21F79 darwin-arm, locale en-GB)
    • Flutter version 3.1.0-9.0.pre at /Users/nexus/dev/sdks/flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f28e570c8c (4 weeks ago), 2022-06-14 13:39:33 -0500
    • Engine revision 74ee6b5afd
    • Dart version 2.18.0 (build 2.18.0-165.1.beta)
    • DevTools version 2.14.0

[✓] 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: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/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.12+0-b1504.28-7817840)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1611, on macOS 12.4 21F79 darwin-arm, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1611 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77fa6d0e2c (3 hours ago), 2022-07-12 00:40:05 -0400
    • Engine revision b2873842f1
    • Dart version 2.18.0 (build 2.18.0-271.0.dev)
    • DevTools version 2.15.0

[✓] 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: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/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.12+0-b1504.28-7817840)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

I'll be closing this issue as this does not reproduce on the beta and master channels. If you do experience this issue on either the beta or master branches, kindly leave a comment below with the output of flutter doctor -v and I will reopen this issue.
Thank you

Hi @whiskeyPeak, I tested once again on master and I can't seem to reproduce it. No matter how fast I moved it, the onExit callback was fired. Can you check the video below to see if I'm missing anything?
https://user-images.githubusercontent.com/88313112/178925035-43fd5738-1f3b-43df-91d7-3af9b1b108c5.mov

flutter doctor -v(master)
```
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1649, on macOS 12.4 21F79 darwin-arm, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1649 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bf1049741d (2 hours ago), 2022-07-14 00:42:06 -0400
    • Engine revision eb4e184fa1
    • Dart version 2.18.0 (build 2.18.0-283.0.dev)
    • DevTools version 2.15.0
[✓] 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: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F100
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• 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.12+0-b1504.28-7817840)
[✓] Android Studio (version 2021.2)
• Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/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.12+0-b1504.28-7817840)
[✓] VS Code (version 1.69.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.44.0
[✓] Connected device (4 available)
• M2007J20CG (mobile) • 5dd3be00                  • android-arm64  • Android 11 (API 30)
• Nexus (mobile)      • 00008020-001875E83A38002E • ios            • iOS 15.5 19F77
• macOS (desktop)     • macos                     • darwin-arm64   • macOS 12.4 21F79 darwin-arm
• Chrome (web)        • chrome                    • web-javascript • Google Chrome 103.0.5060.114
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
</details>

hmm interesting, I can definitely still reproduce this bug on master on my end. My guess is that it is some issue with the GTK embedder? Is there a way to pinpoint the commit that fixed the issue on Mac devices?

Hi @whiskeyPeak, I verified the issue on ubuntu on the latest master channel and I was to reproduce the issue. This is randomly reproducible on the master channel and reproduces every time on the latest stable 3.0.5. This issue is reproducible only on the web(both chrome and firefox with HTML and canvaskit) and does not reproduce on Linux Desktop app.
master
https://user-images.githubusercontent.com/31410839/179167966-dba00d95-1c73-43f1-b36c-842468b4d69c.mp4
stable
https://user-images.githubusercontent.com/31410839/179168463-049e9a4f-0d3b-4c70-9d81-e504258301c1.mp4

flutter doctor -v (Linux)
[✓] Flutter (Channel stable, 3.0.4, on Ubuntu 20.04.4 LTS 5.13.0-48-generic, locale en_GB.UTF-8)
    • Flutter version 3.0.4 at /home/mahesh/Development/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (5 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/mahesh/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-48-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.115

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

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1396, on Ubuntu 20.04.4 LTS 5.13.0-48-generic, locale en_GB.UTF-8)
    • Flutter version 3.1.0-0.0.pre.1396 on channel master at /home/mahesh/Development/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 23437d93ca (7 days ago), 2022-06-27 23:39:08 -0400
    • Engine revision 6301c5cb30
    • Dart version 2.18.0 (build 2.18.0-232.0.dev)
    • DevTools version 2.14.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/mahesh/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/mahesh/Downloads/android-studio-2<IP_ADDRESS>-linux/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.42.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-48-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.115

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

• No issues found!

looks related to https://github.com/flutter/flutter/issues/96197

cc @dkwingsmt


Fix enabled method when name ends with *

I noticed an issue and I'm pretty sure it's a bug. Here's a PR solving my issue and adding tests for this bug.
The issue: debug.enabled('foo:*') is always true, because name ends with *.
If anyone runs into this issue before it is fixed, there is a workaround: debug.enabled('foo:*,'), this does the trick.

Coverage increased (+1.5%) to 89.199% when pulling 523a18a010844135314341e58b71d5a5ae22c55d on vhf:fix-enabled-method into 5c7c61dc0df0db4eb5de25707d8cd1b9be1add4f on visionmedia:master.

Ping @Qix- :)


去除对moment库的依赖以及单元测试

Coverage increased (+6.6%) to 65.419% when pulling 5ccc5908465967ea7755d3b4a6e7c40c2c1c828d on edison-hm:master into 028b70ba625712cb711aa20f2118fa467785ecf6 on ZhonganTechENG:master.


add github workflow to run sanity tests

Depends on https://github.com/benthomasson/benthomasson-eda/pull/7

Notice that there is a specific action available to run ansible-test: https://github.com/marketplace/actions/ansible-test
But after several tries, I couldn't make it working because this repo doesn't follow the expected path for the collection.
I will try in the future more tests to figure out the right config for this action (or report a bug in that project) but for now, the current approach covers our needs.


Exception when accessing services that return non lowercase content types

Context
Exception raised when trying to get images from http://geo.weather.gc.ca/geomet/?styles=&format=image%2Fpng&height=1184&bbox=-2700367.33526,2309009.75044,195678.79241,5205055.87811&transparent=True&layers=GDPS.ETA_GZ&service=WMS&width=1184&request=GetMap&srs=EPSG%3A3857&version=1.1.1
Expected Behavior
Return the correct image (tested in a web browser and using QGIS)
Actual Behavior
Raises an exception no image returned from source WMS
Possible Fix
The problem is that the server is returning the content type in uppercase. The problem can be solved here making the check case insensitive

Seems they fixed it, content-type value is lowercase now. But checking case insensitive is still a good idea!


sagemaker endpoint region

Issue #, if available: fixes #1
Description of changes: Update the harcoded region for sagemaker endpoint to the region variable
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The hard-coding for region has been fixed in the latest release


Implied Relationship Stratergies

Just wondering whether there are plans to add functionality to handle the Implied Relationship Strategies?

Sorry for the late response - holidays came in between :-)
I wasn't aware of that feature in the Java SDK - looks neat, will try to add it, but probably will not be able to get at it before next month...

Sorry for the late response - holidays came in between :-)
I wasn't aware of that feature in the Java SDK - looks neat, will try to add it, but probably will not be able to get at it before next month...

Implemented in version 1.0.10


Modify wait time in waitForFirstATX

Motivation
Closes #3698 - see it for details.
Changes
Extends wait time when waiting for the first ATX.
Test Plan
systests (especially TestAddNodes)
DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

Bors try

bors try

bors try

bors try

bors try

bors merge


objc.internal_error: PyObjC: internal error in PyObjCClass_UnbuildClass at Modules/objc/class-builder.m:91: assertion failed: objc_class != nil

From what I can see from the backtrace the issue revolves around pynput, but the build process works fine. This issue only occurs when running the generated executable

python -m nuitka --version
0.8.3
Commercial: None
Python: 3.9.13 (main, May 24 2022, 21:28:31)
Flavor: Unknown
Executable: /Users/alvinkuruvilla/Dev/kmlog/env/bin/python3
OS: Darwin
Arch: x86_64

Installed nuitka  using Pip
Build Script
python3 -m nuitka --follow-imports src/tui.py

Backtrace:
Traceback (most recent call last):
  File "/Users/alvinkuruvilla/Dev/kmlog/src/tui.py", line 35, in <module>
    from tools.keylogger import Keylogger
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/src/tools/keylogger.py", line 19, in <module tools.keylogger>
    from pynput.keyboard import Listener
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/pynput/__init__.py", line 40, in <module pynput>
    from . import keyboard
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/pynput/keyboard/__init__.py", line 31, in <module pynput.keyboard>
    backend = backend(__name__)
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/pynput/_util/__init__.py", line 70, in backend
    return importlib.import_module('._' + module, package)
  File<EMAIL_ADDRESS>line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/pynput/keyboard/_darwin.py", line 29, in <module pynput.keyboard._darwin>
    import Quartz
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/Quartz/__init__.py", line 6, in <module Quartz>
    import AppKit
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/AppKit/__init__.py", line 10, in <module AppKit>
    import Foundation
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/Foundation/__init__.py", line 9, in <module Foundation>
    import CoreFoundation
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/CoreFoundation/__init__.py", line 13, in <module CoreFoundation>
    sys.modules["CoreFoundation"] = mod = objc.ObjCLazyModule(
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/objc/_lazyimport.py", line 151, in __init__
    self.__load_cftypes(metadict.get("cftypes"))
  File "/Users/alvinkuruvilla/Dev/kmlog/env/lib/python3.9/site-packages/objc/_lazyimport.py", line 510, in __load_cftypes
    v = objc.registerCFSignature(name, typestr, func())
objc.internal_error: PyObjC: internal error in PyObjCClass_UnbuildClass at Modules/objc/class-builder.m:91: assertion failed: objc_class != nil

This might be a duplicate, and has no reproducer anyway.


Create Storagecluster doesn't work correctly

Steps

create etcd cluster
create storagecluster in node1

Issue

creation doesn't finish , as only first step done,check disks in node ,no storagecluster created as shown

try to import image in created storagecluster, will return this errot

ivate key (default "12345678901234567890123456789012")  Global Flags:   -v, --verbose   log available information
cannot read nbd storage config for vdisk ubuntu-16043: invalid config: invalid StorageClusterConfig: Servers: non z
ero value required;

storagecluster payload
{
	"label": "st11",
	"servers": 2,
	"driveType": "ssd",
	"nodes": [
		"248a07e76f50"
	],
	"clusterType": "block"

}

Software version
e617c26eb8e53a4c03922fc812103af52506d4a4

the problem is that there's no ssd disks on that node and storagecluster didn't install correctly. An error should be raised in that case not fail silently


More testing

We could do with a few more tests in the backend. There's some bits that are somewhat poorly tested. It'd be great to have 100% coverage on e.g. the auth code. (Password based login is not tested at all!)

It would be good if you could specify anywhere else you see that's missing. You mentioned auth, but any others? Or should we just use this thread to collect as we find untested things?

https://develop--bcov.preview.couchershq.org

I've compiled a list of stuff that needs added tests from the coverage report. In addition to these, there's a whole bunch of error checking branches that I don't think need testing that badly, but I mean, it wouldn't hurt if someone is bored :P
High priority
src/couchers/crypto.py: everything
src/couchers/interceptors.py: auth interceptors, other stuff is lower priority
src/couchers/servicers/auth.py: everything
src/couchers/utils.py: everything

Files that seem to contain fully untested RPCs
src/couchers/servicers/communities.py: ListPlaces, ListGuides, ListEvents
src/couchers/servicers/groups.py: ListPlaces, ListGuides, ListEvents
src/couchers/servicers/conversations.py: GetUpdates
src/couchers/servicers/gis.py: currently nothing is tested
src/couchers/servicers/search.py: UserSearch needs more testing
src/couchers/servicers/requests.py: MarkLastSeenHostRequest?
src/couchers/tasks.py: send_password_changed_email?

I think gis.py doesn't have tests because I knew it was a temporary solution, needs a rewrite as per #897.

Friend requests are also completely untested

If no one has already worked on this I'd like to contribute. I could probably write tests for the high priority section detailed above. Let me know if there's anything I should be aware of before starting.

@ShmuelTreiger was going to work on this after some other issues, but I think it's fine for you to start working on this as I don't think Sam started yet. The tests are also quite decoupled so I'm sure there's also work for both of you if you wish to share!

By all means. It's on my todo list, but feel free!

Another area for improved testing would be ensuring that any api request which has a user_id:

filters for existing users (e.g: https://github.com/Couchers-org/couchers/blob/a0c66b6e058d6e1d1656a9a1cea5e4b3149ff708/app/backend/src/couchers/servicers/api.py#L433)

tests the api with a fake user (e.g. https://github.com/Couchers-org/couchers/blob/a0c66b6e058d6e1d1656a9a1cea5e4b3149ff708/app/backend/src/tests/test_requests.py#L36-L43)

Just a heads up to anyone reading this in the future, session.query(User).filter(User.id == context.user_id).one() is guaranteed by the auth interceptor to return a valid user and we don't need to check for existence of context.user_id (in "secure" servicers).

src/couchers/servicers/search.py: UserSearch needs more testing

Has got its own bug now: https://github.com/Couchers-org/couchers/issues/1465

We're at 96%, which is pretty good.


Login fails with "failed to get keyring" on WSL

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
AzCopy 10.0.5-Preview
Which platform are you using? (ex: Windows, Mac, Linux)
Ubuntu 18.04 on Windows Subsystem for Linux, Windows 10 build 18312
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy login
What problem was encountered?
After authenticating through https://microsoft.com/devicelogin with the authentication code (which shows success), login fails with error
 Error: failed to perform login command, failed to get keyring during saving token, function not implemented

How can we reproduce the problem in the simplest way?

Install Ubuntu from Windows store
Open it, download azcopy from https://aka.ms/downloadazcopy-v10-linux and unpack
Run azcopy login, go through the prompts

Have you found a mitigation/solution?
No, tried installing a keyring through sudo apt install gnome-keyring but that did not solve the problem.

I ran into a similar azcopy issue in a Docker Container.
Which version of the AzCopy was used?  azcopy v10.2.1
Which platform are you using? RHEL7.x and Docker Container
What command did you run? azcopy login --service-principal --certificate-path
What problem was encountered?
Failed to perform login command:
failed to get keyring during saving token, operation not permitted
Have you found a mitigation/solution?
The container was running with "seccomp".  The quickest resolution is to run the image with "seccomp" disabled.  See link for resolution:  https://docs.docker.com/engine/security/seccomp/
I also needed to "yum install keyutils".
I am able to "azcopy login" with a service principal that has a public certificate in a docker container.

Thanks for sharing that info @sac8m!


parser: create integer type field with specified length should have warings

What problem does this PR solve?
before
mysql> create table t(a bigint(2));
Query OK, 0 rows affected (0.01 sec)

after
mysql> create table t(a bigint(2));
Query OK, 0 rows affected, 1 warning (0.01 sec)

mysql> show warnings;
+---------+------+------------------------------------------------------------------------------+
| Level   | Code | Message                                                                      |
+---------+------+------------------------------------------------------------------------------+
| Warning | 1681 | Integer display width is deprecated and will be removed in a future release. |
+---------+------+------------------------------------------------------------------------------+
1 row in set (0.00 sec)

What is changed and how it works?
This is PR is part of the functionality above, it need TiDB PR to check the same warning and rewrite the error code and message.
Check List
Tests

Integration test

Cause ast.UnionStmt is removed in newer parser, but TiDB still referred the old version parser. That's why there is integation error.


[#137364635] Fix pipelines.sh when SKIP_COMMIT_VERIFICATION unset.

What
This was erroring when this variable isn't set. It's only typically set
in dev environments.
On line 47 of this script we're using ${SKIP_COMMIT_VERIFICATION:-}, but
this hadn't been repeated in the generate_vars_file block, leading to
the error:
.../paas-bootstrap/concourse/scripts/pipelines.sh:
line 11: SKIP_COMMIT_VERIFICATION: unbound variable

How to review

Delete the $(eval export SKIP_COMMIT_VERIFICATION=true) line from dev target in the Makefile locally.
Create a bootstrap concourse (make dev deployer-concourse bootstrap)
Verify that it doesn't error when pushing the pipelines to this concourse.

Who can review
Not me.

LGTM and works in my dev env


Define Table Partitions Doc Update - remove enum limitation

Re: Define Table Partitions

Partitions cannot be created on columns of type ENUM. See tracking issue.

The tracking issue has been recently closed 🎆 and the limitation will not be there in 21.1.
cc @ajwerner

Fixed by https://github.com/cockroachdb/docs/pull/10164.

[ ]


Fixed layout issue on compare page in default theme (RTL) #4092

BUGS:
Link: https://github.com/bagisto/bagisto/issues/4092

done


ISPN-8478 Reduce build memory usage

https://issues.jboss.org/browse/ISPN-8478
Since I first opened the PR, the ANSI escape codes in test suite output which were causing the OSGi tests OOME have been reverted.
So I've changed the target of the PR to get the build running on the new agents that only have 4GB of RAM.

@danberindei In my env it appears the the Maven Launcher process itself crashed; the surefire fork exited normally, but the build exited with
[ERROR] Java heap space -> [Help 1].
I got no dump since only the fork has the dump flags, I am re-running adding them to MAVEN_OPTS.
I got 32GB of ram, in theory the lancher should have about 8Gb for itself...

@danberindei  In my env the maven launcher always crashes in the JCache TCK runner module, it allocated > 6Gb ram

After looking at the dump (of the maven launcher), there's a Thread object with lots of crap in with:

Here's where it explodes:
main <--- OutOfMemoryError happened in this thread State: RUNNABLE tid: 1
  java.lang.OutOfMemoryError.<init>() OutOfMemoryError.java:48
  java.util.Arrays.copyOf(char[], int) Arrays.java:3332
  java.lang.AbstractStringBuilder.ensureCapacityInternal(int) AbstractStringBuilder.java:124
  java.lang.AbstractStringBuilder.append(String) AbstractStringBuilder.java:448
  java.lang.StringBuilder.append(String) StringBuilder.java:136
   org.apache.maven.plugin.surefire.booterclient.output.MultipleFailureException.getLocalizedMessage() MultipleFailureException.java:52
  org.apache.maven.plugin.surefire.booterclient.ForkStarter$CloseableCloser.run() ForkStarter.java:200
  org.apache.maven.surefire.shade.org.apache.maven.shared.utils.cli.CommandLineUtils$1.call() CommandLineUtils.java:282
  org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(Object, KeyValueSource, ForkClient, SurefireProperties, int, AbstractForkInputStream, boolean) ForkStarter.java:626
  org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(Object, KeyValueSource, ForkClient, SurefireProperties, AbstractForkInputStream, boolean) ForkStarter.java:533
  org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(SurefireProperties, Map) ForkStarter.java:279

@danberindei  You mentioned we are messing up with surefire fork I/O, should we stop doing that maybe?  :)

@gustavonalle please revert Tristan's colourizing patch, https://github.com/infinispan/infinispan/pull/5520, and try again.

Reverting #5520 fixes the leak

@danberindei Could you rebase?

Updated!

Was hoping for an improvement in the build stability, but the build crash the same :)

Re-triggering it

@gustavonalle The timeout in as-lucene-directory is unrelated, it looks like an issue with the H2 driver and/or WildFly.

Merged, thanks @danberindei !

@gustavonalle Looks like 700MB of heap is not always enough for the infinispan-wildfly-modules build after all:
http://ci.infinispan.org/job/Infinispan/job/PR-5580/1/console
I pushed a commit to make the heap 800MB directly to master.


remove edit from service path

Describe the bug
The API does not support the edit of service paths, so the ui should not as well.
The rational for not supporting the edit it's very important:

a servicePath is attached to data (and in a different api), so changing it will not affect the apis where the data are stored.
in practise this means that if change a path from /a to /b:

if i try to access data in /a, i will get a reject policy wise (/a does not exist anymore)
if i try to access data in /b, i will get a not found (data are still with service path /b)

I don't think that the edit on the services is active, the edit icon is related to the creation on a sub-service if clicked i will open the form to the children creation (explained on the tooltip).
what i can do is to change the icon from the edit one to something more clear

then the icon should be a plus not a pencil

also, it's unclear to me how to add a subpath to level 2 subpath in the current view

also, it's unclear to me how to add a subpath to level 2 subpath in the current view

so is possibile to create path/subpath/subpath ?.
in that case not a big issue i have already got an idea

levels are unlimited


Update to build with CUDA 11.7.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Rebuilding to allow __cuda pinning to match the recently released CUDA 11.7. I also added myself to the recipe maintainers, if that's alright with you @prashantkhoje!
cc: @quasiben @gmarkall

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

We'd talked before about removing the upper bound on the __cuda runtime constraint here:
https://github.com/conda-forge/ptxcompiler-feedstock/blob/a2ff3370ed836c30f4e65e6a7677365262b024ca/recipe/meta.yaml#L36
Does that need doing for this PR too?

If builds with 11.x can run in any 11.x environment, i agree we can remove upper bound.
I wonder why the build failed to run for ppc64le python 3.9.

We'd talked before about removing the upper bound on the __cuda runtime constraint here:
https://github.com/conda-forge/ptxcompiler-feedstock/blob/a2ff3370ed836c30f4e65e6a7677365262b024ca/recipe/meta.yaml#L36
Does that need doing for this PR too?

I wasn't 100% sure if you wanted to do that or not. I will remove it.

Thank you for the contribution.

Thanks Prashant! 🙏

Yes, thank you!


Wire EIP-2935 into evmtool

PR description
Cover one missed case where the BlockHashLookup changes in the EIP-2935
handling, ensuring the state-test tool gets proper prague handling.
Signed-off-by: Danno Ferrin<EMAIL_ADDRESS>Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[ ] unit tests: ./gradlew build
[ ] acceptance tests: ./gradlew acceptanceTest
[ ] integration tests: ./gradlew integrationTest
[ ] reference tests: ./gradlew ethereum:referenceTests:referenceTests

fixes https://github.com/holiman/goevmlab/issues/146

there's a test failure -

Task :ethereum:evmtool:test

EvmToolSpecTests > testBySpec(String, JsonNode, JsonNode, JsonNode) > t8n/shanghai-blockhash.json FAILED
org.opentest4j.AssertionFailedError at EvmToolSpecTests.java:168


Big Blue Button integration join calls without leaving Zulip app

Hi,
the bbb integration works fine for us but we have the problem:
If users use the zulip app and have a browser that is deleting all its coockies every restart, you need to login every time to zulip with your browser if you want to join a call from within the app in case your browser was freshly restarted.
It would be realy nice to be able to join calls from the app directly without an additional login in the browser.
This was working fine with jitsi-meet but is not working anymore with big blue button.
The user is always redirected to the zulip login page, even if the meeting is already started.

The problem is: The BigBlueButton api requires us to set the users name. We do only have the name after login, as the link is a simple link in a message you click.
But I agree that this is a bit annoying, but as far as I know this would have to somehow get implemented in Zulip Desktop to not open the link in a Browser directly, but open the internal link with credentials.

Thanks for your answer.
This problem is a little showstopper for us to get things working properly with bbb in combination with Zulip, as it is requred for some of our users, to refresh the browser cache and stuff with every new session/restart.
As this is then for my understanding something new like a feature request:
Do we need to add labels and or a complete new issue for this?

@thomas955 can you explain why you're using a browser that deletes all its cookies on every new tab? I'm not aware of a motivation for that and it seems like that configuration is the root cause of your problem.

Sry, i missed your answer.
We have some users, deleting the cache once restarting browser or device as they want / believe to do it.
This might be to be honest some user specific behaviour, but from my perspective, is also valid.
And yes, this is / was the root cause of the problem as after restarts this problem occures.
Sorry again for the late response, as I somehow missed yours.


Fix typo for endpoint configuration

While working through the guide I discovered a small typo that took me some time to figure out.
I'm just learning things, but I guess this is due to version 2.0?
Maybe this could prevent others from having the same headache as I had, figuring it out. :)

Obsolete (see 2675673).


Crash on crop growth

Server crashes on crop growth when during sleeping.
May be due to sleep mod installed on server.
crash-2024-11-08_11.35.27-server.txt

probably sleep mod incompatability yeah. try without the sleep mod and see then.

Removing the Steve's Realistic Sleep mod seems to have solved the crash. Shame though, I like the mod because it ticks through the night instead of skipping. Maybe consider future compatability or inclusion of similar mechanics?
Loving what you have so far. Looking forward to being able to use in a mod pack in future once you reach a release state.

yeah ok. good it was solved. well i cant make it compatible no idea why its trying to increase age on crops this way (looking at the error). well glad its solved anyway :)


Upgrade to Next.js 6

Based on https://twitter.com/probablyup/status/1003857781894631424.
It was actually pretty easy, you weren't using next/babel, meaning Next.js's default preset wasn't used.
The other issue was that preval doesn't support Babel 7 yet, but this was fixable by using DefinePlugin.

Also add .next to the gitignore, since it doesn't have to be committed.

And moved pages/App.js and pages/Home.js, because they're not pages they shouldn't be inside the pages directory. If you keep them in pages they'll be generated as page bundles inside .next and will mess with the common modules calculation.

@timneutkens If you're using Node 10 locally, I think Yarn locally needs to be >= 1.7.0 to be compatible.

Thanks Tim!


Issues with user store migration stored procedures

Describe the issue:
The stored procedures in the document about userstore migration need to be reviewed. For example, the Postgres stored procedure in steps 3-4 are not having the query to add the new column.
Also, the content is not much clear in some places. For example, it asks to disable the UserID migrator but talks about secondary user stores only in the latter part. Also, steps 2 and 3 can be removed it seems.
Additionally, it is simple if this can be added to the migration client itself.
[1] https://is.docs.wso2.com/en/latest/setup/migrating-userstore-managers/

Well, it was observed that even the UserID migratory is disabled, the column is added with the schema migration step [1].
An additional concern is that this procedure can not be run before the migration for all the versions. For example, IS 5.2.0 does not have IDN_CLAIM tables. This needs to be clarified whether this can be run after the migration.
[1] https://github.com/wso2-extensions/identity-migration-resources/blob/master/components/org.wso2.is.migration/migration-resources/5.10.0/dbscripts/step2/um/postgresql.sql

There is another set of stored procedures [1] to achieve the same. It is great to consider both of the sets and use the simpler one which executes faster and addresses all the scenarios.
[1] https://github.com/wso2-extensions/identity-migration-resources/tree/master/components/org.wso2.is.migration/migration-resources/5.10.0/stored-procedures/user_id_migration

Another issue; First step is only if you had SCIM disabled. But step 2 onwards says if you had it enabled. Then what about populating SCIM ids into attributes table if you had it disabled in the previous version.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


make error: rosettadrone/app/src/main/cpp/dji_video_jni.c:247: error: undefined reference to 'av_parser_close'

Dear rosetta drone friends,
We got the error at Run Build->Make Project after we created keys.xml and inserted our api key.
rosettadrone/app/src/main/cpp/dji_video_jni.c:247: error: undefined reference to 'av_parser_close'
same errors happens in 'av_free' and 'av_free_packet'
Seems like it is related to link error of ffmpeg library, but I do see av_parser_close in cpp/include/libavcodec/avcodec.h and also find cpp/lib/x86/libavcodec.a.
Maybe we are missing something, hope to hear your expertise.
Best,
-- Luke
ps: Our OS is Ubuntu 18.04 LTE || Android Studio 4.1  || Gradle version 6.5 || Java 15 || rosettadrone of the master branch.

Problem solved. Root cause: rossettadrone contains large packages (>600MB), and git can not get all of them unless "Git Large File Storage (LFS)" is installed.
For friends whom meet the same issue with us, below is the solution:
1. install git lfs via https://github.com/git-lfs/git-lfs/wiki/Installation
2. GIT_SSL_NO_VERIFY=1 git clone https://github.com/The1only/rosettadrone.git
Before building, please check if your rosettadrone is downloaded completely, the folder size should be more than 600MB
reference: diux-dev/rosettadrone/issues/24
Hope it could help newbie as us.


CORE-5340: Remove HTTP prefix from requests and responses

To keep OpenAPI consistent with the rest of the types we define.

LGTM. Is there still some bug around the swagger generation where the param objects cannot have a name which matches the rest API method names? I think that was one of the reasons people started adding HTTP as a prefix, to avoid that.

Yeap - this is correct, there is a Jira to that effect: https://r3-cev.atlassian.net/browse/CORE-5397


Fix tests by fixing import paths

@kacole2 This will fix the problems you saw from #15
I'm guessing this changed somewhere along the way, but strfmt and the http transport come from go-openapi, not go-swagger.  I wonder if they moved it between packages or something?  When I first started rackhdcli, I hit this same thing. Sorry I didn't catch this was still in your package.

thanks @codenrhoden will test this in a bit. i have no idea why it's not working as before. even go-swagger's site shows the original. https://goswagger.io/generate/client/

LGTM. Tests passed.


Fix setup-sql-server GitHub Windows Larger Runner incompatibility (OSOE-796)

When using setup-sql-server under Linux or under Windows but on either a GitHub-hosted Standard Runner or a GitRunners one, it runs to completion without issues. However, executing it under a GitHub-hosted Windows Larger Runner produces this output, failing the workflow:
Chocolatey v2.2.2
Installing the following packages:
sql-server-2022
By installing, you accept licenses for the packages.

chocolatey-dotnetfx.extension v1.0.1 [Approved]
chocolatey-dotnetfx.extension package files install completed. Performing other installation steps.
 Installed/updated chocolatey-dotnetfx extensions.
 The install of chocolatey-dotnetfx.extension was successful.
  Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx'

netfx-4.7.2 v4.7.2 [Approved]
netfx-4.7.2 package files install completed. Performing other installation steps.
Microsoft .NET Framework 4.7.2 or later is already installed.
 The install of netfx-4.7.2 was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.

sql-server-2022 v16.0.1000.6 [Approved]
sql-server-2022 package files install completed. Performing other installation steps.
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A system reboot is pending. You must restart Windows first before installing SQL Server
The install of sql-server-2022 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\sql-server-2022\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey installed 2/3 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - sql-server-2022 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\sql-server-2022\tools\chocolateyinstall.ps1'.
 See log for details.

See e.g. this run.
This might be an issue with Chocolatey or something that we can fix from our script.
Opened https://github.com/actions/runner-images/issues/9277 about this but the maintainers closed it.
Once this is fixed, use a Larger Runner in the build-and-test-larger-runners job's config in OSOCE.
Jira issue

You just love it when maintainers don't read the bug reports, just close them.

I assume this is the same as I get locally

Well sadly after testing even sql-server-express is failing the same way. Investigating further.

I got a working setup-sql-server job run by using sql-server-express I am doing some finishing touches to make the Tests able to connect to it. But the problematic job is not failing anymore.


Material 3 design user avatar and ingredient groups

@Leptopoda, thanks for the new material 3 design. While testing out the new app, I noticed that the user avatar is no longer a perfect circle but is now an oval:

It looks like there is a missing Center() around the UserImage(). I'm happy to submit a PR to fix that, but I wasn't sure if you were done working on that part.
Also, I noticed a change in how ingredient groups are displayed in the new design. Now the group names are centered instead of left aligned. Was that intentional? If not, I can submit a PR to restore the previous layout. For reference, here are screenshots from v0.7.9 vs the new design.
v0.7.9:

current version:

I noticed that the user avatar is no longer a perfect circle but is now an oval:

Yeah I also noticed this and forgot to fix it.

Now the group names are centered instead of left aligned. Was that intentional?

I think aligned to the start should be better.
PRs as always welcome :)


link is dead

http://gosexy.org/db

Is "gosexy.org" supposed to be owned by the Go project?

Thanks for your issue report. It's very hard to know how to address it, or even if this is something that can be addressed without more context. Can you please explain where you found that link?

On 12 Aug 2017, at 07:43, richard bucker<EMAIL_ADDRESS>wrote:
http://gosexy.org/db
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry. It's a link in the wiki.
On Aug 11, 2017 5:46 PM, "Caleb Spare"<EMAIL_ADDRESS>wrote:

Is "gosexy.org" supposed to be owned by the Go project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21408#issuecomment-321926224, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA13o2cqVdzuCUlqNQjlJ9FZaf0NCwKjks5sXMu3gaJpZM4O1KpJ
.

What is the link to the wiki page?

On 12 Aug 2017, at 08:14, richard bucker<EMAIL_ADDRESS>wrote:
Sorry. It's a link in the wiki.
On Aug 11, 2017 5:46 PM, "Caleb Spare"<EMAIL_ADDRESS>wrote:

Is "gosexy.org" supposed to be owned by the Go project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21408#issuecomment-321926224, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA13o2cqVdzuCUlqNQjlJ9FZaf0NCwKjks5sXMu3gaJpZM4O1KpJ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/golang/go/wiki/Projects#multiple-wrappers

Deleted

thanks.  Sorry for the poor quality of the report.

That's ok. Im 80% sure that anyone can edit the wiki, so you can probably
do this gardening yourself in the future.
On Sat, 12 Aug 2017, 10:34 richard bucker<EMAIL_ADDRESS>wrote:

thanks. Sorry for the poor quality of the report.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21408#issuecomment-321945519, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA5EzR61dXmUffwdEs1ZmLgXBQ1Zxks5sXPMDgaJpZM4O1KpJ
.


Only require refills once

Refills is added to the Gemfile after install via the
StylesheetBaseGenerator. If it is also present in the Gemfile
template then bundler will issue a warning that refills is required
twice.
Changes:

Remove refills from Gemfile template

Looks good to merge! Thank you, and happy 4th of July.


fix typo in transform vertices shader

It seems that there is a typo in the mesh-TransformVertices.hlsl file.
line 33: it interpolates between normal and transformed tangent.
PS:
I'm trying to only commit this change, but it seems that it includes all the commits of my fork?
Sorry if I messed up the commits in this pull request.

Okay. It only listed on changed file which looked fine to me.


Question about Float

Hey Rob,
Didn't you say that one of the DHTs gave a .1 number but you had float disable to save space or something like that? I don't know if that made any sense. Basically I wanted to know if the library can (or has any plans to) give float values back (or make that an option like another flag?) My temp is borderline 23-24°C so it bounces between these two like crazy on my graphs so I was checking to see if decimals where an option as a reply from the sensors.

HI, long time no see ,
Yeah, played a lot with different ideas to make things easier for the users. Storing the values internally as an integer is one of them. It saves 2 bytes RAM for humidity , 2 bytes RAM for temperature and 2x3 bytes for the offsets. It adds four multiplications to be able to return floats, but it would remove some float math in the read function so that compensates.
Eight boolean flags can be stuffed into one byte so that could save a few bytes but the lib only has one boolean flag left.  So in the end 10 bytes of RAM would be saved. Did not spend time implementing it yet.

My temp is borderline 23-24°C so it bounces between these two like crazy on my graphs so I was checking to see if decimals where an option as a reply from the sensors.

What you could do is add a low pass filter. I give an example in simplified code
float lowPassTemp;
const float alphs = 1.0 / 3;  // any value between 0.001 and 0.999 will do.

setup()
{
  lowPassTemp = sensor.getTemperature();
}

loop()
{
  float currentTemp = sensor.getTemperature();
  lowPassTemp =  lowPassTemp + (currentTemp - lowPassTemp ) * alpha;  // << the trick
  Serial.print(currentTemp, 2);
  Serial.print("\t");
  Serial.println(lowPassTemp, 2);
}

The idea is that you do not replace the old temperature with the new measurement but make a step in between those two values. How much in between depends on the value of alpha.  If it has the value 0 the temperature will not change at all, if it has the value 1 it will replace the old temperature completely.  Another way to write it is more clear for user (uses more math)
lowPassTemp =  (1 - alpha) * lowPassTemp + alpha * currentTemp;

Please note that measurements will be smoother but the system will also react a bit slower to variations.
In a project I made it user configurable.
alpha = 0.01 + analogRead(A0) / 1024.0;

so the customer could tune it with a potentiometer.
In the above alpha is a constant but you can make alpha a variable that depends on other parameters. E.g. if delta T is large make alpha also larger to follow large changes faster but stay smooth when delta T is small. Or you can make alpha depends on light conditions or UV radiation, you name it. Anything can make sense.
Enough said, please give it a try.

Added the integer storage as issue #26 to investigate

hahahahahahahaha oh my gosh, Rob how do you even have the patience to write these out? 🤣
I was just wanting replies from ready(); in float so I could do decimals lol.
I don't know if I explained already the DHT sensors as internal temperature and humidity sensor for my project, I don't even know if we need it to go out to a decimal point because all it does is make sure that they are not overheating because they will be mounted on poles in the direct sun all summer and we need to make sure that the sun is not cooking our components or our batteries because we don't want explosions LOL. I guess this was just more of a thing that was bugging me then it is an actual problem because it's my house temperature that is fluctuating between 23 and 24 but outside it will be way bigger fluctuations in that so it will not matter on my graph...
I do think that there should be an option for float because people buy the sensors such as the dht22 for accuracy and if you're eliminating an entire integer of accuracy (assuming that it is 0.9 and it rounds down naturally, and they're not using the thing you posted above) then that might frustrate some people since they are not able to "fully utilize the hardware that they purchased because the library does not allow it". Even if it does take up a little more space I think there will be some people that appreciate the capability of being able to have the decimal place, especially if someone is trying to do very tight temperature control or humidity control. Whether to have it as a flag that is optional or not is a different story, but I guess it's totally up to your decision as is everything in this Library LOL

Oh, I understand what your example does. It basically artificially makes the float after receiving the reading. (just so you know you have a typo that says alphs instead of alpha where you declare it)
Just as a side question, I have never asked this of a GitHub maker but are these libraries free to use if you were to build a product and sell it to people or am I going to have a 6 ft 7 Rob kicking down my front door demand a cut of the profits? I am genuinely curious as I am very close to finishing these and once they are finished they will be available for sale and I don't want to get in any kind of trouble lol

NEVER NEVER NEVER place the sensors in direct sun light.

it will give a systematic too high reading for temperature
(think humidity might be lower, not sure on that one)
it might damage in the end

Outside temperature must always be measured in a well ventilated shade
-> https://www.youtube.com/watch?v=3uBv7A7aqXE
might be overkill but you get the idea

No, you got it all wrong lol they will be inside of a box and the Box will be in the Sun. I'm hoping not all the time but I may not have control over that's why I want to use them to test how hot it gets inside the box so I need to know how bad I need to cover it with shade or ventilation
Yeah I discovered not to put them in the direct sun I put a dht11 in direct sunlight and it gave me 128 degrees °F which isn't even in the range of the sensor

With the integer trick I store not whole degrees but tenth of degrees.
e.g. when temp is 31.4 degrees I will store 314 in an integer and multiply with 0.1
As the temperature goes from -40 .. +80 I just make that -400 .. + 800
HUmidity from 0 - 100.0% ==> 0 .. 1000

Just as a side question, I have never asked this of a GitHub maker but are these libraries free to use if you were to build a product and sell it to people or am I going to have a 6 ft 7 Rob kicking down my front door demand a cut of the profits? I am genuinely curious as I am very close to finishing these and once they are finished they will be available for sale and I don't want to get in any kind of trouble lol

Depends on the license attached, when you sell it you must follow those.
Mine are MIT licensed, which means you are free to use it with no warranty or liabilities.
You may not sell it as your own work and you must provide reference to the original
copyright and license note.
Github shows summary if you click on the license file.

He is an image of the box it will be stored in, It is fully waterproof (if that's even a real thing) so there is no airflow... So I am testing with a dht22 to see how hot it gets and how different things affect it such as shade/vent holes (this shows a DHT11 top leftish but it has since been changed out for a dht22 after 3.0 release 🙂 )

I do not know what other libraries you use, but legally you must check them all.
That is why I write my own most of the time.
But hey if I saved you a lot of money, you can always donate :)

But hey if I saved you a lot of money, you can always donate :)

haha, I was planning on it once i got some revenue flowing, for all the help you have been. (Remember I asked about buying you coffee lol)

He is an image of the box it will be stored in, It is fully waterproof (if that's even a real thing) so there is no airflow... So I am testing with a dht22 to see how hot it gets and how different things affect it such as shade/vent holes (this shows a DHT11 top leftish but it has since been changed out for a dht22 after 3.0 release 🙂 ) also most of the hardware is different now...

Looks good, IP67 watertight ?
That means it will not measure outside humidity, just the one in the box.
A tricky thing might be that if water leaks in (after service or whatever) it will never ever get out.

What does the project do? (no need to answer if you do not want to)

Essentially, distance sensing. Yes, I understand that it won't measure the humidity outside the box, that's why I put it inside the Box I just need to make sure that the inside of the box stays dry enough that the electronics don't short out and cooling enough that they don't melt LOL. It can stay charged for about 8 days without solar power and charge within one day so I feel that the solar efficiency is decent.
Basically the DHT just functions as a troubleshooter. I can look at the history graph and if I see a 100% spike in humidity right before it died it probably got wet or a 600-degree spike in temperature it probably vaporized

Yeah I discovered not to put them in the direct sun I put a dht11 in direct sunlight and it gave me 128 degrees °F which isn't even in the range of the sensor

Nice test, never did that ...
The box is gray so it will not get that hot but you could spray it with a waterproof white paint to make it even cooler.

Built this beauty last night and I'm planning on my first full test outdoors with all the new hardware within the next 2-3 days. I've done plenty of outdoor tests before but never with all this new hardware. I measure my External temp with a DS18B20 probe that has a solar shield (the white thing you can barely see in the bottom, black in the one above)

Well, I'm happy to report that mine has been running for 7 days with the dht22 and esp32 and not an error wrong reading! Fantastic work with that fix 👍

Good to hear! I did not encounter other problems too.

Is it fixed?
Suppose so, the workaround behaves very robust as in 7 days we would expect ~14 crashes and none happened. So simpified math says chance = 1 in  2^14 (it happens or not) = 1 in 16000 so 3 more days to come at the level of 1 in a million.
Is it understood?
Definitely not 100%, but we are pretty close to the core issue. it is a timing problem during wake up of the sensor in combination with ESP32 happening at predictable intervals.
Is further investigation needed?
Yes, I would like to (1) measure the deviation in the timing  (2) understand if the root cause comes from the sensor or in the ESP32.  This 2nd point could prevent similar issues with other time critical sensors in the future. But for now my priorities are on refactoring my other libraries and open issues.

Thanks again for the feedback!
PS,
Can we close this issue?

I will let you know if any problems arise, thank you for the work you did in fixing it. I will close this now since you have provided a solution to my OG question.


Selectabletext widget on web is cutted on half

Steps to Reproduce

It works in android emulator normal, but on web not so well.

Logs
[√] Flutter (Channel master, v1.10.3-pre.66, on Microsoft Windows [Version 10.0.18362.356], locale ru-RU)
    • Flutter version 1.10.3-pre.66 at C:\src\flutter
    • Framework revision d03aecab58 (12 hours ago), 2019-09-16 16:04:55 -0700
    • Engine revision 63873d9f42
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 7799f424f4)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\ivang\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-Q, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

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

[√] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.7
    • Flutter plugin version 39.0.5
    • Dart plugin version 192.6603.23

[√] VS Code (version 1.37.1)
    • VS Code at C:\Users\ivang\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.3.0

[√] Connected device (3 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • Chrome                    • chrome        • web-javascript • Google Chrome 76.0.3809.132
    • Server                    • web           • web-javascript • Flutter Tools

• No issues found!

@ivangn03 Please provide  a small self-contained app that demonstrates the problem. You can include small examples inline if they're enclosed by backticks, or just provide a public link to a github "gist" - https://gist.github.com/.

I have the same problem.

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: SelectableText(
          widget.title,
        ),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            SelectableText(
              'You have pushed the button this many times:',
            ),
            SelectableText(
              '$_counter',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.10.5, on Linux, locale en_US.UTF-8)
    • Flutter version 1.10.5 at /home/tomek/development/flutter
    • Framework revision 3cf88fed6d (2 days ago), 2019-09-18 23:09:41 -0400
    • Engine revision 33ad6757e8
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 cb80ea7ba9)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/tomek/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.38.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.4.1

[✓] Connected device (3 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 10
      (API 29) (emulator)
    • Chrome                    • chrome        • web-javascript • Google Chrome
      77.0.3865.90
    • Server                    • web           • web-javascript • Flutter Tools

• No issues found!

I got the same issue! I used the SelectableText Package from pub.dev and it worked

Still an issue on v1.10.13-pre.12


VRAM Requirements for Inference

Dear Author,
First of all, thank you for your excellent work. I encountered an Out of Memory (OOM) error while doing inference using the provided demo script. So I'm curious how much VRAM is needed for inference. I would be grateful if you could provide information on this.

Thank you for appreciating our work!

The demo with videos requires 12.7 GB of GPU memory (due to tracking with 4D Humans).

The demo with images requires 14.4 GB of GPU memory, and uses several models:

ViTDet : 2.8 GB
ViTPose : 2.6 GB
HMR 2.0 : 3 GB
ScoreHMR (including PARE backbone) : 0.4 GB

Furthermore, the input images have high resolution (6K x 4K), and contain a lot of people.
To reduce the GPU memory usage, I suggest to:
a) store detections from ViTDet and ViTPose first, and then run HMR 2.0 and ScoreHMR, OR
b) run ScoreHMR on top of PARE regression, OR
c) try the existing code on lower resolution images


Rust AGE driver

I've recently implemented a simple driver for rust, that allows to easily map types and execute cypher queries. Hope you'll enjoy my work.
https://github.com/Dzordzu/rust-apache-age
https://crates.io/crates/apache_age
I'm open to any kind of suggestions and contributions!

@Dzordzu  this is awesome. Please consider making this a pull request. In the meantime, have you thought about situations where the user needs more than one field returned?

@JoshInnis user can get more than one field from the query, BUT, he has to use map to gather results. I could not find any use case, where grouping within map could cause any problems.
@emotionbug There was a problem with types others than AgType. If one wants to use primitives, some kind of mapping between rust types and postgres type has to be performed. It CAN be implemented, but takes a lot of effort and time. The question is if that thing is worth it. In my opinion - no. One can just use AgType with proper generic type and get what they want. If I find some time I will create a PR, but currently I'm having (little to say) an interesting time. It may take, I think, up to month from now

Also #145 should be closed?

Closing in favour of #262


Added PnP Responsive UI as an example

PnP Responsive UI is the recommanded way to make a classic site Responsive.

Q
A

content fix?
yes

New article?
no

What's in this Pull Request?
Added a link to PnP Responsive UI sample

thx Samuel, appreciated.


NL restart scripts

Fixes #5

Could you please rebase on main?

You really need to rebase on main because there is a conflict in solver.py.

You really need to rebase on main because there is a conflict in solver.py.

Is it fine now?

Strange, the scripts disappeared from the PR.

@akhoubani can you please remove the parameter params.oper.aspect_ratio and the related user parameter.
The aspect ratios should be given by the user with the lengths params.oper.Lx,  params.oper.Ly  and params.oper.Lz.
In the .usr file, the aspect ratio can be recomputed from these quantities. No need for a user parameter.

Actually, this params.oper.aspect_ratio removal has to be done from another PR based on main (not here). Please @akhoubani do that ASAP.

Actually, this params.oper.aspect_ratio removal has to be done from another PR based on main (not here). Please @akhoubani do that ASAP.

Done!

Thanks @akhoubani !


DL-176: Rename the DL artifact from com.twitter to org.apache.distributedlog

I don't have write access to merge but lgtm #shipit

@mgodave for merging the apache pull request, we have to run the script under scripts/dev/dl-merge-pr.py


[C++] Change Scalar::CastTo to do safe cast by default and allow to specify cast options ?

Describe the enhancement requested
See https://github.com/apache/arrow/issues/34901 for a longer discussion, but summarizing: the pyarrow.Scalar object has a cast() method, but in contrast with other cast methods in pyarrow it does an unsafe cast by default. We should probably change this to do a safe cast by default, and at the same time also allow to specify CastOptions (so a user can still choose to do an unsafe cast).
Example:
# scalar behaviour
>>> pa.scalar(1.5)
<pyarrow.DoubleScalar: 1.5>
>>> pa.scalar(1.5).cast(pa.int64())
<pyarrow.Int64Scalar: 1>

# vs array behaviour
>>> pa.array([1.5]).cast(pa.int64())
...
ArrowInvalid: Float value 1.5 was truncated converting to int64

The python cast() method calls the C++ Scalar::ToCast:
https://github.com/apache/arrow/blob/e488942cd552ac36a46d40477c1b0326a626ed98/cpp/src/arrow/scalar.h#L99-L100
which currently indeed doesn't have the option to pass CastOptions.
In addition, it seems that for casting Scalars, we do have a somewhat custom implementation, and this doesn't use the generic Cast implementation (from the compute kernels), but has a custom CastImpl in scalar.cc. Not fully sure about the reason for this, but maybe historically we wanted to have scalar casting without relying on the optional compute module? (cfr https://github.com/apache/arrow/issues/25025)
Component(s)
C++

I think this is a good idea.  The result will probably be a slight bit slower but working with scalars is already slightly slower anyways and it would be nice to have only a single implementation.

Also, we've since extracted the cast kernels from the rest of the kernels and declared them as "essential kernels" that will always be present (even if ARROW_COMPUTE is OFF) so I think it is safe to rely on them.

FYI I tried swapping the Scalar.cast() implementation to the compute kernel and current (but small) test suite passed while also fixing https://github.com/apache/arrow/issues/35370.
...
    def cast(self, object target_type=None, safe=None, options=None, memory_pool=None):
        return _pc().cast(self, target_type, safe=safe,
                          options=options, memory_pool=memory_pool)
...

Casting of scalar now uses the compute kernel in pyarrow: https://github.com/apache/arrow/pull/35395
Do we want to keep this issue open to also make changes to the Scalar::CastTo in the C++? Or maybe linking the PR for pyarrow with a different issue? @jorisvandenbossche

I created https://github.com/apache/arrow/pull/35395 to track the issue!

Great Dane, thanks!