[Clang-16][D131307] suppress -Wenum-constexpr-conversion

https://reviews.llvm.org/D131307
It is also causing problems in MIOpen and MIOpen dependencies:
[2022-10-29T14:44:59.883Z] ./boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]

@junliume Just in case, according to https://reviews.llvm.org/D131307, it should be possible to use -Wno-error=enum-constexpr-conversion for transition period even with clang-16

any other ways to fix these similar issues than to suppress them?

I am going to provide a patch for COMGR. WRT other cases (if any) it depends on design. Basically, it should be always possible.

@junliume Please apply this to your branch and see if this helps:

Revert COMGR changes
COMGR: proper fix for enum-constexpr-conversion (pass "unknown problem" flag explicitly)

comgr-fix-enum-constexpr-conversion.diff.txt

@junliume ...alternatively, you can merge into this branch from https://github.com/atamazov/MIOpen/tree/clang_16_fix_ata-temp-0


Speed Dial hidden buttons still clickable

With the current mdSpeedDial in develop, when the buttons are hidden, they are still clickable because opacity is just set to 0%, as opposed to a display: none.
Since mdSpeedDial is not released yet I can't give you a code pen, but here's a template you can use to see the issue:
`

computer
add
Create Device

<md-button class="md-fab md-primary md-mini">
  <md-icon>grid_on</md-icon>
  <md-tooltip md-direction="left">Create Model</md-tooltip>
</md-button>

<md-button class="md-fab md-primary md-mini">
  <md-icon>account_circle</md-icon>
  <md-tooltip md-direction="left">Create User</md-tooltip>
</md-button>

`
When hovering over the blank space, the tooltip still appears. I have a PR for this that I'll send momentarily.

Closing since PR was merged.


[webview_flutter] Multiple inputs in position: fixed elements freeze

Steps to reproduce

Run the code sample on an iPhone 16 Pro with iOS 18 (Simulator works too)
Click "Continue" on the alert that the page is user-created
Click the first input element
Click the second input element
Click the third input element

Expected results
The inputs work as normal:

Should show a cursor
Should be clickable
Should allow text input

Actual results
The second input doesn't show a cursor and the third input field can't be selected at all when trying to select one after the other.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(const MaterialApp(home: WebViewExample()));

class WebViewExample extends StatefulWidget {
  const WebViewExample({super.key});

  @override
  State<WebViewExample> createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  late final WebViewController controller;

  @override
  void initState() {
    super.initState();

    controller = WebViewController()
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
      ..setBackgroundColor(const Color(0x00ff0000))
      ..setOnConsoleMessage((JavaScriptConsoleMessage message) {
        print("[${message.level.name}] ${message.message}");
      })
      ..setNavigationDelegate(
        NavigationDelegate(
          onNavigationRequest: (NavigationRequest request) {
            print('NavigationRequest: ${request.url}');

            return NavigationDecision.navigate;
          },
        ),
      )
      ..loadRequest(Uri.parse('https://webtoapp.w3spaces.com/pos-fixed-inputs.html'));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Flutter Simple Example')),
      body: WebViewWidget(controller: controller),
    );
  }
}

If you don't want to use the w3schools test page, this is the full HTML:
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	</head>
	<body>
		<div style="position: fixed;">
			<input type="text">
			<input type="text">
			<input type="text">
		</div>
	</body>
</html>

Screenshots or Video

Screenshots / Video demonstration
Here's a video of how it should look when it works correctly. This was tested with a WKWebview, not webview_flutter, to show that the issue lies in the webview_flutter package.
https://github.com/user-attachments/assets/f8ddba04-68e6-4b79-8a83-0bbd03e867b1

Logs
Logs
run.txt

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-x64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/administrator/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

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

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

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

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

[✓] Connected device (2 available)
    • iPhone 16 Pro (mobile) • 98CC2EE2-66B2-49A0-852C-1390D3F4D39A • ios        • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64 • macOS 15.0 24A335 darwin-x64

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

! Doctor found issues in 1 category.

Reproducible using the code sample provided above. This doesn't appear to be specific to iOS 18. I see the same behavior in the iOS 17.5 simulator

iOS 18 Simulator
iOS 17.5 simulator

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/deanli/dev/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[!] Flutter (Channel master, 3.26.0-1.0.pre.374, on macOS 15.0 24A335 darwin-arm64, locale en-US)
    • Flutter version 3.26.0-1.0.pre.374 on channel master at /Users/deanli/dev/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8d19012346 (7 hours ago), 2024-10-06 21:37:34 -0400
    • Engine revision a190ab54ce
    • Dart version 3.6.0 (build 3.6.0-326.0.dev)
    • DevTools version 2.40.0

Oh interesting, it was reported to me by a user who said they experienced it after updating to iOS 18, but I guess that must've been a coincidence. Thanks for double checking!

Since it's about gesture handling, this may be a platform view issue rather than a plugin-level issue.

Looks like the bot keeps removing the labels :P Just want to make sure this issue doesn't fall through the cracks - is it still waiting to get a priority assigned or are you waiting for someone else to look at it @stuartmorgan ?

The bot is doing what it is supposed to do; the only reason it happened twice is that @danagbemava-nc re-added the fyi-ecosystem label after the issue had already gone through ecosystem triage. It will be assigned a priority in iOS triage.

cc @hellohuanlin


Error: No available cask for anything

I've just installed OSX (10.9.2), brew w/ cask from scratch. As result i'm getting the following error on ANY formula:
Error: No available cask for google-chrome

What's happen w/ cask? How to solve this?

I'm so new to mac it's not even funny.  When I type:
$ brew update && brew upgrade brew-cask
Already up-to-date.
Error: No available formula with the name "brew-cask"
rmanhatt [LAMU02SG168G8WP] ~ $ brew cask install gedit
Error: No available Cask for gedit
Error: nothing to install

How can I get gedit to install through cask?

This issue is from April 2014. You don’t install brew-cask. You just install brew and then brew cask install gedit.

This issue is from April 2014. You don’t install brew-cask. You just install brew and then brew cask install {{whatever}}.
gedit is no longer in HBC, though, like the error message tells you. You need to brew install gedit.


Create dataset loader for KoPI-CC (Korpus Perayapan Indonesia)

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?kopi_cc

Dataset
kopi_cc

Description
KoPI-CC (Korpus Perayapan Indonesia)-CC is Indonesian Only Extract from Common Crawl snapshots ,each snapshots get extracted using ungoliant oscar tools and get extra "filtering" using deduplication technique (Exact Hash Dup and Minhash LSH)

License
CC0

#self-assign


Functional jQuery DataTables on Importer and Exporter index views

Adds the following features to the Importer and Exporter index tables:

Limit

Search

Pagination

Sorting (by column)

As well as customizes the language used in the table to avoid confusion (by default, DataTable refers to rows as 'entries', which is its own concept in Bulkrax).

This is a huge improvement. It conveys the sense thay bulkrax is capable of coping with lots of imports, which it is.


Alternative Means of Sending Text Messages

