MRview on Workstation (RDP via Remmina)

I can log in on Workstation with Remmina

Then I source your bashrc
[fjl1f15@uos-15263 ~]$ source /local/scratch/disk2/research/bashrc/bashrc_yz23e20
bash: /local/scratch/software/fsl/6.0.4/etc/fslconf/fsl.sh: No such file or directory

but that is because fsl in now residing in  /local/scratch/software/fsl/
However, trying to launch mrview does not work
[fjl1f15@uos-15263 ~]$ mrview
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
mrview: [WARNING] unable to determine OpenGL version - operation may be unstable if actual version is less than 3.3
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /local/scratch/software/qt-everywhere-opensource-src-5.9.0/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
mrview: [ERROR] GLSL log [vertex shader]: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES

mrview: [ERROR] error compiling OpenGL vertex shader ID 1

mrview: [SYSTEM FATAL CODE: SIGSEGV (11)] Segmentation fault: Invalid memory access

Can you launch mrview??

@finnlennartsson can't either and got the same error message.

Now, I am using the installation in /local/scratch/software/mrtrix3
[fjl1f15@uos-15263`` ~]$ cd /local/scratch/software
[fjl1f15@uos-15263 software]$ ls -l
total 168
drwxr-xr-x  4 root    neuropediatrics     30 Nov 21 21:44 ANTs
drwxr-xr-x 15 root    root              4096 Nov 19 19:29 cmake-3.12.3
drwxrwxr-x 20 root    neuropediatrics   4096 Nov 19 19:22 dcm2niix
drwxrwx--- 13 root    neuropediatrics    167 Nov 21 21:54 docker
drwxrwxr-x  3 root    neuropediatrics     21 Nov 17 09:24 freesurfer
drwxrwxr-x 15 root    neuropediatrics    231 Nov 16 08:47 fsl
-rw-r--r--  1 yz23e20 fc              102918 Nov 16 08:45 fslinstaller.py
-rw-r--r--  1 root    root              2490 Nov 21 21:20 installANTS.sh
drwxrwxr-x 16 root    neuropediatrics   4096 Nov 19 19:02 mrtrix3
drwxrwxr-x 43    1000            1000   4096 Nov 19 18:30 qt-everywhere-opensource-src-5.9.0
drwxr-xr-x 24 yz23e20 neuropediatrics  28672 Jan 13  2020 spm12

I don't have sudo. Perhaps you can try to git pull, ./configure, ./build?
https://mrtrix.readthedocs.io/en/latest/installation/build_from_source.html#keeping-mrtrix3-up-to-date

Was encountering the following error message while running git pull, ./configure to re-install MRtrix #18
[yz23e20@uos-15263 mrtrix3]$ scl enable devtoolset-4 bash
[yz23e20@uos-15263 mrtrix3]$ ./configure

MRtrix build type requested: release version

