TwoDimensionalScrollView fails to scroll when DiagonalBehavior is set to free & there is no vertical scrolling to perform.

Steps to reproduce
Start with dartPad https://dartpad.dev/?id=4424936c57ed13093eb389123383e894
Change maxYIndex so that y-scrolling is unnecessary (e.g., to 1 or to 3)
Press Run
Attempt to scroll
Expected results
It should still allow scrolling horizontally
Actual results
Scrolling (dragging) no longer works
Code sample
Code sample
// Copyright (c) 2019, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:math' as math;

import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      scrollBehavior: const MaterialScrollBehavior().copyWith(
        // Mouse dragging enabled for this demo
        dragDevices: PointerDeviceKind.values.toSet(),
      ),
      debugShowCheckedModeBanner: false,
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final String title;

  const MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(title)),
      body: TwoDimensionalGridView(
        diagonalDragBehavior: DiagonalDragBehavior.free,
        delegate: TwoDimensionalChildBuilderDelegate(
            maxXIndex: 9,
            maxYIndex: 3,
            builder: (BuildContext context, ChildVicinity vicinity) {
              return Container(
                color: vicinity.xIndex.isEven && vicinity.yIndex.isEven
                    ? Colors.amber[50]
                    : (vicinity.xIndex.isOdd && vicinity.yIndex.isOdd
                        ? Colors.purple[50]
                        : null),
                height: 200,
                width: 200,
                child: Center(
                    child: Text(
                        'Row ${vicinity.yIndex}: Column ${vicinity.xIndex}')),
              );
            }),
      ),
    );
  }
}

class TwoDimensionalGridView extends TwoDimensionalScrollView {
  const TwoDimensionalGridView({
    super.key,
    super.primary,
    super.mainAxis = Axis.vertical,
    super.verticalDetails = const ScrollableDetails.vertical(),
    super.horizontalDetails = const ScrollableDetails.horizontal(),
    required TwoDimensionalChildBuilderDelegate delegate,
    super.cacheExtent,
    super.diagonalDragBehavior = DiagonalDragBehavior.none,
    super.dragStartBehavior = DragStartBehavior.start,
    super.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
    super.clipBehavior = Clip.hardEdge,
  }) : super(delegate: delegate);

  @override
  Widget buildViewport(
    BuildContext context,
    ViewportOffset verticalOffset,
    ViewportOffset horizontalOffset,
  ) {
    return TwoDimensionalGridViewport(
      horizontalOffset: horizontalOffset,
      horizontalAxisDirection: horizontalDetails.direction,
      verticalOffset: verticalOffset,
      verticalAxisDirection: verticalDetails.direction,
      mainAxis: mainAxis,
      delegate: delegate as TwoDimensionalChildBuilderDelegate,
      cacheExtent: cacheExtent,
      clipBehavior: clipBehavior,
    );
  }
}

class TwoDimensionalGridViewport extends TwoDimensionalViewport {
  const TwoDimensionalGridViewport({
    super.key,
    required super.verticalOffset,
    required super.verticalAxisDirection,
    required super.horizontalOffset,
    required super.horizontalAxisDirection,
    required TwoDimensionalChildBuilderDelegate super.delegate,
    required super.mainAxis,
    super.cacheExtent,
    super.clipBehavior = Clip.hardEdge,
  });

  @override
  RenderTwoDimensionalViewport createRenderObject(BuildContext context) {
    return RenderTwoDimensionalGridViewport(
      horizontalOffset: horizontalOffset,
      horizontalAxisDirection: horizontalAxisDirection,
      verticalOffset: verticalOffset,
      verticalAxisDirection: verticalAxisDirection,
      mainAxis: mainAxis,
      delegate: delegate as TwoDimensionalChildBuilderDelegate,
      childManager: context as TwoDimensionalChildManager,
      cacheExtent: cacheExtent,
      clipBehavior: clipBehavior,
    );
  }

  @override
  void updateRenderObject(
    BuildContext context,
    RenderTwoDimensionalGridViewport renderObject,
  ) {
    renderObject
      ..horizontalOffset = horizontalOffset
      ..horizontalAxisDirection = horizontalAxisDirection
      ..verticalOffset = verticalOffset
      ..verticalAxisDirection = verticalAxisDirection
      ..mainAxis = mainAxis
      ..delegate = delegate
      ..cacheExtent = cacheExtent
      ..clipBehavior = clipBehavior;
  }
}

class RenderTwoDimensionalGridViewport extends RenderTwoDimensionalViewport {
  RenderTwoDimensionalGridViewport({
    required super.horizontalOffset,
    required super.horizontalAxisDirection,
    required super.verticalOffset,
    required super.verticalAxisDirection,
    required TwoDimensionalChildBuilderDelegate delegate,
    required super.mainAxis,
    required super.childManager,
    super.cacheExtent,
    super.clipBehavior = Clip.hardEdge,
  }) : super(delegate: delegate);