This mod is great and is pretty much essential. However, if the player wants to join a server with enforce-secure-profile, it's currently impossible to do so. I've already seen a warning screen being mentioned in the issues, and I propose that this mod (or a companion mod if this isn't in scope for this mod) provide an alternative chat system, preferably a standardised one.
How this would work is that the user would be warned that the server uses enforce-secure-profile and that their messages could be used to report them, and if the user chooses to continue, the chat message box would have the ability to send messages through the regular Minecraft chat protocol, or any other protocol (Matrix? IRC?) and messages wouldn't arrive at the server at all, preventing any message from being reported. More importantly this would let users communicate through a system that is... well just better than Minecraft chat.
Drawbacks

This would require every user that would like to participate in chat to use the same mod, otherwise messages wouldn't be seen by other players.

Good things

If a standardised instant messaging protocol is used then non-Minecraft clients would also be able to connect, and cross-server communication would be possible

Questions

Would this be in scope for this mod? This mod already disables telemetry, doing more then what it's initially intended purpose was. Therefore it's entirely normal for such a feature to be included in this mod.
Would this require a name change for the mod if it is implemented? In my opinion, yes.
If this isn't in scope for this project, could this be implemented as a companion mod for this mod? This makes more sense then implementing this feature in the mods current state, however if the scope of this mod is widened then this feature could also be included in this mod.

If this is feature request is greenlighted I'm more than willing to contribute to the implementation of this feature.

Your idea assumes that the mod is installed on both client and server. But when that is the case, why would the server want to enable enforce-secure-profile at all? That makes no sense...

I definitely like the idea of having the means to chat with players in secure way that does not put the task of relaying messages on game server, but this is definitely out of scope for this mod, at least for now. Even if we go easier way and host our own external third-party service that will be used to relay messages instead of trying to make everything P2P - making the end product convenient to use and well-integrated with vanilla is a big task. This mod disables telemetry because it can be disabled with a single well-placed mixin, but your idea will take way more than that.
Maybe it can be merged into the mod once it is properly developed, tested and widely used, but it will have to start as a separate project.

I think you could also implement an end to end of encryption system. For the server and players without this mod the messages would be garbage and could not be used as evidence in a report. I am not sure how much effort this would be to implement but it should be easier than an external chat server.


Write test cases for dataStore

Fixes #36

branch: https://f79c8622-05f5-4bbd-80bb-5eb6d50ce253.sbook.io/ info: https://hub.getstorybook.io/app/d7fbed18-3a1c-4f42-83af-f194d713d907/branch/tests/

@thinkholic Are we going to write more test cases?

@arunoda Done for dataStore.

@thinkholic great.
I've added few more stuff for the dataStore, could you test them too?

@arunoda Updated


chore: remove unneeded unwrap

Nevermind! This was a first pass and thought it was a Result not an Option. Overloaded unwrap!


Initial definitions for simulation workflow

@ladinesa @JFRudzinski this is my attempt to move some classes and simplify stuff from the simulation workflow package. Sorry for the changes, I also moved testing files to subfolders (so please, disregard the changes for the subfolders tests/properties).
Some list of changes:

I moved SimulationWorkflow, SinglePoint, BeyondDFT and DFTPlusTB
I simplified quite a lot the logic in the original classes. I think this is a reflection of the inheritance hell one can enter, and I got really crazy trying to test stuff (you can see in #120 my failed attempt on testing the original logics...). In any case, I think we can rework things along the development process when needed.
I did not move SerialWorkflow and ParallelWorkflow. Also related with the inheritance tight coupling. But we can recover them if needed later on.
I added an utils function to extract the main subsections of the archive.data.

When you want, you can review it. In the meantime, I will test the Wannier90 parser with this slightly new DFTPlusTB workflow section.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

99 of 133 (74.44%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 80.12%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/nomad_simulations/schema_packages/workflow/single_point.py
22
24
91.67%

src/nomad_simulations/schema_packages/utils/utils.py
10
14
71.43%

src/nomad_simulations/schema_packages/workflow/base_workflows.py
49
53
92.45%

src/nomad_simulations/schema_packages/workflow/dft_plus_tb.py
15
39
38.46%

Files with Coverage Reduction
New Missed Lines
%

src/nomad_simulations/schema_packages/utils/utils.py
1
78.57%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.2%

Covered Lines:
2132

Relevant Lines:
2661

💛  - Coveralls

@ladinesa I might need to merge this soon so the TMM can test stuff. Can you review it? I know the refs are bugged, but that's another issue, not related with the schema.

looks good just minor clarifications needed

@ladinesa thanks! I have another branch I will eventually merge here, I took into account your comments.
I have a question tho: right now, the Wannier90 parser splits the entries for TB SinglePoint and DFTPlusTB. They share the same mainfile, do you think that's why the references are broken? Should I do something different when storing stuff in Link and TaskReference?

@ladinesa thanks! I have another branch I will eventually merge here, I took into account your comments.
I have a question tho: right now, the Wannier90 parser splits the entries for TB SinglePoint and DFTPlusTB. They share the same mainfile, do you think that's why the references are broken? Should I do something different when storing stuff in Link and TaskReference?

but this is the idea of child archives and it should work

@ladinesa thanks! I have another branch I will eventually merge here, I took into account your comments.
I have a question tho: right now, the Wannier90 parser splits the entries for TB SinglePoint and DFTPlusTB. They share the same mainfile, do you think that's why the references are broken? Should I do something different when storing stuff in Link and TaskReference?

but this is the idea of child archives and it should work

Ok, then nvm :)

@ladinesa @JFRudzinski I will be losing access to the mpcdf gitlab, and I doubt I want to keep it. Hence, this MR, https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/merge_requests/2143, will be stalled.
Feel free to either contact me for the Gitlab MR and ask for feedback or close it at will. But I wondered what are your plans for the base Workflow classes. If you don't want to change them, that's fine. So if they change, would you mind keeping me in the loop?
And if they don't change, I think you can safely close this issue/pr.

@ladinesa @JFRudzinski I will be losing access to the mpcdf gitlab, and I doubt I want to keep it. Hence, this MR, https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/merge_requests/2143, will be stalled.
Feel free to either contact me for the Gitlab MR and ask for feedback or close it at will. But I wondered what are your plans for the base Workflow classes. If you don't want to change them, that's fine. So if they change, would you mind keeping me in the loop?
And if they don't change, I think you can safely close this issue/pr.

I believe the plan is still to continue in the direction you started. I plan to start looking at transferring the MD workflows to nomad simulations in Jan, so I will also look at what you did and the MR then. Ill keep you updated, will prob have questions anyway


Bubble-up pod logs to CR when data download fails.

The logs should be surfaced up to the custom resources when the data download pod fails for any reason. Right now it bubbles-up a cryptic error such as timed out waiting for condition.

@ashahba can you work on this?

/assign @ashahba

/assign @ashahba

/assign @ashahba


feat: added lmstudio-comunity granite3 gguf model

What does this PR do?
backporting https://github.com/containers/podman-desktop-extension-ai-lab/pull/2024 to 1.3.X branch
Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

'clicked on rebase'


feat(CdkDropList): Allow to connect to lists sharing the same ID

Feature Description
Currently there seem to be no simple way to connect various drop lists in various components, unless they have a cdkDropListGroup on top of them, or a defined list of ids, which is not achievable in many cases.
Hence we could imagine that the connectedTo input could be used to connect several lists, depending on a single  id parameter (or maybe some groupName ?), like :
// In some place in the code

...
// In a completely different place

...
// In another completely different place

Also the Input connectedTo already supports an ID as string but gets only a single element, as it can be seen in the code :
const siblings = coerceArray(this.connectedTo).map(drop => {
        if (typeof drop === 'string') {
            const correspondingDropList = CdkDropList._dropLists.find(list => list.id === drop); <-- Here

          if (!correspondingDropList && (typeof ngDevMode === 'undefined' || ngDevMode)) {
            console.warn(`CdkDropList could not find connected drop list with id "${drop}"`);
          }

          return correspondingDropList!;
        }

        return drop;
      });

Hence replacing .find(list => list.id === drop) by a .filter(list => list.id === drop) pipe will allow to register as siblings all the lists that have this ID, so it may not be a big deal technically (in first approximation).
Use Case
I've got a dataviz interface where datasets could be drag n' dropped in various containers (columns, graphs, segments, etc), but not knowing the number of them and not being able to get them under a single group.

What's the problem of using cdkDropListGroup in this case? You should be able to place a group around all of the lists to connect them.

What's the problem of using cdkDropListGroup in this case? You should be able to place a group around all of the lists to connect them.

It doesn't work if you have lists that should not be in the group, in at least one sub-component.
In my case  I need to manage drag n' drop for distinct type of objects (segments, colors, scores), like :

   <some-component-with-score-dragndrop>
   <some-component-with-score-and-segments-dragndrop>
   <some-component-with-score-dragndrop>

So I don't see how I could use some cdkDropListGroup on top of them
(Even by using predicates as a workaround though)


Python package dependencies are not clear

I couldn't be able to test the pre-trained model because Python package dependencies are unclear.
I tried to run python3 test.py but I got this error:
Using TensorFlow backend.
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    from model import compile_test_fn
  File "/home/mertyildiran/Downloads/deepspeech-playground/model.py", line 6, in <module>
    import ctc
ImportError: No module named 'ctc'

What is ctc library? How can I install it? There is no library named ctc in PyPI. As a suggestion, it's better to have a requirements.txt file.
I tried to run python3 visualize.py but I got:
Using TensorFlow backend.
usage: visualize.py [-h] [--test_file TEST_FILE] [--load_dir LOAD_DIR]
                    [--weights_file WEIGHTS_FILE] [--interactive]
                    train_desc_file
visualize.py: error: the following arguments are required: train_desc_file

Which one of the files is train_desc_file file? Could you improve README.md by adding a step-by-step guide for testing pre-trained models. :blush: Thank so much, great work :+1:

Sorry, I never used test.py before and It remained from Baidu's repo. Here ctc module is sherjilozair's binding around warp-ctc but you won't need it since It'll use Theano 0.10 bindings or Tensorflow's.
Now I changed test.py to use new codes. You can run it like:
python test.py descs/test-clean.json pre-trained/model_45_config.json models/44-cont-45-i14490-dur20-lr5e-5/best-val-weights.h5

It just mimics Baidu's script so you get just loss which is not that meaningful. I'll add more reports when I fixed WER calculation, right now It calculates CER.
The only module this repo needs that Baidu repo does not, is edit_distance.

See here for train_desc_file


ACNH:Database seems to be down

The website is apparently down for some reason, and the last time it was presumed to be active was in March of 2021. Should this be removed from ACNH.Directory?

Removed, thanks!


move effect command from member type to type parameter

I'm working on a follow up of https://github.com/getkyo/kyo/pull/348 to rely on the new Tag in Aborts. Something that has been challenging when developing effects is dealing with variance and the Command defined as type member:
class Aborts[-V] extends Effect[Aborts[V]]:
    type Command[T] = Left[V, ?] // compilation error because V is contravariant

This fails to compile because V is contravariant and type members are invariant. It's possible to work it around by making Command opaque but then it's necessary to provide bridge methods.
This PR changes the encoding of effects to use a type parameter for the command instead of a type member, which solves this encoding issue with variance.

I'm merging this to unblock other work but please feel free to provide feedback!

FYI This change introduced other complexities and didn't fully solve the variance issue. I've reverted it on main.


Consume an OData Service with Create Option

For tutorial https://www.sap.com/developer/tutorials/xsa-sapui5-consume.html :-
Getting an error on execution of final step. The error is an Alert with a message - 'Error while executing a DB query'
From my observation, there is a user.xsjs service which is being referenced in Step 2: Copy the OData create service. But I could not find its content or guidance on creation of this file.
service {
	"UserData.User" as "Users"
	create using
	"user.xsjs:usersCreateMethod.xsjslib::usersCreate";
}

Any insights will be helpful.
Thanks.

Hi, Ashish,
The creation of that service is done here: https://sap.com/developer/tutorials/xsa-xsodata-create.html
As I commented in the other issue, I'm working in rebuilding the dependencies as they get everyone lost.
Best,
Lucia.

Hi Lucia,
Thanks for the pointer but that tutorial unfortunately doesn't solve the dependency.
There is this code in usersCreateMethod.xsjslib -
$.import("user.xsjs", "session"); var SESSIONINFO = $.user.xsjs.session;
But there is no mention of user.xsjs service code. Where can I get it from?
Thanks for you help!

Hi Ashish,
The "user.xsjs" is not referring to the xsjs file.
It is about the location of  session.xsjslib file.
You can see session.xsjslib is under /user/xsjs directory.
https://github.com/SAP/com.sap.openSAP.hana5.example/tree/master/user-js/lib/user/xsjs

Thanks for the details and the Github link to the folder, Makoto. From what I remember, this folder dependency was missing in the referenced tutorial and hence the confusion. Thanks for sorting it out.


Adding Robot cause problem

HI Mr.Hoang,
I already integrate Multiverse in my thesis, thank you again!
I found a very weird thing when I run demo multi_mujoco_sim_force
I run the command roslaunch mujoco_sim multi_mujoco_sim_force.launch then everything looks perfect.When I move the cube in runtime,the cube in MuJoCo is also moved in the meantime
Screencast from 17.08.2023 15:56:39.webm
But after I add a robot(DualPanda for example) in scene and MultiverseActor.Then I move the cube in Unreal, however the cube in MuJoCo keep still,and the sphere didn't fall.
Screencast from 17.08.2023 16:28:52.webm
All these weird things happen after Adding the Robot in MultiverseActor .I tried to find a reason in source code.But after go through the file mj_multiverse_client.cpp,I stll got no clue.
It would be appreciated that you can give me some brief guidance!

I'm refactoring my framework structure. It's almost done, tomorrow I will notify if I checked everything ok

thanks for your work!
hope everything goes well
On Thu, Aug 17, 2023, 17:03 Giang Hoang Nguyen @.***>
wrote:

I'm refactoring my framework structure. It's almost done, tomorrow I will
notify if I checked everything ok
—
Reply to this email directly, view it on GitHub
https://github.com/Multiverse-Framework/Multiverse/issues/11#issuecomment-1682445191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATRUBJGJVDY6F5D7WYMRVVTXVYXDHANCNFSM6AAAAAA3UFZDJU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I updated my code in Multiverse and Multiverse-UnrealEngine-Demos. You can follow my video to try it out.
About your question, if you want to add a new robot in Unreal and controlled by MuJoCo, try the second one. Look into the launch file I created to understand how to configure a new one. Sorry currently I'm busy to write a proper tutorial, it will happen in the next few weeks.

Hi Mr.Hoang,
Thanks for your reply and instructions.
When I rebuild Multiverse,some problem occurs,after I run ./build_multiverse.sh
[90%] Building multiverse_parser package
/bin/sh: 1: /home/dacheng/Documents/Multiverse/multiverse/bin/python3.10: not found
make[2]: *** [modules/multiverse_parser/CMakeFiles/multiverse_parser_build.dir/build.make:71: modules/multiverse_parser/CMakeFiles/multiverse_parser_build] Error 127
make[2]: Leaving directory '/home/dacheng/Documents/Multiverse/multiverse/build/multiverse'
make[1]: *** [CMakeFiles/Makefile2:292: modules/multiverse_parser/CMakeFiles/multiverse_parser_build.dir/all] Error 2
make[1]: Leaving directory '/home/dacheng/Documents/Multiverse/multiverse/build/multiverse'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/dacheng/Documents/Multiverse/multiverse/build/multiverse'
-- Install configuration: ""
-- Up-to-date: /home/dacheng/Documents/Multiverse/multiverse/bin/multiverse_server
-- Up-to-date: /home/dacheng/Documents/Multiverse/multiverse/lib/libstdc++/libmultiverse_client.a
-- Up-to-date: /home/dacheng/Documents/Multiverse/multiverse/lib/libstdc++/libmultiverse_client_json.so
-- Up-to-date: /home/dacheng/Documents/Multiverse/multiverse/lib/libstdc++/python/multiverse_client_pybind.cpython-38-x86_64-linux-gnu.so

I checked the python3.10,and I found it is broken

It seems there are some problems in blender.So I checked blender file

there is no bin file
But Multiverserver can run properly,and the connection to Unreal is established, so I just leave it.
Back to my question, I want to add a new robot in Unreal and controlled by MuJoCo, and add a cube in MuJoCo and controlled by Unreal, so I set the MultiverseActor like this:

and I modify the empty.xml and ur5e.yaml like this:

The robot connection runs properly,but cube connection is not established:
Screencast from 20.08.2023 10:31:47.webm
Your guidance on setting up the cube connection would be greatly appreciated.
Thank you again for your detailed video!

It couldn't move because of probably 2 reasons:

You set the constraint to ball. When you have a constraint, you can't freely move the object as you want in Unreal. Try to change to freejoint instead.
The joint and body name are the same. It could cause problem, try to change the joint name and see if it works.

About the installation, can you run sudo ./install.sh and ./build_third_parties.sh again? I guess you didn't do ./build_third_parties.sh

And another thing, you should modify the yaml file like this:
send:
    ur5e: [position, quaternion]
    joint: [joint_rvalue, joint_tvalue]

  receive:
    StaticMeshActor_1: [position, quaternion]

As before, if you include body: [position, quaternion] in send, it will consider all objects from MuJoCo is to be sent.

Thanks for your reply!
Actually I follow this instruction to build the Multiverse:
sudo ./install.sh      # Install all prerequisites
./build_third_parties.sh        # Build the dependencies
./build_multiverse.sh           # Build the software
./build_multiverse_ws.sh        # Build the ROS workspace

I just delete the Multiverse and build it again,the same problem still remains.
I modified  the yaml file like this as you said

then I run roslaunch ur_mujoco mujoco.launch
then I get the following errors:
dacheng@MyWondefulComputer:~$ roslaunch ur_mujoco mujoco.launch
... logging to /home/dacheng/.ros/log/6801fcae-3f43-11ee-a83c-4353074b01cf/roslaunch-MyWondefulComputer-11774.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: error loading <rosparam> tag:
	file /home/dacheng/Documents/Multiverse/multiverse_ws/src/Multiverse-Robots/universal_robots/ur_mujoco/config/ur5e.yaml contains invalid YAML:
while parsing a block mapping
  in "<unicode string>", line 15, column 3:
      send:
      ^
expected <block end>, but found '<block mapping start>'
  in "<unicode string>", line 19, column 5:
        receive:
        ^
XML is <rosparam command="load" file="$(arg config)"/>
The traceback for the exception was written to the log file

It seems like this is not a correct form, so I modify like this:

I also changed it to freejoint:

then it look like this:
Screencast from 20.08.2023 12:34:29.webm
By the way, if I remove the receive object in MultiverseActor and change the yaml file like this:

then the cube connection is established:
Screencast from 20.08.2023 12:39:01.webm

I know what cause the installation issue.The blender requires GCC 11.0.0, but I have GCC 9.4.0.I solved it by updating my GCC version, thanks a lot!

The yaml file should be like this:

Can you send the log of the installation?

I know what cause the installation issue.The blender requires GCC 11.0.0, but I have GCC 9.4.0.I solved it by updating my GCC version, thanks a lot!

I'm aware of that, therefore I explicitly put GCC 11 in the install.sh and change its version. The fact that your installation still using GCC 9.4.0 confused me :/

If I run sudo apt-get install gcc-11 I got the following errors
dacheng@MyWondefulComputer:~/Documents/Multiverse$ sudo apt-get install gcc-11
[sudo] password for dacheng:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-11

I think that is the reason why it didn't work

It would be great if you can add this command in install.sh
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
then the gcc-11 can be definitely found.

Thank you Mr.Hoang!
I changed the body to ur5e then the connection is established.
I truly appreciate your consistent assistance. Please feel free to reach out if there's anything I can do to assist you in return.

Thank you Mr.Hoang! I changed the body to ur5e then the connection is established. I truly appreciate your consistent assistance. Please feel free to reach out if there's anything I can do to assist you in return.

I'm glad to hear that. Your interest on my framework is already a pleasure for me. And yes, I will add add-apt-repository ppa:ubuntu-toolchain-r/test to install.sh. If you found anything like that, please let me know. Creating an installation process that works globally is really not trivial at all ;__;


Crash in 3d when the collision shape has no depth

Running this demo (no changes made) https://github.com/jcornaz/heron/blob/main/examples/demo.rs
I get this
thread 'Compute Task Pool (0)' panicked at 'assertion failed: proxy.aabb.maxs[dim] >= self.min_bound', /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/rapier3d-0.11.1/src/geometry/broad_phase_multi_sap/sap_axis.rs:55:13

I don't reproduce it yet.
Can you please provide more information? The exact commit at which you tried. What is your OS, rust version, and rendering backend?
Don't hesitate to provide any additional information you can think of.

I made the ball collide with the ground and it crashes
Please find it here https://github.com/fgadaleta/herontest

I see here that you are using the 3d version.
But that example is a 2d example that creates collision shapes without any depth:

https://github.com/fgadaleta/herontest/blob/main/src/main.rs#L37
https://github.com/fgadaleta/herontest/blob/main/src/main.rs#L63

And rapier (not heron) crashes when the collision shape has a volume <= 0.
To solve your problem you can either:

Use non-zero depth for the collision shapes
Use the 2d feature flag instead of the 3d

I leave this issue open for discussion about how we could improve the situation.
On top of my head I think we could:

ask rapier if it would be possible to not crash for empty volume
fail faster, when the shape is created, rather than when it collide

That also happens in 3D where there should be a volume already. For the record, this crashes too:
                    commands
                    .entity(entity)
                    .insert_bundle((transform, GlobalTransform::default()))
                    .insert(RigidBody::Dynamic)
                    .insert(CollisionShape::Sphere { radius: 2.7 })
                    .insert(PhysicMaterial {
                        restitution: 0.7,
                        density: 1.0,
                        ..Default::default()
                    })
                    .insert(CollisionLayers::new(Layer::Player, Layer::Player))
                    .insert(Velocity::from(Vec2::X * 300.0)
                            .with_angular(AxisAngle::new(Vec3::Y, -3.14)))
                    .insert(Drone);

That also happens in 3D where there should be a volume already. For the record, this crashes too:

This is only the ball, you also need to give a depth to the ground.

I see here that you are using the 3d version.
But that example is a 2d example that creates collision shapes without any depth:
* https://github.com/fgadaleta/herontest/blob/main/src/main.rs#L37

* https://github.com/fgadaleta/herontest/blob/main/src/main.rs#L63

And rapier (not heron) crashes when the collision shape has a volume <= 0.
To solve your problem you can either:
* Use non-zero depth for the collision shapes

* Use the `2d` feature flag instead of the `3d`

you are right. Changing flag to 2d does not crash and it actually works (the green ball crashes but in a good way lol)

In my example I spawn a dynamic body like so:
                    commands
                    .entity(entity)
                    .insert_bundle((transform, GlobalTransform::default()))
                    .insert(RigidBody::Dynamic)
                    .insert(CollisionShape::Cuboid {
                        half_extends: Vec3::new(1., 1., 1.),
                        border_radius: Some(1.),
                    })
                    .insert(PhysicMaterial {
                        restitution: 0.7,
                        density: 1.0,
                        ..Default::default()
                    })
                    .insert(CollisionLayers::new(Layer::Player, Layer::Player))
                    .insert(Velocity::from(Vec2::X * 300.0)
                            .with_angular(AxisAngle::new(Vec3::Y, -3.14)))
                    .insert(Drone);

and all the rest is static, like so:
                commands
                .entity(entity)
                .insert(RigidBody::Static)
                .insert(CollisionShape::Cuboid {
                    half_extends: Vec3::new(1., 1., 1.),
                    border_radius: Some(1.),
                })
                .insert(PhysicMaterial {
                    restitution: 30.,
                    friction: 1.0,
                    density: 100.0,
                    ..Default::default()
                })
                .insert(CollisionLayers::new(Layer::World, Layer::World))
                ;

Collision is logged but ball disappears from screen (without actually colliding).

Due to the fast angular velocity, the body gets moved along the z-axis. I am not sure of the exact reason, but that is probably due to f32 imprecision in rapier's matrix multiplications.
Nevertheless, it does not crash. And if you remove the angular velocity or increase the depth of the ground it interacts correctly. Though it will always look strange, because these are 2d sprites allowed to move and rotate along the z-axis
And anyway, the demo is a 2d example, so I think it is pointless to try making it good in 3d. Though, I acknowledge, that we should clarify that the demo is not meant to run as-is in 3d.

In my other reply I have been mentioning the 3d scenario, in which I have exactly the same problem.

Can you please provide more information? At least a full reproducer, and the full stack trace you get?

Absolutely.
Check https://gitlab.com/fgadaleta/bevy_experiment (gltf included from LFS)
If you just cargo run you will see it crashes.
If you change src/world/level1.rs:1148 to RigidBody::Static it will run.
Let me know if there's something missing as this is a repo to reproduce the error only

We should have a note encouraging to check Rapiers common mistakes article, or a friendlier way to hint to what's wrong.  this had the answer to start with. A 3d object with 0 in one dimension has 0 mass/volume.


From swagger editor able to get the JWT auth token, but from application which enabled swagger-ui using springfox is not working

Tested my auth server from swagger editor and is working fine. I'm able to get the token and authorization is happening fine. But, when I tried to integrate it with my web service where I'm enabled swagger using springfox dependencies, it is not working.
Success form swagger editor

Failed from application

Noticed that in the failed case, swagger UI is sending only a single POST request, but swagger editor had a OPTIONS & POST request to get the token.
Suspected CROS filter initially, so I took my swagger json and tested in swagger editor and it worked.
My auth server and resource server with application is also working fine when tested via curl.
Sample auth server and resource server is this:- https://github.com/ranjithap7576/OAuth2-JWT
And swagger configuration is below
@Configuration
@EnableSwagger2
public class SwaggerConfigNew {

	@Value("${security.jwt.resource-ids}")
	private String clientId;
	@Value("${security.signing-key}")
	private String clientSecret;

	@Value("${security.oauth2.authserver}")
	private String authLink;

	@Bean
	public Docket api() {

		return new Docket(DocumentationType.SWAGGER_2).select()
				.apis(RequestHandlerSelectors.basePackage("com.suntecgroup.xelerate.functions")).build().groupName("bs")
				.directModelSubstitute(org.joda.time.LocalDate.class, java.sql.Date.class)
				.directModelSubstitute(org.joda.time.DateTime.class, java.util.Date.class)
				.securitySchemes(Collections.singletonList(securitySchema()))
				.securityContexts(Collections.singletonList(securityContext()));

	}

	private OAuth securitySchema() {
		List<AuthorizationScope> authorizationScopeList = newArrayList();
		authorizationScopeList.add(new AuthorizationScope("read", "read all"));
		authorizationScopeList.add(new AuthorizationScope("trust", "trust all"));
		authorizationScopeList.add(new AuthorizationScope("write", "access all"));
		List<GrantType> grantTypes = newArrayList();
		GrantType creGrant = new ResourceOwnerPasswordCredentialsGrant(authLink + "/oauth/token");
		grantTypes.add(creGrant);
		return new OAuth("oauth2schema", authorizationScopeList, grantTypes);

	}

	@Bean
	UiConfiguration uiConfig() {
		return new UiConfiguration("validatorUrl", // url
				"none", // docExpansion => none | list
				"alpha", // apiSorter => alpha
				"schema", // defaultModelRendering => schema
				UiConfiguration.Constants.DEFAULT_SUBMIT_METHODS, false, // enableJsonEditor => true | false
				true, // showRequestHeaders => true | false
				60000L); // requestTimeout => in milliseconds, defaults to null (uses jquery xh timeout)
	}

	@Bean
	public SecurityConfiguration securityInfo() {
		return new SecurityConfiguration(clientId, clientSecret, "", "", "", ApiKeyVehicle.HEADER, "", " ");
	}

	private SecurityContext securityContext() {
		return SecurityContext.builder().securityReferences(defaultAuth()).forPaths(PathSelectors.ant("/user/**"))
				.build();
	}

	private List<SecurityReference> defaultAuth() {
		final AuthorizationScope[] authorizationScopes = new AuthorizationScope[3];
		authorizationScopes[0] = new AuthorizationScope("read", "read all");
		authorizationScopes[1] = new AuthorizationScope("trust", "trust all");
		authorizationScopes[2] = new AuthorizationScope("write", "write all");
		return Collections.singletonList(new SecurityReference("oauth2schema", authorizationScopes));
	}

	// @Bean
	public WebMvcConfigurer corsConfigurer() {
		return new WebMvcConfigurerAdapter() {
			@Override
			public void addCorsMappings(CorsRegistry registry) {
				registry.addMapping("/**");
			}
		};
	}

I'm using springfox 2.7.0

@ranjithap7576 Part of the reason is because we're using an older version of swagger-ui with limited ouath capabilities.

@dilipkrish Thanks for the prompt reply.. :) Any suggestions/workaround/patch for this?

You could use THE swagger-ui

Hello,
i have the same issue...
Iam searching how i can use Swagger 3.X with Spring Boot and oAuth combination.

seen this @Jotaro132 ?

@dilipkrish
Iam using Spring Boot, H2 Database and oauth2.
I dont have any experience with YAML, so i have to research to re-write the yml config to my  config.
What i cant understand is this: As you can see above @ranjithap7576 get the Token but Swagger doesent use it, so i get this error "Full authentication is required to access this resource".
I get the token as you can see here :
https://www.pic-upload.de/view-34805657/2018-02-0812_18_13-SwaggerUI.png.html
https://www.pic-upload.de/view-34805658/2018-02-0812_18_45-SwaggerUI.png.html
As you can see in the curl of swagger, there is no use of the token. I dont know how to change the curl so, that the token always get taken.
See here: https://www.pic-upload.de/view-34805678/2018-02-0812_23_40-SwaggerUI.png.html
@ranjithap7576 Did you fix the problem?

@Jotaro132 , Not fixed yet. Waiting for the official release.

Yes.
Getting a 401 from swagger-resources/configuration/ui because the backend is behind a reverse proxy. which wants a bearer token in the auth header.

@ranjithap7576 @MartinX3 @Jotaro132 Would you mind trying the 2.8.1-SNAPSHOT to see if that fixes the problem

I searched for the SNAPSHOT but don't find it.

@dilipkrish : We are currently on 2.7.0 but planning to upgrade for the new UI features. However, auth header bearer token is broken on 2.8.0 for UI. Any plan to upgrade or fix 2.8.0 with a patch?

@abhijitvk
Did you read my post?

@MartinX3 : Per your last comment, I see that the issue has been fixed in 2.8.1-SNAPSHOT

@abhijitvk
Yeahr
And in my first Tests I didn't saw any New bugs


Code segmentation

This is more of a discussion I suppose, but wonder if its worthwhile to break apart the code file so each string option is in its own file.  My thinking is that this may make it easier for someone to come in and add their own set—being able to duplicate a current one and update to a new option.

Happy to help with this as well!


Add Transform layer to the Monitors

Is your feature request related to a problem? Please describe.
The transform feature is useful when you want to modify your data before you will be able to send an alert. At the moment you can transform your data using the Trigger section, but this looks more like a bug than a feature.
Area of application:

If you are using the thresholds and you provide an ability to override them. Let's say it will be a Hosts High Memory Usage Monitor. We can set the default thresholds in the params (it is supported as well via API), i.e. 80, and the overrides values for special hosts, i.e. {"overrides": {"my_host_01": {"value": 90}}}. We want to "drop" the hosts that missed a condition from a payload. For other hosts, we want to make some changes (next point).
Change the "raw" data that we took from ES. Update the decimal format (using DecimalFormat from 1.00000009 to 1.00), generate dashboards/logs URLs;
Modify data structure. If you are using PagerDuty/Opsgenie the payload has some format. It is much easier to manipulate the payload using painless instead of mustache.

The current workaround as I wrote earlier is to use the Trigger section. For this, add the Sample web logs data and create the following monitor:

POST _plugins/_alerting/monitors
{
  "name": "BytesOverThreshold12H",
  "type": "monitor",
  "monitor_type": "query_level_monitor",
  "enabled": false,
  "schedule": {
      "period": {
        "unit": "MINUTES",
        "interval": 1
      }
  },
  "inputs": [
      {
        "search": {
            "indices": [
              "opensearch_dashboards_sample_data_logs"
            ],
            "query": {
              "size": 0,
              "query": {
                  "constant_score": {
                    "filter": {
                        "bool": {
                          "must": [
                              {
                                "range": {
                                    "@timestamp": {
                                      "from": "now-12h/m",
                                      "to": "now/m",
                                      "include_lower": true,
                                      "include_upper": false,
                                      "boost": 1
                                    }
                                }
                              }
                          ],
                          "adjust_pure_negative": true,
                          "boost": 1
                        }
                    },
                    "boost": 1
                  }
              },
              "aggregations": {
                  "dest_country": {
                    "terms": {
                        "field": "geo.dest",
                        "size": 100,
                        "min_doc_count": 1,
                        "shard_min_doc_count": 0,
                        "show_term_doc_count_error": false,
                        "order": [
                          {
                              "_count": "desc"
                          },
                          {
                              "_key": "asc"
                          }
                        ]
                    },
                    "aggregations": {
                        "sum_total": {
                          "sum": {
                              "field": "bytes"
                          }
                        }
                    }
                  }
              }
            }
        }
      }
  ],
  "triggers": [
      {
        "query_level_trigger": {
            "id": "oCke2n8BLXodUhHwOg-G",
            "name": "mediumThreshold",
            "severity": "3",
            "condition": {
              "script": {
                  "source": "String kibanaUrl = \"https://localhost:5601/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),\"\n                  + \"refreshInterval:(pause:!t,value:0),time:(from:now-12h,to:now))&_a=(columns:!(bytes,message),\"\n                  + \"filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,\"\n                  + \"query:'geo.dest:%%20%%22%s%%22'),sort:!())\";\nList condition = new ArrayList();\nfor (Map i : ctx.results[0].aggregations.dest_country.buckets) {\n    if (i.sum_total.value > 25000) {\n        String url = String.format(kibanaUrl, new def[]{i.key});\n        condition.add(['country': i.key, 'sum': i.sum_total.value, 'kibana_url': url]);\n    }\n}\nMap conditionMap = new HashMap();\nconditionMap.put('size', condition.size());\nconditionMap.put('results', condition);\nctx.results[0].condition = conditionMap;\nreturn condition.size() > 0;",
                  "lang": "painless"
              }
            },
            "actions": [
              {
                  "id": "zCkp2n8BLXodUhHwSQ-R",
                  "name": "errorsToSlack",
                  "destination_id": "pyke2n8BLXodUhHwtQ8m",
                  "message_template": {
                    "source": "{{#ctx.results}}\nSize: {{condition.size}}\n{{#condition.results}}\n- Country: {{country}}, Sum bytes: {{sum}} Logs URL: <{{kibana_url}}|{{country}} Logs URL>\n{{/condition.results}}\n{{/ctx.results}}",
                    "lang": "mustache"
                  },
                  "throttle_enabled": false,
                  "subject_template": {
                    "source": "[P3] Bytes in 12H over threshold",
                    "lang": "mustache"
                  }
              }
            ]
        }
      }
  ],
  "ui_metadata": {
      "schedule": {
        "timezone": null,
        "frequency": "interval",
        "period": {
            "unit": "MINUTES",
            "interval": 1
        },
        "daily": 0,
        "weekly": {
            "tue": false,
            "wed": false,
            "thur": false,
            "sat": false,
            "fri": false,
            "mon": false,
            "sun": false
        },
        "monthly": {
            "type": "day",
            "day": 1
        },
        "cronExpression": "0 */1 * * *"
      },
      "search": {
        "searchType": "query",
        "timeField": "timestamp",
        "aggregations": [],
        "groupBy": [],
        "bucketValue": 1,
        "bucketUnitOfTime": "h",
        "where": {
            "fieldName": [],
            "fieldRangeEnd": 0,
            "fieldRangeStart": 0,
            "fieldValue": "",
            "operator": "is"
        }
      },
      "monitor_type": "query_level_monitor"
  }
}

Here is what the test message generated via UI looks like:
[P3] Bytes in 12H over the threshold
Size:

Here is what the real alert looks like:
[P3] Bytes in 12H over the threshold
Size: 3
- Country: CN, Sum bytes: 96085.0 Logs URL: [CN Logs URL](https://localhost:5601/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:0),time:(from:now-12h,to:now))&_a=(columns:!(bytes,message),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:'geo.dest:%20%22CN%22'),sort:!()))
- Country: IN, Sum bytes: 28766.0 Logs URL: [IN Logs URL](https://localhost:5601/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:0),time:(from:now-12h,to:now))&_a=(columns:!(bytes,message),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:'geo.dest:%20%22IN%22'),sort:!()))
- Country: US, Sum bytes: 28600.0 Logs URL: [US Logs URL](https://localhost:5601/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:0),time:(from:now-12h,to:now))&_a=(columns:!(bytes,message),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:'geo.dest:%20%22US%22'),sort:!()))

Describe the solution you'd like
The new Transform section that allows to update our payload before executing the Actions section. So, the final chain of the Monitor will look like:  Schedule -> Query OpenSearch data -> Triggers[] -> Transform -> Actions[]
Describe alternatives you've considered

Use the Trigger section without the ability to test your Monitor;
ES Watcher Transform;

1

Agree. Mustache is pretty useless and very frustrating to render a insightful alert message


  This contains a BaseSparkService class, a GCP implementation (using Dataproc), and a simple run-this-jar benchmark.
Not included in this pull request, but to be included later:

Support for arguments to the jar to be run.
PKB created spark clusters.
Amazon EMR spark cluster.
A way to access the output of the spark job.

Seems pretty reasonable to me.

Here's the pkb output for the benchmark.
-------------------------PerfKitBenchmarker Results Summary-------------------------
SPARK:
  class="org.apache.spark.examples.SparkPi" jarfile="/usr/local/google/home/hildrum/spark/spark-1.6.1/examples/target/spark-examples_2.10-1.6.1.jar"
  jar_time                             32.693282 s
  End to End Runtime                   32.697138 seconds

@ehankland

@ehankland PTAL.

Looks like travis isn't happy with flake8, but once you get that fixed LGTM


"sudo npm install -g slap@latest" requires node-nan

When running npm install, i got numerous compile errors.  First
Cannot find module 'nan'
So i npm installed that.  Then i got
../../nan/nan.h:200:47: fatal error: nan_new.h: No such file or directory
So i apt-get installed node-nan.
Finally the compile was clean.

Thanks for the report. Closing.

For Fedora 23: dnf install nodejs-nan


scripts/devbuild_ofp_odp_dpdk.sh need to be update

Hi. I tried to integrate dpdk with odp and ofp:
https://github.com/OpenFastPath/ofp/blob/master/docs/ofp-user-guide.adoc#using-ofp-with-odp-dpdk
This script: scripts/devbuild_ofp_odp_dpdk.sh firstly fetches the source code of dpdk through here:
http://dpdk.org/git/dpdk-stable
But this address doesn't exist.

Please use scripts/check-dpdk.sh script instead. It assumes that dpdk-dev/dpdk-devel has been installed.

dpdk-dev is in repositories? I can't find it in the repo of Debian 11. (and I don't want to install it from the repo. I want to build everything by myself)
By the way, I could manage to build dpdk separately like this:
git clone https://github.com/DPDK/dpdk
pushd dpdk
git checkout v22.11
PKG_CONFIG_LIBDIR=/usr/lib/i386-linux-gnu/pkgconfig meson setup -Dc_args='-m32' -Dc_link_args='-m32' -Dexamples=all build
pushd build
ninja
sudo meson install
sudo ldconfig
popd
popd

And also I could successfully odp-dpdk like this:
git clone https://github.com/OpenDataPlane/odp-dpdk
pushd odp-dpdk
./bootstrap
PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig ./configure --enable-dpdk --build=i386-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make -j4
make install
popd

But when I try to build ofp using odp-dpdk and dpdk that I built previously like this:
git clone https://github.com/OpenFastPath/ofp
pushd ofp
./bootstrap
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./configure --build=i386-linux-gnu --with-odp=/usr/local/lib --with-odp-lib=odp-dpdk "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make -j4
make install
popd

I will receive this error:
checking for libodp-dpdk >= <IP_ADDRESS>... no
configure: error: Package requirements (libodp-dpdk >= <IP_ADDRESS>) were not met:

No package 'libodp-dpdk' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ODP_CFLAGS
and ODP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

or
-PKG_CONFIG_PATH=$(pwd)/../dpdk/install/lib64/pkgconfig:${PKG_CONFIG_PATH} ./configure --prefix=$(pwd)/install +PKG_CONFIG_PATH=$(pwd)/../dpdk/install/lib/x86_64-linux-gnu/pkgconfig:${PKG_CONFIG_PATH} ./configure --prefix=$(pwd)/install

Sorry, I left you hanging for a long time, so probably no longer relevant, but anyway if dpdk is installed in a non-standard place, something like this should work (dpdk 22.11):
PKG_CONFIG_PATH=<dpdk_install_path>/lib64/pkgconfig:$PKG_CONFIG_PATH scripts/check-dpdk.sh


Be able to run multiple instances of Composer...

... Or have some way to easily flip between 2 bots.
For example, I've done the weather bot tutorial and want to create my own bot with a similar structure.  I know the concepts but I'm not comfortable yet with all the properties I need to set, so I want to be continuously looking at a working for as a reference.
It would be great if I can have multiple instances of Composer/multiple bot tabs/whatever other solution, so that I can easily flip between them, to verify my syntax.

https://github.com/microsoft/BotFramework-Composer/issues/3091

Closing as dupe of https://github.com/microsoft/BotFramework-Composer/issues/3091


Update validations.py

First letter issue resolved
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

#!/usr/bin/env python3
2

3
import re
4

5
def validate_user(username, minlen):
6
"""Checks if the received username matches the required conditions."""
7
if type(username) != str:
8
raise TypeError("username must be a string")
9
if minlen < 1:
10
raise ValueError("minlen must be at least 1")
11
12
# Usernames can't be shorter than minlen
13
if len(username) < minlen:
14
return False
15
# Usernames can only use letters, numbers, dots and underscores
16
if not re.match('^[a-z0-9._]*$', username):
17
return False
18
# Usernames can't begin with a number
19
if username[0].isnumeric():
20
return False
21
return True


Implement per-sample directory layout for manifest downloads

Add --layout bundle (default) and --layout sample to hca download-manifest. Build on the hard-link feature from #234.

Beta-2 requested better cli layout.


Feature/GitHub actions

Does not cache between branches, so every new PR needs ~20-30 minutes for its first run. (Actually apparently if there is a cache on master, every branch based off of that will use the master cache)
Also not sure what happens if you update bsf on a branch that already has a cache, since the step is fully skipped - I guess that is fixed by including the submodule commit id in the cache key in the latest commit.

Should not have triggered a new build when doing the README changes.
Possibly because the other build was still running?

That's a great addition, thanks for taking the time to fiddle with the CI! I tried once and failed 😄


lightspeed/trial: adjust the pop-up message

Remember to also merge them or activate auto-merge for simple PRs like this, we have a lot of incoming changes ;)


[DOCUMENTATION] Explicitly note that Params are whitelisting input, while Schema does not

It won't be in the next release. Also, documentation is in another repo https://github.com/dry-rb/dry-rb.org


[BUG]: Reporter Class Unit Tests

Contact Details
<EMAIL_ADDRESS>Describe the bug
Not all areas of Reporter class covered.
Version
0.1-alpha-5 (Pre-release v5.0)
Any additional information?
No response
Code of Conduct Agreement

[X] I have read and acknowledged the Code of Conduct for this project

Update existing Unit tests to match the new method names and reports


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In b2ecda5, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 6156 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in 0bdec69.


Importing Offline Draft Resutls

My league just completed an offline draft and I have all the data stored in a Postgres table. Is it possible to import the results into Yahoo Fantasy Sports using the API?

Unfortunately it doesn't look like that is supported by Yahoo! and certainly isn't currently supported in this wrapper
https://developer.yahoo.com/fantasysports/guide/


Crash in multithreaded code

we have code that renders the window in the main thread, and some code that runs in a background thread that renders thumbnails for various user-generated content into a cache.
We just ported the background thumbnail renderer to sokol and we hit this all the time now:
SOKOL_ASSERT(!_sg.gl.in_pass);
How are you supposed to write multithreaded code with sokol? It doesn't look like there is a way to have a threadlocal _sg or anything like that.

Yeah, all sokol-gfx functions are supposed to be called from the same thread.
Guarding the function calls with a mutex wouldn't be very useful because that would just serialize access. You're probably better off writing a small record/replay shim which records the sokol-gfx calls you want to call from another thread into a memory buffer and replays them on the "sokol-gfx" thread.


Kth Factor of N

https://leetcode.com/problems/the-kth-factor-of-n/

I want to work on this issue..I can provide the solution in C/C++

I want to solve the problem using java.

I want to solve the issue in C++  and provide different solutions of different complexity.

/assign
Sir , please Check and review it
@Gourav8152-ai @deepdhar
@aman-raza Sir ,please review it.
https://github.com/HacktoberfestSIT/Problem-Solving/pull/57

assigned @deep846 🚀


docs(table): accessible markup guidelines

What I did

Added table markup guidance under the Accessibility "tab"
Added WCAG success criteria "1.3.1 Info and Relationships" to the WCAG list

Testing Instructions

Please check for accuracy of info as well as proofreading / editing copy.
Please check the code example accuracy as well

Sorry @nikkimk didn't mean to cramp your style

I'd recommend the following for the "Further guidance" section:

Clarify what <caption> does. For example, maybe something along the lines of this: "Add a <caption> element to title a table and help users identify its purpose."

Change thead, tbody, and tfoot to <thead>, <tbody>, and <tfoot> to be consistent with other elements on this page.

Handling the last few bits of feedback/suggestions in a new PR: https://github.com/RedHat-UX/red-hat-design-system/pull/1287


get block under cursor onMouseOver

How would one go about getting the DraftEditor block under mouse  with onMouseOver?

Discussed in Slack. :)

@alexeygolev: Ah ok :simple_smile: Honestly I think the simplest thing might be the DOM-based suggestion I made above. Mouseover listener on your top-level container, then traverse to find the block key that the mouse is currently hovering over. Then you can use that to position your menu as needed. I usually suggest using absolute positioning outside the actual rendering of the editor for menus etc., so that you have as much control over positioning as you need.

How can one do this when we need to know the block besides the editable area like in Workflowy or similar apps where it gets highlighted on hover? Do we make a custom editor block with non-editable content?


Lime-99, Issue 85 : Inconsistent description of credit line id

Natspec description of credit line id is not exactly same everywhere.
This PR makes the description of credit line id consistent across the contract.
Fixes https://github.com/code-423n4/2021-12-sublime-findings/issues/85
Change Log

description of id of credit line is made consistent across contract.

Codecov Report

Merging #207 (5375b41) into master (6aaf59a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #207   +/-   ##
=======================================
  Coverage   15.95%   15.95%
=======================================
  Files          16       16
  Lines        1736     1736
  Branches      321      321
=======================================
  Hits          277      277
  Misses       1459     1459

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
9.82% <ø> (ø)

Continue to review full report at Codecov.

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


Display Language Issue in Learning Pathways

I have updated the learning pathways to v4.3 and turn off translation with English as default. But still not the News and Content not in English. Can someone guide how to resolve this?
I have also checked the signed in user's language and language settings for the site. But everything is fine there

Hello @chandni-agarwal
Is the content you are trying to look at in English, default Microsoft content that comes with Learning Pathways automated deployment, or content that you made?
If it is content you made, you have to translate it yourself and align it with the English page for viewing. More information about that is available here:
https://docs.microsoft.com/en-us/office365/customlearning/custom_translate_pl_ml
I see that you have also checked the user's profile and language settings; this is also required.

Hi @jellis-thrive,
It is the content coming from Microsoft.

Hello @chandni-agarwal
In the top right of the page, there is a Language tab with a drop down you can click to change the language. What does it say for the user you are working with?

The language tab says "English"

The language picker in the page does not affect the language the learning pathways web part shows up in, it's all driven off the MUI, you can mostly tell what the user's MUI is because the OOB SharePoint content will be translated to whatever language the user's MUI is set to... that comes from the Delve profile first, whatever the top language is, then if they have none set up it falls back to whatever language they have set in the browser (this is a good option for testers because it's faster and easier to set your language in the browser and if you have no language set int he browser it would fall back to the default language for the site.  That's how the web part knows what language it's supposed to display. You can see more about this in Issue #562 https://github.com/pnp/custom-learning-office-365/issues/562#issuecomment-880739087

Hi @dcashpeterson, checked the language in delve as well. Still the same issue

@jellis-thrive , any suggestions on same please

Hello @chandni-agarwal - ""Stel vragen en vraag hulp" is Dutch; if your user drop down for the default content is English, the best next step would be to check all of the places where the person you are trying to help may have their language set to Dutch. Please take screenshots of these settings and provide them here during your review, including a screenshot of the English page showing the Dutch text.

Hi @jellis-thrive !

Does this help?

Hi @chandni-agarwal - yes, it does help thank you! Could you please also check / screenshot the user's Profile language?
https://support.microsoft.com/en-us/office/change-your-personal-language-and-region-settings-caa1fccc-bcdb-42f3-9e5b-45957647ffd7

Hi @jellis-thrive, attaching same

hi @jellis-thrive, any suggestions?

@chandni-agarwal  I did some additional digging into this. It looks like a duplicate of #566. It appears to be an issue with the provisioning service.You could also post to the provisioning service issues list. https://github.com/SharePoint/sp-provisioning-service/issues.  I am going to close this issue and leave the other one to ensure we follow up on it.
Duplicate of #566


CI: Update upgrade test to 1.6 -> master

This has been incorrect for some time, causing nightly to fail. We
support upgrading from one version to the next, but not skipping. Thus,
the version is the current release on master, and the previous version
on release branches.

This change is

test-nightly

test-me-please

Coverage increased (+0.01%) to 44.08% when pulling 44f4beceac9a0afe420d8f5876a3bc7478407bf4 on raybejjani:ci-nightly-upgrade into 40a922e11ce2c0fc7382e1a8cd8ea82c84a83ca4 on cilium:master.

test-nightly

test-nightly

test-nightly

test-nightly

test-nightly


Jagged outlines when shrinking a picture

I tried to resize pictures using the imgscalr library, code:

BufferedImage resized = Scalr.resize(original, Scalr.Method.QUALITY, newWidth, newHeight);
ImageIO.write(resized, "png", fileOut);

Using Scalr.OP_ANTIALIAS resulted in a bit blurred image, but the edges of the display remained jagged.
The original image is 500px * 500px and the result was 136px * 136px.
The same behaviour can be seen on imgscalr CDN service:

original: http://i.imgscalr.com/oYhLECnrd.png
resized: http://i.imgscalr.com/oYhLECnrd-S.png

So I have a point of reference, are you referring to the white trim at the top of the screen (below the black bezel) as the most obvious example of jaggies?
When I scale the original 500x500 image with GIMP using Cubic as well as Lanczos3 the 250x250 result you linked (-S) looks almost identical; the same level of stair-stepping is seeing in that top trim line.
Here is a side-by-side comparison of all the different methods:
http://i.imgscalr.com/viKirLdIt.png
Can you give me an example of the output you were expecting?

I noticed the same effect using GIMP too. I was hoping for something like this:

http://i.imgscalr.com/MzFUYNnSY.png

The image is resized using Mac's stock imaging app.
The result using imgscalr was this:

http://i.imgscalr.com/AvhMnjMQW.png

I was checking the references you had on the imgscalr page and found out that Image.getScaledInstance() supports scaling hints, I haven't had time to try those out.

Mac's does look nice; I need to know what operations they are using.
I did a comparison to Windows 7 standard image resize and even that looks the same as imgscalr's quality/AA result.
I've been doing some research this morning on pre-applying AA as a possible visual optimization (REF: http://www.cambridgeincolour.com/tutorials/image-resize-for-web.htm) but the results were too similar to the existing impl so as to be almost indistinguishable.
I've also been doing some hunting for a more optimal AA kernel possibly providing the results you are looking for (REF: http://assassinationscience.com/johncostella/magic/) with no luck ({ .25f, .75f, .75f, .25f } provides a gamma-blown out result).
I'll continue doing some research to see if I can find something to help improve this result; it would help a lot to know what the Mac resize util is actually applying to the image.

I know this doesn't help much, but I got a better result with GIMP when I resized the image in 50px steps until it was 200px wide and then used few 25px steps.

That does help actually; I tweaked the incremental scaling algorithm to step down by 1/7ths instead of 1/2 each time and sure enough the result looked less jagged and a bit softer.
When I bumped that up to 10 it looked too soft.
This is the result:
http://i.imgscalr.com/whEWgsTZt.png
had imgscalr given you this out of the gates, would you have been happy or is your target still exactly what Mac produces?
(I am thinking this might justify an "ULTRA" quality scale method...)

I have been a happy imgscalr user until now, your library retains details really well!
With that picture I would have been happy. Though the result does look a bit softer and the top part of the bezel is not "straight", but I can blame Mac for giving too good example :)
The ULTRA scaling method sounds like a really good idea, I hope that I could help you with that, because I fear that I will bump into another "misbehaving" picture, I will post a new one here if I find more...
Btw, are you planning to make a new release now or after the ULTRA setting? I could just try out your modification by applying the patch...

Here are some side-by-side comparisons of different progressive step amounts I would consider for an "ULTRA" scale method.
http://i.imgscalr.com/QNHUzJDIN.png
I think 1/7 is the sweet spot; The bezel line in 1/9th looks straighter, but at the expense of the entire picture looking too soft.
Also note that these steps aren't an evenly distributed chunks of 1/7th the original size; each time the picture is resized smaller, that resulting size is paired down again by a 1/7th of that new size; so the diff in each step gets smaller and smaller.
When I tried the same approach with uniform steps down (say 1/10th size reductions) the result was significantly worse.
If you agree that the 1/7th is a good default for ULTRA, I can cut you a custom build of 4.2 to test out with any number of images you are working with and see how it looks with them.

Labelled as a feature request.
This issue is justification for an ULTRA_QUALITY Method. Just waiting on feedback on the comparison graphic before deciding how many steps the scaling should use.

Sorry for taking so long, we had a national holiday yesterday and I was offline.
I agree that 1/9ths looks a bit softer than 1/7ths, but the 1/9ths has a straight top bezel and because of that I prefer 1/9ths version, after all it should be ULTRA_QUALITY :)
I uploaded few more test images, that I found after image googling for a while:

