Crash trying to boot the latest beta in a dedicated server

Issue Description
Today i tried to run my dedicated server (using Mohist - a Forge + Spigot hybrid stack) with the latest version of this mod available on CurseForge (WolfArmorAndStorage-1.12.2-3.8.0+beta1-SNAPSHOT-signed.jar) and i got this crash at startup.
Reproduction Steps
Happens at startup when using the latest version of the mod for 1.12.2 with Mohist b294.
Version Information

OS: Windows 10 21H2 x64
Java: Adoptium's, JRE 8 b312
Minecraft Version: 1.12.2
Forge Version: <IP_ADDRESS>60 (built-in Mohist b294)
Mod Version: 3.8.0+BETA1

Additional Context**
Issue happened also in a test server in Athernos (free minecraft hosting).

Do you also get the same issue on a vanilla forge server?

Do you also get the same issue on a vanilla forge server?

Installed the forge server jar in the folder and tried to run it, here's the crash report.

ok this wasn't actually that difficult of an issue to fix. Forgot to mark the coremod as containing a normal mod as well.  Odd that this works on singleplayer... if it does. Hotfix soon.

Fixed, will release on github and curse soon

Thanks a lot for that!

@satyrnidae Question: I have MixinBootstrap on my modpack. What .jar should i download from latest release?

@vico93 You can probably use either, though I haven't uploaded the no-mixin one to curseforge. Let me know if you have any issues


download D prereleases from S3 instead of from FTP

Turns out we also mirror the prereleases to our S3.

Forgot to ping you @BanzaiMan.

I added a commit to account for URL quirks in older pre 2.065.0 releases @BanzaiMan.

@MartinNowak Thanks for the ping. We'll deploy this next Monday.

Thanks

Will this be deployed today @BanzaiMan?

It is now! Thanks for the reminder.


Return all possible combinations

when returning non correlated features, im currently thinking of returning only one set of features, but it is possible to think of returning all possible combination (a bad idea imho) but someone could be interested in it.

or better  have a feature like return min columns and max columns


Incorrect selection move by word with Chinese script

Steps to Reproduce

Execute flutter run on the code sample
Copy and paste Chinese text
Move to the beginning of the text
Move the selection right by word (e.g. Ctrl + right arrow) twice, then left twice, then keep repeating

Expected results: Text selection goes back to the beginning
Actual results: Text selection keeps moving to the right

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

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

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: const <Widget>[
            Text('Type stuff below'),
            Expanded(
              child: TextField(maxLines: null),
            ),
          ],
        ),
      ),
    );
  }
}

Logs
> flutter doctor -v
[√] Flutter (Channel master, 3.1.0-0.0.pre.1354, on Microsoft Windows [Version 10.0.19044.1708], locale en-US)
    • Flutter version 3.1.0-0.0.pre.1354 on channel master at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a30012b275 (9 hours ago), 2022-06-22 17:04:07 -0700
    • Engine revision fc08bf45b0
    • Dart version 2.18.0 (build 2.18.0-216.0.dev)
    • DevTools version 2.14.0

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.15)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32510.428
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code, 64-bit edition (version 1.68.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1708]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 102.0.5005.115
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.39

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

! Doctor found issues in 2 categories.

Hi @tgucio, thanks for filing the issue.
This issue is reproducible on the latest stable and master channels.
When using Ctrl + right arrow, the cursor position is moved wrong, it always moves forward.

Demo
https://user-images.githubusercontent.com/104349824/175496599-de138434-26b0-4fd3-bd83-f4b00343cff6.mp4

Sample 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(),
    );
  }
}

