Documentation on POST for addPath

I get the i18next-xhr-backend working and it is calling by backend properly.
I'm getting a weird payload such as the following:
{'navbar_title': ['navbar_title'], '_t': ['Tue Dec 11 2018 15:04:06 GMT-0600 (Central Standard Time)']}

I don't understand why I'm not getting something more like the following:
{key: 'navbar_title'. _t: ['Tue Dec 11 2018 15:04:06 GMT-0600 (Central Standard Time)']}

It looks like a single POST request can be made for multiple items?
Why the navbar_title both in the key of the object and in the value?
Is there any documentation on how the API works though?

looks like something is intercepting the xhr?!?


Validator bug fix, previously results in error: '[Validator] unknown …

While running proto buf compiler with --validate_out="lang=go:./proto" was always giving error: '[Validator] unknown lang parameter'. Upon code analysis I found that this condition checks if the langParamValue is not empty and fails with the error message above.
The problem is that it fails even when it should not. Fixed issue, modified this condition to check if the lang parameter value is not equal to the expected language.
Hope this is fine.
Thanks!

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

This behavior is by design - see the discussion here: https://github.com/bufbuild/protoc-gen-validate/pull/717#discussion_r1014424191
The validate-{cpp,go,java} binaries are meant to be used without specifying a language option.


Chip delete button tap target is always 1/3 the width of the whole chip.

Description

On a chip with a delete button, the chip considers any tap on the rightmost 1/3 of the chip as a tap on the delete button. (On an RTL chip, it is the leftmost 1/3.)
This tap target could be too large (if the chip is long) or too small (if the chip is short).
To implement it correctly, the tap target for the delete button should depend solely on the location and size of the delete button, not the size of the entire chip. For example, we can let the tap target be a 48×48 square centered on the delete button.

Possible related issues
This issue may be related to the following issue:

Chip delete button tap target is too small. #42455

Steps to reproduce

Create a new flutter app.
Copy the code below and save it as main.dart for the app.
Run the app.
You will see a chip with a long text label and a delete button.
You will also see a text message below the chip.
When you click on different parts of the chip, the text message on the screen will show you which part of the chip (label vs. delete button) is clicked.
If you click on the word "chip" in the label (which is very near the delete button), the message will say "Delete button pressed" instead of "Label pressed".

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

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

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

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

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  int _messageCount = 0;
  String _onScreenMessage = 'Press the chip in different positions.';

  String get currentReport => '[$_messageCount] $_onScreenMessage';

  void _report(String report) {
    setState(() {
      _messageCount ++;
      _onScreenMessage = report;
    });
    print(currentReport);
  }

  @override
  Widget build(BuildContext context) {
    return Material(
      child: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            RawChip(
              label: Text("A supercalifragilisticexpialidocious chip."),
              onPressed: () {_report('Label pressed.');},
              onDeleted: () {_report('Delete button pressed.');},
              deleteIcon: Icon(Icons.close),
            ),
            Text(
              currentReport,
              style: Theme.of(context).textTheme.subtitle,
            ),
          ],
        ),
      ),
    );
  }
}

Touching for 2020 triage experiment. Thanks for the reproducible case!

Issue still exist when "If you click on the word "chip" in the label (which is very near the delete button), the message will say "Delete button pressed" instead of "Label pressed"."

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.18.0 at /Users/taha/Code/flutter_dev
    • Framework revision 8f7327f83a (2 days ago), 2020-04-06 22:11:01 -0400
    • Engine revision 49891e0653
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.4 19E266
    • Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.92
    • Web Server • web-server • web-javascript • Flutter Tools
• No issues found!
taha@Tahas-MacBook-Pro AndroidStudioProjects % flutterd doctor -v
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.18.0 at /Users/taha/Code/flutter_dev
    • Framework revision 8f7327f83a (2 days ago), 2020-04-06 22:11:01 -0400
    • Engine revision 49891e0653
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E266
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.92
    • Web Server    • web-server                • web-javascript • Flutter Tools
• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 1.22.5 at C:\Code\flutter_stable
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.0

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.157, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 1.26.0-2.0.pre.157 at C:\Code\flutter_master
    • Framework revision 4b83be6c23 (5 hours ago), 2020-12-30 02:09:03 -0500
    • Engine revision 0e5a25d779
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30804.86
    • Windows 10 SDK version 10.0.18362.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.19042.685]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 87.0.664.66

• No issues found!


Unclear documentation

Issue in /src/pages/ps_reference/classes/photoshop.md
It is unclear what is Dev environments only and how is it configured.
List of all possible events and documentation for them is also missing.

This is when you load the plugin via Dev Tools. Nothing else.

@jardicc Thanks
Well, I just found out in practice that dev event listeners are not working at all.
This is the correct way to find events now: https://forums.creativeclouddeveloper.com/t/how-can-i-use-app-eventnotifier/4801
That means that documentation needs updating

Well in production you can't listen to all events... you need to name it. If people want to listen to all events for development needs... most of them will use Alchemist. It gives you the same data but in the better view.


[Misc] Add assertion and helpful message for marlin24 compressed models

Summary

A common issue for users when running marlin24 compressed models
Add an assertion and helpful message about setting the dtype

@mgoin
@robertgshaw2-neuralmagic


Flutter Failed to load dynamic library libpv_porcupine.so

Somehow i got this exception after it was working fine.
Device is SM G532F.
When it try to initialize porcupine manager it fails.
Logs:
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libpv_porcupine.so': dlopen failed: library "libpv_porcupine.so" not found

Please follow the issue template and provide enough information that we can reproduce your issue. A single line of an error message with no context is not sufficient.

Code (was working fine with the same device):
`import 'dart:async';
import 'dart:io';
import 'package:flutter/services.dart';
import 'package:forher/src/db/auth.dart';
import 'package:forher/src/db/storage.dart';
import 'package:forher/src/models/alert.dart';
import 'package:forher/src/models/user.dart';
import 'package:get/get.dart';
import 'package:injectable/injectable.dart';
import 'package:location/location.dart';
import 'package:path_provider/path_provider.dart';
import 'package:porcupine/porcupine_error.dart';
import 'package:porcupine/porcupine_manager.dart';
import 'package:record/record.dart';
@singleton
class SpeechService extends GetxController {
final storage = Get.find();
final auth = Get.find();
Rx wordKey = Rx('');
Rx occurance = Rx(0);
static const int maxDuration = 10;
bool _isRecording = false;
int _remainingDuration = maxDuration;
Timer? _timer;
LocationData? locationData;
late PorcupineManager porcupineManager;
String keywordAssetAndroid = "assets/sounds/harm-it-android.ppn";
String keywordAssetIos = "assets/sounds/harm-it-ios.ppn";
Future _extractAsset(String resourcePath) async {
// extraction destination
String resourceDirectory = (await getApplicationDocumentsDirectory()).path;
String outputPath = '$resourceDirectory/$resourcePath';
File outputFile = new File(outputPath);
ByteData data = await rootBundle.load(resourcePath);
final buffer = data.buffer;

await outputFile.create(recursive: true);
await outputFile.writeAsBytes(
    buffer.asUint8List(data.offsetInBytes, data.lengthInBytes));
return outputPath;

}
// Get Location
void getUserLocation() async {
Location location = Location();
bool serviceEnabled;
PermissionStatus permissionStatus;

serviceEnabled = await location.serviceEnabled();
if (!serviceEnabled) {
  serviceEnabled = await location.requestService();
  if (!serviceEnabled) {
    return;
  }
}

permissionStatus = await location.hasPermission();
if (permissionStatus == PermissionStatus.denied) {
  permissionStatus = await location.requestPermission();
  if (permissionStatus != PermissionStatus.granted) {
    return;
  }
}

locationData = await location.getLocation();
print(locationData);

}
/// Create Alert
Future createAlert(String record) async {
UserModel? currentUser = await auth.getUser();
Alert currentAlert;
if (currentUser != null && locationData != null) {
currentAlert = Alert(
active: true,
date: DateTime.now().toString(),
long: locationData!.longitude!,
lat: locationData!.latitude!,
userId: currentUser.uid!,
userImageUrl: currentUser.avatarUrl!,
username: currentUser.firstName! + ' ' + currentUser.lastName!,
record: record,
markerId: currentUser.uid!,
);
auth.createAlert(currentAlert);
}
}
/// Send Alert
Future sendAlert() async {
getUserLocation();
await start();
}
/// Initialization function called when the app is first opened
Future initializeSpeechService() async {
await createPorcupineManager();
listenForWakeWord();
}
/// Create an instance of your porcupineManager which will listen for the given wake words
/// Must call start on the manager to actually start listening
Future createPorcupineManager() async {
try {
String extractedKeywordPathAndroid =
await _extractAsset(keywordAssetAndroid);
String extractedKeywordPathIos = await _extractAsset(keywordAssetIos);
String words = Platform.isAndroid
? extractedKeywordPathAndroid
: extractedKeywordPathIos;
porcupineManager =
await PorcupineManager.fromKeywordPaths([words], wakeWordCallback);
} on PvError catch (err) {
// handle porcupine init error
print('Porcupine error: ' + err.message!);
}
}
/// The function that's triggered when the Porcupine instance recognizes a wake word
/// Input is the index of the wake word in the list of those being used
Future wakeWordCallback(int word) async {
occurance.value += 1;
print('Wake word activated ${occurance.value} index: ' + word.toString());
wordKey.value =
'Wake word activated ${occurance.value} index: ' + word.toString();
// Terminator - resets audio resources
if (word == 13) {
await createPorcupineManager();
listenForWakeWord();
} else {
sendAlert();
}
}
/// Begin listening for a wake word
void listenForWakeWord() async {
try {
await porcupineManager.start();
} on PvAudioException catch (ex) {
// deal with either audio exception
print('PvAudioException: ' + ex.message!);
}
}
/// Stop listening for a wake word
void stopListeningForWakeWord() async {
try {
await porcupineManager.stop();
} on PvAudioException catch (ex) {
// deal with either audio exception
print('PvAudioException: ' + ex.message!);
}
}
Future start() async {
try {
if (await Record.hasPermission()) {
final dir = await getApplicationDocumentsDirectory();
await Record.start(path: '${dir.path}/danger.aac');
    bool isRecording = await Record.isRecording();

    _isRecording = isRecording;
    _remainingDuration = maxDuration;

    _startTimer();
  }
} catch (e) {
  print(e);
}

}
Future _stop() async {
_timer?.cancel();
await Record.stop();
_isRecording = false;
_remainingDuration = maxDuration;

}
void _startTimer() {
const tick = const Duration(milliseconds: 500);
_timer?.cancel();

_timer = Timer.periodic(
  tick,
  (Timer t) async {
    if (!_isRecording) {
      t.cancel();
    } else {
      _remainingDuration = maxDuration - (t.tick / 2).floor();
      print(_remainingDuration);
      if (_remainingDuration <= 0) {
        _stop();
        String? record;
        final dir = await getApplicationDocumentsDirectory();
        String path = dir.path + '/danger.aac';

        File audio = File(path);
        await storage
            .uploadAudio(audio, '/danger')
            .then((value) => record = value);

        createAlert(record!);
      }
    }
  },
);

}
}
`