http://i.imgscalr.com/sVtxOdviA.png
http://i.imgscalr.com/zOQDyzDwG.png
http://i.imgscalr.com/kVFAOQaCK.png

If you want, you can but together a new version of the step amount comparison image using those images, or I can test the 4.2 version of imgscalr on my own...

Thank you for the test images; I will be away for a few days but when I get back I'll do some tests with them and others I find online to make sure that 9 isn't too soft.
I agree that in this particular test, 9 gives the straighter bezel line, but if that is at the expense of all images (even pictures of cats, or paintings, or screenshots, etc.) looking too blurry, then I'll have to default to 7 and hope that it is still 3.5x better of a sampling than the original 2.
I'll get back on this next week. Thanks for all the help!

Great!
Just an idea... it would be great if you could provide an easy way to customize the parameters. So, the 1/9ths could be used instead of ULTRA_QUALITY, if someone needs more customization (extending the class might be an overkill in that case).

exebar, I have to do some more testing, but your suggestion of a user-customizable number of iterations is exactly on the right track.
I've been mulling over how to do this, unfortunately the way the API is designed now makes it nasty to try and add an int argument to any of the resize methods to specify the number of iterations.
Instead I was thinking of going with a properties constant used to adjust exactly how many iterations the "ULTRA_QUALITY" quality enum actually translates to. Something like:
-Dimgscalr.ultraQuality.iters=9
Would this fit your requirements? Would you be able to utilize this to accomplish what you want?