class MyHomePage extends StatefulWidget {

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: const <Widget>[
            Text('Type stuff below'),
            Expanded(
              child: TextField(maxLines: null),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[√] Flutter (Channel stable, 3.0.3, on Microsoft Windows [Version 10.0.19043.1766], locale en-US)
    • Flutter version 3.0.3 at C:\WIP\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 676cefaaff (2 days ago), 2022-06-22 11:34:49 -0700
    • Engine revision ffe7b86a1e
    • Dart version 2.17.5
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32421.90
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\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 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1766]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 102.0.5005.115
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

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

• No issues found!

[√] Flutter (Channel master, 3.1.0-0.0.pre.1360, on Microsoft Windows [Version 10.0.19043.1766], locale en-US)
    • Flutter version 3.1.0-0.0.pre.1360 on channel master at C:\WIP\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c3a0e4d21 (4 hours ago), 2022-06-24 00:19:06 -0400
    • Engine revision fc08bf45b0
    • Dart version 2.18.0 (build 2.18.0-216.0.dev)
    • DevTools version 2.14.0

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32421.90
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\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 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1766]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 102.0.5005.115
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

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

• No issues found!

Thanks for confirming @huycozy. BTW, I believe this isn't specific to windows but will behave the same on every platform (including mobile) using a HW keyboard.

@tgucio Thank you for reminding me, I can reproduce this issue on other desktop platforms. But it works well on Web.
Providing demo video as below:

MacOS: ❌
Linux (Ubuntu): ❌
Web: ✅

✅: No Issue ❌: Issue reproduced

Demo

MacOS:

https://user-images.githubusercontent.com/104349824/176093779-9d9a3055-540f-4d72-b7ca-4e5e260d4cbb.mp4

Web:

https://user-images.githubusercontent.com/104349824/176093782-226abba3-ca54-4735-a559-764222b30ef1.mp4

Linux (Ubuntu):

https://user-images.githubusercontent.com/104349824/176093772-fb20a96f-247b-4bcf-8987-6bf197fbc524.mp4

cc @justinmc

This appears fixed to me, can anyone else reproduce it on master still?  It moves one character at a time now:
Screencast from 2023-01-20 15-48-00.webm
Actually though, if I try it on gedit on Linux, it moves until it reaches punctuation.  Maybe we should match that behavior.
Screencast from 2023-01-20 15-49-10.webm
@Renzo-Olivares Do you have any thoughts on this since you have been working on boundary related stuff?

I don't reproduce the issue either. I think it would make sense to close it, and use a new issue for further improvements.

Actually though, if I try it on gedit on Linux, it moves until it reaches punctuation. Maybe we should match that behavior.

I think that behavior isn't great — it's moving past entire long clauses. But it might be better than moving a character at a time, given that if you want a character at a time you can always use plain left/right without Ctrl.
The ideal behavior would be to segment the text into words and move a word at a time. This is typically 2-3 characters, but can be less or more. To make it easy for everyone to reproduce the same details, here's some copy-pasteable text (from a Wikipedia article):

1894年，孫文成立興中會。1895年，興中會發動乙未廣州起義。1905年，中國同盟會在日本东京組成，孫被推為总理；確定「驅除韃虜，恢復中华，建立民國，平均地權」的革命政綱，提出三民主義學說；創辦《民報》，宣傳革命，同當時的中國改良派激烈論戰。

In that first sentence, if I use Ctrl+right/left in a browser's text input (in Chrome on Linux), the pieces it moves past are:
1894
年
，
孫文
成立
興中會
。
Each of those is a meaningful word or name (except the two that are pieces of punctuation.)
Doing that well requires a nontrivial language model, which I imagine is why gedit hasn't done it. I don't know if SkParagraph or another subsystem we already use might be equipped to do that for us.

Thanks for the investigation, I've opened https://github.com/flutter/flutter/issues/123065 to track.  I'll go ahead and close this one.


add gce-staging-2

to be used for nat load testing and other things that we do not want to impact staging-1

@meatballhat applied suggested change!


dpkg doesn't exist on Fedora

Hardware description: esp32
RTOS: FreeRTOS
Installation type: micro_ros_setup
Version or commit hash: galactic

Steps to reproduce the issue
Try to create workspace
Expected behavior
Successful creation of firmware folder
Actual behavior
Fails to check if pip3 is installed in config/freertos/esp32/create.sh
Additional information
Probably the easiest fix to that would be to replace dpkg -s python3-pip > /dev/null with which pip3 >/dev/null 2>&1

Hello @eaglesemanation,
Fedora is not a Tier 1 platform in ROS 2, so we do not have support for this OS at micro-ROS. We will be happy to review a PR where you make some patches for solving that.
Thanks for the feedback.


Avoid importing pip

Pip doesn't have a stable Python API and shouldn't be imported, and may not be used to install this package at all.

Coverage decreased (-3.5%) to 88.798% when pulling a7d1c725e490e3aca553bda8c619c9c5b3177cc2 on tdsmith:patch-1 into ae2b767a4d6a6f2b19c219397647bafe0ad5ebe5 on nvbn:master.

Thanks!


Changing the height of the Window causes a crash

Describe the bug
Changing the height of the Window causes the program to crash with this error:
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `iced_wgpu encoder`
    In a set_scissor_rect command
    Invalid ScissorRect parameters

To Reproduce
Describe steps to reproduce the bug, e.g.:

Install using cargo install
run the program and press Run!
Start dragging using the bottom edge and go slowly up shrinking the window
When the height of the window is around 3cm it will crash.

Screenshots

Desktop (please complete the following information):

OS: Ubuntu 20.04

Additional context
Add any other context about the problem here.

Thank you for having described the issue!
It has never happened to me, but to solve this I've just set a minimum size for the window!


meson.setupHook: prefer meson commands over ninja

Description of changes
Meson now comes with its own set of commands for building, testing, installing etc., that by default wrap around Ninja.  The reason to prefer using the Meson commands is that they take additional options (e.g. setting custom timeouts for tests — my motivation for this change).
Here, I've modified the Meson setup hook so instead of Ninja being run automatically, Meson's equivalent commands will be if Meson is present.  This only happens when Meson is used to configure, to avoid starting to run Meson directly when dealing with custom build systems that wrap around Meson, like QEMU's.
Naturally the Meson commands don't support entirely the same set of options that the Ninja ones did, but I checked through Nixpkgs to find any packages using Meson that used any options that wouldn't be picked up by this new system.  I only found one, and it was just setting checkTarget = "test", which is the default value for Ninja and has no Meson equivalent (because we directly tell Meson to run the tests rather than going through a generic job system like Ninja).
I've tested building all the way to qemu_kvm, which I chose because it has lots of dependencies built with Meson, and also has its own custom Meson-wrapping build system so I could be sure that also still worked.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@eli-schwartz thanks for the clarification/explanation! I appreciate it.

v2:

Drop mesonBuildPhase.
Move phase overrides into mesonConfigurePhase to avoid setup hook ordering problems.
Don't set TERM=dumb for check/install (which ends up being not at all since we dropped mesonBuildPhase).
Fix the flags typos noticed by @jtojnar.

I'll do another test build through qemu_kvm, but once review has settled down because it takes a long time.

v3:

Don't try to pass -j$NIX_BUILD_CORES to meson test, as it does not support it.

Pass --no-rebuild to meson test and meson install, to avoid rerunning Ninja, which will never have any work to do.

Tested building through to qemu_kvm again.

@OfBorg eval

OfBorg failure is just it failing a test in aws-sdk-cpp.


Make the room name consistent

Issue
#29
Contents

[x] Update the name of the rooms in sessions_en.json
[x] Update the name on the map

LGTM :smile:

Thanks! I will merge it after CI build finishes successfully.


Remove unnecessary css imports

Files px-data-grid-dark-theme.scss and px-data-grid-light-theme.scss

It looks like px-defaults-design and px-mixins-design are not needed in this file.

File px-data-grid.scss

In the files thatinclude="px-data-grid-styles I don't see the classes in these files being used px-helpers-design, px-flexbox-design, px-viewport-design, px-layout-design, px-button-group-design, px-spacing-responsive-design, and px-widths-responsive-design. If that is true, these imports can be removed.
Need to add px-box-sizing-design because we define our box-sizing: border-box;

@katemenkhaus, we faced with a problem when we imported box-sizing-design:
you define
* {
box-sizing: inherit;
}

in this file, what causes box-sizing in some elements to be content-box instead of border-box.
To fix that we had to remove this import.

@Toshegg what is important that the box-sizing in set to border-box. It can be confusing when we have a mix of content-box and border-box as I'm sure you just saw. I do find it interesting that you are getting a mix with that import though. I would double check that you aren't setting content-box somewhere and it is inheriting that. Could it be inheriting from the vaddin grid?

I say we should never import those dependencies. Not when we build on something existing (like vaadin-grid).

Moving this to end of year delivery, as not really sure what all should be done here now.

We can leave the dependencies out for now. If we have problems with it later we'll handle it then.


Fix order of children - defaults to order

Closing this, completely missed the latest commits where you already fixed this.


Dash example video doesn't work on Safari 9

Hi, the example videojs dash doesn't work on Safari 9. I was doing some compatibility tests and I tryed the example page http://videojs.github.io/videojs-contrib-dash/ and it doesn't work well on Safari 9 (OSX 10.11). Can it be connected with some specific codec compatibility for Safari? Console does not throw any errors and it looks like it loads the content and starts playing ok. Time is also updatig, but there is only sound and no picture and it gets stucked after seek. I tryed different source on my implementation and it worked ok.

Yep, I confirm, our examples work on PC (all OSs and all browsers we've tested), plus Mac (Chrome) but Mac El-Capitan with Safari 9 is a problem. We do get playback, but Seek breaks things! When seeking we often get the Poster re-appear (without Play Button overlay) and then we carry on hearing the audio only.

This seems to be a problem upstream.
Visit the dash.js test site at http://dashif.org/reference/players/javascript/v1.5.1/samples/dash-if-reference-player/index.html and enter the manifest http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd
The test player plays audio but no video.

So now I think it's a media issue. Some of the content on http://dash-mse-test.appspot.com/media.html will play in Safari.

Hi Shawn
As I said, we DO get DASH playback in Mac El-Capitan with Safari 9 (so I think it is happy with our MP4 and codecs), but SEEK breaks things! When seeking we often get the Poster re-appear (without the Big Play Button overlay) and then we carry on hearing the audio only. So, I think this issue is related to VJS interaction with Safari on SEEKING. For some reason we get the the Poster re-appear. We carry on hearing the audio. I assume that the video is also continuing to play fine BUT behind the poster???

I updated my test case to include a poster.
I can confirm I have now begun to experience the poster showing up sometimes when seeking in Safari 9 (though I don't see the big play button).

Yes, I confirm, we get the Poster and not the big play button. I'm guessing the video is continuing to play behind the poster as we can still hear the audio.

Here's our test case:
https://www.handpickedhotels.co.uk/fawsleyhall/welcome/video-photos/watch-our-video

It seems the issue is with the <video> poster attribute, and not the poster div that videojs creates. In a pinch $(player.el()).find('video').removeAttr('poster'); will stop the poster issues with Safari, though finding the root cause is ideal.

Our implementation for clients requires a Poster that appears initially and when ended, so we can't just remove the Poster unfortunately. Yes, finding the root cause and a fix is imperative, but it's beyond our understanding of videojs and Safari interaction to know what is causing the problem.

Looks like the poster issue is an upstream problem. I've opened an issue on the dash.js repo

It looks like the dash.js issue above was closed due to this issue being a Safari bug, if there's no more information we will close this issue.

https://filmsgratos.com/image/player.jpg

solution
https://codepen.io/vsalema/pen/xxJxWxQ


RFE: prescriptive chaos (non-random)

to better understand certain classes of failure, a simple frontend to apply and remove different failure classes would be helpful.

It should be simple enough to add a simple TS express app in lieu of the bash script and allow for an API with sensible undo timeouts.


PHOENIX-6163 Move CI to ASF Jenkins for connectors (addendum: fix Jen…

…kins timeout setup)

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 46s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
8m 14s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for patch

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+0 :ok:
asflicense
0m  0s
ASF License check generated no output?

15m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-36/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix-connectors/pull/36

Optional Tests
dupname asflicense

uname
Linux aac8f33e6a93 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-connectors-personality.sh

git revision
master / 24c4093

Max. process+thread count
46 (vs. ulimit of 30000)

modules
C:  U:

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-Connectors-PreCommit-GitHub-PR/job/PR-36/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Best Way To Create Dynamic RPDOs

I have a network with 1 consumer and an unknown number of producers.
I can scan the network to get the device type and node IDs of any active nodes, at which point I also know what TPDOs they are producing.  All the nodes have a maximum of the default 4 COB +NodeID TPDOs.
I need to be able to set the matching RPDOs on the consumer but am unsure the best way to do this?

Should I have all possible default COB-IDs pre mapped as Communication Parameters with blank matching mapping parameters at compile time, or can I add to the Object Dictionary after the network is running and I scan the nodes?

After I've scanned the nodes and am ready to rewrite the mapping parameters, is this done via a function somewhere or do I just edit the OD directly?
Thanks

Thinking about this I think it's outside the scope of CANOpen so I'm tempted to just redirect all PDO messages to some custom logic instead of copying to the CANopenNode stack, just for the 1 "gateway/master" device.
Does this sound like the preferred option?

RPDO consumer is configured via OD parameters, I didn't provide additional interface. There are several options:

external application scans nodes and uses gateway to configure OD parameters of gateway or other nodes
use SDO client to configure own or remote OD parameters
call CO_CANopenInitPDO() after scanning remote nodes and editing own OD_PERSIST_COMM.x16xx_RPDOMappingParameter variables from OD.

This is custom solution, I think


The UPDATED_BY column in AM_API  table of AM_DB does not get updated when a developer updates an API

Description:
The UPDATED_BY column in AM_API  table of AM_DB does not get updated when a developer updates an API
Suggested Labels:
API-M 2.5.0
API-M 2.6.0
Affected Product Version:
API-M 2.5.0
API-M 2.6.0
Steps to reproduce:

Create an API
Update the API
Check the value for the UPDATED_BY column in AM_API table of AM_DB

Fixed with above PR.


Implement non-intrusive locking for backups

This is to eliminate the impact of backups when the leader has hung RPCs.
Backup not backing off from an exclusive lock acquisition was causing a pile of shared acquisition attempts.

alluxio-bot, check this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9685/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9693/
Test FAILed.

jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9694/
Test FAILed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9697/
Test FAILed.

16:30:14.666 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project alluxio-core-server-master: Compilation failure: Compilation failure:
16:30:14.667 [ERROR] /usr/src/alluxio/core/server/master/src/main/java/alluxio/master/backup/BackupLeaderRole.java:[257,45] incompatible types: long cannot be converted to boolean
16:30:14.667 [ERROR] /usr/src/alluxio/core/server/master/src/main/java/alluxio/master/backup/BackupLeaderRole.java:[288,47] incompatible types: long cannot be converted to boolean

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9698/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9700/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.2 please


Link. url do not support graphql field return

the prismic gql return object as following {"_linkType":"Link.web","__typename":"_ExternalLink"}
then when you try to use link to render the url it throw
TypeError: Cannot read property 'link_type' of null
    at Object.url (webpack://PrismicReactjs/./node_modules/prismic-helpers/dist/prismic-helpers.min.js?:68:33)

Hey,
can you add some example code with ideally a request and an endpoint if it is public? I am not familiar with using GraphQL with Prismic

My bad, i lost track of this issue.
here is some sample link fragment:
{"_linkType":"Link.document","_meta":{"id":"XZvpkxIAACMAu8Vw","uid":"test--scheduler","__typename":"Meta"},"__typename":"Scheduler"}
import { Link } from 'prismic-reactjs';
export function RichLink(link) {
    return Link.url(link, linkResolver);
}

above code do not go into linkResolver

https://github.com/prismicio/prismic-reactjs/issues/37

This PR should solve the issue: https://github.com/prismicio/prismic-helpers/pull/3

Sounds like the fix for this is already in motion, but I am seeing the following different shapes for links in two different projects. Both use the REST API V2, but I think one of them might have GraphQL enabled on the repo (but unused).
Is this intentional? Sorry, I realize this is more of an API question than prismic-reactjs.
Project 1:
Maybe with GraphQL enabled on the repo, but unused. Note the type: "Link.document"
{
  "type": "Link.document",
  "value": {
    "document": {
      "id": "XFyp-BAAACIAIod-",
      "type": "page",
      "lang": "en-us",
      "tags": [],
      "slug": "about",
      "uid": "people"
    }
  },
  "isBroken": false
}

Project 2:
Without GraphQL enabled on the repo. Note the link_type: "Document"
{
  "id": "XZKZGxIAACQAZah3",
  "type": "page",
  "tags": [],
  "slug": "about",
  "lang": "en-us",
  "uid": "about",
  "link_type": "Document",
  "isBroken": false
}

Fixed by https://github.com/prismicio/prismic-helpers/pull/7


In a Token-based DAO, when create a proposal , if choose High Council as voters, after creating a proposal, voters still are referendum

Description
In a Token-based DAO, when create a proposal , if choose High Council as voters, after creating a proposal, voters still are referendum
Steps To Reproduce

Log in...
Enter a Token-based DAO https://test.tmrwdao.com/dao/high-council-test-dao
Create a proposal , choose High Council as voters
Enter this proposal detail page https://test.tmrwdao.com/proposal/cc475c2a480c8932206dac934349bbb416213073cd906d5848528a38f39fe328

Current Behavior

Exhibit voters are referendum

Expected Behavior

Voters should be High Council

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

Has fixed in indexer


Query regarding custom data preparation for getting  frame level outputs in downstream tasks(ex. speaker ID)

Hello,
Is there any specific downstream task which deals with frame level outputs(ex. speaker ID). Voxceleb_frame_level task is not very clearly explained, it will be great to get some help on how to prepare a custom dataset to feed in to the network and get framelevel outputs and corresponding metrics.

Hi,
I think you can try to split your data into many frames, and do padding to make length of each frame be the same if needed. Then in the __getitem__() and collate_fn(), return a tensor consists of frames.
As for the downstream model, you should project the features output from upstream to the correct dimension, i.e. number of frames in your original data. For example, if the original data can be split into 10 frames, your output dimension should be 10.

Hello,
it will be great to get some help on how to prepare a custom dataset to feed in to the network and get framelevel outputs and corresponding metrics.

Hi @rimitalahiri92 , please check out this dataset for frame-wise phoneme classification, it takes speech frames as input, and the output targets are the corresponding frame-level phonemes.
The metrics and loss for this kind of frame level outputs are calculated as follow: codes

Hi,
The design of the current codebase is not ideal since it entangles the data-dependent corpus & task-level logics together in a single Dataset class. So usually you must change the Dataset code to enable new data. Sorry for the inconvenience. As a temporary solution you can refer to @andi611's solution on how to tweak an existing dataset (for frame-level phoneme classification) to fit your need.
As for the generic data-independent dataset classes like UtteranceLevelClassification or FrameLevelClassification, this is what we are working on now internally and will be released soon. We wish to enable much easier data switch for a task after this release. Please stay tuned!
I am closing this issue for now. Feel free to re-open it if you have more questions. Thanks!


SBMLImporter update

Update to SBMLImporter v2.6, and fix a bug in how models written to file are parsed.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.07%. Comparing base (012606d) to head (790b228).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #253      +/-   ##
==========================================
+ Coverage   91.04%   91.07%   +0.02%
==========================================
  Files          61       61
  Lines        3930     3931       +1
==========================================
+ Hits         3578     3580       +2
+ Misses        352      351       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove 'Get New Address' from web

Lbry.tv uses a single address mode, so there are no other addresses.

Actually, this would affect web only users, and folks to sync their other accounts later on will continue to have it. So we should make it conditional based on the return of how many addresses they have.


Update build status badge

Due to having been moved from /zalando-incubator to /zalando the build status badge was broken

;+1:

:+1:

Congratulations on the promotion :)

:+1:


Added immich

High performance self-hosted photo and video management solution.
immich https://github.com/immich-app/immich

@ashitaprasad PLEASE MERGE MY request

The changes have not been done.
I can still see improper formatting.
Closing this PR. Make the changes and raise a new one.


When the path contains square brackets, spawning a new terminal using powershell and "terminal.integrated.cwd" does not function properly

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.66.2
OS Version: Windows_NT x64 10.0.19043

Steps to Reproduce:

Create a path that can easily be accessible from vscode: C:\Users\kyrlon\Desktop\[vscode_example]
Open a new window in vscode, and open folder to the recently created path
Click the drop down menu to select the profile for powershell/Windows PowerShell.
Terminal's cwd will be C:\Windows\System32\WindowsPowerShell\v1.0 instead of terminal.integrated.cwd

/duplicate #145441


Fix failing tests

What does the code in this PR do / what does it improve?
Fix failing tests
Can you briefly describe how it works?

If the tests pass it works otherwise it does not

🎉  it's done! It's finally over, what a horrible exercise again after #474 , I deeply started hating dask

Nice great to be back


Update github workflows

impl matrix testing
add integration with Codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dbf1247). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   99.09%
=========================================
  Files             ?        3
  Lines             ?      220
  Branches          ?       33
=========================================
  Hits              ?      218
  Misses            ?        2
  Partials          ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat(cli): find .jflintrc from the current directory all the way up t…

…o the filesystem root

Coverage increased (+17.9%) to 58.889% when pulling 319a80cd078e21cf105767a7a63dd3541cd709a9 on feat-find-config into f9a3049b0b77ca7ae424a7e5f0fb02f651447a16 on master.


Popover ignores translucent StatusBar on Android

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request

Issue description
Current behavior:
Translucent status bar breaks Overflow menus position on Android. It's moved up by the width of the statusbar.
Expected behavior:
Menus are displayed right below the container, work the same on iOS and Android, regardless of statusbar configuration.
Steps to reproduce:

Add <StatusBar translucent={true}/>
Use any of Overflow menu variants (Popover, Tooltip).

Related code:
As above.
Other information:
OS, device, package version
Android

  "dependencies": {
    "@eva-design/eva": "^1.3.0-beta.1",
    "@expo/vector-icons": "^10.0.5",
    "@react-native-community/masked-view": "^0.1.1",
    "@react-navigation/bottom-tabs": "^5.0.0-alpha.21",
    "@react-navigation/core": "^5.0.0-alpha.22",
    "@react-navigation/native": "^5.0.0-alpha.15",
    "@react-navigation/stack": "^5.0.0-alpha.36",
    "@ui-kitten/eva-icons": "^4.3.0-beta.1",
    "date-fns": "^2.4.1",
    "expo": "^35.0.0",
    "expo-google-app-auth": "^7.0.0",
    "firebase": "^7.2.2",
    "lodash": "^4.17.15",
    "mobx": "^5.14.0",
    "mobx-react-lite": "^1.5.0",
    "react": "16.8.3",
    "react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
    "react-native-gesture-handler": "^1.3.0",
    "react-native-reanimated": "^1.2.0",
    "react-native-safe-area-context": "^0.3.6",
    "react-native-safe-area-view": "^0.14.8",
    "react-native-screens": "^1.0.0-alpha.23",
    "react-native-svg": "^9.9.6",
    "react-native-ui-kitten": "^4.3.0-beta.1"
  },

Hi 👋
Can the code below fix your issue?
import React from 'react';
import { StatusBar } from 'react-native';
import { OverflowMenu } from 'react-native-ui-kitten';

const OverflowMenuShowcase = () => (
  <OverflowMenu
    {...props}
    style={{marginTop: StatusBar.currentHeight}}
  />
);

Thanks for the response. I did exactly this yesterday and yes it does fix the issue.
TBH the last time I was trying to use the popups I just gave up because of this. Only yesterday I figure out that it's the bar that causes the problem so I submitted the bug. The functionality is broken OOB so I see it as a bug (I expected that popup is positioned relatively to its child element which is not true in this case), but it's your call here in this repo :)
Just mind that other people using translucent StatusBar will also see all pop-ups as not-working properly.

We can think about handling this out of the box, thanks for reporting 👍

@artyorsh you know if it's possible to fix this without setting StatusBar to translucent? setting it to translucent makes the splashscreen and statusbar behave weird..
No way to do something like style={{marginTop: StatusBar.currentHeight}} for the Select component?

@jorgnyg I run it normally within Bare RN application, no special config is required. I have no idea how to deal with it other way in Expo apps, to be honest.

This is a valid issue for any comp using popover (currently having issue with select and datepicker comp), their popover will shifted because of translucent status bar, please fix this

Hi, by any chance, is this problem solved, or is there a method to get around it? (For select component)

Is there any fix for this planned? I'm having the same issue with using Autocomplete and a hidden StatusBar

I'm having the same issue for DatePicker:

Any fix available ?

Have you tried this https://github.com/akveo/react-native-ui-kitten/issues/743#issuecomment-560324427?

Have you tried this #743 (comment)?

Yes, I applied this workaround to "Datepicker" component but it doesn't work!

I should apply the fix to "Calendar" component inside the DatePicker component. Do you know how can I do this ?

No, sorry :(

While, you can use patch-package and use this:
@ui-kitten+components+5.0.0.patch
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index a5525e8..fc77dac 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -356,6 +356,10 @@ const styles = react_native_1.StyleSheet.create({
     },
     popover: {
         overflow: 'hidden',
+        // fix select popover in Android if StatusBar is translucent
+        get marginTop(){
+            return react_native_1.StatusBar.currentHeight
+        }
     },
     list: {
         flexGrow: 0,

Would it be possible to implement a popover style prop for components like OverflowMenu, Datepicker, Autocomplete, Select, etc?


Fix TinyTodo build error

PR #512 was not as backwards compatible as I had hoped. A function using a 'static lifetime parameter caused some other lifetimes parameters to be inferred to be 'static when the relevant variables did not have a static lifetime. Using a fully generic 'b lifetime seems to solve this.
Description of changes
Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[x] A change (breaking or otherwise) that only impacts unreleased or experimental code.

I confirm that this PR (choose one, and delete the other options):

[x] Does not update the CHANGELOG because my change does not significantly impact released code.

I confirm that cedar-spec (choose one, and delete the other options):

[x] Does not require updates because my change does not impact the Cedar Dafny model or DRT

Disclaimer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Not sure why TinyTodo build is failing on this PR.
Local build works when I update the Cargo.toml to point to this branch like
[dependencies.cedar-policy]
 version = "3.0.0"
 git = "https://github.com/cedar-policy/cedar"
 branch = "fix/jkastner/lifetimes"

for that matter, I'm not sure why this build failure wasn't caught on #512. Maybe there's some issue where the build isn't correctly pulling for the PR branch?

Yeah, based on these I'm guessing it's building with the current main and not main + the PR in question.

Overriding to unblock.

confirmed by logs
  Compiling cedar-policy-validator v3.0.0 (https://github.com/cedar-policy/cedar?branch=main#261b290c)
   Compiling cedar-policy v3.0.0 (https://github.com/cedar-policy/cedar?branch=main#261b290c)


fix: MongoDB Invalid DB Name Error Msg

Description

This PR adds a check to throw a proper error if the default database name is empty and an invalid database name is provided in the authentication section for mongo db.
Added JUnit test cases for the same. one for an invalid db name and one for a valid db name (Both with empty default db name)
There is one more issue observed here which is not taken part in this ticket. When you try to save the mongo data source with the default database name and empty database name under auth section. Once you try to save the data source it will throw an internal server error. Created a ticket for the same: https://app.zenhub.com/workspaces/data-integration-pod-6322a759b3296d249ce5c4ed/issues/gh/appsmithorg/appsmith/21598

Fixes #12260
Type of change

Bug Fix(non-breaking change which adds functionality)

How Has This Been Tested?

Manual
JUnit TC added

Checklist:

[x]  My code follows the style guidelines of this project
[x]  I have performed a self-review of my own code
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have made corresponding changes to the documentation
[ ]  My changes generate no new warnings
[x]  I have added tests that prove my fix is effective or that my feature works
[x]  New and existing unit tests pass locally with my changes
[ ]  PR is being merged under a feature flag

QA activity:

[ ]  Test plan has been approved by relevant developers
[ ]  Test plan has been peer reviewed by QA
[ ]  Cypress test cases have been added and approved by either SDET or manual QA
[ ]  Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ]  Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=524cc17

/ok-to-test sha=245b95d

/build-deploy-preview skip-tests=true


fix issue 157

Fix  issue 157
Special thanks to @wz14 . This work is from bitlayer.org.

@manishbista28 Do you know the issue and can review this?

can't the generic point operation functions that assume c3, c4 on stack be used for fixed Q pairing as well ? there seems to be a _stable and c3,c4 hardcoded function now.

It seems you have used (c3, c4) across tapscripts i.e. between chunk accumulator (to do line evaluation) and chunk q4 (to do point operation). In that case, I agree that you will have to bitcommit to (c3, c4).
You seem to have added hardcoded function to reduce the amount of line-coeff data to bit commit to.
My suggestion would be to do all operations that require (c3, c4) within a tapscript, so you don't have to bitcommit to them to being with and as such don't need two versions of the same function.
If that is too much work for now, I'd suggest following changes to the current scope only related to convention and test.

that all line operation functions which assume [c3, c4] on stack have the same name as previous i.e. without suffix "_stable". This will make it easier to not have to adapt to that name change everywhere.
the implementation of the non-fixed pairing ops seems to assume [c3, c4] on stack which I support. I have added tests for them, could you please include tests when you're done with changes ?
Finally could you also ensure other scripts like non-chunked groth16 verifier do not break during this process by running their respective tests in the end ?

(1) "*_stable" function  is removed;
(2) the following test cases are updated and passed.
test_hinted_check_chord_line,
test_hinted_check_tangent_line,
test_hinted_affine_double_line,
test_hinted_affine_add_line
(3)  the following test cases passed.
chunk_groth16_verifier
chunker
test_hinted_groth16_verifier_small_public
test_hinted_groth16_verifier
test_hinted_groth16_verifier_stable
disprove
test_wrong_proof
test_wrong_proof_and_modify_intermediates
offchain_check_wrong_proof
non-chunked-groth16
test_groth16_verifier_native_small_public
test_hinted_groth16_verifier

looks good to me, thanks.
requesting @Hakkush-07 to review as well.


[TRACKING] Support Bundles / Supportability / Metrics

Will link the KEP as soon as it's available in this tracking issue. /cc @marccampbell
It might be worth splitting supportability features into multiple KEPs - one for a support bundle, and then one for opinionated streaming metrics/alerting for live consumers (for example, alertmanager)

[ ] KEP (#1152)

@gerred I'd like to start on the support bundle KEP, do you know if there's any wip?

KEP-22 along with its implementation was merged and I agree with @gerred that metrics should be a separate issue and we already have #629 and #1433 for that.


Limit PokemonOptimizer logs only after catching a Pokemon

Short Description

Make the PokemonOptimizer display log only after catching a Pokemon.
Possible solution

PokemonOptimizer currently spams the logs every second. Regardless of whether the bot catches a Pokemon or not. For example:
[2016-09-06 07:48:44] [FollowPath] [INFO] Walking from (37.79268757281985, -122.39339298324255, 8.030725657710692) to (37.7930338, -122.3929975, 8.0), distance left: (0.05 km) ..
[2016-09-06 07:48:45] [UpdateLiveStats] [INFO] xxx | Uptime : 0:33:37 | Earned 4,801 Stardust | +9,195 XP | 16,412 XP/h | Visited 46 stops
[2016-09-06 07:48:45] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:45] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:45] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:46] [FollowPath] [INFO] Walking from (37.79271549998604, -122.39336821335196, 8.220596891714258) to (37.7930338, -122.3929975, 8.0), distance left: (0.05 km) ..
[2016-09-06 07:48:46] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:46] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:46] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:47] [FollowPath] [INFO] Walking from (37.79274049309204, -122.39333704535689, 8.275425897523267) to (37.7930338, -122.3929975, 8.0), distance left: (0.04 km) ..
[2016-09-06 07:48:48] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:48] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:48] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:49] [FollowPath] [INFO] Walking from (37.79277202401491, -122.39330045941107, 8.095191705819452) to (37.7930338, -122.3929975, 8.0), distance left: (0.04 km) ..
[2016-09-06 07:48:49] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:49] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:49] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:50] [FollowPath] [INFO] Walking from (37.792804316699886, -122.39326152817988, 8.293767625894523) to (37.7930338, -122.3929975, 8.0), distance left: (0.03 km) ..
[2016-09-06 07:48:50] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:50] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:50] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:51] [FollowPath] [INFO] Walking from (37.79282832407298, -122.39323150022919, 8.389271657574023) to (37.7930338, -122.3929975, 8.0), distance left: (0.03 km) ..
[2016-09-06 07:48:52] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:52] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:52] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:52] [  SpinFort] [INFO] Spun pokestop Les 3 Dauphins. Experience awarded: 50. Items awarded: 3x Pokeball
[2016-09-06 07:48:56] [FollowPath] [INFO] Walking from (37.79284954410439, -122.39320413633706, 8.419873814028811) to (37.7930338, -122.3929975, 8.0), distance left: (0.03 km) ..
[2016-09-06 07:48:57] [UpdateLiveStats] [INFO] xxx | Uptime : 0:33:49 | Earned 4,801 Stardust | +9,245 XP | 16,406 XP/h | Visited 47 stops
[2016-09-06 07:48:57] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:48:57] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:48:57] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396113 stardust]
[2016-09-06 07:48:58] [PokemonCatchWorker] [INFO] A wild Zubat appeared! [CP 412] [NCP 0.64] [Potential 0.58] [A/D/S 14/8/4]
[2016-09-06 07:49:08] [PokemonCatchWorker] [INFO] Nice Curveball throw! Used Greatball, with chance 41.36 (3 left)
[2016-09-06 07:49:08] [PokemonCatchWorker] [INFO] Zubat capture failed.. trying again!
[2016-09-06 07:49:19] [PokemonCatchWorker] [INFO] Excellent Curveball throw! Used Greatball, with chance 41.36 (2 left)
[2016-09-06 07:49:19] [PokemonCatchWorker] [INFO] Captured Zubat! [CP 412] [NCP 0.64] [Potential 0.58] [14/8/4] (402/800) [+210 exp] [+100 stardust]
[2016-09-06 07:49:19] [PokemonCatchWorker] [INFO] You now have 26 Zubat candy!
[2016-09-06 07:49:25] [UpdateLiveStats] [INFO] xxx | Uptime : 0:34:17 | Earned 4,901 Stardust | +9,455 XP | 16,550 XP/h | Visited 47 stops
[2016-09-06 07:49:25] [PokemonOptimizer] [INFO] Pokemon Bag: 411/650
[2016-09-06 07:49:25] [PokemonOptimizer] [INFO] Transferring 0 Pokemon
[2016-09-06 07:49:25] [PokemonOptimizer] [INFO] Skipping evolution step. Not enough Pokemon to evolve with lucky egg: 4/80
[2016-09-06 07:49:25] [PokemonOptimizer] [INFO] Upgrading 0 Pokemon [396213 stardust]