  @override
  void layoutChildSequence() {
    final double horizontalPixels = horizontalOffset.pixels;
    final double verticalPixels = verticalOffset.pixels;
    final double viewportWidth = viewportDimension.width + cacheExtent;
    final double viewportHeight = viewportDimension.height + cacheExtent;
    final TwoDimensionalChildBuilderDelegate builderDelegate =
        delegate as TwoDimensionalChildBuilderDelegate;

    final int maxRowIndex = builderDelegate.maxYIndex!;
    final int maxColumnIndex = builderDelegate.maxXIndex!;

    final int leadingColumn = math.max((horizontalPixels / 200).floor(), 0);
    final int leadingRow = math.max((verticalPixels / 200).floor(), 0);
    final int trailingColumn = math.min(
      ((horizontalPixels + viewportWidth) / 200).ceil(),
      maxColumnIndex,
    );
    final int trailingRow = math.min(
      ((verticalPixels + viewportHeight) / 200).ceil(),
      maxRowIndex,
    );

    double xLayoutOffset = (leadingColumn * 200) - horizontalOffset.pixels;
    for (int column = leadingColumn; column <= trailingColumn; column++) {
      double yLayoutOffset = (leadingRow * 200) - verticalOffset.pixels;
      for (int row = leadingRow; row <= trailingRow; row++) {
        final ChildVicinity vicinity =
            ChildVicinity(xIndex: column, yIndex: row);
        final RenderBox child = buildOrObtainChildFor(vicinity)!;
        child.layout(constraints.loosen());

        // Subclasses only need to set the normalized layout offset. The super
        // class adjusts for reversed axes.
        parentDataOf(child).layoutOffset = Offset(xLayoutOffset, yLayoutOffset);
        yLayoutOffset += 200;
      }
      xLayoutOffset += 200;
    }

    // Set the min and max scroll extents for each axis.
    final double verticalExtent = 200 * (maxRowIndex + 1);
    verticalOffset.applyContentDimensions(
      0.0,
      clampDouble(
          verticalExtent - viewportDimension.height, 0.0, double.infinity),
    );
    final double horizontalExtent = 200 * (maxColumnIndex + 1);
    horizontalOffset.applyContentDimensions(
      0.0,
      clampDouble(
          horizontalExtent - viewportDimension.width, 0.0, double.infinity),
    );
    // Super class handles garbage collection too!
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/48697038/ca832178-3290-44b2-83ad-30f652a70e27
[Upload media here]

Logs
Logs
Flutter Doctor output
Doctor output

Also, I added some simple logic using LayoutBuilder to determine if vertical scrolling was necessary, and set it to change between none and free depending on the required size, and found that converting from free => none caused scrolling to stop working.
Furthermore, if we simply set it to free (as in the code above), but resize the window to make vertical scrolling necessary (i.e., make the window smaller), scrolling works. After resizing again so that vertical scrolling is unnecessary (i.e., make the window larger again), we are suddenly able to scroll horizontally despite DiagonalDragBehavior being set to free and scrolling not working previously.

Hi @bryancua
Which Flutter version are you using? I checked this issue on the latest stable 3.19.3 and master channels but the issue is not reproduced, please see demo:

Demo
https://github.com/flutter/flutter/assets/104349824/5a7963ec-e944-45f2-811b-33444b559649

Here is the same problem on 3.20.0
https://github.com/flutter/flutter/assets/48697038/227527b6-a5e8-4020-8cd8-a4a844769719

Thanks for clarifying the test case. I can see the same on my end.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (6 hours ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 122.0.6261.112

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.21.0-4.0.pre.37, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.21.0-4.0.pre.37 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8270872f86 (3 hours ago), 2024-03-12 17:52:24 -0700
    • Engine revision ea848c3b24
    • Dart version 3.4.0 (build 3.4.0-227.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 122.0.6261.112
    ! Error: Browsing on the local area network for iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I can confirm this bug. A workaround that enables horizontal scrolling if vertical scrolling is not necessary is to use AlwaysScrollableScrollPhysics in the verticalDetails.
The issue seems to be here: https://github.com/flutter/flutter/blob/34b454f42dd6f8721dfe43fc7de5d215705b5e52/packages/flutter/lib/src/widgets/scrollable.dart#L2250. value is false if vertical scrolling is not necessary, so the pan gesture recognizer won't be attached ... and that makes horizontal scrolling impossible as well.


Add Mesa 17.1.10 recipe

Add Mesa 17.1.10 recipe to Haikuports.
Re: https://github.com/haikuports/haikuports/issues/2838

Consult with the git handbook or user guide how to use it and how to create pull requests. Using the GitHub web-editor is error-prone.


Require all of active_support.

Fixes the root cause of the error encountered in #273.
@kmcphillips

Yup. This explains it. Thanks. :+1:


test(crosschain): improve mock parameter

Summary by CodeRabbit

Refactor

Streamlined naming conventions in crosschain functionalities to enhance clarity and consistency.

Tests

Updated test cases to align with the latest changes in crosschain functionalities.

mg


Documentation uses ProducesResponseType with numeric codes

I'm noticing that a lot of your documentation, uses magic numbers for the ProducesResponseType attribute.   Your Analyzer uses the StatusCodes enumeration, which I would assume, should be preferred.
[ProducesResponseType(404)]
[ProducesResponseType(StatusCodes.Status404NotFound)]

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

ID: b391017f-25e1-d5e1-c4f7-020408ade7b5
Version Independent ID: 263a7b64-2e42-bbfc-c1d3-61680438e1e4
Content: Build web APIs with ASP.NET Core
Content Source: aspnetcore/web-api/index.md
Product: aspnet-core
GitHub Login: @scottaddie
Microsoft Alias: scaddie

Was surprised to see integers instead of status codes (linking sample for my colleague), took the liberty of sending a PR.


bbox better name than bounds ?

Hello,
I think bbox is more common  and better name for bounding box.
Maybe I miss the logic behind having a different name (but it look like a a bbox here: https://github.com/datagistips/geo4TableSchema/blob/main/f_geovalidate.py#L28-L43) if so it could be clarified.

Initially, I used bbox, but I used bounds for more general features.
I implemented the control with a polygon object here : https://github.com/datagistips/geo4TableSchema/blob/main/mds/BATCH-EXAMPLES.md#bounds
The questions are

is it useful to mention a polygon object as an extent control layer ?
if so, shoud we add an extra tag : bounds, in addition to bbox ? Or another name ? Or do we keep bounds for two types of extents ?

Thx, I get it a bit better now.

is it useful to mention a polygon object as an extent control layer ?

I do not have a strong opinion on this. When would you want to test it against an other extend than the bbox ?
It could be an interesting feature but then you will have to do it after testing the CRS or be sure to provide a "bounds" that match it.

if so, shoud we add an extra tag : bounds, in addition to bbox ? Or another name ? Or do we keep bounds for two types of extents ?

If bounds is kept  (with bounds different than bbox) then I prefer the option to keep it and add bbox. Bounding box are an important feature in plenty of other GIS software and have plenty of methods/functions already defined that help.

ok
There can be cases where you want to control your data against a specific polygon : is my data which focuses on Aix-en-Provence buildings contained in Aix-en-Provence city contour.
But the problem is that it can make the json heavy..
I think that for these cases, it should be better to relate to an external resource. For instance, a geojson, even a reference geojson, like a BDTOPO one provided on a web server, against which to control data.
I don't know if this kind of "remote" or external file relationship is implemented in TableSchema. It would be nice to ask the question. What's your opinion on that ?
Something like :
{
   "bounds":{
      "resources":[
         {
            "title":"myCity",
            "path":"http://reference-data/mycity.json"
         }
      ]
   }
}

What's your opinion on this ?

No idea on geoCSV, I assumed it was like geojson with a default CRS.
Well I understand the problem a bit better now thx! I can see the pros of having a bounds fields. As a geographer I like having a more precise information  than the bbox on the scale. If the bounds is greater than the bbox we can infer there is no data outside of bbox  but this would be not because data are missing (I do not know if I make myself clear).
I will play the devil advocate (that doesn't means I am against the idea).
It means that every time the administrative unit change someone have to update the data and the reference repertory/DB (something like STAC ?). This is not always a bad idea but this need to be done by the data provider (unclear if they want to do that). Currently this is mostly the job of the data user to assess the quality and check everything.
Two sides notes (if you want I can open new issues to make it cleaner).
First one :  Frictionless submitted a software peer reviews to Ropenscience for an R package (https://github.com/ropensci/software-review/issues/495). They have an empty check box "geospatial data".
Second one: I think you have done a good job advertising this repo and your concern but not that many people came to give their opinion. How can it be improved? I think the GIS community do not have a strong culture of interacting in Github (or an other platform).


openjfx-modular-sdk, openjfx-sdk: add OpenJFX SDK

Motivation for this change
openjfx-sdk consists with JAR files and .so libraries for JavaFX (OpenJFX) modules.  This can be used with adoptopenjdk-bin, zulu, and graalvm11-ce like this:
javac --module-path path/to/javafx-sdk/lib/ \
  --add-modules javafx.graphics,javafx.controls,javafx.media,javafx.web JavaSample.java

java --module-path path/to/javafx-sdk/lib/ \
  --add-modules javafx.graphics,javafx.controls,javafx.media,javafx.web JavaSample

Existing openjfx, which is used to build openjdk, is renamed to openjfx-modular-sdk for consistency.
This patch also enables openjdk to run JavaFX apps with MediaPlayer.
See also #106716.
How to test
To test this PR, try https://gist.github.com/taku0/2c52b0b13876fb892a69c92c81e8f019.
This opens JavaFX windows with adoptopenjdk-bin (11 and 15), zulu, graalvm11-ce, and openjdk (11 and 15).
Clicking Hello, JavaFX! should play a movie.
Closing windows labeled Hello, Swing! terminates the application.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Fixed conflicts.

Updated to OpenJFX 16. The URL of OpenJFX 11 was broken and fixed.

@SuperSandro2000 thank you for your review. Fixed.

Waiting for #125079.
ffmpeg_3 is now deprecated. Newer OpenJFX is required to use ffmpeg. Newer OpenJFX requires newer Gradle, which is broken on i686. We cannot compute hash of deps.

I believe this PR is obviated on nixpkgs today; I see

pkgs/development/compilers/openjdk/openjfx/11.nix
pkgs/development/compilers/openjdk/openjfx/15.nix
pkgs/development/compilers/openjdk/openjfx/17.nix
pkgs/development/compilers/openjdk/openjfx/19.nix
pkgs/development/compilers/openjdk/openjfx/20.nix
pkgs/development/compilers/openjdk/openjfx/21.nix
pkgs/development/compilers/openjdk/openjfx/22.nix


Has Exit Time checkbox has to be checked to prevent errors showing up in console

If Has Exit Time is unchecked, clicking on any transition will show a double or triple error on both existing, properly working transitions, and on newly created states and transitions.

Just checking off the box for Has Exit Time fixes this.

that is just a warning from unity. Nothing RATS can do about it.
You can always re-enabled Has Exit Time on the affected states manually.
As the warning states as soon as you add a condition to your transitions it will work just fine

The transitions are already there - Unity shows no warnings unless I uncheck Has Exit Time on RATS and click back on the correctly configured states/transitions.
I believe the [  ] Has Exit time checkbox is for newly created states but it starts giving errors on every state that exists in the whole project without even creating new ones.

This is a weird one. I think I can get around it with a quick assetdatabase check, will include in next patch.

This should be fixed as of 1.1.2.


select/deselect rows to include in print

in html view, deselected rows should be greyed out.
in print view, they should not be displayed
toggling should be possible

handled via js and css


dialog box add aria-label

fixes #70981
This PR adds the aria-label to the custom dialog box.
I have tested this on my Mac and works nicely.
If you think this is ok please merge since next two weeks I am out.

@isidorn should this label contain both the message and detail text?
message: Do you want to save the changes you made to dialog.ts?
detail: Your changes will be lost if you don't save them.

@sbatten even though we could add it, I think it would not be concise.
And most of the feedback we got from the accessibility community is to make the messages concise and clear.
So let's go with the current aproach, and we can change it if we recieve feedback.
Thanks!


Enable decimated queries + more configuration

This changes switches over the plugin to start using the query-decimated-data route. It also adds three new configuration options:

Which decimation method to use
A toggle to filter out null and NaN values
A toggle to control the automatic time filters

I also made a QOL change to have the plugin automatically re-run the query when the user makes changes to it.
I'll annotate the code as usual to explain what's going on.

@MelissaHilliard This PR adds some user facing strings.

The tooltips in order:
Columns - The columns to include in the response data.
Decimation - Specifies the method used to decimate the data.
Filter nulls - Filter out null and NaN values before decimating the data.
Use time range - If the table's index is a timestamp, only query for data within the dashboard's time range. This should be enabled when interacting with your data on a graph.
Decimation method descriptions:

A few suggestions for parallelism and localization.

Columns - Specifies the columns to include in the response data.
Decimation - Specifies the method used to decimate the data.
Filter nulls - Filters out null and NaN values before decimating the data.
Use time range - Queries only for data within the dashboard time range if the table index is a timestamp.  Enable when interacting with your data on a graph.
Lossy - Completes faster but is less accurate.


SQL Nexus import consistently fails with Violation of PRIMARY KEY constraint

This seems to happen on every import
System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (f9bbf034-acfe-4c98-ad32-6010573afd3d).
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at NexusInterfaces.CSql.ExecuteBatches(String[] batches) in C:\Users\jopilov\Documents\Visual Studio 2015\Projects\Repos\SqlNexus\NexusInterfaces\CSql.cs:line 103
ClientConnectionId:409c1f6e-be73-40b8-addd-aca2cc6f6414
Error Number:2627,State:1,Class:14
System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (25678531-4722-48c4-94b0-026c2ed1021f).
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at System.Data.SqlClient.SqlDataReader.get_MetaData()    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at NexusInterfaces.CSql.ExecuteBatches(String[] batches) in C:\Users\jopilov\Documents\Visual Studio 2015\Projects\Repos\SqlNexus\NexusInterfaces\CSql.cs:line 104
ClientConnectionId:409c1f6e-be73-40b8-addd-aca2cc6f6414
Error Number:2627,State:1,Class:14
System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (47377ec8-be56-4c92-b0f3-85fc0485d83b).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (fdbf24a1-3ebe-49f1-a02b-fd5686acdae9).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (5e630273-c14f-4dce-bda0-24a1fd8e25ca).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (5ae45557-e463-48d6-b135-11aadcb8642f).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (0c73f3d4-6ccc-4fc9-ae37-58110f9c15db).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (010b3dba-76cc-46c0-ac1b-3cad09f95891).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (6c82da17-d04c-4155-8702-19a9a1363a64).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (6e19b301-e83b-4e5f-af4e-a8dd2251c1b6).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (57caa4bb-c7bd-4f96-8040-3224008a3f39).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (607b17fd-98f1-498e-9b93-f16e5a155730).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (bbecdf81-dcce-4e41-93c9-7eb9e11f53bd).
Violation of PRIMARY KEY constraint 'PK__tbl_Anal__FEB4B4CB7B8E923A'. Cannot insert duplicate key in object 'dbo.tbl_AnalysisSummary'. The duplicate key value is (948756b6-a67f-4cb1-86f9-1b22c26f0b9c).
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.
The statement has been terminated.

Fixed with Commit https://github.com/microsoft/SqlNexus/commit/cfc0a8af0eaccbea26777ea943de77b4c4d4c27b


change evictionrate sandbox foundation view VisualizationType to 'Text'

In support of #92

Unless anyone objects I would like to merge this into master to deploy to production.


Deprecate Backseat Driver

Summary

Application Name: Backseat Driver
Application Url: https://github.com/agrc/backseat-driver

Everything that Backseat Driver pushes to Google Drive should be available in Open Data. @ZachBeck & @rkelson Do you use this Backseat Driver anymore?
Looks like we are almost done replacing links on our website. Here are the two outstanding issues:

[x] https://github.com/agrc/gis.utah.gov/issues/1521
[x] https://github.com/agrc/gis.utah.gov/issues/1565

Nothing below should be acted upon until the issues above are closed
Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

[x] backseat driver upload drive folder (@stdavis, completed: 2021/05/12)

Is there a website?

[x] Archive source code repository (@stdavis, completed: 2021/07/12)

Other tasks

[x] Update porter issue template (@stdavis, completed: 2021/07/12)
[x] Delete scheduled tasks on server (@stdavis, completed: 2021/07/12)
[x] Delete the GCP Service Account & Project associated with this account (@stdavis, completed: 2021/11/23)

Notification

[ ] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

~- [ ] Data Team (@gregbunce)~

[x] Dev Team (@steveoh)
~- [ ] Cadastre Team (@rkelson)~

conductor results for tasks - 136

check
status

@stdavis has completed 0 out of 1 tasks
:no_entry:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@gregbunce has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for tasks - 136

check
status

@stdavis has completed 0 out of 1 tasks
:no_entry:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@gregbunce has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

Even though https://github.com/agrc/gis.utah.gov/issues/1565 isn't yet closed, we can move forward with this issue. I've gone through all of the links and non are related to backseat driver.

The service account looks like it comes from a one-off personal project that neither Steve nor I have access to. I've pinged Keaton about it. He's out of the office until Friday.

Waiting on the<EMAIL_ADDRESS>credentials so that I can clean up the drive links. Also waiting on Keaton to get back in town and hopefully get rid of the GCP project.

Any updates on this @stdavis?

@gregbunce Do you have the google credentials for the<EMAIL_ADDRESS>account? If so, would you mind adding them to Bitwarden? I need them to clean up the back seat driver stuff.

I was unable to find a GCP project or a service account related to this project. Perhaps we already deleted it? I searched projects for "back" and then searched the "utahkoopserver" project service accounts.

Yeah, it may have been deleted. I'd move forward with that assumption.

@gregbunce Do you have the google credentials for the<EMAIL_ADDRESS>account? If so, would you mind adding them to Bitwarden? I need them to clean up the back seat driver stuff.

Disregard! Steve reminded me that I have already asked and answered this question in SO teams.

Looks like this SN incident was just forgotten: INC1568606. I pinged him in SN and chat.

RITM0201027

Finally deleted the files.


proposal: Implement escapist for byteslice HTML escaping

The html standard library offers EscapeString but does not offer a byteslice variant. As a result, people working with byteslices must convert to string, and then convert the returned value back to a byteslice. This creates unnecessary allocations and code.
My proposal is to utilize escapist to serve as the byteslice variant for the html library.
The benchmarks are quite promising:
# Basic test, very simple replacement
BenchmarkBasic-4        10000000               138 ns/op              48 B/op          1 allocs/op
BenchmarkHTMLBasic-4     5000000               258 ns/op              96 B/op          2 allocs/op
BenchmarkAdvBasic-4     10000000               169 ns/op              48 B/op          1 allocs/op

Sorry, we won't be using https://godoc.org/github.com/itsmontoya/escapist ... it has very lacking documentation, for one.

Escape likes to escape

Doesn't end in a period.
It "likes" to escape?
How does it escape?
Does it mutate its argument?
Does it always return a copy? Can it return its input unchanged if there's nothing to escape?
Why is there a whole package for this if not for allocation reductions, yet this returns copies of data? Or does it work like append? It's undocumented.

EscapeAdv likes to escape very thoroguhly

What does that mean!?
If we need to make escaping faster in the standard library, we'll fix the standard library when the problem has been identified.
But switching to an ill-specified external library is not the answer at the moment.

@bradfitz the library was just published today. The next phase after the POC was to fully document the entire library.
Other than the lack of documentation, are there any other issues?

I didn't read the code. I stopped at the documentation.
But now that I read the code, I strongly suspect https://golang.org/pkg/strings/#NewReplacer or using https://godoc.org/go4.org/bytereplacer is much faster.

@bradfitz I updated the documentation to be more clear (and professional). I can create an example using bytereplacer and then a comparison can be made.
Given the commenting updates proposal I made, would it be possible to consider this within the stdlib (if escapists performance exceeds bytereplacer)?

What is your goal? To speed up the html/template package, or to add new API?
If you want to add new API, see https://golang.org/doc/faq#x_in_std

Many stdlib libraries and functions work with byteslices. It's bothered me for quite some time that our stdlib version of HTML escaping only works for strings. I feel that it's a point of common non-needed allocations.
I feel that the stdlib implementation of EscapeString is perfect for it's use-case. I am looking to add the option of EscapeBytes so that we no longer have to hobble around using only strings when escaping.


fix: add CODEOWNERS

:tada: This PR is included in version 2.1.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Help deploying on Netlify?

Would someone be able to help me deploy my hugo site to Netlify?

9:19:05 PM: Build ready to start
9:19:06 PM: Fetching cached dependencies
9:19:06 PM: Expected build cache - but failed to find it
9:19:07 PM: Failed to extract cache, continuing with build
9:19:07 PM: No cached dependencies found. Cloning fresh repo
9:19:07 PM: git clone git@github.com:ItsPugle/ItsPugle-Hugo
9:19:08 PM: git remote rm origin
9:19:08 PM: Preparing Git Reference refs/heads/master
9:19:13 PM: Running build command: hugo
9:19:15 PM: Downloading and installing node v6.11.4...
9:19:15 PM: Downloading https://nodejs.org/dist/v6.11.4/node-v6.11.4-linux-x64.tar.xz...
9:19:16 PM:
                                                                           0.0%
9:19:16 PM:
9:19:16 PM:   1.1%
9:19:16 PM:
###                                                                        4.9%
9:19:16 PM:
##############                                                            19.6%
9:19:16 PM:
#############################                                             41.5%
9:19:16 PM:
#########################################
9:19:16 PM: ########
9:19:16 PM: 68.
9:19:16 PM: 1
9:19:17 PM: %
9:19:17 PM:
######################################################################## 100.0%
9:19:17 PM:
9:19:17 PM: Computing checksum with sha256sum
9:19:17 PM: Checksums matched!
9:19:18 PM: Now using node v6.11.4 (npm v3.10.10)
9:19:18 PM: Using version v6.11.4 of node
9:19:18 PM: Using /opt/buildhome/.rvm/gems/ruby-2.1.2
9:19:19 PM: ERROR: 2017/10/19 11:19:19 hugo.go:346: No 'baseurl' set in configuration or as a flag. Features like page menus will not work without one.
9:19:19 PM: ERROR: 2017/10/19 11:19:19 hugo.go:421: Current theme does not support Hugo version 0.17. Minimum version required is 0.25
9:19:19 PM: Started building sites ...
9:19:19 PM: ERROR: 2017/10/19 11:19:19 template.go:477: template: theme/partials/site-footer.html:4: function "now" not defined
9:19:19 PM: ERROR: 2017/10/19 11:19:19 general.go:212: Error while rendering taxonomy terms for tag: template: /opt/build/repo/themes/ananke/layouts/_default/baseof.html:5:9: executing "main" at <.Content>: can't evaluate field Content in type *hugolib.Node
9:19:21 PM: Build complete: exit code: 255
9:19:21 PM: Cleaning up docker container
9:19:21 PM: Error running command: Build script returned non-zero exit code: 255
9:19:21 PM: An error occurred while building the site, skipping the deploy and cache refresh.
9:19:22 PM: Build script returned non-zero exit code: 255
9:19:22 PM: Finished processing build request in 16.329727861s

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.

Oh oops! I never saw that - Thanks <3


Typo in permission name for Dependabot Automation

What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token

What part(s) of the article would you like to see updated?
The permission in the last example is called contents, not content; see https://github.com/fb55/entities/actions/runs/1024362370/workflow

Additional information

@fb55 Thanks so much for opening this issue!! I will triage this for review 👀

This was fixed in https://github.com/github/docs/pull/8132


discord/way to connect with people using this plugin

Hi Nathan, I'm really sorry about contacting you through this "Issues" page as I wouldn't say I'm having an "issue" with the plugin, but more just trying to find a place to chat about spell creation and stuff like that. Do you have a discord, or a chatroom where people can talk about the plugin, and if you do could you link it to me. Again I'm really sorry about using this to ask but I couldn't find anything about a discord. If you don't I'd gladly create one and moderate it. Thanks again for creating such a great plugin!

https://discord.gg/QHH2RSq if that doesn't work the link should be on the Spigot page.


Searching From Down To Up.

Hello,
Is it possible to search from down to top ?.. To get the first above the caret and keep going till up.

Yes. When you specify your search range with TargetStart and TargetEnd, make your TargetStart greater/past than TargetEnd and it will search in the opposite direction.

Yeah I tried that already and it worked.. Thanks a lot.


Auto help question

This is regarding 2.0

Is it possible to suppress displaying version/copyright stuff (I can display them myself, thank you very much) but retain the rest?
If I remove AssemblyCopyright attribute CommandLine just crashes. I'm not sure if it's intended behaviour?

Is it possible to suppress displaying version/copyright stuff (I can display them myself, thank you very much) but retain the rest?

You can handle help screen completely on your own, just create a parser with a ParserSettings that lacks a value for HelpWriter property.

If I remove AssemblyCopyright attribute CommandLine just crashes. I'm not sure if it's intended behaviour?

If with crash you mean an exception not generated by the library, it's always something that should be fixed.
In any case if you leave the automatic help generation, you can't remove AssemblyCopyright, but if you generated help screen manually everything is under your control.

But probably you want just use the automatic generation and tell it to not print copyright info removing AssemblyCopyright? Is this?

But probably you want just use the automatic generation and tell it to not print copyright info removing AssemblyCopyright? Am I right?

Yes!

:paperclip: Please read: #250. Thanks for collaboration and patience! :sweat_smile:
Giacomo
P.S.: valid only for me, if a main contrib. is available he's obviously free to support devs/users of the project.

Just pinging, in case there is a status update. Cheers,

Just pinging, in case there is a status update. Cheers!

Nothing yet. @gsscoder is tied up in work and I don't have time to actively develop a fix. If you want to dig in, I think the best approach would be to expose the AutoBuild pipeline (which currently depends on internal types, see #286 #281) and add a flag to the constructor allowing you to turn on/off version and copyright.

I noticed this behavior and reported it in #481 and it's a shame nothing has been introduced to remove the default version/copyright output. Since this hasn't been fixed in over two years I will be looking into alternative libraries.

@ChristianIvicevic at this stage this is the most reasonable thing to do.

@AndrewSav I moved to https://github.com/dotnet/corefxlab/blob/master/src/System.CommandLine/README.md
Unfortunately it is dependant on NETStandard which downloads 100 DLLs into the binary folder but the library itself is pretty nice.


Fused Updates

Option to 'fuse' consecutive updates in journal (running rebase), while still emitting intermediate updates. Relates to #31, but @update notation not required.
See Working Wiki and JS engine branch.
To do:

[x] Explicit last-operations unit test in SuSetDataset or DatasetEngine
[x] Chaos compliance test with growing count of clones
~Feature flag~

[ ] Performance testing requirements
[ ] Documentation (part of protocol docs)

Currently merged into edge.js.m-ld.org and edge.m-ld.org, pending release testing


[JS] IntelliSense disregards properties if defined via Revealing Prototype Pattern

From @odonyde on September 7, 2016 1:55

VSCode Version: 1.4.0
OS Version: Windows 10 Pro 64bit 1607
Language: JavaScript

Likewise issue #11450 concerning the Prototype Pattern with assigned object literal, I observed that IntelliSense also disregards any properties if they are defined using the Revealing Prototype Pattern. For example, IntelliSense does not show property 'greet' in the screenshot below.

Copied from original issue: Microsoft/vscode#11610

Hey @odonyde thank you for opening these issues! As this falls onto TypeScript language service, I am moving it there.

The code in the screenshot is not a valid releaving prototype pattern. Person.prototype is assigned a function, when it should be assigned the result of immediately executing the function (ie an IIFE).
Not sure it that solves the Intellisense problem though.

@yortus Oops, thanks for the catch! I corrected the sample code (see screenshot below). The IntelliSense issue persists.

this looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/10736.


Documentation of chrome-extension, beforeSend

Not an issue with this module, but more an issue concerning the documentation about this module.
The explanation about extensions and having to edit the stacktrace on: https://docs.bugsnag.com/platforms/browsers/vue/faq/#how-can-i-get-error-reports-from-browser-extensions
is telling us to use the following snippet:
bugsnag({
  beforeSend: function (report) {
    report.stacktrace = report.stacktrace.map(function (frame) {
      return frame.file.replace(/chrome-extension:/g, 'chrome_extension:')
    })
  }
})

But the stacktrace is not a string but an object, after the replace all the other data except the location is lost (so no column/line/method).
Instead something like this should be used:
bugsnag({
  beforeSend: function (report) {
    report.stacktrace = report.stacktrace.map(function (frame) {
      frame.file = frame.file.replace(/chrome-extension:/g, 'keepinghrome:');
      return frame;
    })
  }
})

This is obvious if using typing with typescript, the code mentioned in the documentation simply won't compile.

Thanks @DJWassink, good spot. I'll make sure we get this fixed 👍

Docs change deployed. 👍


rename MProductGroup.mProductList -> MProductGroup.materialProductList

https://github.com/kazurayam/materialstore/blob/0.8.3-SNAPSHOT/src/main/java/com/kazurayam/materialstore/reduce/MProductGroup.java
The property "mProductList" is wrongly named.

Rename mProductList to materialProductList;

done at v0.8.3-SNAPSHOT


Use 0.9.0 release as default sources

Now with the first official release one could use that to download sources in the quick-start deployment.

@fmaschler great idea. Can we make the version variable so one can continue to run with the master too ?
For Travis in particular, getting the build to fail when an upstream change is made in master is a great way to keep this current. WDYT ?

Sure, I didn't know this is used by Travis to test the master. Should the master remain default? What about a new make rule to deploy a release instead?

:100:

I’m wondering if we should version lock the runtime images as part of this.

my opinion is that a release of devtools should version lock to specific versions of the runtimes, but that master should stay on latest

@dgrove-oss @Juice10 @jthomas are you suggesting we do this in this PR or a separate PR ?

@ddragosd - dealers choice on this PR or separate PR.  Whatever you think is best.


The list of profiles is returned in random order, breaking UI

Describe the issue
Because we internally construct a go map when retrieving the list of profiles and then iterate over it, the result of ListProfiles is not ordered. But this is putting a strain on the UI that would have to order the results or else every refresh might produce a different looking set of results.
To Reproduce
run ListProfiles with more than 1 profile
What version are you using?
No response

cc @davolokh


Question about compatibility (2.0 -> 1.3)

I tried to run a NGC lammps(24Oct2018) singularity container.
And it failed when I use more then 2 MPI process, showed some error message about gdr.
I found that gdrcopy 1.3 inside container, and my host installed gdrcopy 2.0.
It worked with same container and same job last year, and then my cluster installed gdrcopy 1.3.
I guessed that the error related to compatibility.
Was gdrcopy 2.0 compatible gdrcopy 1.3 ?
Thank you !
[1583370992.161735] [gn0101:301910:0]    gdr_copy_md.c:113  UCX  ERROR gdr_pin_buffer failed. length :3735552 ret:25
[1583370992.161757] [gn0101:301910:0]         rcache.c:534  UCX  WARN  failed to register region 0x564d4dc29b00 [0x2b31b9a00000..0x2b31b9d90000]: Input/output error
[1583370992.161760] [gn0101:301910:0]         ucp_mm.c:105  UCX  ERROR failed to register address 0x2b31b9a00080 length 8168 on md[8]=gdr_copy: Input/output error
[1583370992.161763] [gn0101:301910:0]             dt.c:77   UCX  ERROR failed to register buffer with mem type domian
[1583370992.161769] [gn0101:301910:0]    gdr_copy_md.c:113  UCX  ERROR gdr_pin_buffer failed. length :3735552 ret:25
[1583370992.161774] [gn0101:301910:0]    gdr_copy_md.c:113  UCX  ERROR gdr_pin_buffer failed. length :3735552 ret:25                                         h mem type domian

full output message
slurm_script.txt

@likueimo I'm afraid that does not work.
You cannot mix gdrcopy 1.x user-space library with 2.x kernel-space driver.
Feel free to close the issue if you don't have further questions.

@drossetti Thanks for your reply.
If any possible, it will be nice to add some description about compatibility on README.
Thanks!


Bounding Box and App Bar not working as expected for Rectangular Holograms

Overview
The Bounding box for hololens works very well for squared holograms like a chair, cube, small toy but for something like truck which length is very large compared to it's breadth, the app bar is far away from the hologram, as it takes the maximum scale side as start.
When Scaling up or scaling down the truck, the app bar goes in to the truck when scaled town very small, and moves very far from hologram when scaled up.
It would be really helpful if i get a solution for this quick, I'm short on time, please respond quickly, Thank you!
Expected Behavior
When Scaling up or down a hologram , the app bar should adjust according to that so that the bar doesn't goes in to hologram or don't more far way.
Actual Behavior
when the Bounding box Rig is attached to hologram which is of rectangular shape like a big truck, while scaling up or down or while rotating the hologram with sphere handles, the app bar gets into hologram or moves too far away from hologram
Steps to reproduce
Import a truck like model which is of rectangular shape whose length is relatively very large to it's breadth , add bounding box rig to it and you can experience the above mentioned issues
Unity Editor Version
Unity2017.2.1f1
Mixed Reality Toolkit Release Version

One thing you can do to get over that is, through a custom script through which based on Object's Y rotation, you can change the APP bar's Z offset so that the App Bar doesn't go into or far away from Game object......I'm sure there will be more stable fix to this which i guess would be updated shortly....!

Yeah! I am creating a script to fix the problem.  The reason for which I wrote to this post was because I hoped that there would be an easier solution for this problem.
Thank you for your prompt reply.

Even with that custom script, one issue you may encounter is, even though you are changing z offset based on object's rotation, the app bar may goes into weird position or disappear when the user starts to rotate around the hologram, as the original system changes the app bar orientation even on user's head movement and head orientation angle,

Sorry for the late reply. Unfortunately I cannot create a custom class. I create a GameObject dynamically and when it is displayed in my scene, the AppBar is created with it. AppBar takes some seconds to be created and, when it is displayed in the scene, it goes to inside of my object. Therefore, I need to spend that time so that I can calculate the distance between the initial point of my GameObject and AppBar.
I know that I can calculate that distance and set the Z offset so that the AppBar goes to outside of my GameObject. However, it is not real, that is, I would like that the Z offset of the AppBar could be calculated before it is created with my GameObject, but it is not possible because I would not know the distance. For that reason, I am waiting for the problem to be solved.

@Cris21395  If that's the problem, the possible solution would be to enter into the play mode and manually adjust the Zoffset in Appbar in inspector until the App bar come out of the gameobject and note down the zoffset value and exit from play mode and entering the noted down Zoffset value to Appbar Prefab in Project Folder, so next time the object's gets instantiated, the app bar should be appearing fine

You are right, but I cannot do that. Due to the fact that I create holograms dynamically, they can have a different length so this solution does not solve my problem.
Thanks anyway.

OK, if you creating a lot of them, then that's definitely a problem, but if you are dealing with a bunch of holograms , you could just duplicate the AppBar prefabs with corresponding App Bar assigned to holograms.

I tried to use this fix (#2042) in my project.
It seems I can't scale an object with the appbar moving along when the mesh is chlidren of the BoundingBoxRig anymore.
Project 1 :
I have the old BoundingBoxRig on an object named "Model_Icosa". I am scaling the children "Platonic".

This is the result :

Project 2 : I have the fixed BoundingBoxRig on an object named "GameObject". I am scaling the children "Cube".

this is the result :

It seems the new BoundingBoxRig does not take children in account. Am I right ?

So you merged this even though the BoundingBoxRig does not take children in account ? :open_mouth:

@ThomasAstrakhan Are you saying the original issue wasn't fixed by #2212? Please reopen if so. Otherwise, if there are new problems, please file new issues.

@keveleigh I think the Bounding Box and App Bar are not working as expected for Rectangular Holograms. Look at this :
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/2042#issuecomment-401012159

Yesterday I updated my project with 2<IP_ADDRESS> release. The solution for the problem of the AppBar does not work as expected. The movement is not good and it does not rotate aorund the hologram.
I had to use the solution provided by @Cyhzault and make some changes to the script so that the icons appear correctly. As @ThomasAstrakhan said, it would be grate if this issue could be reopened so that the problem can be solved.

Please upgrade to MRTK v2 as a lot of these are addressed in the updated version.


ALP passes 0 as max_calls to LPF collectives initialisation...

...but then proceeds to make more than zero calls. The LPF collective spec additionally explicitly forbids calling the constructor with 0 max_calls. This occurs in bsp1d/exec.hpp and perhaps elsewhere also.

Note: this is not a priority issue since the current LPF collectives implementation ignores the argument.


Just Citing/Acknowledging Your Work

Gonna open then immediately close this issue. Just reaching out to let you know that my DBPF wiki cites this repository.

wiki: https://anonhostpi.github.io/DBPF.js/docs/other/spec/

I'm avidly working on my own DBPF reader. If you see anything missing from my wiki (...or my lib), feel free let me know! I'm avidly working on them every day
I just wanted to be sure you knew I was citing your work! Very interesting library. Nice to see a DBPF reader catered to SimCity. I feel like those games are often forgotten!

Thanks.
Historically DBPF support is probably one of those things that many modders would write their own version of. You may have already seen this Simtropolis post with a list of other open-source DBPF code.
This library is split off from the DBPF library that I wrote years ago for my SC4 texture modding tools: https://github.com/0xC0000054/FshDatIO
Ilive's Reader is another implementation written in C++, https://sourceforge.net/p/ilive-reader/code/HEAD/tree/trunk/or_dat/sim015.cpp
I am surprised at how long EA/Maxis have continued to use the format.

I was hoping to centralize it a bit by offering an updated and more centralized wiki tailored to TS4.
I'm also working on some tooling for generating JSON Metadata files for DBPF entry types that pulls from the wiki. The idea is to make it easier for other devs to write their own readers in whatever languages they want.

I'm also now working on Kaitai tooling as well for entries:

see: https://github.com/anonhostpi/DBPF.js/blob/main/docs/spec/sections/ResourceTypes.md#structure

which generates: https://github.com/anonhostpi/DBPF.js/blob/main/src/Plugins/ResourceTypes/GEOM/geom.ksy

using node scripts/resources.js


Fix #2358 by recognizing props wrapped in $ReadOnly<>

Not sure why the build fails - I don’t see how it could be related to my changes. The same error happened on master a month ago:
https://travis-ci.org/yannickcr/eslint-plugin-react/builds/551059139

There are two ESLint errors related to your changes that are causing that failure. Lines 651-652 are specifically the cause of the failure.

Thanks! I'm not used to a project with many warnings, I missed the fact there were 2 errors.

okay, done


Fix for #29608 'QuickOpen looks misaligned in monokai theme'.

Changed the 'widget.shadow' property of the monokai theme to #00000 so that it does not blend in with any of the backgrounds.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks


Update crypto defaults for OpenVPN/IPsec

[X] Redmine Issue: https://redmine.pfsense.org/issues/8594
[x] Ready for review

Updated default cipher to AES-128, default hash to SHA256, default DH group to 2048 bit (IPsec DH group 14). These are potential changes, and are here as a placeholder while the proposal to update them is being discussed. In the mean time, please make sure that I've touched everything necessary to make the UI/admin experience consistent.

Commited requested fix.

I noticed one thing that might need to be changed. From the proposal it states:
IPsec Phase 2:
Encryption Algorithms: AES, AES-128GCM
Hash Algorithms: SHA256
PFS Key Group: Group 14 (2048 bits)

This is what is seen as the default for Phase 2

If I understand correctly AES and AES-128GCM should be selected. Also Auto should probably be 128 bits to match up. Everything else is looking good so far.

Sorry, the original email notification died in email hell. I'll push a fix by the end of the weekend.

Changes made. Sorry that took so long!


Fix auto add in pre_commit hook

Closes #40

Pull Request Test Coverage Report for Build 105

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 103:
0.0%

Covered Lines:
170

Relevant Lines:
170

💛  - Coveralls


Libp2p max listeners warning

Describe the bug
After recent libp2p upgrade (https://github.com/ChainSafe/lodestar/pull/6285) I am seeing the following error (with --trace-warnings enabled)
(node:206518) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
    at [kNewListener] (node:internal/event_target:546:17)
    at [kNewListener] (node:internal/abort_controller:239:24)
    at EventTarget.addEventListener (node:internal/event_target:659:23)
    at anySignal (file:///home/devops/goerli/lodestar/node_modules/libp2p/node_modules/any-signal/dist/src/index.js:21:20)
    at DialQueue.createDialAbortController (file:///home/devops/goerli/lodestar/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:200:24)
    at queue.add.peerId.peerId [as fn] (file:///home/devops/goerli/lodestar/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:126:33)
    at Job.run (file:///home/devops/goerli/lodestar/node_modules/@libp2p/utils/dist/src/queue/job.js:56:50)
    at Queue.tryToStartAnother (file:///home/devops/goerli/lodestar/node_modules/@libp2p/utils/dist/src/queue/index.js:79:17)
    at Queue.add (file:///home/devops/goerli/lodestar/node_modules/@libp2p/utils/dist/src/queue/index.js:121:14)
    at DialQueue.dial (file:///home/devops/goerli/lodestar/node_modules/libp2p/dist/src/connection-manager/dial-queue.js:123:27)

Expected behavior
No MaxListenersExceededWarning warnings
Steps to reproduce
Run lodestar beacon node
Additional context

https://github.com/ChainSafe/lodestar/pull/6285

Operating system
Linux
Lodestar version or commit hash
9eb9cce0fa8b0c37877963793308a348f4f4cdfb

What is the scope and estimation of this fix? It's not really a blocker for v1.15  but can degrade the UX if we released with this.

Could be related to the memory leak we are observing on some nodes? As far as I remember this warning only happens with connected validators

Possibly related listeners warning
(node:7) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 message listeners added to [Worker]. Use emitter.setMaxListeners() to increase limit
    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at _addListener (node:events:592:17)
    at Worker.addListener (node:events:610:10)
    at Worker.addEventListener (/usr/app/node_modules/@chainsafe/threads/dist/master/implementation.node.js:134:18)
    at /usr/app/node_modules/@chainsafe/threads/dist/master/invocation-proxy.js:64:16
    at new Subscription (/usr/app/node_modules/observable-fns/dist/observable.js:159:40)
    at Observable.subscribe (/usr/app/node_modules/observable-fns/dist/observable.js:210:16)
    at /usr/app/node_modules/observable-fns/dist/multicast.js:31:49
    at new Subscription (/usr/app/node_modules/observable-fns/dist/observable.js:159:40)

This issue should be fixed by

https://github.com/libp2p/js-libp2p/pull/2417

Just need to update all libp2p libs to latest

resolved


6.2

latest code

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: balakrishnavalluri-gep sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


🌱 Fix make targets for release

What this PR does / why we need it: Fix make targets for release
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/retest


[#196] Implement incremental write loop for write operation

All tests pass.
Considering the idea of passing an input struct rather than 10+ parameters. Not required, but much easier to deal with from a code standpoint and while reading. Can also handle this later.
TODO: Add tests which force the use of bg thread pool when writing to iRODS. The number of writes depend on the configuration of the HTTP API, so we'll need to document the assumptions of the test suite too.

Added tests.

All review comments have been resolved.
Tests still pass.
Waiting for final review.

Made minor tweak to test - no change in behavior.
Tests still pass.
Ready for final review again.

looks good to me - i think ready for squashing.

Tests still pass.
The latest commits do not introduce any changes in behavior.

good new name.   looks good.

Squashed.
@MartinFlores751's review is on the way.


Save content to Amazon s3 server

Connect with Jesse regarding the SDK

I need an  Identity Pool ID, bucket name, and region.
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/setup.html - Step 3 describes getting AWS credentials
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/s3transferutility.html - gives a brief tutorial of uploading files


Added extension-less URLs

Motivation
This PR also includes a patch to resolve this other change request:
#413
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested by re-running server to confirm page is still rendered properly and that the page is still being correctly served. I then ran 'yarn test' and that passed all test cases.

Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)
Change Impact Analysis
For #413, this was a server-side fix that allowed pages incorrectly classified as ".../page/index.html" to try again and render instead as ".../page.html." Now, all pages that don't include an extension still go through the same endpoint, except if there's failure, then it tries again except without adding the "/index.html" part and instead adds ".html" to the current path.
Do any existing requirements in the baseline conflict with the proposed change?
No.
Do any other pending requirements changes conflict with the proposed change?
No.
What are the business or technical consequences of not making a change?
A user using a web browser trying to access a webpage on this site that doesn't use the .html extension would be redirected to a page that doesn't render anything.
Will the proposed change adversely affect performance requirements or other quality attributes?
No.
Is the proposed change feasible within known technical constraints and current staff skills?
Yes.
Will the proposed change place unacceptable demands on any computer resources required for the development, test, or operating environments?
No, computer resources should stay the same.
Must any tools be acquired to implement and test the change?
Contributors may use the built-in test suite to test the change using command yarn test. They may also go ahead and try accessing pages with and without the .html extension.
How will the proposed change affect the sequence, dependencies, effort, or duration of any tasks currently in the project plan?
No dependencies needed to be changed and no new dependencies need to be added in order to implement this change.
Will prototyping or other use input be required to verify the proposed change?
Yes, a prototype of this webpage can be used to test if extension-less pages work and if pages with the .html extension still work as well.
How much effort that has already been invested in the project will be lost if this change is accepted?
Possibly a few hours.
Will the proposed change cause an increase in product unit cost, such as by increasing third-party product licensing fees?
No.
Will the change affect any marketing, manufacturing, training, or customer support plans?
No.
Design Decisions
For #413, I chose to also "gut" the callback function used for the extension-less endpoint into its own function definition. I also chose to write a new function for when ".../index.html" gives an error response.

@InternetExplorer7 Hi! Sorry for the delay here. I am currently on vacation and have been over the last week. I am looking forward to reviewing this.

@InternetExplorer7 Thanks for your contribution! Unfortunately, this isn't all you need to complete the feature.
Changing the routing in the server only works in development mode when the pages are being served via Express. In production, the site is built as static files and is served like a file directory server. After the build command is ran, th extensionless URLs wouldn't work because there's no /path/index.html file present when you try to access /path.
Try running yarn build and running a local webserver in the build directory and see for yourself. For example, for /path/installation.html you would need to generate the following directories and files:
├── path
│   ├── installation.html
│   └── installation
│       └── index.html

so that the web server will serve /path/installation/index.html when someone tries to access /path/information. Generating path/installation.html is for preserving backward compatibility.

Closing due to inactivity. Feel free to reopen.


Define class JuliaBase and JuliaRaw for julia

WIP

Codecov Report

Merging #41 (7105430) into main (4ddd6e8) will decrease coverage by 7.86%.
The diff coverage is 13.79%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   61.92%   54.05%   -7.87%
==========================================
  Files          11       12       +1
  Lines         885     1060     +175
==========================================
+ Hits          548      573      +25
- Misses        337      487     +150

Impacted Files
Coverage Δ

TyPython/src/CPython.APIs.jl
51.66% <0.00%> (-0.88%)
:arrow_down:

TyPython/src/CPython.jl
67.74% <ø> (ø)

TyPython/src/CPython.Wrap.jl
9.75% <9.75%> (ø)

TyPython/src/CPython.Boot.jl
81.63% <100.00%> (+2.56%)
:arrow_up:

TyPython/src/CPython.Defs.jl
22.91% <100.00%> (+5.13%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Besides, changes for credits are needed as this PR uses code from PythonCall.

Small example for test:
import TyPython.CPython
import TyPython.CPython: py_coerce, py_cast, Py
CPython.init()
struct p
    x
    y
end
a = p(1,2)
pya = py_cast(Py, a)
# Py(<jl p(1, 2)>)
pya.x
# Py(1)

Todo:
callable objects

Would finish this work in another repo.


Research and add SEO to ensure relaxio shows on first page of search results for "relaxio"

For me, Google shows the Play Store listings of some Android app developer going by the name Relaxio.
However, you are number one on DuckDuckGo.

Google and other search engines like to say that, at bottom, their sorting algorithms are just trying to find the sorts of web pages that users will want to see — because the page is interesting, useful, whatever — and that you should therefore focus on just creating compelling content and apps. Beyond this, most of the SEO techniques I know are basically just about making sure your page explains itself well and is well formatted (unless you're trying to build a clickbait farm 😈 ).

[ ] Semantic markup --- this applies somewhat more so to articles than apps, but probably you'd want to check on some basic things, like:

actually using <p> elements for paragraphs, <blockquote> for blockquotes, <header> and <footer> for headers and footers, <nav>, <main>, and so on, rather than just dumping everything into a <div>.
headings should be marked up as headings instead of simply styled with larger font-size.
also, the different uses of bold and italics in text mean different things, so you should be using different tags to mark them up: <em> for emphasis, <cite> for titles of a work, <strong> for important phrases you don't want the user to skip or misread... <i> and <b> aren't actually deprecated, but their intended use cases are relatively limited.

[ ] Use a descriptive <h1> title and <meta> description tag for every page. <meta> tags containing a list of keywords are pretty much universally ignored, because it's too easy to abuse, but a short description can still be good.
[ ] OpenGraph <meta> tags will help give you a nice-looking preview when people share a link to Relaxio.
[ ] Backlinks also help, so try posting about Relaxio on Twitter, Reddit, wherever. If you really wanted to make a big push, you could also ask friends to re-share and comment, and submit to blogs and stuff, but that's starting to turn into social engineering rather than SEO.
[ ] Keyword optimization (also pejoratively called "keyword stuffing") is where you try to use a keyword or keyphrase as many times as possible to help make sure your site appears higher up for searches for that word or phrase. I wouldn't bother with this except to make sure the <meta> description and About page use relevant language --- probably you ought to mention something about "white noise", "soothing sounds", "relaxation", and/or possibly "ASMR", or whatever phrasing you think most appropriate --- but anything much beyond that veers toward keyword abuse, a technique commonly used in spammy clickbait sites, and you don't want search engines to flag you as spam...

This project is no longer maintained enough for this to be relevant


sord: 0.16.0 -> 0.16.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sord/versions.
meta.description for sord is: '"A lightweight C library for storing RDF data in memory"'.

Checks done (click to expand)

built on NixOS
/nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/bin/sord_validate passed the binary check.
/nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/bin/sordi passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 0.16.2 with grep in /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2
directory tree listing: https://gist.github.com/b9ece7f5f17eecd2f28786cbd34d8b7d
du listing: https://gist.github.com/6907e83638f06ccea2bcc8916ad0122d

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout c07f4d07f05de95ab41f464185063f5587b37bf1 && nix-shell --pure -I nixpkgs=. -p sord

cc @cillianderoiste for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: sord
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: sord
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2
shrinking /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/bin/sord_validate
shrinking /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/bin/sordi
shrinking /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/lib/libsord-0.so.0.16.2
gzipping man pages under /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/share/man/
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/lib  /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2/bin
patching script interpreter paths in /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2
checking for references to /build in /nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2...
/nix/store/s0vbrmqjsxnf482fqdxyhdxd8kjqgqv8-sord-0.16.2

Success on x86_64-linux (full log)
Attempted: sord
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2
shrinking /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/bin/sord_validate
shrinking /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/bin/sordi
shrinking /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/lib/libsord-0.so.0.16.2
gzipping man pages under /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/share/man/
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/lib  /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2/bin
patching script interpreter paths in /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2
checking for references to /tmp/nix-build-sord-0.16.2.drv-0 in /nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2...
/nix/store/hfsxpp1nhj2mp2lfqpp90cbibs90asb0-sord-0.16.2

Failure on aarch64-linux (full log)
Attempted: sord
Partial log (click to expand)
tar: binutils-2.30/include/aout/host.h: Cannot write: No space left on device
tar: binutils-2.30/include/gcc-c-fe.def: Cannot write: No space left on device
tar: binutils-2.30/include/oasys.h: Cannot write: No space left on device
tar: binutils-2.30/depcomp: Cannot write: No space left on device
tar: binutils-2.30/config.guess: Cannot write: No space left on device
tar: binutils-2.30/ltmain.sh: Cannot write: No space left on device
tar: binutils-2.30/ltsugar.m4: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
do not know how to unpack source archive /nix/store/16bz7vzc97nsxrrrwi22fk3w31znd6zr-binutils-2.30.tar.bz2
error: unexpected end-of-file

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: sord
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Timed out, unknown build status on x86_64-linux (full log)
Attempted: sord
Partial log (click to expand)
cannot build derivation ‘/nix/store/r247x7fabfam3l6ad8jsb14nwjgmydvl-libkrb5-1.15.2.drv’: 5 dependencies couldn't be built
cannot build derivation ‘/nix/store/n8fw9i0lw88javhfim6icffzqj3jybv9-libssh2-1.8.0.drv’: 3 dependencies couldn't be built
cannot build derivation ‘/nix/store/r1ph3mx1psxc0adwcj8f9lhvgg6ckjs7-nghttp2-1.32.0.drv’: 6 dependencies couldn't be built
cannot build derivation ‘/nix/store/pkgw7fcdd18x6g8xy8va81nxn8d6jg1v-readline-6.3p08.drv’: 3 dependencies couldn't be built
cannot build derivation ‘/nix/store/1lzm6m2za48cy7c3idkg5l4l9cv3nnq2-curl-7.61.0.drv’: 8 dependencies couldn't be built
cannot build derivation ‘/nix/store/cz5qw2jspcwji3rv1nd9ffjg0kkiblz8-python-2.7.15.drv’: 10 dependencies couldn't be built
cannot build derivation ‘/nix/store/va4gg8vm34nqgl1yg44vamjrrp4hrngf-serd-0.28.0.drv’: 4 dependencies couldn't be built
cannot build derivation ‘/nix/store/pggs8dwxg82a0khc68rz1c2f7hnrx2qg-sord-0.16.2.tar.bz2.drv’: 4 dependencies couldn't be built
cannot build derivation ‘/nix/store/y3xck0yil7xvjkyn356lnphk4n87kja8-sord-0.16.2.drv’: 7 dependencies couldn't be built
error: build of ‘/nix/store/y3xck0yil7xvjkyn356lnphk4n87kja8-sord-0.16.2.drv’ failed

@GrahamcOfBorg build sord

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: sord
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: sord
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2
shrinking /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/bin/sord_validate
shrinking /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/bin/sordi
shrinking /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/lib/libsord-0.so.0.16.2
gzipping man pages under /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/share/man/
/nix/store/3bq0zgzfmfynpkwxs0f6r5xrasi987ps-binutils-2.30/bin/strip is /nix/store/3bq0zgzfmfynpkwxs0f6r5xrasi987ps-binutils-2.30/bin/strip
stripping (with command /nix/store/3bq0zgzfmfynpkwxs0f6r5xrasi987ps-binutils-2.30/bin/strip and flags -S) in /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/lib  /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2/bin
patching script interpreter paths in /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2
checking for references to /build in /nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2...
/nix/store/6fqfwr0jmfvnalpiyj2i2npllqm518ny-sord-0.16.2


Category Picker

Description
Styling the category picker
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Change Status

[x ] Complete, but not tested (may need new tests)

Checklist

[x] There are no merge conflicts

Awesome!


Bug: Users with unicode characters from LDAP are not created correctly

Hello,
I have some users with accent in their name that cannot login after first time. When they try to login for the first time, their account is created and they are able to use the wiki. But whenever they try to login a second time it doesn't work.
when I look into the account, the external auth ID is truncated after their Accent, IE:
CN=Micka instead of CN=Mickaël Mathieu,OU=Users_Lausanne,DC=domain,DC=ch
I tried to manually update the auth ID, and afterwards when they try to login with debug=true, they get the following message:
QueryException in Connection.php line 669: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry<EMAIL_ADDRESS>for key 'users_email_unique' (SQL: insert into users (name, external_auth_id, email, email_confirmed, remember_token, updated_at, created_at) values (Micka�l Mathieu, CN=Micka�l Mathieu,OU=Users_Lausanne,DC=domain,DC=ch<EMAIL_ADDRESS>1, [edited:hash], 2016-03-30 07:06:58, 2016-03-30 07:06:58)

Hi @sirgix,
I've tried to replicate this issue but I can't seem to produce the same results as reported. I used the name Mickaël Mathieu for a new user on my LDAP server and could log in with that name without issue (Multiple times).
Are unicode characters working in other areas of the application such as in a page?
Also, Would you be able to provide the LDAP_USER_FILTER you're using?

Hey @ssddanbrown
All unicode characters are fine elsewehere. It's only in this error message that they are not correctly encoded.
also:
LDAP_USER_FILTER=(&(mail=${user}))
LDAP_VERSION=false

Thanks a lot !

Hi @sirgix,
I've done some more testing, Made my set-up much more like yours (Used the same filter, Forced the system to use DN's as the UID) but I still can't get this issue to occur.
The database Exception you're getting is due to the AuthID's not matching (Due to the encoding issue) and therefore BookStack tries to create a new user but this fails since a user with that Email already exists.
Since you're not seeing the same issues anywhere else I'm starting to think it may be due to the encoding from your LDAP server. Could you double check on the exact encoding your LDAP server is using?

@ssddanbrown don't worry, thanks a lot for your help! I'll try and look at it myself this week and then I'll make a PR when I find the problem, directly on our system!

@ssddanbrown I found the problem. I had to specify ldap_version to 3 and then enconding is correct.
We have a pretty old LDAP server and maybe not setting the version specifically doesn't enforce utf8? I don't really know the why, but it works now!


Rendering glitch with editor leaving trail behind when camera is moving

The screen space not occupied by the editor doesn't clear. Whatever was rendered last, stays there permanently. That makes the editor leave the trail behind as it's render surface moves through screen space.
The workaround seems to be to limit number of stencil usages per frame to less than 14. The workaround has no noticeable rendering artifacts. It seems that first 12 stencil passes manage to cut away all of excess content that was present before stencils were introduced.

The issue was in lovr graphics code. It is now solved in commit on dev branch, which is at the moment not compatible with lovr-lite because it misses rasterizer changes made on master branch.
The issue will be closed once the dev changes are merged onto lovr master.


snowflake_stage import successful but plan wants to create stage

Provider Version
v0.25.16
Terraform Version
0.14.11
Describe the bug
We have a manually created Snowflake stage that we are trying to get under the control of Terraform. There are two resources related to this; snowflake_stage.snowflake_backup_stage and snowflake_stage_grant.snowflake_backup_stage_grant.
The snowflake_stage_grant.snowflake_backup_stage_grant is present and recognised by the provider. We imported the snowflake_stage.snowflake_backup_stage resource from the command line as follows:
snowflake_stage.snowflake_backup_stage: Importing from ID "RAW_STAGING|DBT|BACKUP_S3_STAGE_STAGING"...
snowflake_stage.snowflake_backup_stage: Import prepared!
  Prepared snowflake_stage for import
snowflake_stage.snowflake_backup_stage: Refreshing state... [id=RAW_STAGING|DBT|BACKUP_S3_STAGE_STAGING]

Import successful!

The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.

However when we run a plan against the Terraform it still attempts to create the stage and checking the debug output we see this:
2021/08/13 08:54:39 [DEBUG] Resource instance state not found for node "snowflake_stage.snowflake_backup_stage", instance snowflake_stage.snowflake_backup_stage
2021/08/13 08:54:39 [DEBUG] ReferenceTransformer: "snowflake_stage.snowflake_backup_stage" references: []
2021/08/13 08:54:39 [DEBUG] refresh: snowflake_stage.snowflake_backup_stage: no state, so not refreshing
snowflake_stage.mixpanel_s3_stage: Refreshing state... [id=RAW_STAGING|MIXPANEL_S3_STAGING|MIXPANEL_S3_STAGE_STAGING]
2021-08-13T08:54:39.264Z [INFO]  plugin.terraform-provider-snowflake_v0.25.16: 2021/08/13 08:54:39 [DEBUG] query stmt DESCRIBE STAGE "RAW_STAGING"."MIXPANEL_S3_STAGING"."MIXPANEL_S3_STAGE_STAGING": timestamp=2021-08-13T08:54:39.264Z
2021-08-13T08:54:39.267Z [INFO]  plugin.terraform-provider-aws_v3.54.0_x5: 2021/08/13 08:54:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2021-08-13T08:54:39.266Z
2021-08-13T08:54:39.267Z [INFO]  plugin.terraform-provider-aws_v3.54.0_x5: 2021/08/13 08:54:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2021-08-13T08:54:39.266Z
2021-08-13T08:54:39.267Z [INFO]  plugin.terraform-provider-aws_v3.54.0_x5: 2021/08/13 08:54:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2021-08-13T08:54:39.266Z
2021-08-13T08:54:39.267Z [INFO]  plugin.terraform-provider-aws_v3.54.0_x5: 2021/08/13 08:54:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet: timestamp=2021-08-13T08:54:39.266Z

Expected behavior
I would expect that with the resource imported successfully the plan should not want to create the stage.
Code samples and commands
resource "snowflake_stage" "snowflake_backup_stage" {
  provider             = snowflake.snowflake_sysadmin
  name                  = "BACKUP_S3_STAGE_${upper(var.env)}"
  url                       = "s3://${local.s3_backup_bucket}/"
  database            = local.raw_database
  schema              = "DBT"
  file_format         = "TYPE = CSV, COMPRESSION = GZIP, FIELD_OPTIONALLY_ENCLOSED_BY = '\"'"
  storage_integration = snowflake_storage_integration.aws_s3_snowflake_integration.name
}

Error between chair and keyboard here


Visual studio 2017 support

Contains two major changes:

Update NuGet package to 4.0.0.
Reworked VS 2017 extension to be self-contained, so it does not require MSI to install,

Had to move some files around, e.g. link .xaml and .cs files from shared project so that rules can be compiled. Changed NuProj.Tasks produces full package Tools output during build, which simplifies NuProj.nuproj considerably.

Anything preventing this from being merged and an update published?

Eagerly waiting for this to be committed, 👍

Eagerly waiting this to be merged!

@terrajobst Why isn't there a build validation result with this PR? Does appveyor not build PRs for this project?

Sorry I haven't updated this for some time. I've been looking into making VS2017 only build. At the same time I've found that that MSBuild 15 adds another property to _MSBuildProjectReferenceExistent. This causes almost all unit tests to fail when building under new version of MSBuild, due to duplicate project builds. Unit tests succeed in MSBuild 14.

That's fine. I have no objection to MSBuild 14 if it works.

And I don't mind if we merge this PR while it still builds support for all versions of VS.

Eagerly waiting this to be merged!

Can we please have this merged and published? Not having a decent solution for building Nuget packages in VS 2017 is truly annoying... 😉

When does release appear?

It's on nuget.org now. The VSIX isn't on the gallery yet, pending some validation. But you can get it from our CI server's artifact drop, which is linked to from our readme.


Fix problem while updating kubeconfig files

Description of changes:
In some cases the file end-up empty as we read and write in the same file at the same time.
This update solves the problem
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Yes I’ll update this also
Sébastien

Le 29 mai 2020 à 17:48, Brent Langston<EMAIL_ADDRESS>a écrit :

@brentley requested changes on this pull request.
This also looks like a good candidate for yq usage (see the other PR)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

yq installs with with strict confinement, this means it doesn't have direct access to root files so I have added moreutils package in order to uses sponge to write the file.
@brentley Is the change ok for you ?


[0.10] canOnlyDependOn

Hi!
Great job on 0.10!
Most of my tests included the canOnlyDependOn assertion, which I guess is removed in 0.10. Was this done on purpose and do you maybe have an alternative way of writing these rules? :)
Edit:
Ah. I guess I can nest it like this?
return PHPat::rule()
    ->classes(Selector::haveClassName('...'))
    ->shouldNotDependOn()
    ->classes(
        Selector::NOT(
            Selector::classname('...')
        )
    )

Closing this as the anwser is in the first post. Follow up question in https://github.com/carlosas/phpat/issues/202; how to stack NOT selectors?

Hi @darthf1
As you stated in the other open issue, it can be achieved with
 public function testApplicationLayerOnlyDependsOnDomainAndApplicationLayer(): Rule
    {
        return PHPat::rule()
            ->classes(
                Selector::namespace('/^Application.*/', true),
            )
            ->shouldNotDependOn()
            ->classes(Selector::all())
            ->excluding(
                Selector::namespace('/^Application.*/', true),
                Selector::namespace('/^Domain.*/', true),
            )
        ;
    }

however, is true that the statement might look a bit weird. I will try to bring back canOnlyDependOn() in following versions.

Was this done on purpose?
During the refactor as a PHPStan extension I had to left behind some previously working functionalities (that I plan to recreate at some point) like Composer-based selectors and some assertions like this one. Re-doing everything at once with the paradigm change would have been too much work for a first version.

Added canOnlyDependOn assertion in https://github.com/carlosas/phpat/releases/tag/0.10.3


Please remove from pombe slim GO:1901135

I know I can do this, but I forgot where
Please remove from pombe slim GO:1901135

If you mean the table on https://www.pombase.org/browse-curation/fission-yeast-go-slim-terms, it gets filled in by a script, so will automagically catch up after the change is done in GO (and wends its way through the GO release pipeline and our Chado load ...).

I wasn't sure it was changed over yet, I thought it was still hard coded. Kim can you confirm?
v

you can see the source here:
https://raw.githubusercontent.com/pombase/website/master/frontend/src/docs/browse-curation/fission-yeast-go-slim-terms.md
The last line calls a script that fills in everything below the documentation links.

ok, found the config bit it calls and updated that
(the file in svn)

ok, found the config bit it calls and updated that

Thanks.  The term is gone on the main site now.


Create configuration bundle mechanism (like "extends" from eslint)

External parties should be able to create more complex set of configurations that could be reused.
For example, one could create a set of configurations specialized for Serverless Framework checks, such as checking if the "runtime" attribute of all serverless.yml files are the same in the project etc. It can help organizations share a common set of rules among monorepos also.
Our configuration would be:

{
  "extends": ["monolint:recommended", "monolint:serverless", "plugin:somepluginname"],
  "rules": {
    "packagejson-same-name": true
  },
  "defaults": false -> WOULD BE REMOVED. by default "monolint:recommended" would activated and to deactivate everything one should only do "extends": []
}

(all the default configurations should be declared using the same mechanism also. The difference is that the "defaults" would be "default" activated bundles)

Nice, I think that in fact we don't need the defaults: false. As you pointed, the extends: [] will do the trick when users doesn't want the defaults.


Feature Request: Convert BNP to standalone/console mod

BCML has a feature that converts a BNP file to a standalone ZIP file for use with Cemu or consoles. It would be great if that feature could be included in bnptool since it would streamline the process of creating cross-platform mods.
A short example of the workflow could be:
# Create the BNP
bnptool create --name "Linkle Mod - Dialogue Fix" --version 1.5.1 -o ./dist/LinkleModDialogFix_v1_5_1.bnp ./src

# Convert the BNP to standalone
bnptool convert -o ./dist/LinkleModDialogFix_v1_5_1.zip ./dist/LinkleModDialogFix_v1_5_1.bnp

Hmm. let me see what I can do.

See 13590a53be1be7501530c1dc7a9f3da5c5faa2a4


Aggregated Graph type

Aggregated graphs are mentioned as a kind of KP, but they are built from other KPs which is generally disallowed. This must be a special case to handle how much data is necessary to build an aggregated graph (such that it wouldn't make sense to build it from ARA queries)?
Is BigKG in the figure such an aggregate?
I'll have to dig in a little more to see where the platform services integrate.

Yes, "Big KG" and aggregated knowledge graph (AKG) refer to the same type of thing. I think I've also heard "shared knowledge graph".
These AKGs may behave like KPs from the perspective of an ARA, but maybe it will be easier to think about them as a separate fourth type of Translator component.

Sounds good, AKGs as a 4th type was the sense I was getting. Is there a standard creation/update process defined for them (via API calls to KPs maybe) or will they need to be more custom? (Sorry if these are weird questions, still just getting my feet wet :-P)

This is a good question! There is not a process, yet. Defining one is the goal of #3.

Haha, perfect, closing :)