Debug console output in vscode:
E/flutter (25711): #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:55)
E/flutter (25711): #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:20:12)
E/flutter (25711): #2      _load
package:porcupine/porcupine.dart:294
E/flutter (25711): #3      _porcupineLib
package:porcupine/porcupine.dart:290
E/flutter (25711): #4      _porcupineLib (package:porcupine/porcupine.dart)
package:porcupine/porcupine.dart:1
E/flutter (25711): #5      _porcupineInit
package:porcupine/porcupine.dart:306
E/flutter (25711): #6      _porcupineInit (package:porcupine/porcupine.dart)
package:porcupine/porcupine.dart:1
E/flutter (25711): #7      Porcupine._create
package:porcupine/porcupine.dart:197
E/flutter (25711): <asynchronous suspension>
E/flutter (25711): #8      PorcupineManager.fromKeywordPaths
package:porcupine/porcupine_manager.dart:86
E/flutter (25711): <asynchronous suspension>
E/flutter (25711): #9      SpeechService.createPorcupineManager
package:forher/…/utils/speech_service.dart:120
E/flutter (25711): <asynchronous suspension>
E/flutter (25711): #10     SpeechService.initializeSpeechService
package:forher/…/utils/speech_service.dart:105
E/flutter (25711): <asynchronous suspension>
E/flutter (25711):
V/ActivityThread(25711): updateVisibility : ActivityRecord{fdfb330 token=android.os.BinderProxy@4307ff7 {com.example.forher/com.example.forher.MainActivity}} show : true
2
I/System.out(25711): (HTTPLog)-Static: isSBSettingEnabled false
D/libc-netbsd(25711): [getaddrinfo]: netid=0; mark=0
D/libc-netbsd(25711): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/libc-netbsd(25711): [getaddrinfo]: netid=0; mark=0
D/libc-netbsd(25711): [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
D/libc-netbsd(25711): getaddrinfo: get result from proxy gai_error = 0

Are you able to run the demos in this repo on this device successfully?

I told you it was working fine with the same code, i tested on my emulator and still works fine on it but just fails on my real device.

@FadiChaalab If you want our help you need to be respectful! You ignored the issue template and your last message ("I told you ...") is disrespectful. I will ban you from all the Picovoice repositories if you do this again.

There was no disrespect with what i said and i didn't know what you mean
about template issue.
On Fri, Jun 18, 2021, 3:36 PM Alireza Kenarsari @.***>
wrote:

@FadiChaalab https://github.com/FadiChaalab If you want our help you
need to be respectful! You ignored the issue template and your last message
("I told you ...") is disrespectful. I will ban you from all the Picovoice
repositories if you do this again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Picovoice/porcupine/issues/438#issuecomment-864084669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN2SE2VNJFJM5D3L6PGJZLDTTNKVBANCNFSM463TIMXQ
.


More documentation for Sublime

Some issues I encountered:
Where settings have to go
Answer: Into the Sublime LSP settings, like this:
// Settings in here override those in "LSP/LSP.sublime-settings",

{
  "clients": {
    "haskell-ide-engine": {
      "command": ["hie"],
      "scopes": ["source.haskell"],
      "syntaxes": ["Packages/Haskell/Haskell.sublime-syntax"],
      "languageId": "haskell",
      "settings": {
        "languageServerHaskell": {
            "hlintOn": false,
            // "maxNumberOfProblems": Number
        },
      },
    },
  },
  // "log_debug": true,
}

When settings seem to have no effect
Apparently currently you have to fully restart Sublime for Sublime's LSP plugin to notice changes in configuration; using the command to restart the LSP server isn't enough.
(It is worth saying that in the docs because most other Sublime settings apply immediately without need for a restart.)

TODO: update the README for this

is using the hie-wrapper as simple as changing the command, or is there also some setting that needs to be set to true (something like use_hie_wrapper)?

It is as simple as changing the command


Just wanted to resolve conflicts

Just wanted to add my name alphabetically

https://github.com/kuwarkapur/hacktoberfest-practice/pull/1#issue-689611765

Hey @kuwarkapur You created PR on your fork and not on Repo


Outdated cask: qtox

Outdated cask: qtox.
Info:

version: <IP_ADDRESS>.
appcast url: https://github.com/tux3/qtox/releases.atom.

Please do not run find_outdated_appcasts unless you are a maintainer.


v2.0.0-rc.2 causes 'Out of stack space' error in IE

Hi @jods4
The latest version of aurelia-webpack-plugin which is v2.0.0-rc.2 prevents Aurelia app from running in IE.
I am using super-minimal-aurelia setup created by @nathanchase. Installing this repo will work out of the box. But if I replace this line in package.json:
    "aurelia-webpack-plugin": "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2",

with this line:
    "aurelia-webpack-plugin": "^2.0.0-rc.2",

And do clean installation, the app will compile but won't start in IE. I get two errors in the console:
SCRIPT28: Out of stack space
SCRIPT2343: Stack overflow at line: 7803
Any idea why?

No idea that would require debugging.
I'm pretty confident that it's not caused by the Webpack plugin directly. It has very little impact on the runtime (if any) and the v2.0-rc2 branch is exactly what was published in version 2.0.0-rc.2 so that should not make a difference.

And do clean installation

My first guess is that another package was upgraded behind your back.
Can you post the top of the stack when it overflows? It would be interesting to see where the infinite recursion is.

the v2.0-rc2 branch is exactly what was published in version 2.0.0-rc.2 so that should not make a difference

I have re-downloaded super-minimal-aurelia  and before typing npm install, I changed "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2" to "^2.0.0-rc.2"  and then did npm install. But then I still get same errors.
What I find it really strange is why it works perfectly when installing aurelia-webpack-plugin from  "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2" and not from "^2.0.0-rc.2" since they are exactly the same!

My first guess is that another package was upgraded behind your back.

To ensure nothing is happening behind my back, I did npm install with "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2" and ensured the app was working fine. Then did the below steps to ensure no other packages is doing undesired changes:
npm uninstall --save-dev aurelia-webpack-plugin
npm install --save-dev<EMAIL_ADDRESS>Now I don't get errors! The app works!
BUT, if I do now a clean installation (by erasing contents of node_modules folder and then npm install), I get the errors back!!!
Perhapes @nathanchase can confirm my findings.

Can you post the top of the stack when it overflows? It would be interesting to see where the infinite recursion is.

As you can see in the below screenshot, the infinite recursion happens in this line:
if (!this || this.constructor !== Collection) return new Collection(a);
Because this if statement evaluates to true and new Collection(a) calls iteself function Collection(a) and this causes infinite recursion!

But.. why it works smoothly when clean-installing from github and not from npm?

@nashwaan Can you make a npm shrinkwrap --dev in both situations when the app worked, and when it does not and diff the two npm-shrinkwrap.json files?

This is aurelia-polyfills.
Can you check which version you have in both working and non-working setups?

What confuses me here is that createCollection has not changed for a long time.
How can the if evaluate to true?
The new Collection(a) call would definitely have this && this.constructor === Collection? What am I missing here?

@code-chris , diff of npm-shrinkwrap.json yeilds the following:
npm-shrinkwrap.json when installing aurelia-webpack-plugin from github (app working ok):
    "aurelia-webpack-plugin": {
      "version": "2.0.0-rc.1",
      "from": "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2",
      "resolved": "git://github.com/aurelia/webpack-plugin.git#c86042faa6dfe03ca1350662bf8e7b938523c591",
      "dev": true
    },

npm-shrinkwrap.json when installing aurelia-webpack-plugin from npm (app not working):
    "aurelia-webpack-plugin": {
      "version": "2.0.0-rc.2",
      "from"<EMAIL_ADDRESS><3.0.0",
      "resolved": "https://registry.npmjs.org/aurelia-webpack-plugin/-/aurelia-webpack-plugin-2.0.0-rc.2.tgz",
      "dev": true
    },

@jods4 , aurelia-polyfills is not used here. babel-polyfil is used in this project. Note the versions of all other dependencies doesn't get changed in all situations.
Content of package.json:
{
  "license": "MIT",
  "devDependencies": {
    "aurelia-webpack-plugin": "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2",
    "babel-core": "^6.23.1",
    "babel-loader": "^v7.0.0-alpha.2",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-polyfill": "6.23.0",
    "babel-preset-env": "^1.3.2",
    "babel-preset-stage-0": "^6.22.0",
    "babili-webpack-plugin": "^0.0.11",
    "core-js": "^2.4.1",
    "css-loader": "^0.28.0",
    "html-loader": "^0.4.5",
    "html-webpack-plugin": "^2.28.0",
    "mutationobserver-shim": "^0.3.2",
    "raf": "^3.3.0",
    "style-loader": "^0.16.1",
    "webpack": "^2.2.1",
    "webpack-dev-server": "^2.4.1"
  },
  "dependencies": {
    "aurelia-bootstrapper": "^2.1.1"
  },
  "scripts": {
    "web": "webpack-dev-server --hot --inline",
    "prod": "webpack -p --progress --profile --colors"
  }
}

aurelia-polyfills is always used, it's loaded by aurelia-bootstrapper.

@jods4
some content of node_modules\aurelia-polyfills\package.json (app working ok):
  "_requested": {
    "raw"<EMAIL_ADDRESS>    "scope": null,
    "escapedName": "aurelia-polyfills",
    "name": "aurelia-polyfills",
    "rawSpec": "^1.0.0",
    "spec": ">=1.0.0 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/aurelia-bootstrapper"
  ],
  "_resolved": "https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",
  "_shasum": "c429385691f39cb0bf54862385995532d9725411",
  "_shrinkwrap": null,
  "_spec"<EMAIL_ADDRESS>
some content of node_modules\aurelia-polyfills\package.json (app not working):
  "_requested": {
    "raw": "aurelia-polyfills@https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",
    "scope": null,
    "escapedName": "aurelia-polyfills",
    "name": "aurelia-polyfills",
    "rawSpec": "https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",
    "spec": "https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/",
    "/aurelia-bootstrapper"
  ],
  "_resolved": "https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",
  "_shasum": "c429385691f39cb0bf54862385995532d9725411",
  "_shrinkwrap": null,
  "_spec": "aurelia-polyfills@https://registry.npmjs.org/aurelia-polyfills/-/aurelia-polyfills-1.2.1.tgz",

Really not sure what happens here.
Maybe it would help to better understand the cause of the problem. As I wrote above, I don't see how new X() can possibly satisfy if (!this || this.constructor !== X).
The other track to investigate is, based on your answer:

To ensure nothing is happening behind my back, I did npm install with "git://github.com/aurelia/webpack-plugin.git#v2.0-rc2" and ensured the app was working fine. Then did the below steps to ensure no other packages is doing undesired changes:
npm uninstall --save-dev aurelia-webpack-plugin
npm install --save-dev<EMAIL_ADDRESS>Now I don't get errors! The app works!
BUT, if I do now a clean installation (by erasing contents of node_modules folder and then npm install), I get the errors back!!!

To me, that is proof that another lib gets updated behind your back and causes this issue. It would be nice to identify which one.

Because   is based on
After various attempts and experimentation, it turned out that babel-polyfill was causing all the issues here (although I still don't understand why it worked when installing aurelia-webpack-plugin from github but not from npm). I just removed it completely from super-minimal-aurelia and everything works fine now:
module.exports = {
  entry: {
    main: [
      './ie-polyfill',
      // 'babel-polyfill', // the problematic and redundant polyfill
      'aurelia-bootstrapper'
    ]
  },

I have submitted a pull request in that repo to fix this issue so it can work directly from "aurelia-webpack-plugin": "^2.0.0-rc.2".
Thanks @jods4 and @code-chris for your efforts.


Support v5.5.0

Hi Robert,
As of v5.5.0, import { remote } from 'electron' is no longer available in the recent Electron.
You can use import * as remote from '@electron/remote' instead without adding a dependency for it.
Could you update it?
It's very simple like this: https://github.com/jmerle/inkdrop-tray/commit/a462082d4c4fb702facbd2ef7cf246d401aebf27

I'll unpublish the plugin since it hasn't been maintained


Consider Wiping Old Prices

Data before 2023-09-09 is inaccurate, as it didnt require/parse the bottle volume. This means some prices are wrong as they include 1L or 1.75L bottles as 750mL.

Lets complete #55 and then decide on this. Might be possible to resolve/recover some of the old data.


Rails 4.2.1 support

Hello,
I am trying to setup rails 4.2.1 support. I am running into trouble with sprockets compatibility on the master branch. Bundle install returns the following error:
  In snapshot (Gemfile.lock):
    sprockets (= 3.0.1)

  In Gemfile:
    sprockets (< 4.0, >= 2.8) ruby

    compass-rails (>= 0) ruby depends on
      sprockets (< 2.13) ruby

Is there a reason why compass rails does not support a higher version of sprockets? Any way I can get this installed and working?
Thanks,
Cory

+1 I'm running into similar issues. compass-rails should support sprockets 3.0

Could you please release a new version that spports last version of sass-rails (5.0.3) and last version of sprockets (3.0.2)? Thanks.

I got this working
gem 'sass-rails'
gem "compass-rails", git: 'https://github.com/Compass/compass-rails', branch: 'master'
bundle update.

+1 been fighting this for a bit too now

Me too.

Eagerly awaiting Sprockets 3 support.

+10

going to take a stab at a PR when I get a spare moment, I want an updated sprockets for babeljs so bad :<

I want an update of sprockets for chosen-rails.
There are a lot of gems with compass-rails as a runtime dependency, I hope a new release of compass-rails to be released soon.

If someone want's to take a stab at support for sprockets 3 support I'd merge it as compass-rails 3.0. I'm not currently supporting any projects with that requirement so it will be a while until I'm concerned enough to do the work.

sounds reasonable :3

Same issue here. Version 2.0.1 doesn't have sprockets as a dependency at all, so bundle install will work, but later I get:
File to import not found or unreadable: compass.

Similar issues: https://github.com/Compass/compass-rails/issues/232 https://github.com/Compass/compass-rails/issues/229

#Gemfile
gem 'sass-rails', '5.0.1'
gem 'compass', '1.0.3'
gem 'compass-rails', '2.0.4'

bundle update sass-rails compass-rails

..and it works :)

Does anybody have another solution? Because It crashes with using sprockets-rails gem
Bundler could not find compatible versions for gem "sprockets":
  In Gemfile:
    compass-rails (>= 0) ruby depends on
      sprockets (< 2.13) ruby

    sprockets-rails (>= 0) ruby depends on
      sprockets (3.0.0)

@BartlomiejSkwira, that's not resolve the issue, just degrades sprockets to < 2.13.

I've looked for forks, @urkle make it work - https://github.com/urkle/compass-rails/commit/2fe981f33e6e3834484cfb58b0d01864735d4602. Why author not suggested as PR? Does it have flaws?

@astery  Well yeah, it was just a workaround

@BartlomiejSkwira, thanks for response. But it doesn't seem clear for me - you think degrading sprockets is workaround or @urkle patch is doesn't look as relaible and should not be merged?

Fixed now. Should be closed since #246 has been merged and the 3.0 released.


Support Flow Control on AWS Gateway

What

Gateway can work with OPA for authorization. Metadata such as headers and function names get sent to OPA as labels for authorization, refer this blog.
The Gateway response can take arbitrary context where we can serialize the CheckResponse message (might need to flatten if it allows only key/value pairs)
The context can be emitted in Gateway access logs using custom access logs
Aperture Agents can run behind an Ingress Controller and K8s service on a dedicated cluster along with Controller. This cluster can be deployed per AWS region.

@krdln, @hasit,
Re-assigned the ticket to Hasit since he has the environment set up for this task


bug(MatSelect): With VoiceOver + Safari, VoiceOver reads 2 letters of the label.

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
With VoiceOver + Safari, VoiceOver reads 2 letters of the label.
Reproduction
Steps to reproduce:

Access https://material.angular.io/components/select/overview in Safari
Navigate to Basic mat-select with tab

Expected Behavior

Actual Behavior
VO reads
Steak
Fa, Favorite food Steak, ...

Environment

Angular: v11, v12, v13 (observed from the latest 3 versions on the official website)
CDK/Material: Material
Browser(s): Safari
Operating System (e.g. Windows, macOS, Ubuntu): macOS

I can reproduce it too, although nothing specific stands out that could be causing it so it may be a browser bug. All we're doing is setting an aria-labelledby pointing to the form field label.

It seems that the VoiceOver with Chrome reads out the value twice : Favourite Food Steak Steak on Chrome.
Source: https://material.angular.io/components/select/examples

Hello,
I cannot reproduce. We might have already fixed this. @lynnkim-prev does the issue still happen for you?

macos 12.6.1 (21G217)
Safari Version 16.1 (176<IP_ADDRESS>.13, 17614)
VoiceOver

-Zach

Hello @lynnkim-prev ,
Thank you for reporting this issue. Unfortunately we are not able to take action if we cannot reproduce it. This might have already been fixed. We hope Angular Material meets your needs. If you continue to have problems please reopen this issue with reproduction steps or file a new issue.

Zach


PREP: update pkg data paths in moshpit

testing for https://github.com/bokulich-lab/q2-moshpit/pull/187

closing in favor of a Lang-branch test


NAPLAM requests to unreachable device(s) blocks the entire nautobot website

Environment

Nautobot version (Docker tag too if applicable): 1.4.10
Python version: 3.8.10
Database platform, version: postgresql, Ubuntu 12.12-0ubuntu<IP_ADDRESS>
Middleware(s): -

Steps to Reproduce

Create a new device with an ip address assigned to it which is not reachable from nautobot webserver
Run the following API request https://<nautobot-webserver-fqdn>/api/dcim/devices/<device uuid>/napalm/?method=<method e.g. get_lldp_neighbors_detail>
If the device is not reachable, the entire nautobot website blocks for all other requests (GUI and REST-APIs calls) until a NAPLAM timeout occurs.

Expected Behavior
The webserver doesn't lockup/block if a NAPALM API request was sent to a device which is unresponsive.

Observed Behavior
NAPLAM requests to unreachable device(s) blocks the entire nautobot website for all users and API-Calls for the time of NAPALM trying to reach the device.

@phoenixswiss Thanks for the submission. I was unable to reproduce this using a phony device pointing to an unreachable IP address.
You should end up seeing an error like this:
HTTP 503 Service Unavailable
API-Version: 1.2
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "detail": "Error connecting to the device at <IP_ADDRESS>: Cannot connect to <IP_ADDRESS>"
}

Out of curiosity, how are you running your web server? And are you specifying any custom NAPALM_ARGS or timeout values?

Should we look at a sane timeout mechanism for the napalm call which would allow the HTTP server to handle the request properly?

Ultimately we want to move all the napalm functionality into a dedicated app (plugin) at which time would look to change the architecture to asynchronous calls which we can more sanely handle on the frontend. See #525 & #2557

@lampwins I think sane timeouts wouldn't solve the root cause of this issue. As you already mentioned, move the napalm  functionality to a separate process / app would be the best solution to solve this issue.

For whatever it is worth, this is reproducable for me. For example, if I hit
GET /api/dcim/devices/b3013d34-e842-430b-b95e-63ca9e681364/napalm/?method=get_facts
GET /dcim/devices/f5a35deb-79f7-45e6-be32-f937e6dd3d06/?tab=main in the UI (TestDevice-1) and it becomes non-responsive until the API call completes.
https://www.youtube.com/watch?v=xBnVj5uGj8Y


Isolate jetty dependencies into a single package

The servlet and request adapters have moved to the "servlet" package.
The only dependency they had on jetty was conditional anyway, so
the condition was also modified to not even require jetty on the
classpath.
See gh-407. Not a complete modularization yet, but splits up the
servlet-only stuff from the jetty server.

As I mentioned on the other thread, this is against master which is frozen currently.
Most of the work to isolate Jetty has already been done on the 2.0-beta branch (which is where all the current activity is).

Sorry, I didn't realize. Is this redundant then?

The branch pretty much has these parts covered I think. The Servlet API and Jetty bits are all in their own packages and there's an HttpServerFactory abstraction as an entry point.
The config object doesn't expose a setter for the factory yet, so that probably needs to change. I suspect creating another factory impl isn't as simple as it might be either e.g. degrading gracefully when fault injection isn't available, but it should be possible to do it I think.

It looks like the basic outline of the change in this PR could still apply to 2.0-beta (the servlet is not jetty-specific). Maybe I'll re-work it. Need to check my PoC still works with 2.0 first.

See #442


Optimize csv_from_result speed.

After applying this change, I am able to export 50K rows at around 5 seconds. meanwhile the old version is giving me timeouts.

I'd argue that you're probably doing something wrong if you're trying to export 50k rows into CSV, but my real concern is that this code was optimized for memory usage as opposed to raw speed. Did you look at what difference it makes in that regard?

Well, I don't think exporting 50K records is a big deal (I am dealing with ~2M rows).
The old version was running through a loop, having $out increased in size in each loop & was only trying to remove the trailing comma.
The memory wasn't an issue to me, but having the process running more than 60 seconds is, I was never able to export anything using the old code except when exporting around 1K rows & even then it was painfully slow. After I applied this fix, I am able to export everything I need so far with low amount of time.
I think substr gets slow when you give it around 20MB of data to remove a trailing comma at the end. Keep in mind substr was doing this in a loop so, it was dealing with 10MB+ data during the last 25000 iterations.

That doesn't answer my question ...

... but after looking at the complete code in that function, it shouldn't cause a memory consumption issue.


feat: Data sorting filtering

Issue: https://github.com/Magickbase/ckb-explorer-public-issues/issues/42
Frontend Issue: https://github.com/Magickbase/ckb-explorer-public-issues/issues/244

Address page

sorted by time: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/address/ckt1qpuljza4azfdsrwjzdpea6442yfqadqhv7yzfu5zknlmtusm45hpuqgpdm7tqys4nht6cxmhgrm5xv2s06xt0n7aqqvfl9g2?sort=time

Block Page

filtered by tx hash: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/block/9995750?filter=0x60d39a32bb60efdd6c650d3c101d98b5c00164386afc77e0bff86df78c7bff93

filtered by address: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/block/9995750?filter=ckt1qpuljza4azfdsrwjzdpea6442yfqadqhv7yzfu5zknlmtusm45hpuqgq6lzjramu4cu7wzparntxf2yn8907yh7mqqan8g6y

Block List Page

sorted by height: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/block/list?sort=height
sorted by transaction count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/block/list?sort=transactions
sorted by reward: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/block/list?sort=reward

Transaction List Page

sorted by block height: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/transaction/list?sort=height
sorted by capacity: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/transaction/list?sort=capacity

Token List Page

sorted by 24hr tx count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/tokens?sort=transactions.desc
sorted by address count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/tokens?sort=addresses_count.desc
sorted by created time: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/tokens?sort=created_time.desc

NFT Collection List Page

sorted by 24hr tx count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections?sort=transactions.desc
sorted by holder count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections?sort=holder.desc
sorted by minted count: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections?sort=minted
filtered by type: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections?type=m_nft

Token Page

filtered by tx hash: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?filter=0x437ffebfb20760ef332fdb70b03a2dd54dd0f792f9b3d1873bdf69e2e4ab8dc7
filtered by address: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?filter=ckt1qq6pngwqn6e9vlm92th84rk0l4jp2h8lurchjmnwv8kq3rt5psf4vqfpv8rdzl6mupxgyq6p4705ahxkthw355s4skrxw
filtered by type: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?type=mint

NFT Page

activity filtered by address: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=transfers&filter=ckt1qqlpadldfqym94sx2zlfdfq2h776lvlmjs4hkdlvwuy7vn3v6zncxqg6dwayx8aex3lxjle82kx87uf2zwyhe9gh5kc39
activity filtered by type: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?type=mint
holder list filtered by address: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=holders&filter=ckt1qqfy5cxd0x0pl09xvsvkmert8alsajm38qfnmjh2fzfu2804kq47vqdahl72lfw46u3wrtufd77r6ukw46ts7dgz8gltl
holder list sorted by quantity: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=holders&sort=quantity.asc

Nervos DAO Page

filtered by tx hash: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nervosdao?filter=0x0b3a112edcc33bdc872ff03becec02ac38ab30919e73647f2ecca78ad3ddfc1c
filtered by address: https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nervosdao?filter=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvudqs3v6wt7y7968smnyat6nrjdmxssrg0yclfv

Functions designed at https://github.com/Magickbase/ckb-explorer-public-issues/issues/244 have been implemented. There are some logics to optimize, but it would take a lot of time, so I just marked them and delivered the functionalities first.
Please have a review @WhiteMinds @PainterPuppets @zhangyouxin @Daryl-L

@zhangyouxin @Daryl-L @PainterPuppets please have a review

Updates to https://github.com/Magickbase/ckb-explorer-frontend/pull/8#discussion_r1270219738 and https://github.com/Magickbase/ckb-explorer-frontend/pull/8#discussion_r1270221942 have been submitted, please review again

Please have a review @FrederLu @silySuper

NFT Collection List Page
1、When entering the NFT page for the first time, the link does not have sorting information, but the page sorts by holder by default.

2、The mouse hover will prompt clickable at Type and 24hr Transactions, but the click has no effect.

3、After filtering NRC721 by Type, the Type filtering will be canceled after clicking the next page button at the bottom. It should be possible to preview the NRC721 information on 2/8.

4、On the mobile terminal, the left margin of Type is too small, refer to the UI style.

5、When performing Type filtering, only the color of the icon changes, and the text remains #333333 unchanged.

NFT Collection List Page ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections 1、When entering the NFT page for the first time, the link does not have sorting information, but the page sorts by holder by default.
2、The mouse hover will prompt clickable at Type and 24hr Transactions, but the click has no effect.
3、After filtering NRC721 by Type, the Type filtering will be canceled after clicking the next page button at the bottom. It should be possible to preview the NRC721 information on 2/8.
4、On the mobile terminal, the left margin of Type is too small, refer to the UI style.
5、When performing Type filtering, only the color of the icon changes, and the text remains #333333 unchanged.

They are all fixed
https://github.com/Magickbase/ckb-explorer-frontend/assets/7271329/56da9514-d965-423a-bf1d-d222dfc082d7

Token Page  https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff
1、Unable to search address data.
https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?filter=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq07uy0hvv46x8cpfxv7w3hjruttt2dl82cspue3r

2、Filtering data by Mint/Transfer/Burn is invalid, and the page still displays all data.

https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?type=mint
https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?type=transfer
https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/sudt/0x788c79191970e313693351531930b46a708b1ca58f6d414ddc8a8827afb554ff?type=burn

3、The position of the filter icon on the mobile terminal is abnormal.

4、A Resrt button that does not match the UI draft appears on the page.

5、When performing Type filtering, only the color of the icon changes, and the text remains #333333 unchanged.

@Keith-CY  The fifth problem in the NFT Collection List Page problem still exists. Please confirm.
https://ckb-explorer-eaujzy0j1-magickbase.vercel.app/nft-collections?sort=minted.desc&type=cota

NFT page https://ckb-explorer-eaujzy0j1-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467
1、Invalid when searching by address (from/to) or transaction hash in activity.
2、Burn data exists in the page, but cannot be filtered out.
https://ckb-explorer-eaujzy0j1-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?type=desctruction

Nervos DAO Page  https://ckb-explorer-eaujzy0j1-magickbase.vercel.app/nervosdao?tab=depositors
1、Search address functionality is missing in Depositors.

2、The display of Rank data on the mobile terminal is abnormal.

Unable to search address data on sudt detail page

The address searched is not bound to a sudt transfer(it has no sudt assets), try the one that ends with rxw

fail to filter transactions by type on sudt detail page

It's not supported by API, need help from @rabbitz
ref: https://github.com/Magickbase/ckb-explorer-public-issues/issues/244#issuecomment-1639324010

the position of filter icon is abnormal on sudt detail page

Fixed

reset button’s style is abnormal on sudt detail page

Could you add the figma link to the reset button because I didn't find one

highlight of type filter is abnormal on nft collection list page

fail to search by address/tx hash on nft detail page

burn filter doesn't work on nft detail page

API request: https://ckb-explorer-api.staging.layerview.io/api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467&transfer_action=desctruction
returns 0 items but a burn entry can be found in the response of
https://ckb-explorer-api.staging.layerview.io/api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467
Need help from @rabbitz

support address filter on nervos dao ranking page

rank number is abnormal on ranking page

Unable to search address data on sudt detail page

The address searched is not bound to a sudt transfer(it has no sudt assets), try the one that ends with rxw

fail to filter transactions by type on sudt detail page

It's not supported by API, need help from @rabbitz ref: Magickbase/ckb-explorer-public-issues#244 (comment)

the position of filter icon is abnormal on sudt detail page

Fixed

reset button’s style is abnormal on sudt detail page

Could you add the figma link to the reset button because I didn't find one

highlight of type filter is abnormal on nft collection list page

fail to search by address/tx hash on nft detail page

burn filter doesn't work on nft detail page

API request: ckb-explorer-api.staging.layerview.io/api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467&transfer_action=desctruction returns 0 items but a burn entry can be found in the response of
ckb-explorer-api.staging.layerview.io/api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467
Need help from @rabbitz

support address filter on nervos dao ranking page

rank number is abnormal on ranking page

Filtering transactions on sudt detail page will be held on due to https://github.com/Magickbase/ckb-explorer-public-issues/issues/244#issuecomment-1668819000

burn filter doesn't work on nft detail page

The request parameter transaction_action should be set as destruction with multiple letters c on the API.
https://github.com/Magickbase/ckb-explorer-public-issues/issues/244#issuecomment-1637354995
https://github.com/nervosnetwork/ckb-explorer/blob/develop/app/models/token_transfer.rb#L2
@Keith-CY

burn filter doesn't work on nft detail page

The request parameter transaction_action should be set as destruction with multiple letters c on the API.
Magickbase/ckb-explorer-public-issues#244 (comment<EMAIL_ADDRESS>@Keith-CY

My bad, fixed and it works now
https://ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?type=destruction
@FrederLu

burn filter doesn't work on nft detail page

The request parameter transaction_action should be set as destruction with multiple letters c on the API.
Magickbase/ckb-explorer-public-issues#244 (comment<EMAIL_ADDRESS>@Keith-CY

My bad, fixed and it works now ckb-explorer-git-data-sorting-filtering-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?type=destruction
@FrederLu

Any update on this @FrederLu

Nervos DAO Page

NFT Page
https://ckb-explorer-h9t3kthu1-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=transfers

@rabbitz  In the api, the information in the tx_hash field needs to be added.

Block Page

Block List Page
The ascending/descending order of Height Transactions and Reward (CKB) does not match the order displayed by the actual data.

Transaction List Page
The sorting character in Transactions and Pending Transactions does not match the actual data sorting.
https://github.com/Magickbase/ckb-explorer-frontend/assets/25676576/825bbcb2-3565-4b4b-9390-28bcf9ea531c

Token List Page
When the Token List Page is sorted in descending order by Created Time, the creation time of the first three pieces of data does not seem to meet the conditions.

The sorting condition layout on the mobile terminal does not match the UI.

Placeholder on depositors page has been fixed by https://github.com/Magickbase/ckb-explorer-frontend/pull/8/commits/9d65c1e689b56e0c000626a358260aa74b494b7f

Layout of transaction title on block detail page has been fixed by https://github.com/Magickbase/ckb-explorer-frontend/pull/8/commits/66cfb571f82d823c4e3ba4865977e4be9a21e3d9

Highilght of order buttons has been fixed by
block list page: https://github.com/Magickbase/ckb-explorer-frontend/pull/8/commits/ece7f0243da09520370990d50a647a84439d0101
tx list page: https://github.com/Magickbase/ckb-explorer-frontend/pull/8/commits/1dc4ac0e7283b5dc2edb90c68784c79154b1b542

Layout of order buttons on tokens page has been fixed by https://github.com/Magickbase/ckb-explorer-frontend/pull/8/commits/e1987ad28ced580edc9d3f2a5a41fe8bbd822f69

Creted time 1970-01-01 is exceptional data and should be fixed
cc @FrederLu @rabbitz

NFT Page
https://ckb-explorer-h9t3kthu1-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=transfers

@rabbitz  In the api, the information in the tx_hash field needs to be added.
https://github.com/Magickbase/ckb-explorer-public-issues/issues/244#issuecomment-1616021759

Token List Page
When the Token List Page is sorted in descending order by Created Time, the creation time of the first three pieces of data does not seem to meet the conditions.
https://ckb-explorer-h9t3kthu1-magickbase.vercel.app/tokens?sort=created_time.desc

Except for the above two issues in the current PR, the other issues have been verified.
cc @Keith-CY  @rabbitz

The udt create_time is empty because the value is block timestamp, but timestamp is a field added later. Currently testnet and mainnet have been fixed.

Added filtering parameter tx_hash to nft collection transfers, related pr: https://github.com/nervosnetwork/ckb-explorer/pull/1392

NFT Page
https://ckb-explorer-zle5itckm-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=transfers&filter=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqgdqd5qds6ytcwydyxt2arh55yr6x6w69qtwrwg8
Request URL: https://ckb-explorer-api.staging.layerview.io//api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467&address_hash=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqgdqd5qds6ytcwydyxt2arh55yr6x6w69qtwrwg8

@Keith-CY
It is now possible to use hash search in the NFT page, but the page data using address (from/to) is not processed, and the expected data cannot be obtained.

NFT Page ckb-explorer-zle5itckm-magickbase.vercel.app/nft-collections/0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467?tab=transfers&filter=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqgdqd5qds6ytcwydyxt2arh55yr6x6w69qtwrwg8 Request URL: https://ckb-explorer-api.staging.layerview.io//api/v2/nft/transfers?page=1&collection_id=0x951dd6704ef1bac2fe1ab347d39d8f65a3b48dc75fe3cdc983aeaefd1bfa3467&address_hash=ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqgdqd5qds6ytcwydyxt2arh55yr6x6w69qtwrwg8

@Keith-CY It is now possible to use hash search in the NFT page, but the page data using address (from/to) is not processed, and the expected data cannot be obtained.

Please have a check @rabbitz

nft transfers filter by address hash related pr: https://github.com/nervosnetwork/ckb-explorer/pull/1406/commits/df8a607da9212764a3f711d0a7ab0fbbab81e843


Would this work with Regex?

Let's say I have a list like this https://raw.githubusercontent.com/kwsch/PKHeX/master/PKHeX.Core/Resources/text/locale/badwords.txt
Would this work with your swear filter library?

nvm this was a stupid question

I'm afraid it won't work as it currently stands, however that's not to say it can't work o:
You just gave me a great idea: Adding pure regular expression support, as simply creating a list of words in an array will still count as a valid list of regular expressions in an array to the regex parser.
I'm going to re-open this for the time being to make sure I keep my attention to it and can get around to this sometime soon

Implemented in https://github.com/boosh/swearfilter

It's MIT but I still wanna ask, mind if I cherry pick your commits? I'll edit them before pushing to remove repo-breaking changes and follow it with a credits list commit for you and a previous fork that I gave the same treatment to, as well as keep full authorship for your commits (as you can see in the commit history for contributors).
I'm also going to consider renaming the repo to be a little more professional, as it seems to be a primary reason for people to fork the repo (so I imagine cloners are renaming their imports too). I don't think I need to explain the joke behind the current name, but it might help if I make it match the package name to begin with.

Yeah no worries. The issue with the repo name wasn't the name itself, it's that because the actual golang package name is different to the GH repo name it was tripping up using it in a go.mod file. It's just easier to rename the repo to match the golang package name.


Cucumber style standardisation

Description

Make CucumberSyntax.md more concise in some areas
Change documented gherkin indentation conventions to less esoteric double-space style
Convert existing .feature files to match new convention

Codecov Report

Merging #838 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #838      +/-   ##
===========================================
+ Coverage     66.48%   66.5%   +0.01%
- Complexity     1749    1750       +1
===========================================
  Files           286     286
  Lines          6081    6081
  Branches        700     700
===========================================
+ Hits           4043    4044       +1
  Misses         1789    1789
+ Partials        249     248       -1

Impacted Files
Coverage Δ
Complexity Δ

...g/generator/restrictions/DataTypeRestrictions.java
65.71% <0%> (+2.85%)
14% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 30c70ff...f3813f6. Read the comment docs.

"And there is constraint"
""" { something } """
the something's are 3 lines in instead of 2

"And there is constraint"
""" { something } """
the something's are 3 lines in instead of 2

Damn you. Fixed. Also enforced final newlines (controversial?)


web socket error showing

We are testing the pachyderm over minikube in digital ocean machine, successfully installed but trying to start the service over http://localhost:30080/ getting an error as follows
WebSocket connection to 'ws://localhost:30081/' failed: Error in connection establishment

Kubernetes version

root@pachyderm:~# kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.3", GitCommit:"435f92c719f279a3a67808c80521ea17d5715c66", GitTreeState:"clean", BuildDate:"2018-11-26T12:57:14Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Pachyderm CLI version (use pachctl version):
root@pachyderm:~# pachctl version
COMPONENT           VERSION
pachctl             1.7.11
pachd               1.7.11

Cloud provider : Digital ocean minikube

OS (e.g. from /etc/os-release): UBuntu 16.04

Others:

All services are working fine

Thanks for submitting @anishvarghese and sorry that we were slow to respond on slack. We'll get back to you shortly with a debug path. Are the other Pachyderm pods running and working successfully? It's only the dashboard that's causing issues?

Hi Joey,
Thank you for quick response.
My Pachyderm pods are working fine.
Finally I found out the issue , I am trying to access the Pachyderm dashboard using the URL localhost: 30080 at the same time a call goes to a web-socket ws:localhost:30081
I deployed my Pachyderm in a digital ocean environment and to access the above I have created two ssh tunnels to my local machine for port 30080 and 30081 respectively and get it working.
Let me know if there any possibility to access the ports 30081 and 30080 in my Digital ocean's public IP instead of localhost or any possibility of access this over a domain using nginx ??

Hi Joey,
Thank you for quick response.
My Pachyderm pods are working fine.
Finally I found out the issue , I am trying to access the Pachyderm dashboard using the URL localhost: 30080 at the same time a call goes to a web-socket ws:localhost:30081
I deployed my Pachyderm in a digital ocean environment and to access the above I have created two ssh tunnels to my local machine for port 30080 and 30081 respectively and get it working.
Let me know if there any possibility to access the ports 30081 and 30080 in my Digital ocean's public IP instead of localhost or any possibility of access this over a domain using nginx ??

@anishvarghese hey, sorry for the slow reply. if you're running a "local" deployment of pachyderm on a digital ocean droplet, then yes, the most straightforward thing to do is just to access the dash via droplet's ip directly at http://:30080 -- this will automatically connect to the websocket port on the same IP.
If you have your local kubectl pointed at the kubernetes cluster into which pach is deployed, you can also use pachctl port-forward -- this will basically just set up the tunnels that it sounds like you've created manually, so you're able to access the dash via http://localhost:30080

coming to this issue. I have deployed pachyderm on kubernetes and facing the same issue.
is there a method to instruct pachyderm to connect to a different path like /ws for websockets?
currently pachyderm is trying wss://domain:30081 and i dont want to expose this port

@Rohithzr unfortunately there isn't currently support for moving the websocket to a sub-path, it expects to connect to connect at the root. If you'd like to expose a port other than 30081, though, you can manually specify which host/port the websocket connects on by appending host and/or port query params to the dash address.

Specifying a custom port for the websocket, while using the same domain as the main dash HTTP server: http[s]://<dash-domain>:<dash-port>?port=<websocket-port>
Specifying a custom domain for the websocket, while using the default port (30081): http[s]://<dash-domain>:<dash-port>?host=<websocket-host>
Specifying both a custom domain and port for the websocket: http[s]://<dash-domain>:<dash-port>?host=<websocket-host>&port=<websocket-port>

can I implement something like
https://pach.domain.com
https://pach-socket.domain.com
if yes, what should I change in the kubernetes.

@Rohithzr you can expose the HTTP and WebSocket server on separate domains, but in order to access the dash, you'd need to put https://pach.domain.com?host=pach-socket.domain.com in the browser's address bar.
Setting this up would likely involve using a Kubernetes Ingress Controller, and pointing the domains at the right gateway, which would be provider-specific.

ok i think we can achieve that somehow, but pahydrrm should think of a good way to handle this instead of a query param.
ill try and implement this and let you know.

this looks like it has useful summary of the process: https://blog.cloud66.com/setting-up-secure-endpoints-in-kubernetes/


Update service-encryption-byok.md

A necessary supplement

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

#label:"aq-pr-triaged"


Loot Sheet Problems

Describe the bug
Can't access the Configure Loot section of the pf2etoolbox loot sheet. Further existing loot sheet in my other game
To Reproduce

Create game/load in Toolbox by itself.
Create a Loot sheet, set it to the PF2eToolbox loot sheet.
Click on Configure Loot

Expected behavior
Should be bringing up the tabbed sections of useful tools like random treasure objects and creating properly priced magical weapons.
Screenshots

When I try to set a loot sheet to your version of the sheet I noticed this error:

When loading a existing loot sheet in my other game I get this error:

Version Information:

FoundryVTT [e.g. 0.7.9]
PF2E Toolbox [e.g. 1.7.1]
Pathfinder 2e [<IP_ADDRESS>30]

Additional context

Thanks @Cosmic-Lattee - it is likely an update to the PF2E system that broke it, I'll take a look at it soon.

I imagined that was what happened. A few of the modules were acting a little screwy. Thanks!


Feature request: Toggles for proposed EIPs and their impacts

request: https://twitter.com/alexberegszaszi/status/1486315064365916161


Cannot message or accept/reject past events

Subject: Cannot message or accept/reject past events
Description:
I just can't. Now it's forever there as open. And I also cannot message back that i am too late with seeing someones message
Results:
I should be able to cancel, or it should cancel automatically if event is over. And i should still be able to message back
Backend version: develop-31102a97
Frontend version: develop-31102a97
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
Page: https://couchers.org/messages/request/83350
User: jeremieandtamara (33765)

dupe #3526


Feat: Add replication support

Add support for allowing replication of a database and creating a database out of available replica.
Test Plan

[x] acceptance tests for database and replica
[x] unit tests for database

References

https://docs.snowflake.com/en/user-guide/database-replication-config.html
https://docs.snowflake.com/en/sql-reference/sql/alter-database.html#database-replication-and-failover-syntax
https://docs.snowflake.com/en/sql-reference/sql/show-replication-databases.html

/ok-to-test sha=b383daf

@anton-chekanov are you still working on this? Please reopen if you are going to fix the conflicts.


Modal Windows appear behind main window when "Stay On Top"

Describe the bug
Previously, in v0.10, when the parent window was set to "stay on top" (in Linux), modal windows would appear on top of the main window and behave as normal.
Now, with v11 preview 4, modal windows appear behind the parent window and are not fully accessible.
See screenshot.
To Reproduce
Steps to reproduce the behavior:
Build an app with a main window and a modal child window. Set the main window to stay on top with right-click option on the title bar. Show the child modal window.
Expected behavior
Modal child windows appear on top of the parent, even if the parent is "stay on top".
Screenshots
Screenshot of the AvantGarde app built with 11 preview 4. The "stay on top" flag is set on the main window. Shown is a settings modal window, which is hidden behind the main window. This is a breaking change in preview4 for this app.

Desktop (please complete the following information):

OS: Linux Fedora 37
Version 11 preview4 (previously worked OK in 0.10).

Additional context
Add any other context about the problem here.

@kekekeks any idea what could have caused this?

@kuiperzone Does it still occur for you with preview6? Showing a window as dialog works fine on Fedora 37, even when the parent is set as always on top.

Could it be an issue with the window manager. Here's a test I tried and it works fines.
https://github.com/emmauss/DialogTest
Could you try it.
Clicking the title bar causes the parent window to activate, but it doesn't bring it on top.
And I'm also running fedora 37

Hi @emmauss
I've tried your project, and here is the video. As you can see, the problem is definitely still there.
The problem seems to be when you double-click on the Window Title bar behind -- this just grants focus from then on.
Screencast from 2023-04-04 10-35-04.webm

I'm running stock Fedora 37, with Wayland.
I have Gnome Tweaks and here my settings:

Additionally, I've just tried to build your project on Pop-OS (Ubuntu 22). It won't build out of the box:
kuiper@pop-os:~/Scratch/DialogTest$ dotnet build
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
CSC : warning CS8032: An instance of analyzer Avalonia.Generators.NameGenerator.AvaloniaNameSourceGenerator cannot be created from /home/kuiper/.nuget/packages/avalonia/11.0.0-preview6/analyzers/dotnet/cs/Avalonia.Generators.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. [/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/AvaloniaApplication4.csproj]
CSC : warning CS8032: An instance of analyzer Tmds.DBus.SourceGenerator.DBusSourceGenerator cannot be created from /home/kuiper/.nuget/packages/tmds.dbus.sourcegenerator/0.0.4/analyzers/dotnet/cs/Tmds.DBus.SourceGenerator.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. [/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/AvaloniaApplication4.csproj]
/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/MainWindow.axaml.cs(9,13): error CS0103: The name 'InitializeComponent' does not exist in the current context [/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/AvaloniaApplication4.csproj]
Build FAILED.

Ubuntu 22

is the dotnet sdk up to date?

It's .NET 6 on Ubuntu. Literally just installed the SDK.

Could you install dotnet 7

I would have to go to a Microsoft repository feed. See here: https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2204
Your project was for .NET 6.
I'll have to come back to this later.

And recall -- this problem doesn't not exhibit itself with Avalonia 0.10.19. It's only with the newer 11 versions. So I would suggest there's a change in there somewhere.

@emmauss I was able to compile your test project, but only by changing the line:
InitializeComponent();
to
AvaloniaXamlLoader.Load(this);
Running on Pop OS, it does NOT appear to exhibit the problem. Strange!
However, I get the following warnings during the build:
CSC : warning CS8032: An instance of analyzer Avalonia.Generators.NameGenerator.AvaloniaNameSourceGenerator cannot be created from /home/kuiper/.nuget/packages/avalonia/11.0.0-preview6/analyzers/dotnet/cs/Avalonia.Generators.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. [/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/AvaloniaApplication4.csproj]
CSC : warning CS8032: An instance of analyzer Tmds.DBus.SourceGenerator.DBusSourceGenerator cannot be created from /home/kuiper/.nuget/packages/tmds.dbus.sourcegenerator/0.0.4/analyzers/dotnet/cs/Tmds.DBus.SourceGenerator.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. [/home/kuiper/Scratch/DialogTest/AvaloniaApplication4/AvaloniaApplication4.csproj]

This is very strange indeed. No other application exhibits this behaviour problem other than Avalonia apps built with Avalonia 11. Note the problem DOES NOT apply to Avalonia 10.19.
Below is a video of my app. The first part shows the app built against 10.19. No problem is displayed with 10.19.
The second part of the video shows the same app built against 11P6. Note that it displays the problem, which also applies to FilePickerDialogs. NOTE ALSO there is an intermittent element to this problem -- you can actually see it in the second part of the video. See how I open a file dialog and it initially does NOT drop behind the main the window. Then I close it and open it again -- and then it displays the problem and drops behind the window.
This does not appear to be an issue with my own code, as your own demo exhibits this issue on my system.
I'll test on Centos Stream later. I can only suggest there is a difference both between your Fedora 37 system and mine, combined with a difference between Avalonia 10.19 and 11P6. It is most bizarre!
Screencast from 2023-04-05 12-34-26.webm

Actually, if you look closely at the second part of the video, you'll see that the FilePicker initially opened behind the main window.

To be clear - the video and bug description above is when the main windows is NOT "Stay on Top". The modal interaction is just not working.

Another update - have just tried this on AlmaLinux 9. It seems OK on this system.

@emmauss Are you running Wayland or X11?
I've just tried it on Fedora with X11, and it seems to work.

Actually, I haven't given up.
I've just tested your demo program on new hardware with a clean installation of Fedora 37.
It displays the same problem.
I think that Avalonia 11 P6 has an issue.

@kuiperzone acc. to #10751 this issue may have been solved. If possible, please double-check this issue using your machine. Thx.

@kuiperzone acc. to #10751 this issue may have been solved. If possible, please double-check this issue using your machine. Thx.

I'm not running Fedora anymore (now Debian 12).
However, I appreciate the update and it's great to know that it appears resolved. I will let you know if I encounter any problem in the future.
Thank you

closing until further notice.


adding logo in the navbar and footer

This will improve the UI

I want to work on this Project. Plzz assign it to me.

I think similar issue has already been raised..I'll assign it to you if logo part is not being handled!
Thanks!

sure !@MonalikaPatnaik

Heyy @anuza08..you can add logo of UMatter in the footer part only and submit your PR soon!
Thanks!

Heyy @anuza08 are u still working on it?? if u cann't just lmk..will assign it to someone else!
submit your PR by today itself if u are working

@MonalikaPatnaik I'm working on it, please give me some time.

Pls do it soon!

@MonalikaPatnaik

@MonalikaPatnaik can I get time till Tuesday?

Ok! But I need your PR on tues eod

@MonalikaPatnaik Hey, I'm new to React and I'm having a problem opening the file.
will you please help me?

Yes yes ask

why I'm getting these errors??


Native module cannot be null

Building an iOS app gives me the following error -

Any pointers on how to fix this?

Sorry - this library is Android only.  Google has released a native package Nearby Messages but not for for Nearby Connections.


CORS support

I'd like to call https://ifconfig.co/json using ajax. Can you add CORS support?

Sorry, I won't be adding support for CORS.


☂ Revamp Scaffold

Discussion here: https://github.com/GroovinChip/macos_ui/discussions/15

[x] Support multiple resizable panels
[x] Scaffold should show/hide any sidebars/resizable panes at a specified breakpoint
[ ] Scaffold Titlebar should support Toolbar widgets

Another thing - Toolbar and ResizablePane dividers should respect their boundaries, as seen here:

Sidebars have a horizontal divider at the top when they're scrolled.
Even more like a shadow

Ah, you're correct.

@whiplashoo this will play into #80

I just have a question --- how to add vertical divider to separate item in toolbar? Now I only found ToolBarSpacer.

@dbsxdbsx that's not available yet, but definitely in the roadmap. If you want, please open a separate issue to track it.

@dbsxdbsx Yes, please feel free to open an issue for this feature.


Nullable Reference Type-aware support?

Description
I've been making some updates to some code I work on to see what it would take to actually use C# 8.0's Nullable Reference Types feature.  One issue I've run into is that some of the Assert.* methods don't use the new CodeAnalysis attributes, and our unit test projects end up needing extra code to help the compiler know a nullable variable isn't actually null.
Steps to reproduce
.NET Core 3.1 unit test project (with NRT enabled)
string? str = null;
Assert.IsNotNull(str);
Assert.AreEqual(5, str.Length);

Expected behavior
No compiler warnings.
Actual behavior
Compiler sees Assert.IsNotNull is null-oblivious, is not able to infer anything about str from it, and issues a warning on str.Length because thinks str could be null.
Workaround
I've written a shim to unblock me for now, but it'd be nice if the library itself had all the right annotations. :smile:
public static class NullableAssert
{
    public static void IsNotNull([NotNull] object? value)
    {
        Assert.IsNotNull(value);
    }
}

// ...elsewhere...

string? str = null;
NullableAssert.IsNotNull(str);
Assert.AreEqual(5, str.Length); // no warning this time!

I suspect there are other annotations that could also be added elsewhere, but I've not tried to think through those other cases.  I am but a humble app developer, not a library developer. 😇
Also, I think fixing this requires a new platform target to be added, since the attributes were added in netcoreapp3.0/netstandard2.1.

One problem here is that TestFramework assembly is built against netcoreapp2.1, and net451 which are the lowest versions of net that we support. Neither of them allow these attributes to be used :/

One problem here is that TestFramework assembly is built against netcoreapp2.1, and net451 which are the lowest versions of net that we support. Neither of them allow these attributes to be used :/

How is that a problem given that you can have multi target framework support? Then make sure the attributes are only in when using in not netcoreapp2.1 - simple. A lot of other nuget distributed things do that too.


 This is fine, that just means you opened the folder in Finder. But those garbage files are disgusting and should not be preserved in a git repository. I'm annoyed they exist in the first place, but I added a line to the .gitignore that should prevent this in the future.

@sschoger

What did happen with this PR? I can't see any issue, it looks good. @LoganDark

Hey looks like this got handled in some other way at some point so closing — thanks though!


Add Docker image

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@104efb3). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         7
  Lines           ?        34
  Branches        ?         1