How it would help others

Show more relevant information for the PokemonOptimizer in the logs.

You config issue, read https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/pokemon_optimizer.md
You specifically asked the PokemonOptimizer to always run, whatever the state of your bag.

but instead of it running after every task it should only run if there's a change in the bag.
After a pokemon have been catched.
Also i don't understand why it exchanges pokemon before evolving for xp. I see that pokemon is exchanged even if i have enough candy to evolve them. when evolve for xp is true I would assume that it would evolve every pokemon possible and then it could exchange after have evolved whatever possible

The Pokemon optimizer only run when your bag has less space left that what is in config. Otherwise it does not run. There is no such thing as "it run after every task".

No, Pokemon that we plan to evolve for XP are not transferred.

ok if "min_slots_left" is set higher than bag size it will run all the time creating the log above. What we are asking here is if would be possible to make it only run if a pokemon is catched. There is no need for the optimizer to run if the bag haven't changed since last run.
My other question is that i often see this even when Evolve for xp is true:
[PokemonOptimizer] [INFO] Exchanged Weedle [IV 0.47] [CP 70] [110 candies]
why is this not evolved even though there's enough candy available? i don't have any lucky eggs so it's not because it's waiting for more, also no other weedles is evolved after the exchange.
I think it would make more sense to evolve for xp first and then exchange after.
Maybe another round of evolve could then be run if there's enough candy after the exchange.
I'm hoping i could make the bot catch a pokemon, check if it can be evolved for xp and then exchange it, if it's not a keeper.