Hmm, the property thingy might work, another solution would be a static member in Scalr-class and provide a static getter/setter/reset -methods.
I downloaded the 159d0c7 changeset and tried it out with 1/9ths, but it resulted in too soft images. I don't know if 1/7ths results in too jagged images (for example the iMac image was a bit too jagged).

Fixed in 4.2
ULTRA is currently set to rescale in steps of 1/7th - it is currently not configurable as additional testing and A/B testing on different images on my machine have always shown 1/5th to not be enough and 1/8th or more to be too soft.
I want to make the smallest/safest change first (hard-code it to 1/7th) and if it becomes a very popular feature I will look at making it configurable via a system property.
When I went to implement that I realized that doesn't jive with any of the other aspects of imgscalr (none of the rest of it is configurable via system props except debugging) so it felt wrong to have this one hidden aspect of the API.
So baby-steps first and want to make sure people like the setting before reconsidering how these are implemented. If a new use-case for imgscalr arises, I may consider bigger changes for 5.0.
Need to wait and see how adoption goes.


Handle Capabilities correctly on iOS

A permanent fix for #77.
Based on the solution @brenwell provided this correctly casts the capabilities option to enable the lock screen control center media controls.
Works in all the following scenario:
No capabilities or Empty capabilities provided
TrackPlayer.updateOptions({
});