Detecting OS: linux
Looking for compiler [clang++]: not found
Looking for compiler [g++]: g++ (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Checking for C++11 compliance: ok
Checking shared library generation: ok
Detecting pointer size: 64 bit
Detecting byte order: little-endian
Checking for variable-length array support: ok
Checking for non-POD variable-length array support: ok
Checking for ::max_align_t: 16 bytes
Checking for std::max_align_t: 16 bytes
Checking for Eigen3 library: 3.3.7
Checking for Eigen3 Unsupported: Present
Checking for zlib compression library: 1.2.7
Checking for "JSON for Modern C++" requirements: ok
Checking for TIFF library: LIBTIFF, Version 4.0.3
Checking for PNG library: Header: 1.5.13; library: 1.5.13
Checking for FFTW library: fftw-3.3.3-sse2
Checking for Qt moc: moc (version 5.9.0)
Checking for Qt qmake: qmake (version 5.9.0)
Checking for Qt rcc: rcc (version 5.9.0)
Checking for Qt:
ERROR: qmake returned with error:

Project ERROR: Could not find feature force_asserts.

After installing Qt v5.5.0 mrview GUI can now be launched with text. Follow documentation in #18 to update path. I'll close this ticket now.

(Microsoft Remote Desktop via Mac, could be on Remmina as well) although can open MRview as expected, is having issue viewing .mif.gz file. Tried adjusting the scale, but still no image.
cd /local/scratch/disk2/research/NENAH_BIDS/derivatives/dMRI
mrview sub-NENAH004/dwi_preproc_inorm.mif.gz &

Converting to .nii.gz using mrconvert will be able to view the brain in fsleyes.
cd /local/scratch/disk2/research/NENAH_BIDS/derivatives/dMRI
fsleyes sub-NENAH004/dwi_preproc_inorm.mif.gz &

At hospital, confirm whether mrview can properly view brain image.
A few alternatives:

https://community.mrtrix.org/t/mrview-command-not-working/266/9
https://community.mrtrix.org/t/mrview-command-not-working/266/11
https://community.mrtrix.org/t/remote-display-issues/2547
https://community.mrtrix.org/t/remote-display-issues/2547/4
https://community.mrtrix.org/t/remote-display-issues/2547/2

Not relevant anymore


Fix overzealous warning on use of whereNot with "in" or "between"

I ran into this with a whereNot('id', 'in') clause producing a warning despite it only intending to occur when 'in' is an operator, not a value.
Please let me know if the test format isn't right, I'd be happy to change it!

@OlivierCavadenti Could you take a look at this fix?


Help needed: New documentation

A good documentation is crucial for a library. I started working on a new version and would love to get some help from you guys. If you have an idea of how to improve the docs, please comment below or create a pull request in the docs repository.
The new documentation also allows live code.
You can find it here: newdocs.hivedb.dev

Is it supposed to be down? I can't access the old or new docs.

Thanks for letting me know. The DNS configuration was wrong. Everything should work now again.

Ok.

So... I don't need anymore the PathProvider for iOS/Android? Or do I still need it? Unclear. What is that path/to/hive? Could you add a small example?

All of your data is stored in boxes.
If I were you I would replace it with like this:

All of your data is stored in boxes. After initialising Hive, you must open a box. Hive will automatically create it if doesn't exists, or open the existing one.

Hive supports all primitive types,
I would replace that comma with a :, but that is a personal preference.

//Hive.init('sompePath') -> not needed in browser
That's nice, but you could add it inside a if (!kIsBrowser), for example, so the user gets to know that useful attribute - I only learned by looking at your code!

Video Tutorial
Ok...? But where is the next button? What should I read now? Why there is nothing selected in the left/menu bar? Hmmm... Looking in retrospect, where is the link in Open a Box to read more about how to open a box? And so on? I forgot there is more documentation to it.

Should I look the rest? I'm not sure if you changed everything or just the intro.

I just published a new version of hive_flutter which allows you to call Hive.initFlutter(). It takes care of everything and you don't have to provide a path. I just need to document it :P

Hive.initFlutter()

So.. you should probably mention "if you are using Flutter, click here, there is a better way"?

I just installed the new version of hive_flutter and I don't have the initFlutter method. Am I doing something wrong?

initFlutter() is an extension method. You need to import hive_flutter before you can use it.

Should we await initFlutter() before we open boxes and register adapters, etc or can we keep it sync?

Okay so you definitely have to await Hive.initFlutter()

Yes you have to await it. Dart does not provide a method to call async code synchronously.

I was just saying that because some of the other methods in Hive you don't have to wait for even if they have a return type of Future.

Oh yes, i'll make sure to mention it in the docs

There's an issue with this page: https://newdocs.hivedb.dev/#/basics/hive_in_flutter.
It uses Hive.simpleInit() which I believe was renamed to flutterInit(). It's causing an error in the DartPad.

It uses Hive.simpleInit() which I believe was renamed to flutterInit(). It's causing an error in the DartPad.

Thanks!

I noticed that you made a little tutorial in the documentation. Would you mind if I wrote one up @leisim?

I noticed that you made a little tutorial in the documentation.

I found the tutorial section in the BLOC docs by chance and I really like the idea. I used the same style and wrote a small tutorial to check if it fits the Hive docs.

Would you mind if I wrote one up

That would be amazing...

Yes you have to await it. Dart does not provide a method to call async code synchronously.

Doesn't Completer() do that?

@leisim MobX + Hive I wondering how they should be implemented together

Doesn't Completer() do that?

Completer makes synchronous code async.

MobX + Hive I wondering how they should be implemented together

I have never used MobX. If anyone has experience using it and wants to write a small tutorial, that would be great. I can enable MobX in the Hive DartPad to use live code.

I feel there should be a standard format for tutorials for the setup like adding dependencies and imports. The way we have it now, the dark mode switch says "Setup" and the contacts tutorial says "Dependencies" even though they cover the same topic. What are your thoughts @leisim?

@Reprevise I agree. I think it is even possible to "embed" markdown. We could reuse the same template for each page.

What headings should there be? I'm thinking "Dependencies", "Initialization", the tutorial, then "Source Code" at the end. I don't know much more that we can standardize to a format.

Would you show the live example with the complete source code at the beginning or end? I like that the reader can test the app before he reads the tutorial but he also sees all the source code...

It can go either way but yeah that would work best.
New order:

(Tutorial Name) Introduction
Source Code & Live Test
Dependencies
Initialization
Tutorial

Perfect 👍


adding review data model

Adding review model with basic information.
Adding review to the settings.py
Depends on #41
Resolves #27
Signed-off-by: Jenia Sakirko<EMAIL_ADDRESS>

Do note this won't be merged without tests.
Also, since it depends heavily on having a DogOwner\DayCare entity- it should be marked as a draft\WIP for the time being.

you are right, changed it

ping

@jeniaSakirko  You need to rebase

@jeniaSakirko You need to rebase

@ormergi Done


Add scaffolding for DocumentQuery execution, #241.

Signed-off-by: Pan Li<EMAIL_ADDRESS>

Codecov Report

Merging #251 into support-cosmosdb-async-sdk will decrease coverage by 0.89%.
The diff coverage is 65.95%.

@@                      Coverage Diff                      @@
##           support-cosmosdb-async-sdk     #251     +/-   ##
=============================================================
- Coverage                       81.77%   80.87%   -0.9%
=============================================================
  Files                              40       40
  Lines                            1081     1093     +12
  Branches                          142      143      +1
=============================================================
  Hits                              884      884
- Misses                            125      137     +12
  Partials                           72       72

Impacted Files
Coverage Δ

...repository/support/SimpleDocumentDbRepository.java
87.14% <50%> (-1.1%)
:arrow_down:

...epository/support/DocumentDbEntityInformation.java
84.21% <60%> (-2.75%)
:arrow_down:

.../spring/data/cosmosdb/core/DocumentDbTemplate.java
87.45% <70.96%> (-2.7%)
:arrow_down:

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 87d306d...091beb1. Read the comment docs.


Update protocol for continuous inbound liquidity

We revamp our protocols for on-the-fly funding to use a unified approach based on liquidity ads. We simplify messages exchanged and reduce the number of custom extensions required on top of the BOLT specifications.
We also introduce an optional fee_credit feature, that is disabled by default (because it introduces an additional trust trade-off with the service provider), which allows wallets to accept small payments for which an on-chain operation is not economical, and obtain a fee credit in exchange for a future on-chain operation.
The main changes to the protocol are:

the wallet initiates all channel operations (it is responsible for sending open_channel2 and splice_init)

it thus automatically pays the on-chain fees for the common transaction fields, as specified by the interactive-tx protocol
it uses a custom channel flag to ask the service provider to pay the commit tx fees and closing fees (won't be necessary anymore once we use 0-fee commit txs with package relay), which enables 0-reserve and allows emptying a wallet using an off-chain payment

we replace the pay_to_open messages with a single maybe_add_htlc message, which is a clone of update_add_htlc without a channel_id or htlc_id:

the wallet processes them in the IncomingPaymentHandler
if it wishes to fulfill them, it reveals the preimage in open_channel2 or splice_init:

the service provider will push the corresponding amount
the wallet must also buy inbound liquidity at the same time, which ensures that:

some fees are paid to the service provider
future payments may be received without requiring an on-chain operation
the service provider has enough funds on their side for the commit tx fees

if disconnected, the service provider will remember how much it owes and the wallet can retry open_channel2 / splice_init on reconnection

it is now the responsibility of the wallet to initiate that operation, which simplifies state tracking on the service provider side

if it doesn't want to fulfill the corresponding payment, the wallet simply ignores the maybe_add_htlc message: the service provider will automatically fail the corresponding HTLCs after a short timeout

the only fees that are applied are the liquidity ads fees:

on-chain fees for the inputs/outputs contributed by the service provider to add inbound liquidity (as specified by the liquidity ads protocol)
service fees for the inbound liquidity purchased (as specified by the liquidity ads protocol)

:warning: :warning: note that the DB logic changes, with the introduction of a Pending entry that must later by replaced by the final result: this must be correctly implemented on the wallet side when implementing the PaymentsDb trait! :warning: :warning:

Replaced by #649


Added explanation of implementing [] and []= methods

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Congrats @Scronkfinkle on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


BulletBoxShape takes Width Length Height as input

I found in many places we are using length width height as input. This might cause wrong collision detection??!

When creating a box shape, the bullet API requires half of the length/width/height. This won't make any thing wrong. If you doubt this, turn on debug_physics_world and debug_static_world to see the results.


Coordinate Conversion widget produces different MGRS, USNG output than ArcMap and Pro Addin

@MarkTorrey @topowright
In the Coordinate Conversion Widget, enter 44.676 -121.028 in the Input box.  MGRS output will be 10TFQ5629748850.
Use same Input coordinate in  ArcMap or Pro Coordinate Conversion Addin, MGRS output is 10TFQ5629848851
Widget results in  USNG 10T FQ 56297 48850, ArcMap Addin results in 10TFQ5629848851
Widget results in DMS 44° 40' 33.60"N 121° 01' 40.80"W, ArcMap Addin results in 44° 40' 33.6"N 121° 1' 40.8"W (issue in Minutes portion containing leading and trailing zero's, coordinates are equivalent).

@MarkTorrey - Still seeing different MGRS Output in the Addin when compared to Widget.  The differnce is about 70 inches on the ground.  This is based on test downloaded this morning of _current, and the test site "ma2".

Let me update ma2, don't think it's current after that last pr

@pshowalter, ok it's up to date now


Mouse support improvements

First batch of mouse improvements.

sys_check_for_event() now returns (EventFlags, Event) where Event is:
  enum Event {
      Key(KeyState),
      Mouse(MouseState),
      None
  }

sys_check_for_event() moved to  system::check_for_event() (I also put Event in system, feel free to chang this).

While writing this, I was wondering if mouse_* functions should be moved to a mouse module?
Usage example:
loop {
    let (flags, event) = tcod::system::check_for_event(
            tcod::KEY | tcod::MOUSE);

    match event {
        tcod::system::Event::Key(ref key_state) => {
            // ...
        },
        tcod::system::Event::Mouse(ref mouse_state) => {
            // ...
        }
        tcod::system::Event::None => {
            break;
        }
    }
}

Sweet! It would be nice to have a runnable example in examples/events.rs.
Feel free to add it if you want, otherwise I'll whip one up later.


Fix node-http-proxy host in proxy request

node-http-proxy was putting a host header with the current server name,
which was thus causing nginx on the receiving end to send the request to
the default handler (or the first one). This patch asks node-http-proxy
to rewrite the host and port, and also to change the origin of the host
header to onequran's url.

Deployed to: http://staging.quran.com:32924

@mmahalwy - http://staging.quran.com:32924/api/onequran - now gives a 404 from rails instead of redirecting to a different host. feel free to merge and close.


Satisfied warnings & errors for updated dxrflcompiler

Added static to function definitions using resource types (i.e. RWByteAddressBufferPointer) in parameters or return type to force inlining so that the compiler doesn't get upset
Updated dxcdxrfallbackcompiler.h to match the one in the dxrfallbackcompiler.dll
Dispatched rays are now indexed in 3d, but our shaders only need the first two dimensions (so far)
Moved Load3x16BitIndices to remove the resource type parameter, using the global g_indices instead

Verified with Robert that, while this validation was added for the new compiler, it also works with the old compiler (so we don't have some additional versioning problem introduced here. No action


[KBFS-2747] Fix menus on mobile

This is ugly, but it mostly works.

I thought maybe we didn't even have menus for the breadcrumbs on mobile?

I wanted to make it function first, and then worry about converging to the design later.

@chrisnojima: ready for another look.


git repos for biggis infrastructure modules

Consider using separate git repos for each biggis infrastructure module.
(if it makes sense)

I will soon make a proposal according to the infrastructural modules. Any comments/hints are welcome.

I split up the docker projects in several repositories for easier management - so I close this issue.


dividing dot product get nan in the result

https://github.com/lioryariv/idr/blob/44959e7aac267775e63552d8aac6c2e9f2918cca/code/model/sample_network.py#L15

can I add a epsilon like 1e-6 in the denominator? will this cause other errors? @lioryariv

You can add a tiny epsilon for stability, should not be a problem. I guess the chances that normals and view directions are exactly perpendicular are quite low, but better add some tiny epsilon as sanity.


[Usage]OnLabelCreate

I am currently creating a dropdown list that has items that may look like this

    Billable Projects
    Open Sub Categories

When the Label is created I don't want it to be displayed the same way, i'd like to not have the  tag in there, so I figured I'd use OnLabelCreate, but doing it like this :
 onLabelCreate: function (value, text) {
                console.log($(this));
                console.log("Created");
                var child = $(this).find('.label');
                console.log(child);
                var color = child.attr('color');
                $(this).css('background-color', color);
                return $(this);
            },

nothing is really fired or said, however onChange works just fine, and so does .dropdown('set selected'), am I missing something?

Hi, please provide a test case as per our contributing guidelines; you can fork this JSFiddle.

Closing the issue until there’s a test case.


Continuous integration

Set up continuous integration so that the test are run each time.

Use https://github.com/qferre/warshard/actions/new


Pretraining gives NaN loses [bug]

Describe the bug
I tried to pretrain my DDPG model on my custom env. I have an agent that gives me pretrain trajectories. Those look fine upon inspection. However, the losses of the pretrain function are NaN.
Code example
generate_expert_traj(agent.act, 'expert_trace', env, n_timesteps=int(1e5), n_episodes=10)
model = DDPG('MlpPolicy', env, verbose=1, param_noise=param_noise, action_noise=action_noise,
             tensorboard_log="data/summaries/")
dataset = ExpertDataset(expert_path='expert_trace.npz', traj_limitation=1, batch_size=128)
model.pretrain(dataset, n_epochs=1000)

I was able to track it down to this line.
https://github.com/hill-a/stable-baselines/blob/master/stable_baselines/common/base_class.py#L351
actions (3000, 3)
obs (3000, 12)
rewards (3000,)
episode_returns (10,)
episode_starts (3000,)
Total trajectories: 1
Total transitions: 598
Average returns: -2104.573738742611
Std for returns: 6.906356413688311
Pretraining with Behavior Cloning...
==== Training progress 10.00% ====
Epoch 100
Training loss: nan, Validation loss: nan

==== Training progress 20.00% ====
Epoch 200
Training loss: nan, Validation loss: nan

System Info
Describe the characteristic of your environment:

stable-baselines 2.10.0 (via pip)
tensorflow 1.15.3
python 3.7
all cpu

Additional context
I validated that it works properly with "MountainCarContinuos", and i also validated my custom environment using the provided checker.
Further, i validated in the debugger that the generate_expert_traj are all finite
all([np.all(np.isfinite(a)) for a in [observations,actions,rewards]])

Hello,
Have you tried tuning the hyperparameters for pretraining? Notably using smaller learning rate.

not yet, but just for validation model.pretrain(dataset, n_epochs=1000,learning_rate=1e-10) still gives NaNs

Have you normalized your data?

I have solved it by bounding the actionspace of my environment much stronger.
env.action_space = gym.spaces.Box(low=np.full(3, -1e3), high=np.full(3, 1e3))

previously my actionspace was virtually unbounded (10^24). From a theoretical perspective it makes no sense to bound the action space in that way, however, such large control values are also highly unlikely.
I think your environment checker should include some validation of that kind for continuos action spaces. i am quite sure it will not work if the actionspace is unbounded (-inf,inf).

i am quite sure it will not work if the actionspace is unbounded

Normalizing the action space is discussed in the documentation: https://stable-baselines.readthedocs.io/en/master/guide/rl_tips.html#tips-and-tricks-when-creating-a-custom-environment

I think your environment checker should include some validation of that kind for continuos action spaces. i am quite sure it will not work if the actionspace is unbounded (-inf,inf).

The env checker already outputs a warning normally

you are right, but it is really easy to overlook. Thanks for the help!


Getting high perplexity with provided checkpoint

I use the checkpoint and vocabulary provided in https://github.com/allenai/bilm-tf#frequently-asked-questions-and-other-warnings and try to run test on the test data in tests/fixtures/train/data.txt
CUDA_VISIBLE_DEVICES=2 python run_test.py --save_dir path/to/checkpoint --vocab_file path/to/vocab-2016-09-10.txt --test_prefix ../tests/fixtures/train/data.txt --batch_size 1

I got average perplexity of 377.68, but I think it should not be so high. Does this happen to anyone else?

Not sure?  Check the perplexity on the held out set from the 1 Billion Word Benchmark, it should be about 39.7.  See: http://www.statmt.org/lm-benchmark/


Update state check CI to v20

What is the purpose of the change
Update state check CI to v20 branch. Will backport this to v20.x.
I will automate this so we don't have to change this on every new development branch.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[x] N/A

@mergify refresh


Does not work in IE 11

When I run it in IE I get the message "TypeError: Object doesn't support property or method 'ripples'"

Maybe I am missing something, but the demo doesn't work in IE11. Also, the downloaded files that use 0.2.0 version doesn't work.
Has it been fixed in the latest version?

The curent version does work in IE11 on my PC, so any more details are welcome.

On my PC it shows the bg images for a split second and then all bg's turn to white. If I open developer tools in IE and change document mode and user agent to IE10, then the error info is displayed.
I am talking about your demo, but the same thing is when I use the downloaded files or play with ripples on my own.
Is there any info I could pull from IE so that you could compare it to your version. When I click about in IE, it clearly states that the version is 11.
I will put up a test link today and see if that works on your end. Will post it here.

That link works for me in IE11. But you're saying you do see an error message as well?
It would be really useful if you showed me the error you are getting.

The error I am getting is only displayed if I emulate IE to version 10 in developer tools. The one that is displayed if the browser doesn't support WebGL.
If I don't emulate, and use IE normally, I see white bg. But the aniamtion is certainly there, I can feel the lag when hovering over the links, guess it is something with the bg image not displayed.
What is strange, is that you can see everything normally, while I can't and we are both using the same version of IE.

Guess I missed the most obvious thing. I needed to update IE with the following update:
https://support.microsoft.com/en-us/kb/2929437/
In the description it says that it updares Internet Explorer WebGL renderer. All is fine now.

So this plugin wont work without the users manually updating their WebGL renderer? Because my IE 11 is doing the same thing.

@ornaxis Any bit of information is welcome. Does anything appear in the console log? Perhaps also remove the try-catch lines so that more details about the error is logged.
I wanted to tackle this problem before, but once Madebym updated his IE, it was too late...

Closing this until someone can help me out with more details (if it still happens at all in the first place)


Typescript support

Hi, i'm just curious since this wasn't stated in the docs, is typescript support available with this package?

Will be supporting typescript soon,
But we are welcome for any contribution, for sure.
thank you

soooon

Some super basic types:
declare module 'react-native-markdown-package' {
  import { WebBrowserResult } from 'expo-web-browser'
  import { Component } from 'react'

  class Markdown extends Component<{
    enableLightBox?: boolean
    navigator?: unknown
    imageParam?: unknown
    onLink?: (url: string) => Promise<WebBrowserResult>
    bgImage?: unknown
    onImageOpen?: unknown
    onImageClose?: unknown
    rules?: unknown
    styles: unknown
  }> {}

  export = Markdown
}


remove breathe from install_requires

breathe is only needed to build docs; it is not needed to run aduana, right? Users don't need it, and we shouldn't add another point of failure. I think that docs should be built automatically by readthedocs.org, not by users.

Good point. Done here 0bea21068396608f057eb5470fe9e99ee21920ad
Changed readthedocs configuration too and built docs OK.


How to add Global secondary Index with amplify-cli

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum
** Which Category is your question related to? **
AppSync with GSI
** What AWS Services are you utilizing? **
appsync
** Provide additional details e.g. code snippets **
I don't know how to add GSI. I tried to copy amplify/api/MYAPP/build/stacks/resource.json to  amplify/api/MYAPP/stacks/resource.json and add new GSI like following.
                "GlobalSecondaryIndexes": [
                    {  // ommitted  }
                    {
                        "IndexName": "gsi-FooCategory",
                        "KeySchema": [
                            {
                                "AttributeName": "Category",
                                "KeyType": "HASH"
                            },
                            {
                                "AttributeName": "createdAt",
                                "KeyType": "RANGE"
                            }
                        ],
                        "Projection": {
                            "ProjectionType": "ALL"
                        },
                        "ProvisionedThroughput": {
                            "Fn::If": [
                                "ShouldUsePayPerRequestBilling",
                                {
                                    "Ref": "AWS::NoValue"
                                },
                                {
                                    "ReadCapacityUnits": {
                                        "Ref": "DynamoDBModelTableReadIOPS"
                                    },
                                    "WriteCapacityUnits": {
                                        "Ref": "DynamoDBModelTableWriteIOPS"
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        },

However this chnages cause error when amplify api push.
UPDATE_FAILED      Foo      AWS::CloudFormation::Stack Thu Mar 21 2019 11:26:04 GMT+0900 (GMT+09:00) Embedded stack arn:aws:cloudformation:ap-northeast-1:xxxxxxxx:stack/lawgue-beta-xxxxxxx-MYAPP-xxxxxxxx-Foo-XXXXXXXXXX was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [FooTable, ListFooResolver].

Currently is it possible to add GSI ? If so what should I do to add it ?

Should I add FooTable definition to stacks/CustomResources.json ??

I tried to add FooTable definition to stacks/CustomResources.json's Resources fileld.
However it can not resolve "GetAttGraphQLAPIApiId" reference when pushed.
How do I resolve "GetAttGraphQLAPIApiId" in stacks/CustomResources.json??

It could work with editing build/stacks/YourTypeName.json, and deploy with amplify push --no-gql-override, but this looks like a hack more than a solution.
If you need GetAttGraphQLAPIApiId, here suggests your template of custom resources in stacks/YourCustomResources.json should look like
{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Description": "An auto-generated nested stack.",
  "Metadata": {},
  "Parameters": {
    "AppSyncApiId": {
      "Type": "String",
      "Description": "The id of the AppSync API associated with this project."
    },
    "env": {
      "Type": "String",
      "Description": "The environment name. e.g. Dev, Test, or Production",
      "Default": "NONE"
    }
  },
  "Resources": {
    "MyTestResolver": {
      "Type": "AWS::AppSync::Resolver",
      "Properties": {
        "ApiId": {
          "Ref": "AppSyncApiId"
        },
       "OtherProps": "Not shown here"
     }
   }
}

https://aws-amplify.github.io/docs/cli/graphql#add-a-custom-resolver-that-targets-an-aws-lambda-function
And if you also need to customize others, add to parameter.json and write a corresponding block in Parameters

@kftsehk Thanks for your reply :)

but this looks like a hack more than a solution
I know... 😢 However I can not find better way doing this now...

I'll try it 😄 Thanks :)

We are working on adding support for custom indexes. Please see https://github.com/aws-amplify/amplify-cli/issues/1062 and offer feedback.

We launched support for custom indexes today. You can find docs for the same out here - https://aws-amplify.github.io/docs/cli/graphql#key
Please let us know if you're still not able to solve your problem through this solution and we'll re-open this issue for you.

I'm still having some issue. the @key directive only creates indexes on "not null" and it should be an existing field. Is anyone knows how can I create an index on the budgetCategoryParentId in this type: type BudgetCategory @model {   id: ID!   title: String!   items: [BudgetItem]! @connection(name: "BudgetCategoryItems")   children: [BudgetCategory]!   parent: BudgetCategory @connection(name:"BudgetCategoryParent", keyField: "budgetCategoryParentId") }


Translated the rest into Korean

Last translation unless there are mistranslations.
Wonder if there  is a entry point for specific language like at the demo.
kind of like this http://pcottle.github.io/learnGitBranching/?demo&locale=ko
It was really fun while doing the translation works. :smile:

I can't get the details of the build failure from the travis page. My builds are passing in my local machine with no problems. It might be minor grammer problems or something else. Can  you please check it for me?.

Now I saw the details and the travis build just gone wrong don't know why.

yeah the build failure looks weird -- lemme try to pull this down and test locally

#355 for the other test. it built and passed locally for me too

this is the last part of the output:
Found PhantomJS at /usr/local/phantomjs/bin/phantomjs ...verifying
Writing location.js file
PhantomJS is already installed on PATH at /usr/local/phantomjs/bin/phantomjs
Username for 'https://github.com':
><EMAIL_ADDRESS>install /home/travis/build/pcottle/learnGitBranching/node_modules/jquery/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
make: Entering directory `/home/travis/build/pcottle/learnGitBranching/node_modules/jquery/node_modules/jsdom/node_modules/contextify/build'
  CXX(target) Release/obj.target/contextify/src/contextify.o
  SOLINK_MODULE(target) Release/obj.target/contextify.node
  SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished
  COPY Release/contextify.node
make: Leaving directory `/home/travis/build/pcottle/learnGitBranching/node_modules/jquery/node_modules/jsdom/node_modules/contextify/build'
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

its weird. maybe something is wrong with the travis setup or i have an outdated dependency? i dont think your PR necessarily kicked off this problem, it was just sent after something happened. weird.
im on a work trip all week but ill try to look at this on the weekend and see what the problem is.

Alright I fixed the build in #357 and since this should merge cleanly (which means build shouldnt break) lets do it! thanks again @JuhoKang


error in view the order in magento 2.3.0

when i make an order and not complete the payment then i go to the magento dashboard to see the order
click in view order i get this exception
1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Unable to find coinbase order with store id "2000000006"
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Unable to find coinbase order with store id "2000000006"
#0 /home/.www/shJnco/public/app/code/CoinbaseCommerce/PaymentGateway/Block/Adminhtml/Order/View/Details.php(36): CoinbaseCommerce\PaymentGateway\Model\CoinbaseRepository->getByIncrementId('2000000006')
#1 /home/.www/shJnco/public/app/code/CoinbaseCommerce/PaymentGateway/Block/Adminhtml/Order/View/Details.php(46): CoinbaseCommerce\PaymentGateway\Block\Adminhtml\Order\View\Details->getCoinbaseRecord()
#2 /home/.www/shJnco/public/app/code/CoinbaseCommerce/PaymentGateway/view/adminhtml/templates/details.phtml(4): CoinbaseCommerce\PaymentGateway\Block\Adminhtml\Order\View\Details->getCoinsDetail()
#3 /home/.www/shJnco/public/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/.www/shJn...')
#4 /home/.www/shJnco/public/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(CoinbaseCommerce\PaymentGateway\Block\Adminhtml\Order\View\Details), '/home/.www/shJn...', Array)

I have this same issue. Are you find got any solution

Same issue here .... not compatible with 2.3.x I'm running on 2.3.3 in combination with PHP 7.2

same issue on M2 2.3.3 php 7.3

I have this same issue. Have you any solution?

Same issue using 2.3.4 and php 7.3. Is anyone working on any of these problems??

We solved it. Try:
/vendor/coinbase/coinbase-commerce-magento/Block/Adminhtml/Order/View/Details.php
lines: 44 ~ 63
public function getCoinsDetail()
{
    try {
        $record = $this->getCoinbaseRecord();
        $data['expectedCoins'] = $record->getCoinsExpected() . ' ' . $record->getReceivedCurrency();
        $data['amount'] = $record->getCoinsReceived() . ' ' . $record->getReceivedCurrency();
        $data['status'] = $record->getCoinbaseStatus();
        $data['code'] = $record->getCoinbaseChargeCode();
        $data['transactionId'] = $record->getTransactionId();
        $data['totalPaid'] = $record->getTotalPaid();
        $data['orderPlacedCurrency'] = $this->getOrder()->getOrderCurrencyCode();
    } catch (\Exception $e) {
        $data['expectedCoins'] = '';
        $data['amount'] = '';
        $data['status'] = '';
        $data['code'] = '';
        $data['transactionId'] = '';
        $data['totalPaid'] = '';
        $data['orderPlacedCurrency'] = '';
    }

Hi folks, unfortunately we are moving towards deprecating support for the Magento plugin as it hasn't captured enough audience for us to maintain it at this time. However, we may come back to it in the future. The php SDK however will be kept alive. Feel free to clone this repository to make modifications for your use, which it seems by now you may have, or post any PR's you would like to fix for the php SDK to share with the community. Sorry we couldn't be more helpful at this time.


Update 4-add-branch-protections.md

This pull request includes a minor but important change to the instructions in the .github/steps/4-add-branch-protections.md file. The instruction to click Add branch protection rule under "Branch protection rules" has been updated to click Add classic branch protection rule. This change ensures that the instructions are accurate and up to date with the current user interface.

This step also confused me as it doesn't match what a user sees when clicking through settings --> branch. I hope this pull request gets merged.


0xbc95fae6239b6115e639dd42d0a1a8596a13af6d

0xbc95fae6239b6115e639dd42d0a1a8596a13af6d

Originally posted by @Mehrnazibi in https://github.com/Mehrnazibi/web3modal/issues/1#issuecomment-1107941350

Sorry, your issue will be closed as you did not submit your information in the correct format.Please resubmit.

0xbc95fae6239b6115e639dd42d0a1a8596a13af6d

0xFe48C5588D6116D5827F3AA4911D23B6F784F3C8

I did list this so close it

Close  I don't care anymore.

Close


3.13.0 images missing architecture builds

All the new released 3.13.0 images seem to be missing the build for each architecture (or even all architectures?)
The tags are there but no architectures: https://hub.docker.com/_/python/tags?name=3.13.0
Trying to pull an image also fails with missing arch in the manifest:
# docker pull python:3.13.0
3.13.0: Pulling from library/python
no matching manifest for linux/amd64 in the manifest list entries
# docker pull python:3.13.0-alpine
3.13.0-alpine: Pulling from library/python
no matching manifest for linux/amd64 in the manifest list entries

Looks like this was fixed ~7 hours ago.


MacosSearchField does not execute the onResultSelected function

Description
When an item from the MacosSearchField is selected, the onResultSelected function of the field itself and the onSelected function of the selected SearchResultItem is not called.
Steps To Reproduce

Go to the Fields page of the example project
Type something in one of the search fields
Select one of the options
This should print the selected SearchResultItem to the console. This does not happen.

After testing, I found out that removing the lines 245 and 246 of the search_field.dart file resolves the error:
} else {
   _overlayEntry.remove();

But I am not sure if this breaks some other intended behavior.

I tested the problem a bit more, my solution above did not work as I thought.
My new solution is to wrap the overlay with a TextFieldTapRegion, this keeps the TextField in focus when a button in the overlay is pressed.
If you want, I can create a pull request that solves the Issue.

Hi @FelixMethe, thanks for reporting this bug. I've verified it. A PR fixing it would be most welcome, thanks!


This script is not yet supported on macOS Catalina

Successfully prompted for Mac password.Checking for /var/db/FileVaultPRK.dat on macOS 10.13+...Issuing new recovery key...[WARNING] fdesetup exited with return code: 99.See this page for a list of fdesetup exit codes and their meaning:https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/fdesetup.8.htmlDisplaying "failure" message...
Error running script: return code was 99.

Can you provide some context around this error? How many Macs are affected?
Does sudo fdesetup changerecovery -personal -norecovery -verbose work on the affected Mac(s)?

To his defense I mass deployed the script to several machines as well and have not been able to find any information on exit code 99 and I have a lot of machines affected by it.
Script result: No logo provided, or no logo exists at specified path. Using FileVault icon.
Alerting user gasubra about incoming password prompt...
Prompting user for their Mac password...
Prompting user for their Mac password (attempt 2)...
Successfully prompted for Mac password.
Checking for /var/db/FileVaultPRK.dat on macOS 10.13+...
Issuing new recovery key...
[WARNING] fdesetup exited with return code: 99.
Displaying "failure" message...


Can't load .svg images

I'm using vue-cli to serve an app on localhost:8888, the image shows when inside a normal component, no cors issues, but the same code doesn't work with vue-html2pdf.

:html-to-pdf-options="{
     html2canvas: { useCORS: true}
}

Why doesn't it work? anyone can provide a working example on how to load images.

Hmmm that doesn't look like a remote image, is the image in your local files?
So my assumption for now is the image path on the src might be wrong.
Enabling the config html2canvas: { useCORS: true} is for images that is from a remote server/link.
Have you tried enabling the prop show-layout to true to see your layout and if the image loaded?
For a working sample you could see me demo project for this package on the links below:
Source Code
Live Demo
You could fork or clone it and play with it, there is a sample there on loading images

@kempsteven I actually tried the same code in the vue template and it's working, so I guess that's fine there's no issue with the the image path.
The same code doesn't work for the pdf, I just added the useCors: true to see if it changes anything, but no it's has no effect cause it's useless here as you mentioned. So where's the issue exactly? I expected local files to work out of the box ...
Even an absolute path _http://localhost:8888/svg/logo.svg_ doesn't work by the way :/

Ohh okay cool, thanks for telling I wasn't aware we can't load .svg images

You're welcome, now you can implement that too. Actually it took me some time to resolve the issue since I supposed that svg is supported out of the box.

why .svg is not supported then ?? @kempsteven

Hey @bhushan, this is an issue with html2pdf.js
as mentioned by the creator here
You could try and do this using the html-to-pdf-options props:
sample:
:html-to-pdf-options="{
     // Other options here
     html2canvas: {
       // Other options here
        onclone: (element) => {
            const svgElements = Array.from(element.querySelectorAll('svg'));
            svgElements.forEach(s => {
                const bBox = s.getBBox();
                s.setAttribute("x", bBox.x);
                s.setAttribute("y", bBox.y);
                s.setAttribute("width", bBox.width);
                s.setAttribute("height", bBox.height);
          }
     }
}"


Identity: log unauthorized for RPC

Coverage: 82.684% (+0.02%) from 82.667% when pulling 6410786a4bf974c2c56be3868fee281adeb43615 on dissoupov into ed08098907285cc7f7e546d99af7c0788bd1c48f on main.


Loading the environment with episode length of 150 instead of 500

Is it true that the code loads the environment with episode length of 150 instead of 500?
alf.config(
    'create_environment',
    env_name=env_name,
    num_parallel_environments=num_of_parallel_envs,
    env_load_fn=partial(
        suite_metaworld.load_mt_benchmark,
        sample_strategy=sample_strategy,
    ),
    nonparallel=False)

alf.config(
    'create_eval_environment',
    env_name=env_name,
    num_parallel_environments=1,
    env_load_fn=partial(
        suite_metaworld.load_mt_benchmark,
        sample_strategy='robin',
    ),
    nonparallel=True)

This is the environment loading function
@alf.configurable
def load_mt_benchmark(environment_name,
                      env_id=None,
                      discount=1.0,
                      max_episode_steps=150,
                      seed=0,
                      sample_strategy='uniform',
                      sample_goal=False,
                      gym_env_wrappers=(),
                      alf_env_wrappers=()):
    assert environment_name in ['mt10', 'mt50']
    if environment_name == 'mt10':
        mt_benchmark = metaworld.MT10(seed=seed)
    else:
        mt_benchmark = metaworld.MT50(seed=seed)
    envs = []
    goal_dict = {} if sample_goal else None
    random.seed(seed)
    for env_name, env_cls in mt_benchmark.train_classes.items():
        print(env_name)
        env = env_cls()
        env_tasks = [
            task for task in mt_benchmark.train_tasks
            if task.env_name == env_name
        ]
        task = random.choice(env_tasks)
        env.set_task(task)
        if goal_dict is not None:
            goal_dict[env_name] = env_tasks
        if not max_episode_steps:  # None or 0
            max_episode_steps = env.max_path_length
        max_episode_steps = min(env.max_path_length, max_episode_steps)
        env = suite_gym.wrap_env(
            env,
            env_id=env_id,
            discount=discount,
            gym_env_wrappers=gym_env_wrappers,
            alf_env_wrappers=alf_env_wrappers)
        envs.append(env)
    environment_name_list = [t[0] for t in mt_benchmark.train_classes.items()]
    mtenv = MultitaskMetaworldWrapper(
        envs,
        task_names=environment_name_list,
        goal_dict=goal_dict,
        sample_strategy=sample_strategy,
        env_id=env_id)
    mtenv = alf_wrappers.TimeLimit(mtenv, duration=max_episode_steps)
    return mtenv

We use 150 for MetaWorld tasks, as Table 8 in A2.2 mentions.
MetaWorld v2 changes all tasks' reward functions and extends the default max episode length to avoid potential failure due to insufficient length. The max episode length is not part of the task MDP and can be adjusted by users. (There's no 'done' signal return, and the success evaluation is based on the existence of success in the trajectory. )
However, during training, we observed

150, the length used in v1 implementations, is enough to finish the tasks. Most tasks have plenty of remaining time after success, even in the 150 cases. Generally, finishing tasks faster is better, although this does not affect the success rate. See examples of successful tasks in episode of 150 steps.

setting max_path_length too long would make the training less efficient for single and multi-task training. Using the baseline and our method, it takes more steps to reach similar performance. If all the methods are using the same max_path_length, t
hen the comparison is fair.

Choosing a different max_path_length or using the default one should not affect the proposed method and the baselines much.

Hi, thanks for the quick response!
Couple of follow ups:

In figure 7, it says Compositional vector for each task in MT10-fixed task. This is a policy reaching 100% success rate for all fixed-goal tasks. Can you explain a little bit more about what does it mean? If it reaches 100% for all fixed-goal tasks, then why the result in Table 4 is not 100% (ie. 93.3 ± 5.8 %)?
When I tried to run the code, somehow the environment is not reseting automatically. It gave me ValueError: Maximum path length allowed by the benchmark has been exceeded. The trace comes from metaworld.envs.mujoco.mujoco_env.MujocoEnv.do_simulation(). I guess because the curr_path_length is not being reset when reset is called. Or did I miss something? This is the code from metaworld.envs.mujoco.sawyer_xyz.sawyer_xyz_env.SawyerXYZEnv.reset()

    def reset(self):
        if not self.isV2:
            self.curr_path_length = 0
            return super().reset()
        else:
            obs = np.float64(super().reset())
            self._prev_obs = obs[:18].copy()
            obs[18:36] = self._prev_obs
            return obs

For 2, seems like it is caused by a PR two weeks ago on metaworld repo (Fixing issues #401). What is left is the first question, hope you can explain a little bit more. Thanks!

In figure 7, it says Compositional vector for each task in MT10-fixed task. This is a policy reaching 100% success rate for all fixed-goal tasks. Can you explain a little bit more about what does it mean? If it reaches 100% for all fixed-goal tasks, then why the result in Table 4 is not 100% (ie. 93.3 ± 5.8 %)?

Thanks for your interest in our work! And great you already resolved the first question.
For your second question:

In Figure 7,  we show the compositional vectors learned during  one training session. For this particular training session, the final evaluation performance of the trained policy is ~ 100% (fixed goals).  There is no particular reason for using this particular training session. Others could also be used.
The final performance of the policies from difference training sessions (with different random seeds) can be different, due to randomness in NN initializations etc.  The result you mentioned in Table 4 reflects exactly this aspect: the evaluation performance averaged across multiple training sessions is 93.3% and the std is  5.8%.

Please let us know if you have any further questions.

Got it, that's very clear. Thanks!


Remote access to Microk8s Cluster running on a MacOS

Summary

I have installed Microk8s on MacOS(intel) which is using multipass behind the scene to spin up mick8s vm.
It is running fine and I am able to access it locally.
However, I am unable to access(for ex. run kubectl commands) remotely using my local machine (Wifi in this case to which my Mac with microk8s installed and local machine connected to. )
Used microk8s config to gather the config and saved it to .kube/config on my local machine by modifying the server
Is there any config that I could set to access it on remote network.
Local machine (MacOS)
multipass version
multipass   1.13.1+mac
multipassd  1.13.1+Mac

% microk8s status
microk8s is running
high-availability: no
  datastore master nodes: <IP_ADDRESS>:19001
  datastore standby nodes: none
addons:
  enabled:
    dns                  # (core) CoreDNS
    ha-cluster           # (core) Configure high availability on the current node
    helm                 # (core) Helm - the package manager for Kubernetes
    helm3                # (core) Helm 3 - the package manager for Kubernetes
  disabled:
    cert-manager         # (core) Cloud native certificate management
    cis-hardening        # (core) Apply CIS K8s hardening
    community            # (core) The community addons repository
    dashboard            # (core) The Kubernetes dashboard
    gpu                  # (core) Automatic enablement of Nvidia CUDA
    host-access          # (core) Allow Pods connecting to Host services smoothly
    hostpath-storage     # (core) Storage class; allocates storage from host directory
    ingress              # (core) Ingress controller for external access
    kube-ovn             # (core) An advanced network fabric for Kubernetes
    mayastor             # (core) OpenEBS MayaStor
    metallb              # (core) Loadbalancer for your Kubernetes cluster
    metrics-server       # (core) K8s Metrics Server for API access to service metrics
    minio                # (core) MinIO object storage
    observability        # (core) A lightweight observability stack for logs, traces and metrics
    prometheus           # (core) Prometheus operator for monitoring and logging
    rbac                 # (core) Role-Based Access Control for authorisation
    registry             # (core) Private image registry exposed on localhost:32000
    rook-ceph            # (core) Distributed Ceph storage using Rook
    storage              # (core) Alias to hostpath-storage add-on, deprecated
 % multipass list
Name                    State             IPv4             Image
microk8s-vm             Running           <IP_ADDRESS>     Ubuntu 22.04 LTS
                                          <IP_ADDRESS>
 %

Netwok
% multipass networks --format yaml
en0:
  - type: wifi
    description: Wi-Fi
%

% ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
....
....

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=400<CHANNEL_IO>
	ether a4:5e:60:d2:2e:b1
	inet6 fe80::107d:f0df:8311:41a0%en0 prefixlen 64 secured scopeid 0x4
	inet6 fd5d:815d:f57e:e646:80:35f3:23a5:2ab4 prefixlen 64 autoconf secured
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
en2: ...
.....
....
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether 82:13:03:4e:6c:c0
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 6 priority 0 path cost 0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 5 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	options=400<CHANNEL_IO>
	ether 06:5e:60:d2:2e:b1
	media: autoselect
	status: inactive

bridge100: flags=8a63<UP,BROADCAST,SMART,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether a6:5e:60:2d:53:64
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>
	inet6 fe80::a45e:60ff:fe2d:5364%bridge100 prefixlen 64 scopeid 0x13
	inet6 fd89:fee7:7b8b:b4af:11:8dda:c7e0:8332 prefixlen 64 autoconf secured
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: vmenet0 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 18 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
%

bridge100 is multipass bridge network and en0 is local Wifi
% kubectl get pods -A
NAMESPACE     NAME                                     READY   STATUS    RESTARTS      AGE
kube-system   coredns-864597b5fd-4t46p                 1/1     Running   1 (24h ago)   24h
kube-system   calico-kube-controllers-77bd7c5b-5nv2z   1/1     Running   1 (24h ago)   24h
kube-system   calico-node-ff2wk                        1/1     Running   1 (24h ago)   24h
 %

What Should Happen Instead?

Connetion successful from remote machine.
Reproduction Steps

Install microk8s on MacOS which uses multipass and creates bridge network.
Try accessing using kubectl command from remote machine. (By copying and modifying he kubeconfig)

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

Hi @tarunfeb27
The microk8s installer creates a multipass VM on the macOS machine, which uses a local bridge for networking. In order to reach the multipass VM from another host in your network, things you can do include (admittedly, all of them come with shortcomings and tradeoffs between simplicity/stability):

If the microk8s VM is running on <IP_ADDRESS> and uses the local bridge <IP_ADDRESS>/24, you can tell your other machines on the network to route the traffic by doing the equivalent of:

ip route add <IP_ADDRESS>/24 via <IP_ADDRESS>

Edit the multipass configuration of the machine, to add an extra network interface on the host network. This would make the multipass VM get an extra IP in the <IP_ADDRESS>/24 subnet. Then, you can replace the IP in the kubeconfig file and use that from a remote machine.

Create a port forward configuration on your macOS machine that forwards traffic to the multipass VM port 16443. That way, other machines on your network can just reach microk8s at <IP_ADDRESS>:16443

Which of the above helps most depends on your setup and use-case.

@neoaggelos Thank you so much ! Worked using the route option on my machine.
Please close. :)


Scroll on Collaborators tab on mobile breakpoint doesn't work

Title says it. On mobile sizes specifically, scroll doesn't work when the Collaborators tab is selected. Replicated this on my iPhone 16 Pro, plus on Chrome's mobile device screen size in devtools. (drag to scroll)
Briefly tried to track it down without success - it's not an immediately obvious overflow property issue, size issue, etc.

This also happens for me on Android (Chrome)

Beautiful, thank you!
On Thu, Nov 7, 2024 at 7:23 AM Jonny Spicer @.***>
wrote:

Closed #78 https://github.com/Sage-Future/fatebook/issues/78 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/Sage-Future/fatebook/issues/78#event-15184514979, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPR32MS63RGG53BFXV34O3Z7OAV7AVCNFSM6AAAAABQSTEZ56VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGE4DINJRGQ4TOOI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Azure Function app not removing old files after deployment using zipdeploy

I am trying to publish my functions into azure function app but my old functions are not getting removed after deployment. My new deployment package does not contain the old functions but they are still present in wwwroot kudu directory. I am using Azure RM module and Zipdeploy to publish my package.

Does it refresh correctly if you retry? Please share the command you are using and the app name
https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately

I have tried multiple deployments but it only updates files that are in the zip package. It does not remove old functions that are not in current package which was deployed previously.
I am using the below command to do the deployment
Invoke-RestMethod -Uri $apiUrl -Headers @{Authorization=("Basic {0}" -f $base64AuthInfo)} -UserAgent $userAgent -Method PUT -InFile $zipPackagePath -ContentType "multipart/form-data"
Below is the details of function execution
2021-02-11T08:07:36.266789626Z: [INFO]        Executing 'IoTHubMessagesRedirectFunc' (Reason='This function was programmatically called via the host APIs.', Id=191d38ff-8ded-4212-b2c9-19ac0adc5983)
2021-02-11T08:07:36.723087812Z: [INFO]  info: Function.IoTHubMessagesRedirectFunc[2]
2021-02-11T08:07:36.723137617Z: [INFO]        Executed 'IoTHubMessagesRedirectFunc' (Succeeded, Id=191d38ff-8ded-4212-b2c9-19ac0adc5983, Duration=459ms)/appsvctmp/volatile/logs/runtime/7364f2d1752025035653de64917403bd0d95d14bebcb19cc6c6a40835f297a7a.log

This issue has already been raised on Kudu team here : https://github.com/projectkudu/kudu/issues/3183
Please have patience until it is fixed.
@sanchitmehta Can you please have a look at this issue

Closing this issue it will be tracked with corresponding kudu issue https://github.com/projectkudu/kudu/issues/3183


fix: Add crossorigin="use-credentials" to the manifest.json link in index.html

Describe the feature request
When using Oauth2-Proxy as forwardAuth in Traefik for gatus, the session cookie will not be sent when requesting the manifest.json. Therefore the manifest.json cannot be fetched because of missing CORS policy.
To fix this issue it would suffice to add crossorigin="use-credentials" to the link for the manifest.json in the header of the index.html.
Would this be possible? If necessary, i can try to create a pull request.
Why do you personally want this feature to be implemented?
No response
How long have you been using this project?
No response
Additional information
No response

Sure, feel free to create a PR!


Infinite timeouts with job_please call

Hey!
I've been looking through the various job queue + worker libraries and I really like what I see here. My primary concern at the moment has to do with the infinite timeout you're using at https://github.com/koudelka/honeydew/blob/master/lib/honeydew/worker.ex#L45 for when a worker is waiting on a job.
While I understand why you're going that route, it's in general best to avoid these. This is particularly true when it blocks a GenServer. The worker process will be unable to respond to any debug or system messages it receives during that time, and its process inbox could fill up indefinitely.
As an alternative, have you considered the general approach taken by the proposed GenRouter architecture? Essentially, each worker would notify either your queue or perhaps an additional Scheduler process that it is available. Then, when a task comes in, the queue would just grab that a pid from its list of available worker pids and send the task off.
I do think there's value to doing it in another process honestly. In that scenario, your queue would also notify the scheduler when a new item arrives, and the scheduler would maintain a count of those items. Then if the count > 0 and a worker says its free, it can match up the job with the worker immediately. In this way you avoid blocking any genservers for an extended period of time.
Thoughts?

Hey @benwilson512,
I think your critique is spot on and that's a change I'd love to make.
I was attempting to emulate a blocking job pull (sort of like a BRPOP is redis), thinking that maybe I wouldn't have to track a list of pids, but I ended up instead tracking a list of call replies anyways, it seems. At the time, it seemed like a simpler approach.
GenRouter looks wonderful and a great fit for Honeydew. With 1.3 on the horizon, though, I have to wonder if attempting to implement a homebrew version of it would be a bad idea (and probably a waste of time, since I'd trust GenRouter over my own code).
Separating out the queue and scheduler (load balancer?) would be really cool. I'm all about modularity. The current implementation has felt monolithic to me for some time now.

Fixed, see #3.


alternative for "android.app.Notification.FLAG_INSISTENT"

Is there another way to repeat the notification sound aside from "FLAG_INSISTENT"?
Cause my problem is that I have an audio playing in my app, then when a new notification appears with looping sound, the audio playing in my app stops.
I tried to remove
android.app.Notification.FLAG_INSISTENT
from line 240 in Notification.java.
The result was, the audio playing in my app didn't stop but the notification sound plays only once.
So, I want to keep the looping notification sound without affecting the audio playing in my app.
Any HELP is appreciated. TIA.

AFAIK there isn't. They changed bunch of notification stuffs in android Oreo but I don't think this would be included in it.

OIC, thanks


react-dnd v5.0.1

It looks like v5.0.1 was not published for the react-dnd package but was for the html5-backend. Unless I am mistaken shouldn't these versions always be in lockstep?

So with lerna the version always ticks along, but whether or not to publish a package depends on:

Did the source code for that package change in git?
Is it downstream, topologically of a package that did change in git?

In our case, 5.0.1 was a change to the testBackend, but since no packages depend on it, the version change stops propagation there.


feat: save location name in a shared preference

fixes #159
Now events can be loaded automatically when the user opens the app

@iamareebjamal I tried to fix the failing dependency test but I wasn't able
org.koin.error.BeanInstanceCreationException: Can't create bean Factory[class=org.fossasia.openevent.general.event.EventsViewModel, binds~(android.arch.lifecycle.ViewModel)] due to error : java.lang.NullPointerException
Could you please help

@iamareebjamal Did all the requested changes please review

PR updated, please review


Mass sms/email

Ability to send out a particular sms/email to all users/specific users with either or but specifically sent individually e.g. Not seeing other users numbers or emails in sent message.
I found two references for laravel and twilio in this regard for the sms side at least
https://www.twilio.com/blog/send-bulk-sms-twilio-laravel-php
https://www.twilio.com/blog/create-sms-portal-laravel-php-twilio

Can now create and send individual texts to all users with phone numbers (others are skipped). Can now create and send individual  emails to all users.  Feature is on Settings page - may be moved, eventually.


Changing Color of Navbar Items

The colour of Navbar Items - Home, Category etc is not visible against the background. I would like to change that.

@Swap-nil-2003 ....the navbar is quite good and clear can you explain to me about what changes are you talking about

In the mobile version, the Navbar Items are not visible clearly due to the background.

@Swap-nil-2003  Oh ohkay it would be great if you can work on it 😄

Can I please do it under Hacktoberfest tag??


chore: use wait-on instead of wait-for

Summary
as for suggest https://github.com/smooth-code/jest-puppeteer/issues/124, use wait-on instead of wait-port.

Thanks!


Implementation

Hi , great work of this project , congratulations , it works perfectly .
Here are some ideas that would be nice to have in future :

an option to stream without login (using m3u) to use in kodi and other similar streaming tools

We have (TV Shows , Movies & Other Videos) on main menu , what about adding "Audio" to it and select if it is an album or not.

Automated subtitle search for movies and tv shows  , for this you can use opensubtitles.org

Thank you for this very cool tool .

I love the idea of also having music in Streama. Actually I checked it out because on some site (I don't remember the link anymore) it said that Streama is an open-source video and audio streaming server.

There are a few cool audio music servers open source on the web , like :
Ampache http://ampache.org/  <- Needs login and Password
mstream https://github.com/IrosTheBeggar/mStream  <- Login & Password are optional
However it would be nice to have a full streaming server with all the stuff , instead using multible tools for streaming on multiple web tcp ports .

@peterpt I totally agree!


Integration with LM-Eval-Harness

Is your feature request related to a problem? Please describe.
Since lm-eval-harness is going to be one of the de facto eval benchmark repo, I believe documenting the way to integrate alfred with it will be great. Since if a person wants to evaluate with Alfred, he/she has to set up the eval scripts/prompt templates by themselves, I believe this can be ameliorated if there's an integration with lm-eval-harness.
Describe the solution you'd like
An extra piece of code that connects both.
Additional context
I will work on this. Welcome any suggestions on how to make this work.

Closing this because I feel like Alfred is targetted for weak supervision.


Add the Looped Mars USDC token

Description
Adding a vault token minted on Osmosis: factory/osmo1vf6e300hv2qe7r5rln8deft45ewgyytjnwfrdfcv5rgzrfy0s6cswjqf9r/mars-usdc-looped. The Registry PR is here: https://github.com/cosmos/chain-registry/pull/5244
Checklist

Adding Assets

If adding a new asset, please ensure the following:

[x] Asset is registered to the Cosmos Chain Registry.
[x] Add asset to bottom of zone_assets.json.

[x] chain_name and base_denom are provided and use values exactly as defined at the Chain Registry.
[x] path is provided, and the IBC channel referenced is registered at the Chain Registry (unless native to Osmosis).
[x] osmosis_verified is set to false
[ ] listing_date_time_utc is specified and accurate
[ ] Optional: transfer_methods, peg_mechanism, override_properties, canonical, categories, where necessary (see README for details).

This needs a logo image and probably should have a better symbol, too

This needs a logo image and probably should have a better symbol, too

Honestly I'm just going to close this, this isn't a token that needs to be tradeable, I just needed it to show up in the registry to keep balance lookups consistent in React.


Issue sending OCS messages ESP32 to Chataigne

Hello Thomas,
I have run into an issue with sending OSC messages from an ESP32 connected with ethernet to my laptop running Chataigne.
And I would like to know if you can help me out to find if the issue is coming from the MicroOSC library that I am using.
The following things that I have tried seem to work properly:

Sending OCS messages from Max 8 to Chataigne via Updsend.
Sending OCS messages from another computer connected via ethernet to Chataigne running on my laptop.
Connecting the ESP32 via WiFi instead of ethernet and sending OCS messages to the ESP32 from Chataigne.
Sending OCS messages from Chataigne to ESP32 via ethernet.

I also checked if the port in Chataigne matched with the port on the ESP32, which it did.
But i couldn’t make it to send OCS messages from the ESP32 to Chataigne, not via ethernet neither via WiFi.
I don’t know yet if the issue is coming from the ESP32 itself or the MicroOSC library.
I will attach the code to this issue file so you can have a look at what's happening.
The code contains the ethernet setup and makes the EPS32 send a OCS message every 1000ms and enables it to receive a OSC message.
I hope I gave you all the necessary  information and I look forward to your reply.
If you any questions, please let me know!
Greetings,
Omar
// Libraries
#include <ETH.h>
#include <WiFiUDP.h>
#include <MicroOscUdp.h>

// Global Variable declaration
static bool eth_connected = false;
unsigned long myChronoStart = 0;

// network settings
WiFiUDP ESPUdp;
IPAddress ComputerIP(0, 0, 0, 0);
IPAddress localIP(0, 0, 0, 0);
IPAddress Gateway(0, 0, 0, 0);
IPAddress Subnet(0, 0, 0, 0);
unsigned int myReceivePort = 0000;
unsigned int mySendPort = 0000;

WiFiClient ethclient;

// OSC settings
MicroOscUdp<1024> myMicroOsc(&ESPUdp, localIP, mySendPort);

void setup()
{
  // Serial Monitor delay
  Serial.begin(115200);
  delay(2000);

  // start ethernet connection
  WiFi.onEvent(WiFiEvent);
  ETH.begin();
  ETH.config(localIP, Gateway, Subnet);
  if (eth_connected) {
    Serial.println("Ethernet Connected");
  }

  Serial.println(ETH.localIP());
  ESPUdp.begin(myReceivePort);
}

void loop()
{
  myMicroOsc.onOscMessageReceived(myOnOscMessageReceived);

  if (millis() - myChronoStart >= 1000) //SEND OCS MESSAGE
  {
    myChronoStart = millis();

    myMicroOsc.sendInt("/send", 123);
  }
}

void myOnOscMessageReceived(MicroOscMessage& oscMessage) // RECEIVE OSC MESSAGE
{
  if (oscMessage.checkOscAddress("/receive"))
  {
    int message = oscMessage.nextAsInt();
    Serial.println(message);
  }
}

// ethernet
void WiFiEvent(WiFiEvent_t event)
{
  switch (event) {
    case ARDUINO_EVENT_ETH_START:
      Serial.println("ETH Started");
      // set eth hostname here
      ETH.setHostname("esp32-ethernet");
      break;
    case ARDUINO_EVENT_ETH_CONNECTED:
      Serial.println("ETH Connected");
      break;
    case ARDUINO_EVENT_ETH_GOT_IP:
      Serial.print("ETH MAC: ");
      Serial.print(ETH.macAddress());
      Serial.print(", IPv4: ");
      Serial.print(ETH.localIP());
      if (ETH.fullDuplex()) {
        Serial.print(", FULL_DUPLEX");
      }
      Serial.print(", ");
      Serial.print(ETH.linkSpeed());
      Serial.println("Mbps");
      eth_connected = true;
      break;
    case ARDUINO_EVENT_ETH_DISCONNECTED:
      Serial.println("ETH Disconnected");
      eth_connected = false;
      break;
    case ARDUINO_EVENT_ETH_STOP:
      Serial.println("ETH Stopped");
      eth_connected = false;
      break;
    default:
      break;
  }
}

Hi, can you share an example Châtaigne projet to test?

Hi, thanks for you reply.
You can send a test message to the ESP32 via the command tester under the OCS module.
Messages from the ESP32 to Chataigne should auto-add and be visible in the logger when something is received.
You only have to fill in the Local Port, Remote Host and Remote Port in Chataigne.
And fill in the following values in the code:
IPAddress ComputerIP(0, 0, 0, 0);   IPAddress localIP(0, 0, 0, 0);    unsigned int myReceivePort = 0000;   unsigned int mySendPort = 0000;
Chataigne_Github_Test.noisette.zip

Hi, again,
I noticed the <IP_ADDRESS> adresses in your code, but that is not a valid address. I believe certain libraries even consider it a null non-determined address.
Also, you are settings the computer and the ESP32 to the same address. If you are relying on Zeroconf, you have to code it in Arduino and set the proper IP adresses when they are determined.

Hi,
Yes that's correct I put them all on 0000 in this example code.
But I will share the code and chataigne file again where I configured everything.
I hope this makes it more clear.
Greetings!
Github.zip

In
// OSC settings
MicroOscUdp<1024> myMicroOsc(&ESPUdp, localIP, mySendPort);

should it not be ComputerIP instead of localIP?
It is confusing as your naming in not standard:
IPAddress ComputerIP(0, 0, 0, 0);
IPAddress localIP(0, 0, 0, 0);
unsigned int myReceivePort = 0000;
unsigned int mySendPort = 0000;

You would reduce confusion with the following:
IPAddress sendIP(0, 0, 0, 0);
unsigned int sendPort = 0000;
IPAddress myIP(0, 0, 0, 0);
unsigned int myPort = 0000;

Well look at this, everything works!
I think I just completely missed that wrong setting.
Thanks a lot for your time and tips! :)
Greetings,
Omar


Update dependencies 15-09-2020

tl;dr
This update failed due several dependency issues and will be postponed until react-scripts supports typescript@4
Available updates
ncu
Checking asgardex-electron/package.json
[====================] 89/89 100%

 @ant-design/icons                           ^4.2.1  →         ^4.2.2
 @devexperts/remote-data-ts                  ^2.0.3  →         ^2.0.4
 @openapitools/openapi-generator-cli  ^1.0.15-4.3.1  →  ^1.0.18-4.3.1
 antd                                        ^4.6.1  →         ^4.6.4
 electron-log                                ^4.2.2  →         ^4.2.4
 ethers                                      ^5.0.9  →        ^5.0.13
 fp-ts                                       ^2.8.1  →         ^2.8.2
 observable-hooks                            ^3.0.0  →         ^3.1.2
 react-intl                                  ^5.4.5  →         ^5.8.1
 react-scripts                                3.4.1  →          3.4.3
 rxjs                                        ^6.6.2  →         ^6.6.3
 styled-components                           ^5.1.1  →         ^5.2.0
 typescript                                  ^3.9.7  →         ^4.0.2
 @storybook/addon-actions                   ^5.3.19  →        ^6.0.21
 @storybook/addon-knobs                     ^5.3.19  →        ^6.0.21
 @storybook/addon-links                     ^5.3.19  →        ^6.0.21
 @storybook/addon-viewport                  ^5.3.19  →        ^6.0.21
 @storybook/addons                          ^5.3.19  →        ^6.0.21
 @storybook/react                           ^5.3.19  →        ^6.0.21
 @storybook/theming                         ^5.3.19  →        ^6.0.21
 @testing-library/jest-dom                  ^5.11.2  →        ^5.11.4
 @testing-library/react                     ^10.4.7  →        ^11.0.4
 @testing-library/user-event                ^12.1.0  →        ^12.1.5
 @types/jest                                ^26.0.8  →       ^26.0.13
 @types/node                                    ^13  →            ^14
 @types/react                              ^16.9.44  →       ^16.9.49
 @types/styled-components                    ^5.1.2  →         ^5.1.3
 @typescript-eslint/eslint-plugin            ^3.7.1  →         ^4.1.1
 @typescript-eslint/parser                   ^3.7.1  →         ^4.1.1
 concurrently                                ^5.2.0  →         ^5.3.0
 electron                                    ^9.1.2  →        ^10.1.2
 eslint-plugin-react                        ^7.20.5  →        ^7.20.6
 eslint-plugin-react-hooks                   ^4.0.8  →         ^4.1.2
 husky                                       ^4.2.5  →         ^4.3.0
 lint-staged                               ^10.2.11  →        ^10.3.0
 prettier                                    ^2.0.5  →         ^2.1.1
 testcafe                                    ^1.8.8  →         ^1.9.2
 ts-jest                                    ^26.1.4  →        ^26.3.0
 ts-loader                                   ^8.0.2  →         ^8.0.3
 ts-node                                    ^8.10.2  →         ^9.0.0
 wait-on                                     ^5.1.0  →         ^5.2.0

Issues
(1<EMAIL_ADDRESS>is not fully supported by latest<EMAIL_ADDRESS>(https://github.com/facebook/create-react-app/issues/9515). It causes eslint issues and needs to be updated to latest<EMAIL_ADDRESS>before. This needed change is already in master (https://github.com/facebook/create-react-app/pull/9434), but not published yet.
(2) testcafe does not support<EMAIL_ADDRESS>we will still stick with<EMAIL_ADDRESS>(3) Update to latest<EMAIL_ADDRESS>failed, it introduces type errors by using<EMAIL_ADDRESS>asgardex-electron/src/renderer/helpers/fpHelpers.ts
[dev:app] TypeScript error in asgardex-electron/src/renderer/helpers/fpHelpers.ts(18,38):
[dev:app] No overload matches this call.
[dev:app]   The last overload gave the following error.
[dev:app]     Argument of type 'Monad2<"RemoteData"> & Foldable2<"RemoteData"> & Traversable2<"RemoteData"> & Bifunctor2<"RemoteData"> & Alt2<"RemoteData"> & Extend2<...> & Alternative2<...>' is not assignable to parameter of type 'Apply<"RemoteData">'.
[dev:app]       Types of property 'ap' are incompatible.
[dev:app]         Type '<E, A, B>(fab: RemoteData<E, (a: A) => B>, fa: RemoteData<E, A>) => RemoteData<E, B>' is not assignable to type '<A, B>(fab: HKT<"RemoteData", (a: A) => B>, fa: HKT<"RemoteData", A>) => HKT<"RemoteData", B>'.
[dev:app]           Types of parameters 'fab' and 'fab' are incompatible.
[dev:app]             Type 'HKT<"RemoteData", (a: A) => B>' is not assignable to type 'RemoteData<unknown, (a: unknown) => unknown>'.
[dev:app]               Type 'HKT<"RemoteData", (a: A) => B>' is missing the following properties from type 'RemoteSuccess<(a: unknown) => unknown>': _tag, value  TS2769
[dev:app]
[dev:app]     16 |   return sequenceTOption(first, ...rest)
[dev:app]     17 | }
[dev:app]   > 18 | export const sequenceTRD = sequenceT(RD.remoteData)
[dev:app]        |                                      ^
[dev:app]     19 | export const sequenceTRDFromArray = <E, A>(onEmpty: () => E) => ([first, ...rest]: RD.RemoteData<

^ These errors are very similar as described in https://github.com/devexperts/remote-data-ts/issues/49
Due lack of time we will stick on<EMAIL_ADDRESS>for now.

We will give another try when react-scripts supports<EMAIL_ADDRESS>Closing now...


NIFI-12229 Refine NiFiRegistry client lifecycle: replacing actual client when SSL service changes

Summary
NIFI-12229
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

I feel like the reported problem could happen in any implementation of the Registry Client, not just this one. Instead of taking this approach that is quite specific to the SSL controller service, should we consider adding something at the framework level to trigger a "refresh" method anytime the configuration of the component is changed? It would then be up to the component to implement whatever makes sense in this refresh method. Thoughts?
Note: I'm fine with this approach to solve the immediate problem but I feel like we could have a more generic approach in case there are some other implementations of the Registry Client interface.

@pvillard31 @exceptionfactory  Thanks for the feedback!
As of this given case, the behaviour is specific to the way this particular implementation works. Other implementations, if they are caching some internal state depending on "controller service" property might have a similar challenge.
@exceptionfactory You are perfectly right, the Flow Registry Client currently has no such lifecycle states like active-deactivated, that is correct. At the time of changing the Client to a component, this was an intentional choice due to the number of questions would come with this behavioural change (and due to avoiding any break in the previous behaviour). The questions include: what should happen with the existing versioned flows when the registry is deactivated? It looks like a different case compared to the situation when the registry is unintenionally unreachable and might result some confusion. An other possibility you mention is to "hook on" some existing event like validation or as you mention, the (de)activation of the dependent Controller Services but I am not aware of any support in the framework for this.
What I propose to do is to move on with this fix (which in some cases can cause misbehaviour as it is now) and for a wider scope solution it would be beneficial to start a discussion about the level of support we aim for: I can easily imagine that an additional hookpoint might be useful for other components as well.

Yeah, I think it's better to solve this at the framework level as well. The approach I would recommend would probably be to update the Registry Client Node object so that when validation is performed, if it goes from INVALID to VALID, we call any method annotated with @OnEnabled. That way, if a Controller Service that it uses were to be disabled and re-enabled, it would call the @OnEnabled method and that, in turn, would be responsible for recreating the underlying client based on the new SSL Context configuration.

As suggested I will raise a new PR with a framework level solution. I think, @markap14 's suggestion might be the best balance between feature richness and unnecessary complexity I will aim for that.


Add more parameters (androidAppId and iosBundleId) in devtools events.

Devtool PR: https://github.com/flutter/devtools/pull/8177

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

I am hesitant to add the iosBundleId parameter until we have more clarity around the PDD update approval, because then removing this parameter later would be a breaking change to unified_analytics.

PDD updates for deep link validation and impact tracking is approved, internal tracker: b/362324447.
reopening this PR

This looks like it stucks at "3 workflows awaiting approval"

The checks have passed!
I don't have write access to  merge this PR.


Document Node.js Crypto API support

Documents support for Node.js Crypto

[x] https://github.com/cloudflare/workerd/pull/923
[x] Released in EW
[ ] Once this is merged, https://github.com/cloudflare/cloudflare-docs/pull/10462

@deadlypants1973 — this is ready, can I get 👀 ✅ ?


[api] add OSC endpoint for OTA status

Scratch that.
Led status because wifi won't be connected on reboot?


Revised readme to reflect recent updates

I would add a section explaining that aca-py also can be deployed as a mediator or can be "connected" to a mediator by using Aries protocols (request meditation protocol)

@victormartinez-work -- good idea.  We'll add that shortly.


Can't get java stack frame when trace off-heap memory

Problem: The java stack frame is missed(run program with XX:+PreserveFramePointer) when profile heap, but it can be got using perf-java-flames

The java part is missing in above pprof picture.original pprof svg file, original heap data file

The java part is kept in above perf picture.original perf svg file, original perf data file

Reproduce:
java -XX:+PreserveFramePointer -jar pprof-test.jar
The simple maven project
The jar file for convient

Versions: java version "1.8.0_111",  gperftools-2.6.1, libunwind-1.2.1 and lastest pprof (go get github.com/google/pprof)
Though I installed and ldconfig libunwind, but when ./configure in gperftools I got configure: WARNING: No frame pointers and no libunwind. Using experimental backtrace capturing via libgcc. Expect crashy cpu profiler. So I --enable-frame-pointer, then it seems ok.

Env:  Linux  3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

@aalexand maybe interested in this.

The issue is that gperftools format for profiles does not support JIT-ted code. It will be a bit of a major project to support, which is unlikely to happen any time soon.

@louxiu if seeing the interpreter frames is needed then likely your best option at the moment for java is the new heap profiler in async-profiler .
Else tracing with perf/ebpf + uprobe on malloc should capture the full stack but without detail on what is executing in the interpreter frames.

@ceeaspb Thanks, I will check it. ;-)

Hi @alk , have been started to working on this? If you haven't started, I would like to share my work. 😃

I have not and still do not have any plans. Before you start anything, make sure to target latest format of pprof tools (now separate from gperftools at github.com/google/pprof).

I'm not quite sure that I solved the problem using the right way. I make a pull request based on current gperftools pprof. Could you check that first before I start to work on pprof at github.com/google/pprof.

On high level this change looks plausible. But, yes, I won't be merging it into perl pprof. It really belongs to new golang-based pprof.

See discussion on the pull request. If this is all about pprof, then it should go to github.com/google/pprof


Icon request - Not really an issue.

You icons are fantastics, no idea if you plan and expanding the current set but some icons that would be great to add:

hashtag
hamburger menu
3 dot menu without border
reply all
forward
cloud
paperclip / attachment
refresh / sync
plus without border
minus without border

This is very self serving obviously but you're icons are so good I figured I'd ask :)
K  I am done!
Great work!

Hey @ynnelson thank you so much, I could relay your request to the company behind Iconly icons, I've only made de react library for that great pack so I'm not able to release new icons, here is the original pack https://piqodesign.gumroad.com/l/iconly


e2e: use CurrentSpecReport for failed spec run

CurrentGinkgoTestDescription() has been deprecated in favor of CurrentSpecReport and this commit address the same.
Ref# https://github.com/onsi/ginkgo/blob/master/deprecated_dsl.go#L53
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

CurrentGinkgoTestDescription() has been deprecated in favor of CurrentSpecReport and this commit address the same.
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>
Can you please add link to where this is mentioned in the commit msg/ pr description please ?

CurrentGinkgoTestDescription() has been deprecated in favor of CurrentSpecReport and this commit address the same.
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>
Can you please add link to where this is mentioned in the commit msg/ pr description please ?

Done @Rakshith-R

Needs similar in e2e/cephfs.go.

updated there too @Rakshith-R

@mergifyio rebase

@Mergifyio rebase

@Mergifyio refresh


Added the possibility to use data in "portable" mode.

Added the possibility to use data in "portable" mode where the path to the data is specified in a file named portable. Not for UWP. The portable file must be next to the exe and in the first line contain the path to the directory to be used instead of %AppData%/grocy-desktop.
Please tell me what you think. I did it for myself, but maybe you will find it useful.

Grocy Desktop is meant to be the "just works" alternative way to run Grocy on Windows, hiding / auto-managing all the advanced (configuration) stuff a "noob" user doesn't know anything about (which is just fine).
That means for this, such a user doesn't care where user data is stored, that should also be auto-managed (using common default locations like %appdata%) - like it's done now.
Thanks anyways.


missing command line switch

If a user deletes the "%s" in the command line switch field in the client settings they effectively break the client -> following error will appear upon hosting/joining a game after that:
java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/init" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, The system cannot find the file specified

Please don't allow users to break the client by removing the content of the command line switch field

Yes we know that but thx for the issue and bringing it t my attention


Fix probe to avoid false negatives

Description
Checklist

[ ] Bump .version and .appVersion in k8s/crd/Chart.yaml
[ ] Bump .version and .appVersion in k8s/chart/Chart.yaml

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

Rebasing PR.


Dropdown doesn't work properly with Portals

Issue description

components: Dropdown, DropdownMenu
reactstrap version #6.1.0
import method es
react version #16.1.1
bootstrap version #4.1.1

What is happening?
I'm using both reactstrap and react-virtualized Table. Table has an overflow: hidden on its rows, so to show Dropdown properly I need to use Portals. Despite warnings about incorrect children for Manager, dropdown is shown perfectly well. But if I add a react-router Link (or any other customized <a> component with onClick property) here, everything breaks.
I'm not sure what the exact reason of this, but if I use Dropdown without a Portal, onClick handlers works, and if I use Portal, it is ignored completely.
What should be happening?
I expect Dropdown working for Portals as well as it works without it
Steps to reproduce issue

Create a simple component that uses DropdownItem with tag={Link}, where Link is a simple component that adds click handler with e.preventDefault().
Click on dropdown item.
Page will start to reload despite it is prevented.

Error message in console
No error message, page just starts to reload, because e.preventDefault() for <a> doesn't work
Code
Example (red dropdown does have portal, blue one does not).

Did some quick digging. This seems to be caused by handleDocumentClick which should be returning, but is instead calling toggle(), because the event target is outside of the container.

Quick example that works as expected. I'm happy to create a PR with a proper solution.

@xbojch Thanks! Hoping to see your PR approved and merged. Going to use your solution until it happens!

@Lodin, I think you can try to fix it without using portals. Pls, check DropdownWithoutPortal here. If I understood you correctly, it would be enough to add positionFixed={true} to a Dropdown menu. Yes, it isn't supported by reactstrap now, but an underlying library react-popper and popper.js itself supports it. This prop is passed through directly to react-popper in current implementation. Also recently I created a PR to Bootstrap, which should also support this.
If it helps, it would be great to add an official support for positionFixed property. @TheSharpieOne, what do you think?

@vepanimas you save my life today with positionFixed :)

Just a comment -- I don't think Portal's should be used for the dropdown. PositionFixed is a much better solution.

I disagree with @virgofx
What if you have a style up the DOM hierarchy that creates a new stacking context (for example, the transform style)? This will negate the effect of "position: fixed", and will be noticeable if even higher up the DOM hierarchy you have overflow:hidden.
I hope the PR will be merged as I had to resort to portals to workaround this.

<DropdownMenu positionFixed>
Solves this display problem (at least in our case), but results in a warning:
Warning: React does not recognize thepositionFixedprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasepositionfixedinstead. If you accidentally passed it from a parent component, remove it from the DOM element.

While position: fixed is simpler than using portals if it works for your use case, using portals is a reasonable approach.  I also vote for making Dropdown work with portals.

We've found Portal support inconsistent, specifically on mobile safari.  If Portal support is added as part of this issue, it should be validate in mobile Safari (emulator) explicitly as part of QA.
This issue is marked as closed, but I'm not sure it's actually fully resolved:
https://github.com/facebook/react/issues/11918

@drush Based on that thread, it sounds to me like it was fixed.  Either way, though, I think Reactstrap Dropdown should be Portal-compatible, even if it doesn't use portals itself.  If not, it should at least support a position-fixed mode.


Title and Citation

@SimonGreenhill, I just try to finalize the dataset, but we are missing the citation and the title. I have suggestion, based on the assumption that it was you and Lyle Campbell, who did the work with the data. But could you please advise me how you prefer to have this cited? Assuming the full board of authors of the paper to be submitted is also fine.

In this case, I'd suggest
{
  "title": "CLDF Dataset accompanying Greenhill et al.'s `"Origin of Uto-Aztecan`" from 2021",
  "citation": "Greenhill, Simon J., Hannah J. Haynie, Robert M. Ross, Angela M. Chira, Lyle Campbell, Carlos A. Botero, and Russell D. Gray (2021): A recent northern origin for the Uto-Aztecan language family. Leipzig: Max Planck Institute for Evolutionary Anthropology."
}

yes, but add yourself after Angela:
{
  "title": "CLDF Dataset accompanying Greenhill et al.'s `"Origin of Uto-Aztecan`" from 2021",
  "citation": "Greenhill, Simon J., Hannah J. Haynie, Robert M. Ross, Angela M. Chira, List, Johann-Mattis, Lyle Campbell, Carlos A. Botero, and Russell D. Gray (2021): A recent northern origin for the Uto-Aztecan language family. Leipzig: Max Planck Institute for Evolutionary Anthropology."
}

-- done in https://github.com/lexibank/utoaztecan/commit/af3793f513bc14a6b00acb3cb6364d352d20ca16