ok if "min_slots_left" is set higher than bag size it will run all the time creating the log above.

Yes, so why are you putting it higher than the bag size if you don't want the task to always run ?

My other question is that i often see this even when Evolve for xp is true:
[PokemonOptimizer] [INFO] Exchanged Weedle [IV 0.47] [CP 70] [110 candies]

why is this not evolved even though there's enough candy available?

I  have to see your config to explain the scenario. This is a very normal behavior and there is multiple way to explain it.

I think it would make more sense to evolve for xp first and then exchange after.
Maybe another round of evolve could then be run if there's enough candy after the exchange.

That is not at all how it is working. There is an algorithm running that already know in advance how many Pokemon will be transferred, how many will be evolved and how many candies you will have left at the end.
At the end of the task, there is no other evolution that can be done at all, you can open your app and verify that by yourself. You will either have not enough candies, or will have to evolve a Pokemon that does not meat the criteria you have in your config.

I'm hoping i could make the bot catch a pokemon, check if it can be evolved for xp and then exchange it, if it's not a keeper.

You have to use the Evolve task for that, not the Pokemon Optimizer. The Pokemon Optimizer will keep Pokemons on long run for the sake of xp or candies.

I set min_slots_left to 99999 because I still occasionally log on my account normally and I don't want to see 600+ Pokemons in my bag. It's fine that PokemonOptimizer keeps some Pokemons that will be evolved but for me it'll only keep up to 80 until it pops a lucky egg and evolve them all.