========================================
  Hits            ?        34
  Misses          ?         0
  Partials        ?         0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 104efb3...1f6b9f2. Read the comment docs.


Single row Keccak optimizations (without proof-systems modifications)

This contains the changes from https://github.com/o1-labs/proof-systems/pull/1301, ignoring the changes to the proof system.
It gets rid of redundancy in the Keccak layout to reduce the number of columns by ~400.

Remove intermediate states and embed them in constraints
Simplify rotation inside Theta removing bound_c and lookups for quotient_c (which just needs a boolean check)
Remove bound_e following the discussion about optimizing rotation with the product team
64 Less constraints in squeeze, only for the 256-bits of the output instead of the whole state.

The main reason for getting these changes in, is to be able to avoid code duplication between the kimchi crate and the mips crate (mainly regarding witness creation).

state_c is removed. It initially corresponded to C[x] in the reference, the first intermediate array which is created to compute the sum of A[x][i]. It is removed as it can be inlined in the next computation for D[x]. The same logic happens for state_e and state_d.


Package request: foliate on darwin

Project description
As I understand, the main problem to build Foliate on macOS is gjs and webkitgtk binaries (look here)
Both gjs and webkitgtk are presented in nixpkgs for darwin. I've tried to install Foliate using
nix-env -iA nixpkgs.foliate