// OR

TrackPlayer.updateOptions({
  capabilities: []
});

Partial array of capabilities provided
TrackPlayer.updateOptions({
  capabilities: [
    TrackPlayer.CAPABILITY_SKIP_TO_NEXT,
    TrackPlayer.CAPABILITY_SKIP_TO_PREVIOUS,
    TrackPlayer.CAPABILITY_SEEK_TO,
  ]
});

// OR

TrackPlayer.updateOptions({
  capabilities: [
    TrackPlayer.CAPABILITY_PLAY,
    TrackPlayer.CAPABILITY_PAUSE,
  ]
});

// OR

TrackPlayer.updateOptions({
  capabilities: [
    TrackPlayer.CAPABILITY_PLAY,
    TrackPlayer.CAPABILITY_PAUSE,
    TrackPlayer.CAPABILITY_SKIP_TO_NEXT,
    TrackPlayer.CAPABILITY_SKIP_TO_PREVIOUS,
    TrackPlayer.CAPABILITY_SEEK_TO,
  ]
});

I'm not familiar with swift syntax so I'm not sure if this method of casting is correct or acceptable for this repo. However I do know the current way is not working as documented and this seems to provide a complete fix.
As always thanks for maintaining this repo.
Cheers!

@dcvz


Ignoring current thread culture, by using invariant culture for conv…