Let me dig into some details to explain why it is not that easy to do:

Once you have less space left than the configured value (your case), the Pokemon Optimizer will run. What can impact the result is not only the fact that a new Pokemon has been caught. It can also been gaining candies, stardust, leveling up, spinning fort etc...
So running only after the content of the pokemon bag has changed is going to break stuff.
It is easy to not log anything when there is 0 pokemon to evolve or 0 pokemon to transfer. It is hard to see why we would not log the line that says you are 4/80 for lucky eggs. And i can already see Improvement request coming asking to still get log messages when the PokemonOptimizer has nothing to do. Otherwise you won't even know it is running.

Now, I am thinking about another solution, but I need to think more :)

I got something to work. Will do a commit soon to fix that.

Done


Add protection against gha-creds-*.json leakage by default

TL;DR
I recently was part of a security incident where the short-lived credentials produced by this action were accidentally leaked as part of a broken release process.
While the fault was fully our own, as part of the postmortem I noticed the prescient README.md notice in your repository about having a .gitignore file in place to prevent accidentally committing credentials.
For the users who try this action without fully reading the documentation, I propose that there be further safeguards against credential leakage by default.
Expected behavior
The credentials are stored in a location unlikely to be included by release automation. For instance, storing the credentials in memory, or a file location created by mktemp().
One could even go further and specify /dev/shm as a base directory to ensure that the credentials aren't written to disk, but I'm not sure there is a huge advantage there. Github Actions makes directory available as a tmpfs volume, as do all other Linux systems.
Alternatively, this action could verify the presence of a .gitignore entry before writing the credentials file out.
Observed behavior
No response
Action YAML
N/A

Log output
No response
Additional information
No response

Hi @tstromberg
Thank you for the feedback, and sorry to hear about your security incident. We've been down this path before (https://github.com/google-github-actions/auth/issues/275, https://github.com/google-github-actions/auth/issues/134, https://github.com/google-github-actions/auth/issues/123, https://github.com/google-github-actions/auth/issues/264), but there does not exist a location outside of the workspace that is shared with Docker-based containers in the GitHub Actions environment.
The original implementation used a tmpdir, but that created two challenges:

On self-hosted runners, anything outside of the workspace persists, so future jobs on the same runner had access to creds. This was fixed by cleaning up the credential after each run, but there was still a rare chance that the GitHub Actions process would crash without cleanup, leaving the credential behind. This ultimately led to moving the credential back into the workspace.

Docker-based actions and services do not have access to filepaths outside of the workspace. Customers wanted the action to work "out of the box" without needing to mount custom filepaths into each container. This led to moving the credential back into the workspace.

The credentials are stored in a location unlikely to be included by release automation. For instance, storing the credentials in memory, or a file location created by mktemp().
One could even go further and specify /dev/shm as a base directory to ensure that the credentials aren't written to disk, but I'm not sure there is a huge advantage there. Github Actions makes directory available as a tmpfs volume, as do all other Linux systems.

I agree, but as noted above, none of those mounts are shared by Docker container. Furthermore, GitHub does not publish any documentation or guarantees about volume mount points. Back in 2019, the volumes were different than today, so we're extremely hesitant to use anything other than the workspace, which must be mounted into the volume by default.

Alternatively, this action could verify the presence of a .gitignore entry before writing the credentials file out.

I'm not in favor of this, since then the action would need to have ignore-file parsing logic, which is significant scope creep.
I understand the concern, but this behavior is extremely well-documented (twice in the README and once in the TROUBLESHOOTING guide) and is necessary to support the broad use cases out-of-the-box.

The documentation states to add gha-creds-.json to .gitignore so if we're speaking strictly about the .gitignore file then is there a significant amount of parsing logic necessary to check if there is a line that matches exactly gha-creds-.json?

Greping for the literal string gha-creds-*.json is possible, but it's incomplete. All of the following would successfully ignore the creds, but would not be detected by a simple string search:

g*
gh*
gha*
gha-*
...
*.json
*n

My question was indeed about the literal string gha-creds-*.json and how that might be helpful without complicating things too much; however, I suppose implementing and enabling a requirement like that could break existing workflows in case they have ignored the file using patterns other than exactly gha-creds-*.json. An example of breakage could be that the action started throwing an error if that literal string wasn't found even when the file would've been ignored by another pattern.
Had I been the developer of this action then I would have preferred the action to not concern itself with the .gitignore file but I would also have liked to make it much harder for the file to leak by accident because that's a real concern for users of the action.

Right. I don't really have anything else to add at this time except perhaps the idea to not persist the credentials anywhere on the file system.

This probably should be a configurable setting with a safe default.

I was part of another security incident that involved this unexpected behavior. Sure, you could argue that every user should fully read and implement the documentation for google-github-actions, but the truth is that the default behavior is unexpected.
I stand by my assertion that there should be a technical safeguard for this unexpected behavior: whether refusing to execute if the necessary .gitignore entry is missing or storing the creds elsewhere, or some other creative solution.