but got
error: builder for '/nix/store/wqd6mh76yg9k29jjag39j7q33x7ygm17-webkitgtk-2.44.0+abi=6.0.drv' failed with exit code 1;
       > -- Could NOT find LibDRM (missing: LIBDRM_LIBRARIES LIBDRM_INCLUDE_DIR)
       > CMake Error at Source/cmake/OptionsGTK.cmake:316 (message):
       >   libdrm is required for USE_LIBDRM
       > Call Stack (most recent call first):
       >   Source/cmake/WebKitCommon.cmake:237 (include)
       >   CMakeLists.txt:21 (include)

I also cloned fresh nixpkgs repo and tried to build it manually, but got
      error: Package ‘spidermonkey-115.2.0’ in /Users/sunder/dev/nixpkgs/pkgs/development/interpreters/spidermonkey/common.nix:191 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

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

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

After bypass this error by setting export NIXPKGS_ALLOW_BROKEN=1, I got the libdrm error again
-- Could NOT find LibDRM (missing: LIBDRM_LIBRARIES LIBDRM_INCLUDE_DIR)
CMake Error at Source/cmake/OptionsGTK.cmake:316 (message):
  libdrm is required for USE_LIBDRM
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:237 (include)
  CMakeLists.txt:21 (include)

I don't quite understand why webkitgtk is marked as supported on darwin, if the build fails with libdrm error.
But I think that these problems can potentially be resolved and we can get Foliate running on macOS.
Unfortunately I don't know how to fix this as I lack knowledge about building nix packages on macOS.
If someone takes up this matter, I would be very grateful, because Foliate is a wonderful program.