Issue Number: #195
Not handling locals with dot as decimal separator
Changes

Using CultureInfo.InvariantCulture when converting decimal to string and vice versa

Checklist

[X] Local Tests Passing?
[ ] CICD and Pipeline Tests Passing?
[ ] Added any new Tests?
[ ] Documentation Updates Made?
[ ] Are there any API Changes? If yes, please describe below.
[ ] This is not a breaking change. If it is, please describe it below.

Are there API Changes?
No
Is this a breaking change?
No
Anything else?
I did not add any tests
This PR Closes #195

@Lybecker thanks for this bug fix! We put this change up for PR in GSF (see here: https://github.com/Green-Software-Foundation/carbon-aware-sdk/pull/193) and will be pulling the update into a history update of release.
Some context: as a team, we decided that in order to keep the commit history of release clean and easy to navigate, we won't PR into it directly. Instead, we PR into GSF and then the current release-branch manager (currently me) will take care of pulling the right commits into release and making sure the commit messages line up with the standard we set out. All which is to say, this was the right way for you to get this change up for us, we're just gonna do a slightly different process on our end to actually get it in release.


Search Filter feedback

Change "Effort" to “source”: GEO, pre-publication, ENA ... etc
Change Assay techs to "library prep method"
ADD ‘organ’
ADD ‘disease’

Ok.  Did this.  Disease has so many values it is making me want facets....

@JimKent  Are we capturing disease at the donor or specimen level?
I think we should keep the two separate, or only capture specimen level disease.
For the tonsil dataset, the patients underwent a tonsillectomy due to obstructive sleep apnea. At the donor level, disease = obstructive sleep apnea. Specimen level, disease = healthy/normal.


parties replica

As for now it's not clear whether it's allowed to replicate "parties"
- fist_name
- last_name
- second_name
It was replicated on dev as those field is used for Reimbursement Report, but can't be replicated to demo etc. Before this it must be decided whether we delete fields from Report or can add personal information to report db.

@AlexKovalevych It was allowed to add fields from parties to existing table with id
             - fist_name
             - last_name
             - second_name

done


Chainsplit features

Implement inflation and deflation detection, by comparing the sum UTXO function to an expected value according to a formula and checking the calculation each block. The formula should do 2 things: 1. expected max coin supply based on block height, and 2. expected change in coin supply from the previous block. Do this on both Bitcoin Core 0.17.1 and an independent implementation, such that there is a double check. After this is implemented, think of a way of displaying this (e.g. coin count) on the site.
If the nodes are not at the same hash, make the website display differently if it’s a conflicting chain compared to just being behind. If the node is behind, indent the section and put it below the chain ahead of it, to show its only behind
Finish all the invalid chain checks. Two systems: 1. the getchaintips method (done), and 2. Feeding blocks

This has been split into seperate issues: #84 and #82. Feeding blocks from one node to the other has been implemented somewhat, as well as trying to fetch missing blocks from many different peers.


⚠ Bofrost.be has degraded performance

In bddd3bd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1892 ms

Resolved: Bofrost.be performance has improved in 9aafccc after 11 minutes.


🐛 Bug Report: Build failing on 1.2.0

👟 Reproduction steps
import appwrite and build it
👍 Expected behavior
Should be working without any errors.
👎 Actual Behavior
Build failing due to missing ',' separator in many places.

This is one of the missing ',' line: https://github.com/appwrite/sdk-for-apple/blob/744b65f2e9d72cdded1a54d6d7cd678df3d975ba/Sources/Appwrite/Services/Account.swift#L77
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
MacOS
🧱 Your Environment
sdk-for-apple: 1.2.0
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Experienced same behaviour as described above with my test. I closed and reopened the project in Xcode. Then I did Product->Clean Build Folder and Product->Clear. Afterwards I got these errors:

i have open a pr that have fixes for database and graphql file fixes.

Hi, any ETA for the hotfix release?

Same issue as well, anyone has a ETA please?

Hi, came here to say I'm experiencing the same issue. I've tried to build on releases <= 1.2.0 and seeing the same build failure for all. Any ETA on a fix?

@lohanidamodar, looks like there's still a problem:
https://github.com/appwrite/sdk-for-apple/blob/846134d4c2ba65218ec57aff87c25087b6ff91ac/Sources/Appwrite/Services/Account.swift#L133

Fixed in 1.2.2


Parser fails to handle multi-line copyright input

Just now when I tried the following, only the phonographic copyright was added:
© «2017 The Media Champ»
℗ «2003 The Media Champ»
It was working before, but I think it's because of the cache. I had another release that had the same label, but only a phonographic copyright line and I had to do a search. When I entered this, it didn't do a search and just added this as a phonographic copyright and ignored the copyright line entirely. I like the fact that it just adds the label once you've found it before, but obviously, this wasn't intended.
Originally posted by @tigerman325 in https://github.com/ROpdebee/mb-userscripts/issues/77#issuecomment-1006981004

I assume you have pasted both lines into the prompt popup at the same time?
I just tried this in Firefox and it suggested me to add a (C) relationship for 'The Media Champ ℗ 2003 The Media Champ'. Apparently Firefox implementation of the prompt implicitly converts the line break into a space which breaks the end-of-name detection.
And your browser (Chrome?) probably respected the line break, but my pattern matched only the second line because I did not correctly set up multi-line mode (in which line breaks and the end of the text are treated identically) and the first occurrence of the label name is not terminated by a comma or a full stop either.
Fixed in<PHONE_NUMBER>13b73038dfe075d375f7c4610cdd61, I will publish a new release as soon as I have replaced the prompt by a proper UI with a multi-line textarea input (which works as expected in all browsers). I will also work on the option to add recording-level relationships while am I already working on the UI.

Should be fixed in version 2022.1.7 if that was the problem which you had encountered.
Please let me know if the problem persists.

Yep, that fixed it, thanks!


read json files with sparkingpandas

Would be great if we can read json files with sparkingpandas, I know pandas has a way to do it.

We can add this. Since we are moving to using SchemaRDDs as a base will probably base it on the SchemaRDD json loading code.


Remove CSP_BIG_ENDIAN and CSP_LITTLE_ENDIAN

The only place left is in csp_rdp.c
And it needs to go away.

Nice commit. We still need to remove the bitfield packed struct from csp_rdp

Fixed


[Bug] 2022-03 decorator initialise class instance in wrong order

Describe the bug
As per tc39/proposal-decorators [Adding initialization logic with addInitializer]
Method and Getter/Setter decorators should be initialised before any class fields are initialised
Input code
const myDecorator = (value, context) => {
  context.addInitializer(() => {
    console.log("init")
  })
  return value
}

class A {
  value = this.getNumber();
  value2 = this.getNumber();

  @myDecorator
  getNumber() {
    console.log("getNumber")
    return 1
  }
}

const a = new A()

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "decorators": true,
      "tsx": true
    },
    "transform": {
      "decoratorVersion": "2022-03"
    },
    "target": "es2021",
    "loose": false,
    "minify": {
      "compress": false,
      "mangle": false
    }
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.39&code=H4sIAAAAAAAAA3WQzwrCMAzG732KsFMLMtCrTBx48eI71C7MQtdCm%2FmXvbtdYGUHhRBIvi%2FJj5jgE8HwOqEJUVOI0IC8azfiBkzwhE9S0BzgI2Cpa911Z2%2FJamffGKUsBrak4LB2oZeVzaZK5f40p4g0Rg%2B8W0xCGKdTgpYHuZkv082muke6jMM1b1b7Rdv9EXMcV%2FC5XBl%2BMRWZwQrVdqZkKv6Hzuc8PqCV6gsyc1fOIQEAAA%3D%3D&config=H4sIAAAAAAAAA1VQQQ6DMAy78wqU8yYxJu2wP%2By6ewUBdaJNlRRpCPH3tVA6uCW2E1uei7KEjzTwLOcwhsUpFuS8B0Qm69U3IOAnh9Kwdh4uO9tiQ6w8sQSF5xEz4%2BWboBVZNgI8KysdsTl65C9vZNFko1td1fW1usP5WnGPPtIoQXBLQWAgEgxwpwZJEcBoq7vpaNOQcYwiZ2GUKtsP%2BX5zLJIrGGrHlUwVxRq2BA%2F4i3az%2FBi0vPbLtYXlByFGoz9uAQAA
SWC Info output
No response
Expected behavior
When I run output code, I should see console log
init
getNumber
getNumber