This just happened again in a new repository ...

I want to propose an alternate location to store the credentials file, such that it is available in both the host and docker actions, but not in the working directory. Would love to get feedback on this proposal.

Store the creds file in the /github/home directory on the host.
Also store the creds file in the _github_home directory created on the host within its temp directory. This location gets mounted as /github/home in the docker container for docker actions. Reference to the code in the runner repo.
Set the environment variables that point to the creds files to /github/home/credsfile. This file should now be present on both the host and the docker container.

Unless it's a public, documented API in the GitHub support documentation, we cannot use it. We've been repeatedly burned by depending on behavior identified in the OSS runner code that changes without notice, and the feedback from GitHub is that it's not part of a stable API and cannot be depended on.


[BUG] clicking enter in SSH key name entry closes modal

Describe the bug
When you click enter while in the SSH key name entry field it closes the modal, but only seems to hide it. The data is still there if you re-enter it
To Reproduce
Steps to reproduce the behavior:

Create a new VM
Select a template to create it
Click add SSH Key
Enter in your key
Enter in a name
Click enter while in the name field
Click add SSH key again

Expected behavior
It should either create the SSH key and give an error if there is anything wrong, or it shouldn't do anything
Support bundle
harvester-supportbundle_046bfe97-0e0e-45e2-b9e2-6ed767e0aa1d_2021-05-11T20-32-28Z.zip
Environment:

Harvester ISO version: 0.2.0-rc5
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): bare metal DL360G9 cluster with 2 nodes

Additional context

Tested in master-c13c2a35-head. It clears the fields now when you click enter. @yasker . Is that the desired behavior, or do we want to disable the enter key closing that modal?

I don't think it makes sense to clear the field when enter. @WuJun2016 can you explain the desired behavior?

@yasker  @noahgildersleeve  This is not the behavior I want, it's a bug I didn't notice,

Tested in master-199b3b79-head with external UI (new UI). Validated as fixed. Still having issue with bundled UI.


Submit Ballot API Endpoint

Overview

Resolves #6
Added functionality to handle ballot submissions

BallotSubmitView checks the following eligibility criteria:

Voter is logged in
The election referenced exists
Voter is eligible to vote in that particular election
Voter has not already voted in that particular election

BallotSerializer is responsible for converting the json payload from frontend into Ballot models. It ensures all candidates referenced are valid and then saves the models inside an atomic transaction.

Payload structure is based on what is currently in frontend

Unit Tests Created

Added unit tests to test various cases of ineligible voters trying to submit ballots:

People who haven't logged in
People who have tried to modify their cookie
People who are trying to vote in another year/discipline's election
People who are full time but are voting for part time chair
People who are trying to vote twice in an election they are eligible in

Also added unit tests to test successful submission of ballots in different eligibility paths, including a specific test for spoiled ballots

Steps to QA

Create an election session with a few elections and add candidates.
Use the cookie bypass view to log in
Use the swagger view to send post ballot requests
Make sure the ballots in the DB are what they should be
Try to stress test eligibility criteria

Regarding your comment about the payload being id or number, we always need to cast to id, so I don't see how doing a number->id cast is better than string->id


[WIP] [doc] Re-write Quickstart

I think updating the docs is a prerequisite for cutting a stable 1.15 release.
Initially I've tried just to replace all the andThens with async/await but the current Quickstart heavily depends on Acceptance/Integration APIs from the legacy ember-test-helpers.
The new Quickstart page tries to address several issues:

Refresh Ember test API to use @ember/test-helpers and qunit-dom
More focus on the general EmberCLI Page Object patterns:

Component-first page objects
Essential built-in props examples
Essential custom properties examples
Basic extensibility and composibility patterns

It also puts the legacy test API example to the very bottom of the page. I've done it this way just because leveraging of the new test APIs dramatically reduces the explanations complexity IMHO.

Coverage remained the same at 98.763% when pulling d1d46e5d189e3cfca2ef679a7a5e0b0349f73df0 on ro0gr:quickstart into aaec068aa9a8c4faba810af04d8644ea968c5669 on san650:master.

After keeping it for a while I think the current login-form example should be changed to something other.
The main issues are:

duplication of username/password fields requires macros to share definitions which is too complicated for the Quickstart I believe.
A comprehensive form field requires a comprehensive Page Object definition. I think complex component definitions should be placed in on the Components page
Collections are not mentioned at all. It's quite difficult to me to find a natural use case for collections on the login page :laughing:

Currently I think something like a list/table with a search field may be a better option for the Quickstart.

Closing in favour of https://github.com/san650/ember-cli-page-object/pull/415


Why are we acquiring lock while fetching the container in Conversation.cs

Bot Info

SDK Platform:
SDK Version:
Active Channels:
Deployment Environment:

Issue Description

Hi Will,
We are acquiring lock in context of the static constructor, while  container is getting build. Post that, we are using same container instance to resolve objects.
I am not able to understand that why there is a lock in get Container. As I am not able to see any instances other than constructor where the container is getting updated.
File link: (https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Library/Microsoft.Bot.Builder.Autofac/Dialogs/Conversation.cs)
Could you please clarify the same.
Thanks & regards
Ravi Shanker
Code Example

public static IContainer Container
{
get
{
lock (gate)
{
return container;
}
}
}
public static void UpdateContainer(Action update)
{
lock (gate)
{
var builder = new ContainerBuilder();
builder.RegisterModule(new DialogModule_MakeRoot());
update(builder);
container = builder.Build();
}
}
Reproduction Steps

Expected Behavior

Actual Results

https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Library/Microsoft.Bot.Builder.Autofac/Dialogs/Conversation.cs#L76 is another place where the container reference is updated.


Power management

This guide may increase GPU performance, but with Ryzen CPU system stuck with panic

fixed by https://github.com/MaximumQuiet/ryzentosh/commit/dfc872fe721f56a2481e1faa942dd269bde57f2d


Only copy restored packages for source only builds

This issue stems from my comment at https://github.com/dotnet/installer/pull/18824#issuecomment-1986371287.
The CopyInnerBuildRestoredPackages task copies restored packages to the .packages directory at the repo root. AFAICT, this collection of packages is used as a means for prebuilt detection, which is done by the ReportPrebuiltUsage target. The issue is that this also gets executed for the unified-build where prebuilt detection isn't relevant. So in the unified-build it's wasting time and disk space for no purpose.
This should get cleaned up so it's only done for source builds. In addition, the ReportPrebuiltUsage target should get moved into the same file from where it's referenced.

Fixed by https://github.com/dotnet/installer/pull/19072

This should get cleaned up so it's only done for source builds. In addition, the ReportPrebuiltUsage target should get moved into the same file from where it's referenced.

This can't be done because build.sourcebuild.targets isn't imported by repo-projects.


Random crash with GQL error: 'claimdropsrewards'

Description
sometimes it doesn't crash and it claims drops all night for example last night. seems random.
To Reproduce
i just run the program however i do copy my old settings file to the new versions so that i dont have to add all the games every time.
Expected behavior
it shouldn't crash
Observed behavior
it crashes
Screenshots

Logs
No response
OS
Windows 11
Build
.exe
Version/Commit
v16.dev.05fd654
Additional context
No response

same problem here

Tracked in #86

update: so there's these Rust (game) drops and there's 8 of them.
The program crashes a lot when there's a lot of drops in short time, but it seems random still because I think I had 3 crashes total so it's not like every 2 drops means a crash it seems to be random-ish.


Pushing V8 code into non-V8 project

When pushing V8 code into non-V8 project, the push fails. Howeer, the error message "Error: Syntax error: Missing ; before statement. ", while obviously true, didn't immediately make me realise that this is with V8/non-V8 code.
Expected Behavior
A warning message would be helpful, but may not be possible.
Specifications
2.3.0

Could you wait #778 merging then return to this again?

@bjohas are you pushing plain .js or .ts?
If its .js then catching the error would be nice to have.

Plain .js, i.e., trying to push "V8-plain-js" into a non-V8 project. I'll look out for the PR merge and then trying again.

#778 have a cleaner error handling architecture but there is probably not yet a user friendly catch for this case

OK, sure - I'll test again once https://github.com/google/clasp/pull/778 has been merged.

Thanks for working on clasp!

Can you test with the #791 unofficial release?
npm uninstall -g @google/clasp && npm install -g forked-clasp
clasp --version
# should be 2.4.0 or more

Thank you - will do and report back!

@bjohas what is the status for this issue?

Should be fixed in https://github.com/google/clasp/releases/tag/v2.3.1

Thank you so much - I'm sorry I didn't get round to testing it, as the old code had gone away. I'd be happy for this to be closed. If I come across the error again, I can always come back to this?


adding domino

Thanks!
#1017 has been merged into master, so the problems with the tests are now fixed. Can you pull changes from master and push the merge commit?

Thanks!
#1017 has been merged into master, so the problems with the tests are now fixed. Can you pull changes from master and push the merge commit?

Done

Done

Hmm, oddly .. the new commits are showing as part of your PR now. Ok, we'll try this and see what happens, and hopefully they get marked as reverted during the import.
I started the tests now. If they pass, then someone will do a review soon. Thanks again!

Hi @morLev, the tests failed because there is no playthrough for your new game.
Can you take a look at step 9 from these instructions: https://github.com/deepmind/open_spiel/blob/master/docs/developer_guide.md#adding-a-game to generate a new playthrough, then add it to your PR?