Add a :+1: reaction to issues you find important.

Webkitgtk used to build on darwin, but doesn't anymore which is why it supports darwin, but it also marked as broken. See https://github.com/NixOS/nixpkgs/pull/145115
TL;DR: Fixing webkitgtk for darwin probably requires understanding of the code to fix the compilation issues


DeltaTime Extension

As its tedious and hard to find as new commer, from Unity or Godot, the DeltaTime i made this extension to make it easier accessible
Motivation:
godot changed their delta time to double
public override void _Process(double delta)
the Community got mad as you need to convert each time the double to float to be able to use it with Vectors
with this extension you are able to have easy access to delta and having it as double and float available
public static class DeltaExtension
{
    public static float DeltaTime(this IGame gameTime)
    {
        return (float)gameTime.UpdateTime.Elapsed.TotalSeconds;
    }
    public static double DeltaTimeAccurate(this IGame gameTime)
    {
        return gameTime.UpdateTime.Elapsed.TotalSeconds;
    }
}

usage looks like this in a sync script

https://github.com/NexStandard/NexCoreExtension/blob/main/DeltaExtension.cs
For Reference

solved with merge of nexcore extension

Thank you


Extension issue

Issue Type: Bug
Extension Name: jupyter
Extension Version: 2021.2.576440691
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.53.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