This is tsc playground link, and if I run the output code, it's as expected

Actual behavior
Wehn I run output code, I see console log
getNumber
getNumber
init

Version
1.7.39
Additional context
No response

Investigating
The current implementation of the constructor is as follows:
constructor() {
    _define_property(this, "value", this.getNumber());
    _define_property(this, "value2", this.getNumber());
    _initProto(this);
}

Problem: The order of operations is incorrect. The _initProto function should be called at the top of the constructor to ensure proper prototype initialization before any instance properties are assigned.
Our inject_after_super functionality is working as intended. However, the decorator pass executes first, leading to the following transformation:
constructor() {
    _initProto(this);
}
value = this.getNumber();
value2 = this.getNumber();

And during the ES2022 pass, class fields are inserted into the constructor before the _initProto call, resulting in the undesired behavior.

Possible Solution
Insert initProto in the class field instead.
class A {
  #_ = _initProto(this);
  value = this.getNumber();
  value2 = this.getNumber();
}

maybe this solution will solve your problem link

have a solution
check if this is used in any filed initialisation, find the first one, for example value = this.getNumber()
if found: replace this with _initProto(this) (make sure _initProto returns this), so the code will become value =(_initProto(this)).getNumber()
if not found: use inject_after_super
then run es2022 pass as usual
I will try create a pr