Hi @morLev, the tests failed because there is no playthrough for your new game.
Can you take a look at step 9 from these instructions: https://github.com/deepmind/open_spiel/blob/master/docs/developer_guide.md#adding-a-game to generate a new playthrough, then add it to your PR?

done

The domino_test is now failing when run on Github Actions. You can see the output by clicking on the failure link above. Does it work for you locally?

The domino_test is now failing when run on Github Actions. You can see the output by clicking on the failure link above. Does it work for you locally?

Hi,
Sorry, it was not working locally.
solve it by modifying returns() (to return [0, 0] on nonterminal states).

Great, thanks. Tests are passing now. Someone will do a review soon. Once any changes are made from review, we can import it.

Thanks for the updates @morLev ! Can you respond to the threads now in the PR and mark any as resolved where appropriate?

Awesome looks good! Thanks @morLev! Great to have a dominoes game in Open Spiel :)


Ref #5056: Improve the replacement of RecorderContext#classProxy

fixes #5056 (part 2)
Motivation
The first proposal to replace RecorderContext#classProxy works but is suboptimal, let's use the approach recommended by Quarkus Team members.
Modifications:

Removes the common recorder with a method allowing to delay the loading of the generated classes
Loads the class in the recorder methods

The failing test is in camel-quarkus-integration-test-master-openshift so it should not be related


Close further enqueuing for shutdown/failover

Can we call it 'obstruction'?

With https://github.com/retz/retz/commit/0dd9a1bc9c56d53a3e4dbb8b8aca9a7e5123982b , job state are to be stored persistently. There'll be state sync up after startup.

Actual task should be proper reconciling after restart or failover.


Add right-click menu options as a button on menu items

It'd be the same icon as opening the settings menu -- three vertical dots -- except it will show the right-click menu options.
I took a stab at implementing this once, but I think that it should probably use the simple menu view rather than the context menu view. So, it's a bit different than the context menu options implementation even though it's displaying the same options.

Ended up being a lot more work than expected mostly just due to a lot of potential refactoring, but it's all done now!


[HELP] command permissions

How can you set role permissions for command usage? I'm not able to find it in the example ones except for ownerOnly
thanks

Please briefly describe the issue.
Is it a legacy based command or slash command?

legacy command, i want to make it so that in the command file, certain roles can be specified such that only those roles can use the command

I'm sorry for the late reply (didn't got notified on your reply).
So you want a command property to check specific roles, or you want to check roles for just a single command inside the command code itself?
Sorry for making it complicated, first of all - it is possible with no doubts. But if you are doing it, then your command may crash on other servers since a role ID can be only of a single server (if you get what I mean)

So if I understand, your bot is a specific server bot for just one server, then making a command property will be pog for less code complications.
I'll give you a hint to get started - Go to events/messageCreate.js and like other command property definition and codes, make your own property. You can take infinite hints from the rest of the code. Good luck!

Reach me out on discord support server for faster communication, links in issue tab - discord.
If you need any more help, let me know. Meanwhile I'll close the issue.


There is not "Fluctuation"

There is not "Fluctuation" ,  could you program "Fluctuation"?

Hello @JerryJin314,
Currently, we have no contributor working on the fluctuation strength metric. If you want to contribute, you will be more than welcome.

There's another problem:the roughness calculation is different from the roughness calculation in matlab. Please verify it.
| |
spj314814
|
|
@.***
|
---- 回复的原邮件 ----
| 发件人 | Martin @.> |
| 日期 | 2022年03月21日 16:40 |
| 收件人 | @.> |
| 抄送至 |<EMAIL_ADDRESS>|
| 主题 | Re: [Eomys/MoSQITo] There is not "Fluctuation" (Issue #47) |
Hello @JerryJin314,
Currently, we have no contributor working on the fluctuation strength metric. If you want to contribute, you will be more than welcome.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

1、The implementation in matlab :     "roughness = acousticRoughness(audioIn,fs,'SoundField','free');"
In matlab , it's based on the following :
2、The comparative plots :
At 2022-03-21 18:08:51, "Martin Glesser" @.***> wrote:
Can you please document the difference you have noticed between Mosqito and Matlab implementation :
which implementation is used in Matlab (in Mosqito it is the roughness form Daniel and Weber article)?
comparative plots with Matlab and Mosqito results to check the differences
Mosqito is an open-source software that relies on contributions from volunteers that implement metrics (sometimes on their free-time). It is then appreciated if you can share some more informations about the issues you face in order to make everyones works easyer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

The Matlab function is based on Fastl & Zwicker, although there isn't enough information available to check the specifics. Validation is unclear.


Plugins not Appearing

v.1.6.1 on Mojave 10.14.6:
very few older plugins (like ”Calculator") appear when selected (”Shelf” does work), and also not appearing are the new ”Networking” & ”Zoom" Plugins

What do you mean when you say they aren’t “appearing”? They aren’t loading, or they aren’t even listed in the preferences?
If they aren’t loading, there should be an explanation under Status on the plug-in’s info panel.

I have quite a few enabled:

the status of all but 1 is all ”loaded”—only the Mail plugin shows an error:

but only 2 show up under the Plugin menu item:

The Mail plug-in depends on the E-mail Support plug-in. Make sure that’s installed and enabled.
The Plugins menu only shows items that provide additional keyboard shortcuts. The two you’re showing are the only two that have ever appeared on that menu.

thank you, good sir!
Sent from ProPad

On Feb 19, 2021, at 6:07 AM, Rob McBroom<EMAIL_ADDRESS>wrote:

The Mail plug-in depends on the E-mail Support plug-in. Make sure that’s installed and enabled.
The Plugins menu only shows items that provide additional keyboard shortcuts. The two you’re showing are the only two that have ever appeared on that menu.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[plot2d] Add a method to get profile data from the API

Proposal: make profileWindow accessible from the Plot2D so user can retrieve the curve from there

closed by #505


Small tweaks + Simplify initial-needs step, so it doesn't require input

/AzurePipelines list

/AzurePipelines run


HBASE-27715 Refactoring the long tryAdvanceEntry method in WALEntrySt…

…ream

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 58s
Docker mode activated.

OK, good, all green. Let me merge.


[Asset load] Unable to RELOAD asset after first start for a while or first hot reload

Steps to Reproduce
[Notice] All of my assets can be loaded normally when debugging on real devices or AVD.
This issues happened on specific emulator.
pubspec.yaml
[Case 1]

Run main.
Just wait for a while, try to push to another page.
Unable to load asset occurs.

[Case 2]

Run main.
Hot restart.
Unable to load asset occurs.

When this issue happen, any assets cannot be loaded and displayed with an error log.
Target Platform: Android Emulator (Nox Emulator)
Target OS version/browser: NOT SPECIFIC
Devices: Emulator
Logs
Error logs:
Performing hot restart...
Syncing files to device ******...
Restarted application in 3,058ms.
I/flutter (10655): ══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════
I/flutter (10655): The following assertion was thrown resolving a single-frame picture stream:
I/flutter (10655): Unable to load asset: images/splash_page_logo.svg
I/flutter (10655):
I/flutter (10655): When the exception was thrown, this was the stack:
I/flutter (10655): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
I/flutter (10655): <asynchronous suspension>
I/flutter (10655): #1      AssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:67:33)
I/flutter (10655): <asynchronous suspension>
I/flutter (10655): #2      CachingAssetBundle.loadString.<anonymous closure> (package:flutter/src/services/asset_bundle.dart:162:56)
I/flutter (10655): #3      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:291:23)
I/flutter (10655): #4      CachingAssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:162:27)
......

flutter doctor -v
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 10.0.18363.476], locale zh-CN)
    • Flutter version 1.9.1+hotfix.6 at J:\Android\flutter
    • Framework revision 68587a0916 (2 months ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at J:\Android\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = J:\Android\SDK
    • Java binary at: J:\IDEs\apps\AndroidStudio\ch-0\191.5900203\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at J:\IDEs\apps\AndroidStudio\ch-0\191.5900203
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] IntelliJ IDEA Ultimate Edition (version 2019.2)
    • IntelliJ at J:\IDEs\apps\IDEA-U\ch-0\192.6817.14
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[√] Connected device (1 available)
    • google Pixel 2 • <IP_ADDRESS>:62025 • android-x86 • Android 7.1.2 (API 25)

open 'pubspec.yaml' in your project and add assets path
example :
name: example1
description: A new Flutter project.
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true
  assets:
   - images/a_dot_burr.jpeg
   - images/a_dot_ham.jpeg

images file must be in under your project

@Abdusin Please read my issue carefully before you comment. My assets all loaded normally at first but failed after those cases.

@AlexVincent525 could u add your pubspec.yaml file

@Abdusin https://github.com/openjmu/OpenJMU/blob/master/pubspec.yaml

Hi @AlexVincent525
I've noticed that your link point at what looks like priduction code,
could you please post a minimal code sample to reproduce the problem
Thank you

@iapicca Hi, this issue happened with the specific emulator, you may create a new flutter project and it'll still happen.

Hi @AlexVincent525
thanks for the clarification.
I'm not there's much that Flutter Team can do to fix a 3rd party emulator,
but I'd like to make a step back:
I understand that the reasons for your choice of said emulator is the
alleged incompatibility between AMD and the official Android Emulator,
are you sure that this is still the case?
You might want to look at this documentation.
Thank you