@NicolaVanoli If you hit this issue again, can you please copy out the data from your clipboard? That would have the callstack of the code that would help us to investigate this.


[BUG/QUESTION]Columns hidden by default

Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].
Package version, Laravel version
    "php": ">=5.5.9",
    "laravel/framework": "5.2.*",
    "maatwebsite/excel": "^2.1"

Expected behaviour
When exporting a view into excel it should show all columns by default.
Actual behaviour
All columns are hidden and require you to select all of them and unhide them.
Exception stack trace
No Exceptions thrown.
Screenshot of Excel file

Steps to reproduce the behaviour
Even if I add in lines of code to set autosize or to manually set the widths, it still hides the columns.
return Excel::create('tool-job-audit', function($excel) use ($data) {
            $excel->sheet('Tool Job Audit', function($sheet) use ($data) {
                $sheet->loadView('mvsp.export')->with('data', $data);
            });
        })->download('xlsx');

Hm, have never seen that. The package doesn't defaults to behaviour like that. Maybe it's some setting in your Excel?
Could you also show us your view, perhaps you have a mistake in there.

Here is my view code:

                    Tool Number

                    Tool Description

                    Purchase Price

                    Days
On Hand

                    Rate

                    Total Charge

                    Start Date

                    End Date

                    Transfer Date

            <?php $total[0]=0; $total[1]=0;?>
            @if(count($data['TOOL']) > 1)
                @for($lcv = 0; $lcv < count($data['TOOL']); $lcv++)

                            {{$data['TOOL'][$lcv]}}

                            {{$data['DESC'][$lcv]}}

                            {{"$".number_format($data['PRICE'][$lcv]/100,2,".",",")}}
                            <?php $total[0] += $data['PRICE'][$lcv];?>

                            {{date_diff(date_add(date_create($data['DATES'][1][$lcv]),date_interval_create_from_date_string('1 day')),date_create($data['DATES'][0][$lcv]))->format("%a")}}

                            {{"$".number_format($data['RATE'][$lcv]/100,2,".",",")}}

                            {{"$".number_format($data['CHARGE'][$lcv]/100,2,".",",")}}
                            <?php $total[1] += $data['CHARGE'][$lcv];?>

                            {{$data['DATES'][0][$lcv]}}

                            {{$data['DATES'][1][$lcv]}}

                            {{$data['DATES'][2][$lcv]}}

                @endfor
            @else

                        {{$data['TOOL']}}

                        {{$data['DESC']}}

                        {{"$".number_format($data['PRICE']/100,2,".",",")}}
                        <?php $total[0] += $data['PRICE'];?>

                        {{date_diff(date_add(date_create($data['DATES'][1][0]),date_interval_create_from_date_string('1 day')),date_create($data['DATES'][0][0]))->format("%a")}}

                        {{"$".number_format($data['RATE']/100,2,".",",")}}

                        {{"$".number_format($data['CHARGE']/100,2,".",",")}}
                        <?php $total[1] += $data['CHARGE'];?>

                        {{$data['DATES'][0][0]}}

                        {{$data['DATES'][1][0]}}

                        {{$data['DATES'][2][0]}}

            @endif

                    Totals:

                    {{"$".number_format($total[0]/100,2,".",",")}}

                    {{"$".number_format($total[1]/100,2,".",",")}}