Sound Is Gone Crab Rave

As the transition happens between Selection and Insertion, the sound disappears for the rest of the category, returning at Merge. https://www.youtube.com/watch?v=l3SS-cymAUg?t=2640

Sounds like an issue @Gaming32 mentioned before in the Discord server (https://discord.com/channels/592082838791127075/724718756713988187/803789491738771476), I don't know anything about it though

That sounds like the cause, yes. (pun very much not intended)


Lint on save

Lint the file once VSCode saves it. Due to the delay in saving a file the linter would not always pick up edits.

solves #8


Deprecated selector in narrow/styles/main.less

In narrow/styles/main.less:
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor::shadow .narrow-ui-row => atom-text-editor.editor .narrow-ui-row

atom-text-editor .narrow-match .region, atom-text-editor::shadow .narrow-match .region => atom-text-editor .narrow-match .region, atom-text-editor.editor .narrow-match .region

atom-text-editor .narrow-flash .region, atom-text-editor::shadow .narrow-flash .region => atom-text-editor .narrow-flash .region, atom-text-editor.editor .narrow-flash .region

atom-text-editor .narrow-result .region, atom-text-editor::shadow .narrow-result .region => atom-text-editor .narrow-result .region, atom-text-editor.editor .narrow-result .region

atom-text-editor .line.narrow-result, atom-text-editor::shadow .line.narrow-result => atom-text-editor .line.narrow-result, atom-text-editor.editor .line.narrow-result

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

This is from Deprecation Cop.

OK  I know I just postponed to working on this will fix soon.
Thanks for reporting.

I don't mind sending a PR to fix this. It might take a while for me though; I just switched to atom for full time from neovim yesterday :)

oh, then you tried vim-mode-plus?
My main focus is always vim-mode-plus, I have lot of idea for narrow itself but tend to postpone it since my backlog of vmp is always full.

If you are now finding/evaluating several packages.
Here might give you a hint, state of packages I'm maintaining.
https://github.com/t9md/atom-vim-mode-plus/issues/486

yeah, vmp is the reason i felt comfortable for the full switch yesterday.
The editing experience has so far been really awesome, and i think even better than real vim with the changes you made to the cursor positions (i mean the opinionated new defaults) after operations.
I have made a full switch like ~5 months ago to neovim from original vim, but i got tired of the limits of the terminal/text-based layouts, because of the fact that as a web developer myself know that dom could be much easier. And we are using coffeescript in my company as well, so it makes atom the best place for me to get to the hacking side of the editors. I've been obsessed with them lately :)

If you are now finding/evaluating several packages.
Here might give you a hint, state of packages I'm maintaining.

t9md/atom-vim-mode-plus#486

That's how I ended up started to use narrow already, as unite.vim is part of my main neovim workflow, i'd rather have a good replacement for it.
Also I tend to use packages from the same author as much as possible because of the fact that they are actually sharing the same api, but with different command name spaces. So, I'll probably check out all of your packages, since I really admire what you are doing with wpm -not implementing the wheel whereas pretty much all the other modes try to do not only with atom but with every kind of platform tries to emulate every vim feature. But rather give the experience, so kudos for that.

My main focus is always vim-mode-plus, I have lot of idea for narrow itself but tend to postpone it since my backlog of vmp is always full.

I think this is one thing i can try to help, if you can show me some pointers on code, i would like to get a try to create my first atom package as a narrow-source.

You use Atom-beta? My vmp release is targeting atom-beta at this point.
So If you use Atom-stable, using Atom-beta greatly improve vmp more.
But I won't recommend Atom-beta in your workplace development, it tend to buggy especially in early stage.
This time change from current stable Atom-1.12 to Atom-1.13(now in beta) is very big because it remove ShadowDOM.
This narrow warning is because of this, but careful understanding of Atom history.
So will do it by myself(thanks for suggesting to help me out).
Fix is very easy at coding-level, but I can postpone till Atom 1.13 will stable(will happens soon I believe).

You use Atom-beta? My vmp release is targeting atom-beta at this point.

Yep. So far so good with 1.13.

This narrow warning is because of this, but careful understanding of Atom history.
So will do it by myself(thanks for suggesting to help me out).
Fix is very easy at coding-level, but I can postpone till Atom 1.13 will stable(will happens soon I believe).

No worries. I am happy to help whenever it is needed.


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=555955201
https://github.com/Azure/azure-cli-extensions/commit/0bf92a4e9ae982183072d1bd907e8776c471f5e1

Docs Build status updates of commit 195930a:
:clock10: Pending: waiting for processors (27 builds ahead of you)
:warning: Docs Build is busy, currently there are 27 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 195930a:
:clock10: Full build: the average full build time is 7 min(s) 11 sec(s), this is based on the last 126 build(s) for this repository.

Docs Build status updates of commit 195930a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add R.without

As I proposed on gitter,
without :: a -> [a] -> [a]

I'd personally prefer a version taking a list as the first argument, similar to omit.

I'd personally prefer a version taking a list as the first argument, similar to omit.

I had the same thought, then realized this would be R.difference with arguments flipped. @raine, is without significantly more convenient than difference in the situations in which you've used it?

R.difference returns a set, i.e. removes duplicate values

Good point!

:herb:

Just this morning I used R.difference as a substitute for R.without (the list variant), and as always got confused with the arguments order. I guess that's becauseR.difference is a binary function in which both arguments are considered "data" and have the same shape, albeit the order matters.  What I really want to do is to express this idea in a pipeline:
R.without(["_id", "__version__"]) // filter db stuff

I don't have a view as to whether the first argument should be of type a or [a]. If you believe a to be the better option, @raine, I'm happy for you to merge this pull request.

I updated this to take a list as first argument. Please have another look.

This has been sitting a while.  Any objections?

:deciduous_tree:


Merrymellow Marsh should have four secondary NPCs with meaningful character development

Add two more secondary NPCs with meaningful character development (not the four employees), for a total of four.

Closing due to removal of freeroam mode (#1257)


[stable/yugaware] auto-create imagepullsecret

In order to not have to manually create the imagePullSecret in the same namespace, the imagePullSecret dockerconfigjson should be able to be defined inline in a values.yml (or an encrypted secrets.yaml) supplied with the chart itself.
Alternatively this could be defined under a secrets: block, something like this:
image:
  pullSecret: foo

...

secrets:
  create: true
  imagePullSecret: xyzabc123

hello from the future! hope all is well! closing to prune dead PRs