@iapicca I'll try this ASAP and go back to you.

Thank you @AlexVincent525

@iapicca Using Hyper-V supported official AVD works fine, so do you think this issue should be continue? Anyway I'll bring this issue to the Nox team.

Hi @AlexVincent525
I'm glad that you fixed the problem
thank you for letting me know


Changes made via Stripe Dashboard not reflected in app

If I cancel a subscription using the Stripe dashboard, the change is not reflected in my app. When I get the subscription info in my app, I still see the customer as subscribed.

did you implement webhooks?

No, I haven't. I am not sure how that would even work since my Dashboard api version is newer than the one specified in the koudoku config file.
So I would need webhooks to work in order to achieve this?

it should work across API versions and you need webhooks for this to work.


Chore / Add types to a few structs (the ones being used in IFP)

Yoloing this; need it to unblock some stuff in IFP


fix(build-tools): gen type tests respecting import order

from 5.3.0 @fluidframework/eslint-config-fluid

Thanks for doing this. I remain torn on whether we should just disable linting completely on these generated files. I don't love it, but none of the issues we've found via linting were "real" for the type tests so far. I guess once we get to a point where we can apply lint disables in the shared config and take effect immediately, then most of the pain of "false alarms" goes down.


Update trusted-launch-existing-vm.md

Fix order of Az CLI commands

@AjKundnani
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


globalParameterNames() appears to returns an empty list

I've not tried it myself but our undergraduate who is using the api says that globalParameterNames()  returns an empty list.

For me this is working, some models (like the example brusselator one that was loaded by default) had no global parameters, in which case the list would be empty. Trying right now with a model here, I see globalParameterNames and Values.

this was confirmed to work.

Thanks for confirming, I suspected it was working. Tran must have been
using it incorrectly.
On Fri, May 10, 2024 at 6:23 AM Frank Bergmann @.***>
wrote:

this was confirmed to work.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/copasi/COPASI.js/issues/3*issuecomment-2104603221__;Iw!!K-Hz7m0Vt54!hrAQLmAuVLZpRlSCoJ6nEPajHaZ97a8sVX3V5t482l8hicvG6CRGH2XRlQ2wtO8cAVhsvMDdFCnkBEWtTG6HzuK7Aw2fog$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAIBSDTXKRAQYMQMRRTJJUTZBTC43AVCNFSM6AAAAABG3OSN2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUGYYDGMRSGE__;!!K-Hz7m0Vt54!hrAQLmAuVLZpRlSCoJ6nEPajHaZ97a8sVX3V5t482l8hicvG6CRGH2XRlQ2wtO8cAVhsvMDdFCnkBEWtTG6HzuL0k5_tuw$
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Herbert Sauro, Professor
Director: NIH Center for model reproducibility
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org, http://reproduciblebiomodels.org/
Mobile:<PHONE_NUMBER>
@.***
Books: http://books.analogmachine.org/


Why CreateDIBSection returns an Err when the message tells the operation completed successfully ?

Today, I've written this in my program:
self.bitmap = CreateDIBSection(
    self.hdc,
    &mut self.pixmap.bitmapinfo(),
    DIB_RGB_COLORS,
    &mut (self.pixels.as_mut_ptr() as *mut _),
    HANDLE(0),
    0
)

I realised this function actually returns a Result<HBITMAP> value. So, I added .unwrap(); at the end
But when I ran the program, I got this panic message:
thread 'tests::painting' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: HRESULT(0x00000000), message: "The operation completed successfully." }

I'm wondering why is it returning an Err instead of an Ok even if the operation completed successfully.
Now my problem is that I can't get the returned value of the function

As I see on this issue : #2097, it might be because there is a bad parameter, but how to know what's the problem ?

@antoninhrlt Hey there, can you provide a small program that reproduces the issue?

Sure, here is it :
use windows::{
    core::*,
    Win32::Foundation::*,
    Win32::Graphics::Gdi::*,
    Win32::System::LibraryLoader::*,
    Win32::UI::WindowsAndMessaging::*,
};

unsafe extern "system" fn wndproc(hwnd: HWND, message: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
    DefWindowProcA(hwnd, message, wparam, lparam)
}

fn main() {
    unsafe {
        let instance = GetModuleHandleA(None)
            .expect("unable to initialise win32 instance");

        let wc = WNDCLASSA {
            style: CS_HREDRAW | CS_VREDRAW | CS_OWNDC,
            lpfnWndProc: Some(wndproc),
            hInstance: instance,
            lpszClassName: PCSTR("Test".as_ptr()),
            hbrBackground: CreateSolidBrush(COLORREF(0x00000000)),
            ..Default::default()
        };

        if RegisterClassA(&wc) == 0 {
            panic!("unable to register the window class");
        }

        let hwnd = CreateWindowExA(
            WINDOW_EX_STYLE::default(),
            PCSTR("Test".as_ptr()),
            PCSTR("Test".as_ptr()),
            WS_OVERLAPPEDWINDOW | WS_VISIBLE,
            CW_USEDEFAULT,
            CW_USEDEFAULT,
            720,
            480,
            None,
            None,
            instance,
            None,
        );

        if hwnd == HWND(0) {
            panic!("unable to create the window");
        }

        let hdc = GetDC(hwnd);

        let mut pixels: Vec<u32> = vec![0; 720 * 480];

        let bitmap = CreateDIBSection(
            hdc,
            &mut BITMAPINFO {
                bmiHeader: BITMAPINFOHEADER {
                    biWidth: 720,
                    // Negative height makes top left as the coordinate system
                    // origin.
                    biHeight: -480,
                    biPlanes: 1,
                    biCompression: BI_RGB,
                    ..Default::default()
                },
                ..Default::default()
            },
            DIB_RGB_COLORS,
            &mut (pixels.as_mut_ptr() as *mut _),
            None,
            0
        )
        .unwrap();
    }
}

"Cargo.toml":
[package]
name = "issue"
version = "0.1.0"
edition = "2021"

[target.'cfg(target_os="windows")'.dependencies.windows]
version = "0.43.0"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_System_LibraryLoader",
    "Win32_UI_WindowsAndMessaging",
]

This is the error message:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: HRESULT(0x00000000), message: "The operation completed successfully." }', src\main.rs:73:10
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\std\src\panicking.rs:584
   1: core::panicking::panic_fmt
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\core\src\panicking.rs:142
   2: core::result::unwrap_failed
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library\core\src\result.rs:1814
   3: enum$<core::result::Result<windows::Windows::Win32::Graphics::Gdi::HBITMAP,windows::core::error::Error> >::unwrap<windows::Windows::Win32::Graphics::Gdi::HBITMAP,windows::core::error::Error>
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52\library\core\src\result.rs:1107
   4: issue::main
             at .\src\main.rs:54
   5: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
             at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52\library\core\src\ops\function.rs:248
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

The problem is that, as with #2097, the CreateDIBSection function does not reliably or set the last error upon failure. You can see this by calling SetLastrError with a token error code before calling CreateDIBSection and you should see your token value reported by the failure following the call to CreateDIBSection.
Anyway, calling the CreateDIBSection function can be challenging. You have to be very careful to prepare the parameters correctly. At a glance, you're failing to set the header's biSize field to the size of the header struct. I suggest reading the documentation very carefully. I also wrote about this struct here:
https://learn.microsoft.com/en-us/archive/msdn-magazine/2009/december/windows-with-c-layered-windows-with-direct2d
Hope that helps.

I'm now doing creating the bitmap info as following:
let mut bitmapinfo = BITMAPINFO::default();

bitmapinfo.bmiHeader.biSize = std::mem::size_of_val(&bitmapinfo.bmiHeader) as u32;
bitmapinfo.bmiHeader.biWidth = self.width as i32;
// Negative height makes top left as the coordinate system origin.
bitmapinfo.bmiHeader.biHeight = -(self.height as i32);
bitmapinfo.bmiHeader.biPlanes = 1;
bitmapinfo.bmiHeader.biBitCount = 32;
bitmapinfo.bmiHeader.biCompression = BI_RGB;

bitmapinfo

And it works ! Thank you, I'm also reading your article.
I guess I can close this issue.


2D physics pin joint angular limits do nothing

Tested versions
Godot 4.2.2 stable mono
System information
Linux - Forward+
Issue description
I have a very simple setup of a Node2D with two rigid body children and a pin joint child. The pin joint affixes the two bodies together. I attempt to enable "angular limit" but no matter what settings I use for the bounds nothing is affected. The body pivots just fine and can be motorized without issue. According to the code it is enabled.
Steps to reproduce

create a Node2D scene
create 2 rigid bodies as children, each with collision shapes and sprites
create a pin joint 2d and attach the two bodies
enable angular limit
instantiate this scene into a different, larger scene
on run the limb just falls loosely

Minimal reproduction project (MRP)
project.zip

I just encountered the same issue.
1) I'd propose renaming the issue to:
So it's easier to find and more precise

PinJoint2D doesn't respect angular_limit

2) People in the forum mentioning it:

"Angular limit on pin joints doesn’t work"
"PinJoint2D - angular limits don’t work?"

3) Open issue
There is also an open issue which requests this feature. This could be closed now since the feature was "added" 🙃 (and now can be tracked via this issue)
4) Worked at some point
According to this video it seemed to work at some point (even though they never were hard limits) so I am trying to figure out when it broke.

Same issue here
https://forum.godotengine.org/t/pinjoint2d-angular-limits-dont-work/41917