Getting the same problem. Did you manage to fix it yet?

The problem is when you using "width" in td/th, for example
Goog Luck!

Hi @diegoahg, I also have the same problem, when using the width in td/th the columns are hidden by default, we ned to do unhide to view the columns. But if i remove the width then the column widths are not adjusting and collapsing each other. Is there any way to do it.

I don't remember but maybe you can try to use the width with % and not with PX. Also review that all html tags(</>) are closed.
you tell me later

I found myself with the same error, when in windows and an excel is downloaded, columns are hidden. I followed the suggestions here, but what it actually worked was not use pt but px. Example style="width:10pt" error, instead style="width:10px" success.
Maybe this help someone.

I found myself with the same error, when in windows and an excel is downloaded, columns are hidden. I followed the suggestions here, but what it actually worked was not use pt but px. Example style="width:10pt" error, instead style="width:10px" success.
Maybe this help someone.


OWASP dependency check failing due to v6.1.2 not existing

Describe the bug
The output from current.txt lists 6.1.2, whilst there is no downloadable zip for 6.1.2: https://dl.bintray.com/jeremy-long/owasp/
Version of dependency-check used
Latest
Expected behavior
The version listed in current.txt is available at https://dl.bintray.com/jeremy-long/owasp/.

Due to the fact that bintray is going away we documented in the 6.0.2 release notes that we migrated to releasing to the github releases instead of bintray. With the 6.1.2 release we have completely stopped publishing to bintray.