Is it possible to save the results automatically?

@paul-shannon
Hi!
I would like to save localhost to *.png or *.svg. The recorded image should contain all the displayed information: navigation panel, chromosome image, refseq, all tracks. Best solution would be to make a screenshoot.
I tried the webshot package but unfortunately it does not recognize localhost. I also tried to import the content back to Rstudio Viewer Pane but nothing came of it either.
I know that you can save each track by RMB on a given track and save as * .png or * .svg. but it's about saving it automatically after being generated.
Best!

@pioters Good suggestion.   It's a busy week so I may not get to this till the weekend.  But get to it I will!

@pioters  It took me longer to get around to this than I predicted.   But save to svg is now supported:

Version 1.5.10
saveToSVG(igv, filename)

Let me know if it does what you need.

Awsome! I'll get to it at the weekend.

Perfect. Works like a charm. Thank you!


Have trouble running the script

Hi, thank you very much for your work. I've seen your work and code, and I think the idea is great. But I ran into some problems while running it.
I ran to step 8 according to the readme file configured in the stand-alone environment, and then the following error was reported when running the script. I have verified the correctness of fast_sampler in step 6. So I want to ask which part could be causing the problem? Maybe it's torch-sparse or pyg problem? Although I didn't get an error when I only ran the pyg program in this environment, torch-sparse can also run normally.
+----------------------------------------+
+                TRIAL  0                +
+----------------------------------------+
Performing training
Train epoch 0:   0%|                                                                                | 0/90941 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/root/miniconda3/envs/pyg/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/root/miniconda3/envs/pyg/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/root/SALIENT/driver/main.py", line 298, in <module>
    run_driver(args, drv)
  File "/root/SALIENT/driver/main.py", line 146, in run_driver
    drv.train(range(epoch, epoch + delta))
  File "/root/SALIENT/driver/drivers/base.py", line 238, in train
    self.train_impl(self.model, train.barebones_train_core,
  File "/root/SALIENT/fast_trainer/train.py", line 256, in serial_train
    result = train_core(model, inp)
  File "/root/SALIENT/fast_trainer/train.py", line 15, in barebones_train_core
    out = model(batch.x, batch.adjs)
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/root/SALIENT/driver/models.py", line 46, in forward
    x = self.convs[i]((x, x_target), edge_index)
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch_geometric/nn/conv/sage_conv.py", line 131, in forward
    out = self.propagate(edge_index, x=x, size=size)
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch_geometric/nn/conv/message_passing.py", line 426, in propagate
    coll_dict = self._collect(self._fused_user_args, edge_index, size,
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch_geometric/nn/conv/message_passing.py", line 364, in _collect
    out['edge_index_i'] = edge_index.storage.row()
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch_sparse/storage.py", line 193, in row
    row = torch.ops.torch_sparse.ptr2ind(rowptr, self._col.numel())
  File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch/_ops.py", line 143, in __call__
    return self._op(*args, **kwargs or {})
RuntimeError: Not compiled with CUDA support
Train epoch 0:   0%|                                                                                | 0/90941 [00:00<?, ?it/s]
Exception ignored in: <function BaseDriver.__del__ at 0x7f14bf3394c0>
Traceback (most recent call last):
  File "/root/SALIENT/driver/drivers/base.py", line 118, in __del__
RuntimeError: Had unflushed logs when deleting BaseDriver

I didn't have any problem when I setup conda environment, and in this environment with GPUs, I can also run the pyg example code on the GPUs normally.

I'm a little confused by your reply. I suspect I am misunderstanding you. Are you claiming that it is unnecessary to setup the conda environment on a machine with CUDA support, and citing the fact that pyg examples pass as evidence? If so,
It is necessary to run all the steps in the installation setup on the GPU machine you intend to run on. This includes, notably, compiling the fast_sampler on the GPU machine. SALIENT will fail with the error you report if you fail to follow these instructions.
There are, of course, potential work around --- but they are only appropriate

Hello, thanks for the reply. I mean the following:

First, I have successfully installed all the required code according to your order in the README, and I have also successfully compiled the faster_sample library required in the code, then I can run the help(fast_sampler) in the python terminal, so I think it means SALIENT probably not causing the problem.
The reason why I mentioned successfully run the program on pyg is because I observed my error log, which seems to be a problem generated by torch_saprese.

File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch_sparse/storage.py", line 193, in row
     row = torch.ops.torch_sparse.ptr2ind(rowptr, self._col.numel())
   File "/root/miniconda3/envs/pyg/lib/python3.8/site-packages/torch/_ops.py", line 143, in __call__
     return self._op(*args, **kwargs or {})

So I described to you that I can run pyg correctly on the machine to show that, the pyg and torch_saprese also installed without problems. I thought it might be easier for you to troubleshoot errors.

Sorry for my previous incomplete reply. I am on vacation and have an unstable work/internet setup. I didn't intend to submit my previous comment --- which is why there are a few sentences that are started, but not completed. I updated that comment to complete the unfinished sentences, for posterity.
Although it might not be the advice you'd like to receive, the best debugging step here is to reinstall the conda environment fresh (i.e. use a different environment name) and complete the entire installation process end-to-end on the same machine that you intend to use for experiments (e.g. the GPU node)
There are a variety of errors that can occur when packages are downloaded or installed from a non-gpu machine with conda. Although there are workarounds, they are difficult to convey in a precise manner without spending a lot of time understanding your precise situation. The most economical advice is to reinstall everything in a fresh conda environment. (which shouldn't take more than 30 minutes or so) on the precise machine you intend to use for experiments.
Additionally, you should delete the entire salient repository and reclone it from GitHub. This advice is intended to clear all build directories from fast_sampler and, potentially, torch_sparse so that when you reinstall them on the GPU node it will actually recompile them instead of reusing the previously compiled object files.
During the development of salient we encountered the types of errors that you are reporting frequently as we on-boarded new students/contributors to the development process. In the past, these errors have always been due to some small deviation from the installation instructions For example, sometimes folks will accidentally try to install fast_sampler on a non-gpu instance, realize their mistake, and then try to reinstall on the GPU node. But, due to the object files already existing in the fast sampler's build directory, the recompilation on the GPU machine does not actually recompile the required objects.
Because it is hard to know what the precise issue is in your setup, a fresh installation is the best advice I can give. If you try it, and it still doesn't work, please send me details about your machine environment and your conda environment and I can take a closer look.
Cheers (from phone),
Tim


Support for H3HexagonLayer

Migrated from https://github.com/apache-superset/superset-ui-plugins-deckgl/issues/29

Is your feature request related to a problem? Please describe.
 Currently I'm forced to export it into a CSV, and load it into an ephemeral session on https://kepler.gl/demo
Describe the solution you'd like
I'd like this plugin to enable SuperSet visualizations using that type of layer, as it is already supported in deck.gl.
Describe alternatives you've considered
I'm not aware of any existing application that can do this.

Thanks! Moving to discussions (we're hoping to keep Github issues focused on bugs only)


DRAKE_SUGGESTED_VERSION staleness

The DRAKE_SUGGESTED_VERSION constant currently points to v1.13 (from February 15th, 2023) even though v1.19 was out in July and v1.20 is right around the corner.
Step 1 is to bump is to something newer.  I'll open a PR for that.
Step 2 is to enact a procedure to keep it pinned to the latest stable release.
How do we want do to that?  Have a GitHub bot remind us?  Or add a reminder to the https://drake.mit.edu/release_playbook.html?  Or ... ?

A reminder in the playback would be great!
\cc @IanTheEngineer @calderpg-tri

@rpoyner-tri we have a proposal for a new release playbook step.  Would you be willing to try it this time around, and update the playbook with new instructions?
The request is that after Drake is tagged, the release manager opens a new issue on this repository, remaking on the need to upgrade our Drake pin here.  This is similar in spirit to the existing step of opening the Drake issue to request a Docker pin update from Betsy.

Both steps are done.


adjust type constraints to allow mirror types in Streams

Changes
The basic idea is to crate a trait IntoIntoDart that can be used to convert a type to another type that then implements IntoDart. This can then be used as constraint for StreamSink to allow a type that converts to a mirror_type that then implements IntoDart.
I have some local changes that I didn't commit  yet. With some more generic impls and adjustments in the generator this removes explicit wrapping into mirror types basically everywhere, also in the generated code.
Fixes #1275
Checklist

[x] An issue to be fixed by this PR is listed above.
[x] New tests are added to ensure new features are working. End-to-end tests are usually in the ./frb_example/pure_dart example, more specifically, rust/src/api.rs and dart/lib/main.dart.
[x] The code generator is run and the code is formatted (via just precommit).
[x] If this PR adds/changes features, documentations (in the ./book folder) are updated.
[x] CI is passing.

Good job! Then I will wait until I can see the overall picture. Or feel free to provide some quick preview before implementing the whole thing for a quick review of ideas!

It works :D
For mirrored Types a Trait is generated that implements the add method on the matching StreamSink. For all Types that implement IntoDart themselves the StreamSinkTrait from the lib generates that method, so no code has to be generated for those types
Using the IntoIntoDart Trait also allowed removing the mirror_ wrapping in some other places

Great!

For all Types that implement IntoDart themselves the StreamSinkTrait from the lib generates that method, so no code has to be generated for those types

I like that :) We should not generate unnecessary things

Using the IntoIntoDart Trait also allowed removing the mirror_ wrapping in some other places

Also looks like good news!
I will review probably within 24 hours since really busy recently.

I just noticed i can get rid of the generated StreamSink traits completely. So there are no user visible changes add all.
I will commit that in a few minutes

Turns out we don't need any traits for the stream sink and can implement add directly with correct type constraints.
This prevents the change from breaking any code that just imports StreamSink instead of flutter_rust_bridge::*.
Now there should be no changes at all outside of generated code.

I just added a commit that addresses your comments

Feel free to Resolve conversation that you have done!

Should be done.

Great! I will briefly check soon

Added a test for a tuple. Turns out there was some code missing for tuples.
I checked all the types with some inner values, should be good now

@all-contributors please add @MnlPhlp for code, doc

Should i also increase the version number or will that be done after the merge?
I added tests and everything seems to work

Hmm, Dart Web fails to compile, so we do not know whether this PR will work for the web or not. I will merge after it becomes green!

Should i also increase the version number or will that be done after the merge?

No worries, I will do that

it compiles if i change the syn version in frb_codegen to 2. ...
I just commented out some breaking changes to check compilation so the generator didn't work but it compiled.
Looks like we don't need many changes to use syn2 so i will try that tomorrow just to see if it works
Alternatively we would have to use another nightly compiler i think. But compilation is hidden in wasm-pack so i don't know how easy that would be

For some reason the stream tests using mirror types time out on wasm. Everything else seems to work.
The IOS tests also didn't run on this commit but I think they were unstable the whole time. Maybe we can just repeat the run and see if they work this time

The web test passed 🎉

how do i implement this?
error[E0277]: the trait bound EventToUI: IntoIntoDart<_> is not satisfied
--> src/flutter.rs:294:20
|
294 |             stream.add(EventToUI::Event("close".to_owned()));
|                    ^^^ the trait IntoIntoDart<_> is not implemented for EventToUI
|
= help: the following other types implement trait IntoIntoDart<D>:
<bool as IntoIntoDart>
<i8 as IntoIntoDart>
<i16 as IntoIntoDart>
<i32 as IntoIntoDart>
<i64 as IntoIntoDart>
<usize as IntoIntoDart>
<u8 as IntoIntoDart>
<u16 as IntoIntoDart>
and 23 others
note: required by a bound in StreamSink::<T>::add
--> /home/jonathan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge-1.81.0/src/rust2dart.rs:139:12
|
137 |     pub fn add<D: IntoDart>(&self, value: T) -> bool
|            --- required by a bound in this associated function
138 |     where
139 |         T: IntoIntoDart,
|            ^^^^^^^^^^^^^^^ required by this bound in StreamSink::<T>::add


Update csrftoken.class.php

Replacing with code found in an issue thread. Should increase timeout to 5 minutes.
github.com/MPOS/php-mpos/issues/1537

It matches the code in the issue so yeah, I'd say go for it as others have had successes with it.


[W5.11][W15-A1]Muhammad Nur Kamal - Enhancement 2

Enhancement 2 out of 2 for W5.11
Added sort method to display contacts in lexicographic order

Very clear and effective sorting method. Unlike my method it actually sorts the list in the address book. Input and output are added comprehensively as well.

would you mind to share how did you sort the inner List as well, as i could not in my case. Thanks!

To change internal list, change the sort allPersons in AddressBook


error: cannot find symbol import android.support.v4.app.ActivityCompat

Version
Tell us which versions you are using ( you can see the versions in your package.json ):
react-native-audio :  4.3.0
react-native : 0.60.4
react :  16.8.6
using react-native-sound ? No
Expected behaviour :
gradlew assembleRelease builds the Android project.
Actual behaviour
Project build fails with this error:
> Task :react-native-audio:compileReleaseJavaWithJavac FAILED
/Users/xxxx/Code/xxxx/xxxx/node_modules/react-native-audio/android/src/main/java/com/rnim/rn/audio/AudioRecorderManager.java:30: error: cannot find symbol
import android.support.v4.app.ActivityCompat;
                             ^
  symbol:   class ActivityCompat
  location: package android.support.v4.app
/Users/xxxx/Code/xxxx/xxxx/node_modules/react-native-audio/android/src/main/java/com/rnim/rn/audio/AudioRecorderManager.java:31: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
/Users/xxxx/Code/xxxx/xxxx/node_modules/react-native-audio/android/src/main/java/com/rnim/rn/audio/AudioRecorderManager.java:105: error: cannot find symbol
    int permissionCheck = ContextCompat.checkSelfPermission(getCurrentActivity(),
                          ^
  symbol:   variable ContextCompat
  location: class AudioRecorderManager
3 errors

Steps to reproduce

Create a react native (v0.60.4) project
Install react-native-audio
Build the Android project: cd android && ./gradlew assembleRelease

Can anyone suggest the fix ? Going through same problem.

global search "android.support.v4.content.ContextCompat" and replace by "androidx.core.app.ActivityCompat"

Is it good to migrate to AndroidX ?

@LydiaF did you fixed it

I have the same issue

@LydiaF did you fixed it

Unfortunately not.

@deepakpapola Unfortunately not.

@deepakpapola @LydiaF try npx jetify before running your app, seems to fix the issue for now (you need to install it as a local dependency first)

Any Update on this issue, Facing the same issue in 0.59.1

same issues here with RN 0.59.2 and react-native-audio 4.1.3

@jakehon1993 many libs have a support for RN60 and still use support v4, so the issues is not with this

I also experienced this, but only when building using gradle directly (running react-native run-android built successfully without issues. I realised this is because run-android runs jetify as part of the build. If you're using ./gradlew assembleRelease, you need to run manually npx jetify just before that.

Maybe PR #330 fixes that

this reason is migrate to AndroidX.you can annotation the error import.most condition the IDE can import the right package.but sometimes if the module has more than one package the IDE can't import.you just select the module which is androidx is right.

As mentioned by @xgAnd , if in some way you choose to migrate to AndroidX, you need to select the coresponding module in which case you have to
replace :
import android.support.v4.app.NotificationCompat;
with :
import androidx.core.app.NotificationCompat;
and i assume it is the case everywhere you used to import android.support.v4. modules

android.support.v4.content.ContextCompat

I didn't found any


GEOMESA-1132 Exporting avro files through tools

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

looks good. i'll verify one on the command line.

7c295d68bad92291e4260273134219dd0f938faf


add last asserted block height to /hotspots json

in addition to the height the hotspot was added, it'd be useful to see the height it was last asserted, to get a sense of which hotspots in a geography have recently been asserted there

in addition to the height the hotspot was added, it'd be useful to see the height it was last asserted, to get a sense of which hotspots in a geography have recently been asserted there

so do you want this as a separate endpoint, or added to all hotspot json output? the latter is a bit more expensive


Hitting API Rate limit

Have to run terraform multiple times as we always hit the API rate limit. Could the provider factor this in?
Tried to slow down Terraform with -parallelism=1 and still hitting it.
PATCH https://uptime.com/api/v1/checks/xxxxx/ failed: Code=API_RATE_LIMIT Message=Sorry, your recent action hit the account API fair use limit and has been throttled. You may retry in 34 seconds

please make the provider slow down operation Can be done like that: Mastercard/terraform-provider-restapi#71

How this can be used in terraform? Any examples?

We now have added functionality where API rate limits specifically for managing checks can be increased on a per-account basis, via a request to<EMAIL_ADDRESS>(Please note this is a paid feature). This allows a large number of checks to be provisioned via Terraform quickly, without requiring artificial delays between API calls.


Add an optional Soufflé backend

Allows polonius to execute Datalog programs directly using Soufflé.
In the long term, that means:

We can test that the results of our datafrog computations are correct, even intermediate ones like subset.
We can prototype new ideas more quickly. No need to do stratification or re-indexing by hand before seeing results.

This PR binds to Soufflé's C++ interface using cxx. As a result, we can initialize relations and extract results entirely in memory; no need to write intermediate results to disk. If I were to start from scratch, I might choose generate Soufflé binaries instead of libraries and serialize everything on tmpfs. It took a lot of work to get cxx, Rust, and the generated C++ code to play nicely.
This adds an Engine enum that can be used to select between the :frog: and :custard: (no "souffle" emoji unfortunately) backends. Algorithm variants that are implemented in :custard: take an Engine field now, which can be changed to :custard: by adding the -Souffle suffix to the -A command line argument or env variable. :souffle: is gated behind a feature flag (polonius-souffle) and is off by default, since it requires a working souffle installation. The frontend types will still be available when the feature is disabled, but trying to compute using them will cause a runtime panic. Both configurations (with and without the feature) are tested on CI.
We do comparison tests on the output of the Souffle versions of DatafrogOpt and Naive. LocationInsensitive is a no-brainer, I just haven't copied those rules over yet.
This is not the cleanest integration, and I wish I could share more code for dumping intermediate facts, checking results, etc. I think it's okay for an MVP though.

@lqd @nikomatsakis Ready for review :worried:

It's starting to seem like there's a typo or a transcription error in the optimized rules. Both :custard: and :frog: compute the same number of subset facts for vec_push_ref::foo1, but don't agree on the intermediate tuples, specifically dying_can_reach.

Datafrog
# live_to_dying_regions
# 1
"\'_#10r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dying_region_requires
# 11
"\'_#6r"	"Mid(bb6[3])"	"Start(bb6[4])"	"bw0"
"\'_#7r"	"Mid(bb11[2])"	"Start(bb11[3])"	"bw1"
"\'_#10r"	"Mid(bb12[4])"	"Start(bb8[0])"	"bw0"
"\'_#14r"	"Mid(bb6[7])"	"Start(bb8[0])"	"bw0"
"\'_#14r"	"Mid(bb7[1])"	"Start(bb10[0])"	"bw0"
"\'_#14r"	"Mid(bb9[0])"	"Start(bb10[0])"	"bw0"
"\'_#14r"	"Mid(bb11[4])"	"Start(bb11[5])"	"bw0"
"\'_#15r"	"Mid(bb11[5])"	"Start(bb8[0])"	"bw1"
"\'_#15r"	"Mid(bb11[5])"	"Start(bb12[0])"	"bw1"
"\'_#17r"	"Mid(bb11[5])"	"Start(bb8[0])"	"bw0"
"\'_#17r"	"Mid(bb11[5])"	"Start(bb12[0])"	"bw0"
# dying_can_reach
# 17
"\'_#17r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb8[0])"
"\'_#16r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#17r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#6r"	"\'_#14r"	"Mid(bb6[3])"	"Start(bb6[4])"
"\'_#7r"	"\'_#15r"	"Mid(bb11[2])"	"Start(bb11[3])"
"\'_#17r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb8[0])"
"\'_#16r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#17r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#14r"	"\'_#17r"	"Mid(bb11[4])"	"Start(bb11[5])"
"\'_#17r"	"\'_#8r"	"Mid(bb11[5])"	"Start(bb8[0])"
"\'_#16r"	"\'_#8r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#17r"	"\'_#8r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#15r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb8[0])"
"\'_#17r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb8[0])"
"\'_#15r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#16r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#17r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dying_can_reach_live
# 5
"\'_#6r"	"\'_#14r"	"Mid(bb6[3])"	"Start(bb6[4])"
"\'_#7r"	"\'_#15r"	"Mid(bb11[2])"	"Start(bb11[3])"
"\'_#14r"	"\'_#17r"	"Mid(bb11[4])"	"Start(bb11[5])"
"\'_#16r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#17r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dead_borrow_can_reach_root
# 2
"\'_#6r"	"Mid(bb6[3])"	"bw0"
"\'_#7r"	"Mid(bb11[2])"	"bw1"
# dead_borrow_can_reach_dead
# 4
"\'_#6r"	"Mid(bb6[3])"	"bw0"
"\'_#7r"	"Mid(bb11[2])"	"bw1"
"\'_#14r"	"Mid(bb6[3])"	"bw0"
"\'_#15r"	"Mid(bb11[2])"	"bw1"

Souffle
# live_to_dying_regions
# 1
"\'_#10r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dying_region_requires
# 0
# dying_can_reach
# 4
"\'_#16r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#16r"	"\'_#16r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#16r"	"\'_#8r"	"Mid(bb11[5])"	"Start(bb12[0])"
"\'_#16r"	"\'_#22r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dying_can_reach_live
# 1
"\'_#16r"	"\'_#10r"	"Mid(bb11[5])"	"Start(bb12[0])"
# dead_borrow_region_can_reach_root
# 2
"\'_#6r"	"Mid(bb6[3])"	"bw0"
"\'_#7r"	"Mid(bb11[2])"	"bw1"
# dead_borrow_region_can_reach_dead
# 4
"\'_#6r"	"Mid(bb6[3])"	"bw0"
"\'_#7r"	"Mid(bb11[2])"	"bw1"
"\'_#14r"	"Mid(bb6[3])"	"bw0"
"\'_#15r"	"Mid(bb11[2])"	"bw1"

If the problem really is that they were written down incorrectly in datafrog_opt, I don't think I'm going to be able to fix it: the tuple re-indexing makes the datafrog version inscrutable to me.

There was this datafrog join using another join's intermediate relation, that I thought we may have commented incorrectly, but it seemed equivalent to the datalog rules, and unrelated to dying_can_reach in any case.
It's been so long that I don't remember if we actually tested these opt rules in soufflé (my recollection is: we didn't), and the old datalog version of the opt variant I have looks too old/incorrect (at some point there also were differences between Naive and Opt in some edge cases, and these bugs have since been fixed).
I'll also try to look at these rules.

I've noticed this: dying_can_reach depends on a few relations that seem to be correct with soufflé, and dying_can_reach_origins which I expect to cause issues. This relation must be different between the 2 versions, right ?
dying_can_reach_origins is:

rule 1: datafrog-opt and soufflé seem to match
rule 2: datafrog-opt but it's not present in the soufflé version ?

Maybe this rule wasn't extracted because of the _loan syntax used here, rather than _ elsewhere ? (I'm not sure how you created the opt.dl file)
dying_can_reach_origins(origin, point1, point2) :-
   dying_region_requires(origin, point1, point2, _loan).

Ah, good find! I started looking for missing rules and found that the base case for requires also got lost. That should fix it.
To make this, I just stripped everything that wasn't a comment from the relevant part of the .rs. I'm not sure how I messed that up.

🎉

CI is broken due to souffle-lang/souffle#2091. We may have to switch to building from source or using a container.


fix wired behavior of scipy.linalg.block_diag

I fix the bug #4596. This bug happens because np.array([[]]).shape is actually (1,0). The code expected (0,0).

You will eventually be asked to squash your commits into a single one, see here, you might as well go ahead and do it now. When you do so, modify your commit message so that it includes the text "fixes #4596", so that the corresponding issue gets closed automatically by github.
Other than that, LGTM.

Can you add a regression test please.

@jaimefrio According to your advice, I squashed my commits.
@ev-br If I would like to add a test, is it right to add into scipy/linalg/test/test_special_matrices.py?

Yes, there is even TestBlockDiag class in linalg/tests/test_special_matrices. I'd add a new method to this test class.
Please also add a comment with a reference to the github issue and a short explanation. Something along the lines of # regression test for gh-4569: check the shape of the result for empty matrix inputs or something in that ballpark.
(Incidentally, this is an old-style class on python2, so one may want to fix that as well --- this is best done in a separate PR and would require checking that the number of tests run is the same)
Also, please make sure that your commit messages are in the format described in
http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html --- in this case I'd use, for instance, "BUG" for the prefix.

Thanks for your attentive comments. I have no experience for contribution, so I'm not so sure if my way is correct.
According to your comments, I added regression test and fixed commit message.
I'd appreciate if you could take time to check them.

Merged in https://github.com/scipy/scipy/commit/2b856a13d9451a4d1c7d85557b9be2068c0adf0f wih minor style tweaks. Thanks @levelfour!

This PR appears to treat all size-zero matrices equally
shapes = np.array([a.shape if a.size > 0 else [0, 0] for a in arrs])

but issue https://github.com/scipy/scipy/issues/4908 wants to distinguish between matrices of shape (0, 0) vs. matrices of shape (0, 2), for example.

@argriffing Do you mean that you see a use for distinguishing between different zero-size matrices?

Do you mean that you see a use for distinguishing between different zero-size matrices?

I don't think this is controversial, if you mean something like distinguishing among zero-size matrices with shapes like (0, 5) or (10, 0) or (0, 0).  I remember seeing a web page related to this, maybe for Matlab or Mathematica, explaining how awesome this is but I cannot find or remember the link.


Wont load outside localhost using ngrok

When i try to load the url with ngrok outside server the video  wont load for some reason
what can i have missed

Hey, sorry I don't know much about alternate setups.
I can only vouch for the steps in the readme working for me (especially the environment variable changes were important here).


Add organization announcements page and feedback logic fixes

looks good to me

let's see if Anisha has any additions to add


bug: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: accessing Sourcegraph Grap (...)

Plugin version: 5.3.1544
IDE version: PC-233.13135.95
Stacktrace:
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: accessing Sourcegraph GraphQL API: Error: HTTP status code 401: Invalid access token.
 (https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription)

Error: accessing Sourcegraph GraphQL API: Error: HTTP status code 401: Invalid access token.
 (https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription)
    at C:\snapshot\dist\agent.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async C:\snapshot\dist\agent.js
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
	at com.sourcegraph.cody.initialization.EndOfTrialNotificationScheduler.lambda$1$lambda$0(EndOfTrialNotificationScheduler.kt:44)
	at com.sourcegraph.cody.agent.CodyAgentService$Companion.withAgentRestartIfNeeded$lambda$1(CodyAgentService.kt:134)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: accessing Sourcegraph GraphQL API: Error: HTTP status code 401: Invalid access token.
 (https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription)

Error: accessing Sourcegraph GraphQL API: Error: HTTP status code 401: Invalid access token.
 (https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription)
    at C:\snapshot\dist\agent.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async C:\snapshot\dist\agent.js
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	... 1 more

hello @MadivaLenny, we are sorry you experience this one 🙇
First thing - I kindly ask you to update the plugin - that usually brings a lot of fixes and new features.
It is very likely that the plugin update will not help you with this problem (however it fixes a few other issues so it is still worth to update 😄).
The problem is probably related to the fact the your token has been deleted or just expired (and our communication of this fact is - let's say - for from perfect at the moment 😉 no worries - we are working in improving that 🔧 ).
Please, try to generate a new token. You can do it like this:

Go to Preferences | Tools | Sourcegraph & Cody
Choose your account
Right-click, Edit account
Clock, Generate new token
Customise (rename, etc) and + Generate token
Copy the token value and past it in the token field in the IDE.
Save account

I hope it helps. Let us know if you need more assistance 🙏
(the wrapping issue: https://github.com/sourcegraph/jetbrains/issues/1035)


Add black code formatter

Goal

Use black code formatter as the main style standard and style setter for the project. See https://github.com/python/black.

Plan

This PR is step 1. Step 1 adds dev requirements and provides a set of config files for making black run smoothly. The imjoy package code has also been formatted with black.  There are editor plugins for black for most popular editors.
Step 2 is to add black as a CI check, using eg Travis CI. It will then run on PRs and make sure we keep the black formatting on the code base.

Changes

Add black as lint requirement.
Add dev requirements and update readme.
Add setup.cfg and isort section.
Add pre-commit-config for black. This can optionally be installed by developers by using pre-commit.
Add flake8 config to setup.cfg.
Format code with black.
Manually break some really long lines.

Relevant issue
https://github.com/oeway/ImJoy/issues/92

I've tested the engine after this change by running a small plugin in native python plugin mode:
<docs lang="markdown">
"Test the ImjoyEngine."
</docs>

<config lang="json">
{
  "name": "Sanity Test Plugin",
  "type": "native-python",
  "version": "0.1.0",
  "description": "Test the ImjoyEngine.",
  "tags": [],
  "ui": "",
  "cover": "",
  "inputs": null,
  "outputs": null,
  "flags": [],
  "icon": "extension",
  "api_version": "0.1.3",
  "env": "",
  "requirements": [],
  "dependencies": []
}
</config>

<script lang="python">
import numpy as np
class ImJoyPlugin():
    def setup(self):
        api.log('initialized')

    def run(self, ctx):
        api.alert('hello world.')

api.export(ImJoyPlugin())
</script>

I have just merged this.
If I run black . in the root folder of this project, it formats two extra files (imjoyWorkerTemplate.py and setup.py), is that normal?

I didn't run on setup.py. I thought about it but then forgot about that.
The other file was changed when you merged master into this PR without running black again.

I see, so I will just merge #14 . The code looks prettier, we should add this to CI!

Should we add pre-commit to requirements_dev.txt ?

Yes, we can do that. I didn't add it from the beginning since it's optional.


setup website

refer to https://www.nervos.org/ for logo and color theme
reuse code of learning.nervos.org

offer both Chinese and English version

URL structure follow https://git-scm.com/book/zh/v2/起步-Git-基础

try to setup CI, ref: https://github.com/nervosnetwork/docs/blob/master/.circleci/config.yml

deploy to https://github.com/nervosbook/nervosbook.github.io

apply for algolia docsearch

https://circleci.com/docs/2.0/gh-bb-integration/#creating-a-github-user-key

I will apply for DocSearch again after the book is finished.

cool

The circleci is working now,  so the code that pushed to GitHub every time will be automatically deployed to website


[REQUEST] Fruitful Fun support

https://modrinth.com/mod/fruitful-fun
Adds three doors (citrus, redlove and redlove sliding). Would be great to have short and tall variants of these!

Thank you, I can look into adding support!

Added as of mod version 3.2.2!


[Question] Use of the created network in a Master's Thesis?

Hello!
We are in the process of writing our Master's Thesis and would like use this tool to visualize a network we are using. What we would like to do is to simply screenshot the created network and include it in our thesis while explaining the concept of neural networks.
Being unfamiliar with licenses, we would simply like to ask if this is possible with the MIT license you are using for this repo?

Hi @Fooughhy,
Yup, no license issues here. Suggestion: maybe try editing the HTML with inspect element and change the background to be white. Feel free to cite the repo or the website. Maybe some of the explanations in the education tab will be of some use. I'm delighted to hear you're using Ennui and good luck with your thesis! I'd enjoy seeing the final product.


LUIS App (back-end)

Tasks:

[x] Create new LUIS App (https://www.luis.ai/)
[x] Add intents and entities, and label utterances
[x] Action binding and fulfillment
[x] Seeding and training
[x] Publication (HTTP endpoint) with temporary key
[ ] Test & improve of performance
[ ] Reset subscription key

App Id: a444ceab-0ef2-4582-bc04-f869bc30dc84
Temporary Key: c86fa102ab1947b79e8d615452fcfa31
URL: https://api.projectoxford.ai/luis/v1/application?id=a444ceab-0ef2-4582-bc04-f869bc30dc84&subscription-key=c86fa102ab1947b79e8d615452fcfa31
@ViniciusSouza @allantargino

@karlitoz007 I'm creating a new App using what you have built to test in the backend

@ViniciusSouza @allantargino there is a small bug in LUIS when you change names of "pre-built entities" (a.k.a. "Bing entities"). I already fixed my LUIS model and updated the JSON file here in GitHub. Now you can import the JSON file to a new LUIS App by your own (I tried and it works!).

I end up using your Luis API definition.


Allow capacity to be shown in individual and stacked load view as well

Capacity seems less meaningful on these charts since the net load shown on the "total" chart is the consumption (positive) minus production (negative). You could have a technology consuming well beyond the capacity of the node, but as long as some other technology is producing then the node isn't over-capacity.

Total Load
Stacked Load

Imagine if the node capacity were 24kW; if we draw it as a straight red line on the stacked chart – as we do on the "total load" chart – it may give the impression that the node is over-capacity when in reality it isn't.

Capacity seems less meaningful on these charts since the net load shown on the "total" chart is the consumption (positive) minus production (negative), and nodes are considered over-capacity only when the net load is too extreme.

100% right. Closing.


Audio support

Does this encoder support encoding audio(mp2) also for mpeg1 format? If no, do  you know any open source library which does so?
https://github.com/phoboslab/pl_mpeg/issues/15

Sadly y262 is only doing video (somewhat slow too), so no audio and no muxing to PS/TS/MP4.
No ffmpeg eh ?
For Mpeg Audio I know lame https://lame.sourceforge.io. Maybe https://github.com/njh/twolame for layer2 only. I have not done any thorough investigation about these though.
For Muxing Mpeg-1 mplex should work, its no library though I think. It is part of https://mjpeg.sourceforge.io. Prepare for time travel, I used this in the 90s and it worked, cant say much about it now. Otherwise I fear you have to use Google to find an open source mpeg-1 program stream multiplexer.
Good Luck. :>

I do have ffmpeg but wanted something lighter. Seems like I have to use ffmpeg only. Thanks for all the info. Closing the issue


Update README.md

What type of PR is this?
Documentation
What this PR does / why we need it:
Few spell checks and exact word "on prem" to "on-premise"
Which issue(s) this PR fixes:
Fixes:
Spelling mistakes
Test not needed: Review needed

Required change had been completed

give meaningful names to commits / PRs in the future

@mr0weird0guy also mark review comments as resolved and give appropriate reply too in the comment


breaking change: dart:mirrors check types of arguments passed to reflectively invoked methods

Background
In Dart 2 and Dart 2.1 releases due to a bug in dart:mirrors implementation it was possible to violate strong mode type safety via dart:mirrors.
For example the following code:
import 'dart:mirrors';

class A {
  void method(int v) {
    if (v != null && v is! int) {
      print("This should be impossible: expected null or int got ${v}");
    }
  }
}

void main() {
  final obj = A();
  reflect(obj).invoke(#method, ['not-an-number']);
}

In Dart 2.1 release would print
This should be impossible: expected null or int got not-an-number

In Dart 2.1.1 we are addressing this issue meaning that this code would start throwing TypeError
Unhandled exception:
type 'String' is not a subtype of type 'int' of 'v'
#0      _TypeError._throwNew (dart:core/runtime/liberrors_patch.dart:89:51)
#1      _LocalInstanceMirror._invoke (dart:mirrors/runtime/libmirrors_impl.dart:327:37)
#2      _LocalInstanceMirror.invoke (dart:mirrors/runtime/libmirrors_impl.dart:323:25)
#3      main (file:///tmp/test.dart:13:16)
#4      _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:289:19)
#5      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

Expected impact
We expect that only programs that are incorrect with respect to strong mode would break.
However this might also reveal issues where programs relying on mirrors were not taking care of creating instances of generic classes with correct type arguments - and instead relied on Dart 1 "dynamic-is-bottom" semantics.
For example the following code would stop working:
import 'dart:mirrors';

class B<T> {
}

class A {
  void method(B<int> v) {
  }
}

void main() {
  final obj = A();
  reflect(obj).invoke(#method, [B()]);
}

This would fail with
type 'B<dynamic>' is not a subtype of type 'B<int>' of 'v'

Addressing the breakage
You would need to change your reflective code to pass arguments of correct types, which also means creating instances with correct type arguments.
Note that if you need to construct object reflectively with the given type arguments you can use  reflectType to create type mirror with the given type arguments and then cast this mirror to ClassMirror and use ClassMirror.newInstance:
print((reflectType(B, [int]) as ClassMirror).newInstance(const Symbol(""), []).reflectee);  // Instance of B<int>

Known Affected Packages
package:rpc see #35009
/cc @mit-mit

@Hixie Wanted to follow up here on the comment about dropping mirrors entirely. We've heard otherwise - is there a change in direction here?

My understanding is that the current status is that both the Dart VM environment and the Dart DDC environment only support a subset of dart:mirrors, that dart:mirrors doesn't support everything from Dart 2, and that there is no plan to make any improvements to this. In the Flutter environment, dart:mirrors is disabled and we have found alternative solutions each time a request to enable mirrors has been raised. General support for mirrors has numerous disadvantages, such as preventing dead code elimination (tree shaking). There are arguments to be made for having more limited forms of reflection (e.g. metaclasses for classes to which you can actually get a reference, maybe even introspection for classes which are annotated as "published" or some such), but those wouldn't be done using an API like dart:mirrors.


Create: 1968-array-with-elements-not-equal-to-average-of-neighbors.java, 0658-find-k-closest-elements.java

File(s) Modified: 1968-array-with-elements-not-equal-to-average-of-neighbors.java,0658-find-k-closest-elements.java
Language(s) Used: java
Submission URL: _https://leetcode.com/problems/array-with-elements-not-equal-to-average-of-neighbors/submissions/1183448661/ https://leetcode.com/problems/find-k-closest-elements/submissions/1185272527/_

Could you please review this ? @MHamiid


WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation'.

In your build.gradle files, "compile" was deprecated about 6 months ago in favor of "implementation"
https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

@Amagi82  Thanks for notifying. Agree with you. We are migrating to latest gradle. Will be releasing soon.
(Except one all the dependencies for this SDK are optional though)

@Amagi82  We have updated the SDK to latest Gradle here https://github.com/BranchMetrics/android-branch-deep-linking/commit/6e52e6815d90fba06a94e76cb07679348da458ca
Thanks for helping to make Branch SDK better.

i face still this issue please guide me

still having this issue, had tried all the solutions above. it didnt work.
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.
having this three warning, the app can be compile but ..
import android.support.v7.app.AppCompatActivity;
cant be import , I dont know why

Check my answer here at stackoverflow- https://stackoverflow.com/a/50620578/7857541

Right click on the Application folder then "Open Module Settings>Dependencies>Scope" and then sync the project.

I`m still facing the same issue even i replace all compile in build.gradle file to implementation, and even i found that only 1 places compile is written in my project is like this
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.janice.i_training"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

@asadmukhtar28 I have the same problem as you and it started after use the Android studio assistant to connect to a firebase database already created. The connection is correct but I can't find that "compile" anywhere :-( I tried to clean project, rebuilt project and invalidate caches, restarts and did not work

@jrroger Check your 'com.google.gms:google-services' in 'build.grandle' file. Check if you are using 'com.google.gms:google-services:3.2.1'

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
Hi, I have the same problem , plz help me have android 3.1.4  'gradle version 4.4'
'build.grandle'
apply plugin: 'com.android.application'
//apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
def RELEASE_STORE_PASSWORD = "?????"
def RELEASE_KEY_ALIAS = "telegram"
def RELEASE_KEY_PASSWORD = "?????"

    minSdkVersion 15
    targetSdkVersion 24
    versionName "2.3"
    multiDexEnabled true
    manifestPlaceholders = [/*mnifestApplicationId: "${applicationId}",*/
                            onesignal_app_id: "AIzaSyDwRzpXKKKiPHMVipHaeYYnuDtbmN6Yh5c",
                            onesignal_google_project_number: "552070056172"]
}
defaultConfig.versionCode = 141

}
apply plugin: 'com.google.gms.google-services'

@jrroger Check your 'com.google.gms:google-services' in 'build.grandle' file. Check if you are using 'com.google.gms:google-services:
Thanks,I have the same problem and your solution help me.

yes, I have,
apply plugin: 'com.google.gms.google-services'
/////////////////////
but I'm back to 2.3.3 ,
but now have this problem
android studio 2.3.3.txt

Hi!
You just need to change the 'compile' by 'implementation' in the 'Build.Gradle' on module app.

Explaination:
since the compile is been obsolete in 2018 you must change this configuration as follows:

open build.gradle(module:app) app file and make following changes in it.
replace compile with api wherever api ref. like: volley, GitHub dependancy.strong text is used and
replace compile with implementation incase of using android libraries like play-services-maps,appcompat-v7 etc.

example:
old way
  dependencies {
     testCompile'junit:junit:4.12'
    compile 'com.android.volley:volley:1.1.0'

Change it to:
 dependencies {
    testImplementation 'junit:junit:4.12'
    implementation 'com.android.volley:volley:1.1.0'

if the issue still persists:
open build.gradle (Project: yourproject) file
and change the google gms services to the latest
dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

Also if the gradle sync is still failing:
Open gradle-wrapper.properties file and replace it with following:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

The solution is to upgrade classpath com.google.gms:google-services to classpath 'com.google.gms:google-services:3.2.1' in file in build.gradle Project:
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    classpath 'com.google.gms:google-services:3.2.1'
}

}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}

I dont know if this is a good solution, because i have dependencie with classpath 3.3.0 in the project and I continue with the problem.
classpath 'com.android.tools.build:gradle:3.3.0'

Hi,
I have changed my app platform from 7.1.2 to 8.1.0 after that I'm not able to build my app.
Getting the following Error...

Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

FAILURE: Build failed with an exception.

Where:
Script '/home/rohit/Sanohub/Exprement/Patient/Sep_18_2019/sameApp/sanoSense3-v2.5.0/platforms/android/cordova-support-google-services/sanosense-build.gradle' line: 16

What went wrong:
A problem occurred evaluating project ':app'.

Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
For input string: "+"

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

Please help me


Feature Request: Ability to set App theme.

Ability to set App theme.
We have the ability to set the Flyout theme, so it could also be nice to be able to set settings App theme

That's actually easier than implementing Flyout theme 😂

@Samuel12321,
I completed the parts you left to hook up. Now we can change the settings window theme for real.


glossaryTerm: description change still goes to Owner and Not Reviewers

Affected module
Does it impact the UI, backend or Ingestion Framework?
Describe the bug
in beta sandbox the workflow for description change still goes to Owner and Not Reviewers:
https://sandbox-beta.open-metadata.org/glossary/"Bug.Test"
To Reproduce
Screenshots or steps to reproduce

Expected behavior
as discussed in https://openmetadata.slack.com/archives/C02B6955S4S/p1712758989579439?thread_ts=1712758609.855309&cid=C02B6955S4S
if there is a reviewer defined in parent term or glossary, we shouldn't allow users to add new reviewer during the creation process. If we do it , its assigning the review task to the new reviewer which shouldn't be happening
Version:
1.4 Sandbox
Additional context
Add any other context about the problem here.

@mohityadav766  @harshach
@Harsha (getcollate.io) We have upgraded to 1.4 pre and it still had this bug. Sandbox beta still has the bug, this time ever worse - if glossary is renamed, it "looses" all the terms under it.
If change name back - then it reappears.
Uploading glossaryRenaming.mp4…

Please provide update on this bug, if possible

@chirag-madlani  Please provide update on this bug, if possible

Hi @DovileKr
It is shipped with 1.4.2
cc: @karanh37


Include more tags by default

From Sys:

os_type
executable_name
argv?
backend_type

From Unix:

server_name (gethostname)
user (getuid)

Should we include the environment variables?

I decided not to handle current user since we'd need to deferreds in the defaults. We can revisit that later.


Gen 8 Random Battles: Add support for Doubles and BDSP

Uses similar code to #632 but for Gen 8 instead of Gen 9

At this point, we should just have a function that takes an object of format name -> sets then returns an object of pokemon -> format -> sets. This function then can be used for all gens that has multiple formats.

Good idea

At this point, we should just have a function that takes an object of format name -> sets then returns an object of pokemon -> format -> sets. This function then can be used for all gens that has multiple formats.

Did


Final test

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.


Commandable channel names green, boolean command channels click (or button?) to toggle

Possible to put buttons or input boxes in the table cells?
Can we tie into any events related to the data table?

Implement on this PR: https://github.com/vkottler/conntextual/pull/3.

https://github.com/ehmicky/cross-platform-terminal-characters this seems useful to know about

when there's a way to click or keystroke perform some action (maybe this is just done on the whole DataTable?), add a "reset" channel to reset various metrics
also need to figure out input-box style update methods for non boolean channels

Commanding is functional and command channels are styled by this commit: https://github.com/vkottler/conntextual/commit/a947c20cdb350d54054964d54e8999e3e1143734.


Updated to 1.4.4

Hey, just a simple commit to update this to 1.4.4
I updated all the TModLoader api calls to the new version, also added the new way of handling config texts with the localization files.
That's it. I tested it and it's working as usual.

Thanks, but I've already done this in the calamity branch


ink-docstrap 0.4.15 causes jsdoc to fail

When running grunt jsdoc with the latest ink-docstrap, jsdoc is failing with the following error:
10:29 $ grunt --verbose jsdoc
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-jsdoc" local Npm module tasks.
Reading /Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/package.json...OK
Parsing /Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/package.json...OK
Loading "jsdoc-plugin.js" tasks...OK
+ jsdoc
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, build-demo, build-dev, default, lint, post-coverage, test, test-coverage, test-debug, watch-build, watch-demo, watch-dev, watch-test

Running tasks: jsdoc

Running "jsdoc" task

Running "jsdoc:dist" (jsdoc) task
Verifying property jsdoc.dist exists in config...OK
Files: src
Options: private, destination="docs", recurse, template="node_modules/grunt-jsdoc/node_modules/ink-docstrap/template", configure="/Users/pbanka/dev/cy-bootstrap/node_modules/cy-toolkit/files/jsdoc.conf.json"
>> An error occurs in jsdoc process:
>> js: "/Users/pbanka/dev/cy-bootstrap/node_modules/grunt-jsdoc/node_modules/jsdoc/jsdoc.js", line 316: exception from uncaught JavaScript throw: Error: Unable to load template: Module "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template/publish" not found.
Warning: jsdoc failure Use --force to continue.

If the dependency to ink-docstrap is set to 0.4.12 instead of ~0.4.12, jsdoc runs without problems.

Hi let me some time to investiguate the issue. Which version of grunt-jsdoc do you use (stable or beta)?

https://github.com/terryweiss/docstrap/issues/79

@krampstudio Thanks for looking into this; we are on 0.5.7 (stable)

version 0.5.8 published on npm, it fix the docstrap version.


Use is_ci_env fixture instead of os.getenv("CI") in mistral & mixtral tests

Done for mistral with latest Mistral-prefill commit. Doing this for Mixtral now.

Mixtral has been pushed as well: PR: https://github.com/tenstorrent/tt-metal/pull/10731


docker-compose for mysql

following docker-compose.yml ends with sirin_redmine_1 exited with code 1. What am I doing wrong?
version: '2'

services:
  mysql:
    image: sameersbn/mysql:latest
    environment:
    - DB_USER=redmine
    - DB_PASS=sirin_985632
    - DB_NAME=redmine_production
    volumes:
    - /srv/docker/redmine/mysql:/var/lib/mysql
    restart: always

  redmine:
    image: sameersbn/redmine:2.6.10-8
    depends_on:
    - mysql
    restart: always
    environment:
    - TZ=Europe/Moscow

    - DB_ADAPTER=mysql2
    - DB_HOST=localhost
    - DB_PORT=3306
    - DB_USER=redmine
    - DB_PASS=sirin_985632
    - DB_NAME=redmine_production

    - REDMINE_PORT=10083
    - REDMINE_HTTPS=false
    - REDMINE_RELATIVE_URL_ROOT=redmine
    - REDMINE_SECRET_TOKEN=asdfhjkOPQW

    - REDMINE_SUDO_MODE_ENABLED=false
    - REDMINE_SUDO_MODE_TIMEOUT=15

    - REDMINE_CONCURRENT_UPLOADS=2

    - REDMINE_BACKUP_SCHEDULE=
    - REDMINE_BACKUP_EXPIRY=
    - REDMINE_BACKUP_TIME=

    - SMTP_ENABLED=false
    - SMTP_METHOD=smtp
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    -<EMAIL_ADDRESS>    - SMTP_PASS=password
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=:login

    - IMAP_ENABLED=false
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    -<EMAIL_ADDRESS>    - IMAP_PASS=password
    - IMAP_SSL=true
    - IMAP_INTERVAL=30

    ports:
    - "10083:8080"
    volumes:
    - /srv/docker/redmine/redmine:/home/redmine/data

DB_HOST=localhost should be DB_HOST=mysql
The database isn't located in the redmine container.

That help to move forward. Thank you. But now I have #94

That person said he fixed it by deleting everything and relaunching.
https://github.com/sameersbn/docker-redmine/issues/94#issuecomment-130114491

Commented #94. Also came on #248

if someone interested here is working sample of docker-compose.yml for redmine + mysql
`version: '2'
services:
mysql:
image: sameersbn/mysql:latest
environment:
- DB_USER=redmine
- DB_PASS=sirin_985632
- DB_NAME=redmine_production
volumes:
- /srv/docker/redmine/mysql:/var/lib/mysql
restart: always
redmine:
image: sameersbn/redmine:2.6.10-8
depends_on:
- mysql
restart: always
environment:
- TZ=Europe/Moscow
- DB_ADAPTER=mysql2
- DB_HOST=mysql
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=sirin_985632
- DB_NAME=redmine_production

- REDMINE_PORT=80
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=/redmine/
- REDMINE_SECRET_TOKEN=asdfhjkOPQWlskdjflksajlfkjafghsdgfjhsguweyiuyxuzxyuixyciuyziuxyczuiyctzyxt

- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15

- REDMINE_CONCURRENT_UPLOADS=2

- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=

- SMTP_ENABLED=false
- SMTP_METHOD=smtp
- SMTP_DOMAIN=www.example.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
-<EMAIL_ADDRESS>- SMTP_PASS=password
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=:login

- IMAP_ENABLED=false
- IMAP_HOST=imap.gmail.com
- IMAP_PORT=993
-<EMAIL_ADDRESS>- IMAP_PASS=password
- IMAP_SSL=true
- IMAP_INTERVAL=30

ports:
- "10083:80"
volumes:
- /srv/docker/redmine/redmine:/home/redmine/data

`

@jcormier i will look more deep into that later as i think this should use postgresql as default as it has lower latencys cpu requirements and all that benefits also we should get this repo compatible to docker-gitlab so we have less to maintain and both share near same dependencys as they are similar projects give me please some days for all this you can write down your toughts about existing issues but we should discusse that all once a week on fridays maybe we will find a schedule for that

I don't mind having the default docker-compose.yml be postgresql.  I created an example docker-compose-mysql.yml file.
I added it because my company used mysql previously and so when we transitioned to this image we kept using mysql. And I'm personally not all that familiar with postgresql.
I'm not familiar with the docker-gitlab image.

@jcormier rename your docker-compose.yml to docker-compose-mysql.yml please
then we can merge that we will not overwrite the current postgree default
for your internal info postgree is like mysql only for production.


Feature/issue 185 refactor args for stitchee function

GitHub Issue: #185
Description
This change adds a copy_input_files arg to the stitchee() function, so that it is not only a command line option.
Local test steps
Summarize testing and verification you've done. This includes unit tests or testing with specific data
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR Acceptance Checklist

[ ] Unit tests added/updated and passing.
[ ] Integration testing
[ ] CHANGELOG.md updated
[ ] Documentation updated (if needed).

Codecov Report
Attention: Patch coverage is 3.44828% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 10.68%. Comparing base (70dd479) to head (a60fedb).

Files
Patch %
Lines

concatenator/file_ops.py
0.00%
18 Missing :warning:

concatenator/stitchee.py
0.00%
8 Missing :warning:

concatenator/run_stitchee.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #186      +/-   ##
===========================================
- Coverage    10.74%   10.68%   -0.07%
===========================================
  Files           11       11
  Lines          642      646       +4
===========================================
  Hits            69       69
- Misses         573      577       +4

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


How to use v4 with Objective-C

Hi. I'm trying to use RNCryptor 4 with Objective-C for an iOS app. I've followed the "Installing Manually" instructions but after doing that I don't know how to use RNCryptor.
Do I have to import something? Which file?
  NSData *cipherData = [RNCryptor encryptData:plain password:key];

This just gives me a Use of undeclared identifier error
Thank you!

Did you add import "RNCryptor.h" to your ObjC file. I probably need to explain that for ObjC (it's not necessary or allowed for Swift).

Hi! I add
#import "RNCryptor.h"

but it says 'RNCryptor.h' file not found

Issues appears using CocoaPods. Just shows unknown type never the less I did not change anything and I have #import "RNCryptor.h"

The answer lies in these answers: http://stackoverflow.com/questions/24206732/cant-use-swift-classes-inside-objective-c
Took me a while to get it right and it was a combination of a couple of different answers  but it works great now.


Handle paste card at start of middle list item

Change postEditor#_splitListAtPosition to ensure that it partitions the
list items correctly if the cursor position is at the start of a
middle-list item.
Fixes #467

released in v0.10.7


10.0.19041.1620 not supported

Hi all,
10.0.19041.1620 is not supported on windows 10 21H1....

termsrv.zip
Thank you !

Duplicate of https://github.com/stascorp/rdpwrap/issues/1786


Download link for Azure AD Connect V1.6 is broken

Download link for Azure AD Connect V1.6 is broken, the link points to:
https://www.microsoft.com/download/details.aspx?id=103336
Found under heading 'Looking for the latest versions?', second bullet point.

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

ID: 57f5478b-3132-21d0-a420-a1140db235de
Version Independent ID: 266bbd16-2117-f680-6493-e183eb09fdbc
Content: Azure AD Connect: Version release history - Microsoft Entra
Content Source: articles/active-directory/hybrid/reference-connect-version-history.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: rodejo

@Kav7  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


hard disk not spindown

Describe the issue
use btrace to check disk access, you will see that smartctl reads every minute, uninstall the custom component from home assistant and the readings will disappear, allowing the disks to go into spindown
How to reproduce the issue

Expected behavior

Screenshots

Software versions

Home Assistant version:
openmediavault integration version:
openmediavault software version:

Traceback/Error logs

Additional context

duplicate #19


New enable-dtrace options causes AIX builds to fail

Ref: https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-aix-ppc64-openj9/508/console
checking for dtrace tool... not found, cannot build dtrace
checking sys/sdt.h usability... no
checking sys/sdt.h presence... configure: error: Cannot enable dtrace with missing dependencies. See above.
no
checking for sys/sdt.h... no
checking if dtrace should be built... no, missing dependencies
configure exiting with result code 1
[Pipeline] }

Apparently the new version of the option (required by JDK15) is not the same as the old auto option so https://github.com/AdoptOpenJDK/openjdk-build/pull/1563 has likely been the cause of this. We should switch to enabling this in the platform-specific-configuration scripts instead of globally in build.sh

@M-Davies - Is this something to add to your PR here?


ControllerHelpers giving error NoMethodError: undefined method `env' for nil:NilClass

I am using devise for authentication and when running tests on my controller, using the devise ControllerHelpers, I am getting the error:
NoMethodError: undefined method env for nil:NilClass
... for each test.
Here is the top of my tasks_controller_test.rb
require 'test_helper'

class TasksControllerTest < ActionDispatch::IntegrationTest

  include Devise::Test::ControllerHelpers

  setup do
    @task = tasks(:one)
  end

Now, if I remove the include Devise::Test::ControllerHelpers the test runs fine. Any ideas why this is happening?

@dericcain controller tests should inherit from ActionController::TestCase, not ActionDispatch::IntegrationTest. IntegrationTest is the superclass for integration tests that don't have direct access to the controller stack

@lucasmazza Thanks!!! The controller test was created when I used the rails command line and inherited the previous class by default.

I wonder why this is closed, when ActionController::TestCase is deprecated? Going forward, controller tests will inherit from ActionDispatch::IntegrationTest, not ActionController::TestCase.

Never mind, I just saw the updated README that describes how to include test helpers in ActionDispatch::IntegrationTest tests.

Did you got it ?
I've got the error too!
`
E
Error:
ArticlesControllerTest#test_should_create_article:
NoMethodError: undefined method `env' for nil:NilClass
bin/rails test test/controllers/articles_controller_test.rb:20
`

Did you got it ?
I've got the error too!
E

Error:
ArticlesControllerTest#test_should_create_article:
NoMethodError: undefined method `env' for nil:NilClass

bin/rails test test/controllers/articles_controller_test.rb:20

I am getting the same error on last Rails and Devise.
bin/rails test test/controllers/admin/users_controller_test.rb:27

Error:
Admin::UsersControllerTest#test_should_get_new:
NoMethodError: undefined method `env' for nil:NilClass

class Admin::UsersControllerTest < ActionDispatch::IntegrationTest

  include Devise::Test::ControllerHelpers

  setup do
    @admin_user = User.create email<EMAIL_ADDRESS>password: "Password456!", admin: true
    sign_in @admin_user
  end

Switching from  ActionDispatch::IntegrationTest to ActionController::TestCase fixes the issue but it's not ideal as it's breaking url helpers in plus of being deprecated.

This documentation seems to be deprecated:
https://github.com/plataformatec/devise/wiki/How-To:-Test-controllers-with-Rails-(and-RSpec)
But as jstewart mentioned you find the correct solution in the README.md:
https://github.com/plataformatec/devise#controller-tests


Updated the plexus-sec-dispatcher dependency

Issue #352
Updated the "plexus-sec-dispatcher" dependency (not been maintained since May 2011) for the asciidoc-confluence-publisher-maven-plugin to avoid vulnerabilities

Hi @cgreppin, thank you for using and improving the Confluence Publisher!


With Kotlin 1.8, kapt tries to compile generated Java classes using Kotlin

When updating our project from Kotlin 1.7.10 to 1.8.10, I got an error for all the @GenSealedEnum companion objects in our project. For some reason kapt was expecting Kotlin classes, but the generated classes were Java code. Here's an example of the error message:
[project]/app/build/tmp/kapt3/stubs/debug/com/[redacted]/processor/pricelist/PriceSortOrder.java:139: error: Annotated element is not a Kotlin class
    public static final class Companion {

I was able to switch to ksp and everything generated properly.
Here's relevant lines from build.gradle.kts
buildscript {
   dependencies {
       ...
       classpath(kotlin("gradle-plugin", version = "1.7.10"))
       ...
   }
}

...

plugins {
    id("com.android.application")
    kotlin("android")
    kotlin("kapt")
    ...
}

dependencies {
    ...
    implementation("com.github.livefront.sealed-enum:runtime:0.5.0")
    kapt("com.github.livefront.sealed-enum:processor:0.5.0")
    ...
}

Thanks for the report! I saw the same issue updating the project itself to 1.8, it looks like a dependency bump will resolve the issue as drafted in #120.
It's good to know that ksp is working fine and that should be a better experience going forward anyway, at some point it might make sense to deprecate the kapt version entirely.

kotlinpoet 1.13.0 was just released, which unblocks #120.

0.6.0 released with the update to Kotlin 1.8


Add keepalive

Issue #7296
Root cause seems to be a 'silent close' - sidecars believed that the pilot is alive and are waiting for a push
(netstat shows the connection active on client side).
Didn't find any option to turn h2 keep alive - and they obviously are not active, or they would have detected the close. TCP keepalive would do the same.
Side-effect - extra traffic, but it's handled by kernel.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
c3a3efb639afc45d71129abcafc1d94a921cbd63
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


How to address the CORS policy using BlazorBindGen?

Question 1: how to address the CORS policy?

Access to script at 'https://meet.jit.si/external_api.js' from origin 'https://localhost:44376' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Unhandled exception rendering component: TypeError: Failed to fetch dynamically imported module: https://meet.jit.si/external_api.js
System.Exception: TypeError: Failed to fetch dynamically imported module: https://meet.jit.si/external_api.js
at BlazorBindGen.LockHandler.HoldVoid(Int64 errH) in BlazorBindGen\Bindings\LockHandler.cs:line 17
at BlazorBindGen.BindGen.Import(String moduleURL) in BlazorBindGen\Bindings\BindGen.cs:line 65
at SampleApp.Pages.JitsiMeet.Draw() in BlazorBindGen\SampleApp\Pages\JitsiMeet.razor:line 36
at SampleApp.Pages.JitsiMeet.OnInitializedAsync() in BlazorBindGen\SampleApp\Pages\JitsiMeet.razor:line 23
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Question 2: Is there a way to handle TWO imports?

 await Import("https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js");
 await Import("https://meet.jit.si/external_api.js");

Question 3: How would you make Jitsi-meet works?
Consider the fact you have demonstrated VideoCamPage.razor
Reference
<!DOCTYPE html>

<title>Hello Node</title>

Page served from Node http-server

	meeting

@page "/jitsimeet1"

@using BlazorApp
@using BlazorBindGen
@using static BlazorBindGen.BindGen
@inject IJSRuntime runtime

Page served from Node http-server

meeting

@code
{
    ElementReference canvas;

    JWindow win;
    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();
        await Init(runtime);
        win = Window;
        await Draw();
    }

    //var domain = "meet.jit.si";
    //var options = {
    //	roomName: "JitsiMeetAPIExample",
    //	width: 700,
    //	height: 700,
    //	parentNode: document.querySelector('#meet')
    //	}
    //var api = new JitsiMeetExternalAPI(domain, options);
    async Task Draw()
    {
        await Import("https://meet.jit.si/external_api.js");
        //converting param from JS object to C# Class (Convert first to JS->JSON->C# class using automatic generators)
        var param = new JitsiInput
        {
            domain ="meet.jit.si",
            options = new JitsiOptions
            {
                   roomName = "JitsiMeetAPIExample",
		   width = 700,
		   height = 700,
		   parentNode = canvas
            }
        };
        JObjPtr _jitsi = Window.CallRef("JitsiMeetExternalAPI", param); /* js reference to jitsit */
    }

    public class JitsiOptions
    {
        public ElementReference parentNode { get; set; }
        public string roomName { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class JitsiInput
    {
        public string domain { get; set; }
        public JitsiOptions options { get; set; }
    }
}

Close as stated in the commit

@sps014  Now that u have implemented Blazor Server App. Can the CORS issue discussed here be addressed.?
I have not the time yet for next two months to re-visit this issue.
Hopefully you are aware of CORS issue facing BlazorBindGen

@sps014  Now that u have implemented Blazor Server App. Can the CORS issue discussed here be addressed.?
I have not the time yet for next two months to re-visit this issue.
Hopefully you are aware of CORS issue facing BlazorBindGen

As stated earlier Import in BindGen is wrapper around js import.
Also Jitsi doesn't allow the js file to served on serverless mode.
To fix this you can download jitsi.min.js and put it in wwwroot folder and change url await ImportAsync("_content/AppAssemblyName/jitsi.meet.js");.
This issue originate from jitsi
https://community.jitsi.org/t/cannot-get-lib-jitsi-meet-to-work-because-of-cors/19292

@sps014  Now that this repo has advanced to support blazor server app, I understand you have tight schedule, could your suggestion address CORS and eventually making Jitsi.meet.js to work?

@sps014 Now that this repo has advanced to support blazor server app, I understand you have tight schedule, could your suggestion address CORS and eventually making Jitsi.meet.js to work?

I downloaded https://meet.jit.si/external_api.js locally and added in index.html file to solve CORS,
for using es6 module use

the above system doesn't work with blazorBindGen as blazor doesn't support ES6 module import. you have to use JS until then.


Renames magic to weight as evoked in #51

Renames magic to weight, as evoked in #51

Thanks!! @gabssnake would you like to help maintaining bloomrun?

Sure, I’m using it extensibly! What are the duties?

@gabssnake what you are doing at the moment.

In that case, I’ll be happy to continue :)


[FEATURE] Toggle content in SfRadio

Describe how this feature will help us improve
Currently, we have SfRadio with the label, we need to improve it by adding additional content in dropdown according to new designs.
- add a slot for price

add a slot for subtitle

Additional context
https://www.figma.com/file/N0Ct95cSAoODNv7zYS01ng/Storefront-UI-Design-System?node-id=216%3A4

@martaradziszewska maybe we need just #details slot for "Delivery within .." and don't touch description. IMO we do not need slot for price :). We can discuss the show/hide function

@pspaczek yes, that's a better idea to give the name more generic :) About show/hide function - maybe we need some Expansion Item a separate component?

@martaradziszewska we can think about it after these issues, IMO, but it sounds like a good idea

@martaradziszewska @pspaczek I added the details. Is that only change that we need to apply now?


bug: image doesn't render if it's set in frontmatter

If you create a statblock in the statblock code block, image prop renders the image as normal. If you use the statblock: true in frontmatter and set the image there, it doesn't work anymore.
Using image: "[[image.jpg]]" makes it so that the statblock works but the image is not rendered at all. Using image: [[image.jpg]] makes the statblock crash when rendering (using monster: xyz), with the following error in the console:
plugin:obsidian-5e-statblocks:430
Obsidian Statblock Error:
SyntaxError: Unexpected token < in JSON at position 326

thank you, works great now! :)


Make Flex and Bison outputs explicit in CMakeLists.txt

@baldersheim please review
@aressem FYI
Stating outputs in lexer and parser grammar files messes up the output
directory and always places the outputs in the current working directory.
This fixes #4435

Great 👍


New release with sensitive input?

I see master has marked the input as sensitive, however there's no new release.

https://github.com/bitrise-io/steps-codecov/commit/b4a7715b6b80f69b8eb39ea4ff432f0a08f19ea1

1.1.4 is still the latest from 2017
https://github.com/bitrise-io/steps-codecov/releases

Also the primary use case of codecov is to report code coverage on pull requests pre-merge. Is that compatible with the secrets model of Bitrise?


Add ${user.name} property

To know who is running/submitting the workflow.

Close the old issue. Please reopen or file new one if you need.


Please fix your tests/npm install, so that someone can contribute.

Hi,
please fix your tests, they are failing for months on master.
I honestly want to submit some patches for open issues but this currently not possible since npm install wont work at all.
Can you please fix the npm install issues and make sure that the tests are running.
I just spend 3 hours trying to figure out what exactly is going wrong, but given that the last successful run on travis was ages ago, this is quite hard.
The best,
Simon

@redshark1802 The core development of this library has moved to https://github.com/trufflesuite/ganache-core (see this note) and this repo is just for build/distribution, are you sure you want to contribute here (so something build-related)?
@tcoulter Will the travis build on this repo be re-activated at some time? Or is this just a left-over from the repository move and can be deactivated? The failing builds are also always irritating me when scanning over the ethereumjs travis build page.

I just started two days ago, but I'm going to be maintaining TestRPC from here on out. The build will definitely be fixed up soon, but I have a few items on my plate and I'm traveling, so it may be a couple weeks yet until it's happy. Sorry for the inconvenience.

@benjamincburns Thanks for the quick answer, good to hear! :-)
I was just wondering: there is just neither tests file nor folder in this repo? Do you want to write this from scratch? Or there something lying somewhere around in the attic? :-)

Not long before this issue was created we moved the bulk of logic into the ganache-core project, and moved our tests there as well. At around this time our build was red because travis was trying to run tests which didn't exist. That is long-since fixed.
Further in the near future @davidmurdoch is working on a few things which will further invalidate this case. Specifically he is:

Making our test suite more portable so we can run it against other targets without modification.
Moving the webpack build into ganache-core so our tests run against the packed logic rather than the unpacked logic.


Required TypedValue in Value::downcast_apply* parameter

Since the only types Value can contain are TypedValue.  So this
change makes code slightly safer and easier to understand.

Master is broken now.

Master is fixed itself.


Ensure results when use_primitives = False vs use_primitives=True are consistent.

Setting use_primitives=False vs use_primitives should produce equivalent answers but don't. It is evidence that test cases for this setting is lacking and additional test cases are needed. We also need to modify the current execute function and the execute_runtime_service function to ensure answers are consistent.

[sc-62867]

Closing this since the changes are now in #539


docs: Updated license from AGPLv3 to Apache 2

This PR introduces the following modifications:

switches the license text
updates the reference in the README
updates all python headers

Any feedback is welcome!

I had forgotten that the CI was plotting all those wonderful graphs :hushed:
Nice touch @dataJSA @GHCamille @chloeskt :clap:


Is there a way to display placeholder data?

I would like to have something like https://sveltequery.vercel.app/guides/placeholder-query-data.
This is useful when you have for example list/detail navigation.
Example: list of users > click on one of them > load from cache (using the list key) > show data > fetch in background for the first time the user data (with a /user/1) key.
What do you think?

I think swr has the same called initialData: https://swr.vercel.app/docs/with-nextjs, right?

I'll try it in a few moments...

initialData is already supported. I will explore if I am really interested in this but I qould rather like to use the data and error return values to determine if you should show some preview data

It works as expected. Thanks.


Make the travis Dart development version explicit

Attempting to make travis happy...
TBR: @RedBrogdon

For the record, this was discussed offline.


Release/xumo 1 fact 1

Closing older PRs. Pls bring it to latest sprint/main branches if required.


enhancement: to seperation of storage and logger interface

Tasks description
### Related Issues
- [ ] #193

Solution
### Tasks
- [x] Prototyping the changes in the logger
- [x] logger testing examples
- [x] using `log/slog` instead of `log`
- [x] civo
- [x] azure
- [x] universal
- [x] k3s
- [x] local
- [x] controller
- [x] e2e
- [x] unit tests

Note to reviewers

[x] Ran Unit Test locally
[x] Checked Contribution's guidelines

https://github.com/kubesimplify/ksctl/actions/runs/6704728633/job/18217716655?pr=225

even after putting mutext lock in the logger it is failing due to data race

 https://github.com/kubesimplify/ksctl/actions/runs/6704728633/job/18217716655?pr=225 even after putting mutext lock in the logger it is failing due to data race

Found the root cause a defer statement was missing which caused the thread to missing the closing of channel

Here is the Kubeconfig thing in little more detail
tried to resolve it using key=value pair but the key is wrapped around the ""


Question: Right way to use babel-polyfill ?

babel-runtime trans es6 to es5, does not handle new APIs
how to make my project polyill new APIs?
like this:
entry: ["babel-polyfill", "xxxxx/main.js"]

or other elegant way ?

Import it at the top of /src/main.js
`import '@babel/polyfill'


Support more selectors

Thanks for the PR @Ibrahimrahhal , can you provide a bit more detail why this is needed?
I just merged some changes so you should also rebase. Thanks!


Better compatibility for nvm.sh

I've no idea why my GDM session will exit immediately with prior version of nvm.sh

Odd, either way should work in most cases so I'll pull your changes in. Merged.


fixed bad paths in IntroToStylingAndTemplating

I assume the triple dots are a mistake?

Thanks, @aesalazar.  I confirmed the System.IO.DirectoryNotFound exception is fixed after applying your change.


ENH: BSplines.design_matrix performance improvement

Reference issue
Closes #16833
What does this implement/fix?
Use CSR native arrays data, indptr and indices to avoid COO intermediary and do an explicit C-loop instead of assignment of array slices.
Additional information
This reduces the runtime of the benchmark in the linked issue from 147 ms to 11.7 ms. BSpline.design_matrix is therefore faster than BSpline.__call__() (~20 ms).

OK, trying this locally. If I manually change the threshold for int32/int64 switch to be a small fixed number instead of np.iinfo(np.int32).max, and ask for an array of a slightly larger size, the indices array is constructed to be of int64 dtype all the way until the call to csr_array --- which downcasts indices and indptr back to int32.
So, the integer dtype selection here seems to be a courtesy to the csr_array constructor, which eventually decides on the dtype. This way, what is implemented here is an optimization attempt to save some memory for arrays sizes close to the scipy.sparse threshold.
While this does couple to internal implementation details of scipy.sparse a little bit more than I'd prefer, this is likely OK. Will just need to keep an eye on gh-16774 and possibly adapt if csr_array changes its logic.
Other than that, looks good to me. Merging, thanks @lorentzenchr !

trying this locally

I also tried it locally and it works.

While this does couple to internal implementation details of scipy.sparse a little bit more than I'd prefer

Same for me. I would have preferred csr_array to take care of the those dtypes.
@ev-br Thanks for the quick review and merging.


fix(index): add example_generated to create the docs.

This dummy feature is for generating the documentations made by macros, I've missed it in my initial fork.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3106  👈
#3103
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rzvxa and the rest of your teammates on  Graphite

Merge activity

Apr 26, 8:34 AM EDT: @Boshen started a stack merge that includes this pull request via Graphite.


':' (__LOOP_BREAK) operator is processed incorrectly across multiple loops

Consider this kind of loop:
[[ c4 :1 d :2 e :3 f :4 g  ]2 ]2

This has two loops and branches (:1 to :4) within the loop.
It somehow does not compile:
Commons.Music.Midi.Mml.MmlException : Loop break specified beyond the loop count (fakefilename.mml line 1 column 38)

Here is the reason. When processing this MML, the compiler tries to simply iterate the innermost loop and it will be interpreted as:
[ c4 :1 d :2 e :3 f :4 g     c4 :1 d :2 e :3 f :4 g ]2

Then it finds duplicate branch operators (two of those :1 ~ :4 operators for each) and thus causing the compilation error.
We need decent loop expansion to not cause this kind of issue.

113aaae fixes it.


react-sketchapp-router

I'm wondering if it would be possible to create a router for react-sketchapp. It would render all the routes (Artboards) at once in a page and set up the links so that they can be viewed as a prototype.
It's just a fuzzy idea for now but it might just work. Bonus point if we can mimic the react-router API
cc @jaridmargolin

Hmmm... maybe you could expand.
As I think through the implementation, react-router is really just path based conditional routing. Match this path, cool, render. I'm not entirely sure how this concept would carry over to Sketch 🤔
I could see, a Link component which has a to prop that accepts an Artboard name. It would be pretty straightforward to build? The only thought is that it doesn't quite fit the paradigm of a primitive. It would be a Sketch specific component.

I've published a proof of concept repo for react-sketchapp-router here: https://github.com/macintoshhelper/react-sketchapp-router
It's using a fork of react-sketchapp with <HotSpot> for which there's an open PR: #436
Would be great to have ideas/feedback on the API. <Router> history.location prop is hardcoded in the provider and is used for <Artboard> isHome prop.
I'm trying to think of a nice way of having mobile, tablet and desktop routes be rendered using it so that it can be used to test responsive designs quickly.

That's amazing! Exactly what I had in mind!
The viewport prop is a nice touch. What are the API differences with react-router? Eg. could we create a react-router-primitives that requires react-router or react-sketchapp-router depending on the platform you renders to without any change in user code? That would make an amazing demo

Thanks! I've updated the repo a bit with a new <SketchRouter> and <Switch> component. A react-router-primitives lib would be great! For now, I'm using a shared routes.js file and separate entry-points for each render platform.

@mathieudutour
Have you had a chance to look at my updates to the #436 PR? I've implemented your suggestions and left a comment on the generateID function.

Rough API spec for react-sketchapp-router:

<SketchRouter> with locations prop (array) of Artboard routes to render.
<Switch> component

Example:
const viewports = [{
  name: 'Mobile', width: 360, height: 640,
}, {
  name: 'Tablet', width: 1024, height: 768,
}];

const pageWidth = viewports.reduce((acc, { width }) => {
  acc += (width + 70);
  return acc;
}, 0);

export default () => {
  const data = context.document.documentData();
  const pages = context.document.pages();

  data.setCurrentPage(pages.firstObject());

  render((
    <Document>
      <Page name="App" style={{ flexDirection: 'row', flexWrap: 'wrap', maxWidth: pageWidth }}>
        <SketchRouter
          locations={['/', '/profile/jack']}
          viewport={viewports}
        >
          <Switch>
            <Route exact path="/" exact render={({ location }) => <Home /> } />
            <Route path="/about" render={({ location }) => <About />} />
            <Route path="/profile/:username" render={({ match: { params } }) => <Profile {...params} />} />
            <Route component={NotFound} />
          </Switch>
        </SketchRouter>
      </Page>
    </Document>
  ));
};

Hi, I've published the package (0.1.0) using the updated react-sketchapp with prototype support. I've added a locations prop to specify path parameters.

Awesome!
Feel free to open a PR with an example if you want

I've realised that there are some differences to the react-router API that can result in significantly different app, and react-sketchapp, routing logic: the react-sketchapp-router API assumes that you are using a <Switch> inside of <SketchRouter>, and if you have a menu bar outside of the <Switch> and <Route>, this will be rendered outside of the <Route> Artboards.
react-router's architecture complicates this project a bit, in that the logic lives inside of the jsx tree, and can have routes nested inside of routes, etc.
What I'm thinking of doing, is extracting a lot of the logic into <SketchRouter>, and rendering Artboards from there, to make code like this possible:
render((
  <SketchRouter
    locations={['/', '/profile/jack']}
    viewport={viewports}
  >
    <AppBar />
    <NavBar />
    <Switch>
      <Route exact path="/" exact render={({ location }) => <Home /> } />
      <Route path="/about" render={({ location }) => <About />} />
      <Route path="/profile/:username" render={({ match: { params } }) => <Profile {...params} />} />
      <Route component={NotFound} />
    </Switch>
    <Footer />
  </SketchRouter>
));

I may need to use react-test-renderer to create a JSON tree of the children though, looping through children and comparing component type against Switch should be fine I think though. Maybe I could require the structure to be fairly flat, with looping children of <SketchRouter>, and expecting a <Switch> as a direct descendant, and injecting header/footer data from the components above/below the <Switch>. I think react-router-primitives should focus on just covering the primary use case of a shallow <Switch> with <Route> children, and a header or footer.


Authentication fails on Twitter (X) when the username includes "@" or "-"

"@supabase/ssr": "^0.0.10",
Bug report

Authentication fails on Twitter when the username contains "@" or "-".
Users who do not have "@" or "-" in their username authenticate successfully.

Failed pattern names:

masato@japan
masato - japan

Success pattern names:

masato

Memo
I remember having a similar issue in the past.
Here's the link: https://github.com/supabase/auth-helpers/pull/102

hey @masa5714, what error do you observe?


How to restart the analysis

How do I restart the analysis such that a new chart is being build up at localhost:3000? Thanks! Best regards, Thomas

@thomas1303 Delete the file src/server/services/db.json and restart the node process.


Add to electron app listing

[] Add a PR against this project to be listed on Electron Apps.

:cool:

Done via https://github.com/electron/apps/pull/1340


[PUI] Tweaks and refactor for "part details" page

Follow-up to https://github.com/inventree/InvenTree/pull/6040
Fixes some issues with hard-coded URLs (move to using the ModelType framework instead)
Fix some broken URLs

@LavissaWoW just some small bug fixes I encountered which were missed on first review

@SchrodingersGat Looks good! Thanks for catching the mistakes 😊


lxterminal: 0.3.1 -> 0.3.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/lxterminal/versions.
meta.description for lxterminal is: '"The standard terminal emulator of LXDE"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2/bin/lxterminal had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.3.2 with grep in /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2
directory tree listing: https://gist.github.com/6d23d90d930b1fbe1f679bb5e82790cb
du listing: https://gist.github.com/14fcd2919325e213563d0efc418e334d

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/bab32fb789ae084dd623999135aa4587c7163c29.tar.gz -p lxterminal
ls -la /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2

cc @velovix for testing.

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

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

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

Success on aarch64-linux (full log)
Attempted: lxterminal
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2
shrinking /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2/bin/lxterminal
gzipping man pages under /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2/share/man/
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2/bin
patching script interpreter paths in /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2
checking for references to /build in /nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2...
/nix/store/q2igp86vrgf80hwh3hbscbdb2cx3rza0-lxterminal-0.3.2

Success on x86_64-linux (full log)
Attempted: lxterminal
Partial log (click to expand)
make[1]: Leaving directory '/build/lxterminal-0.3.2'
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2
shrinking /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2/bin/lxterminal
gzipping man pages under /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2/share/man/
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2/bin
patching script interpreter paths in /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2
checking for references to /build in /nix/store/mn83nshycksd565mb8jz4dzbf3b87qsj-lxterminal-0.3.2...

For what it's worth, I gave it a test and it seems to work fine.

same here.