Fix: abort root folder search upon reaching filesystem root

On Linux I experienced the findroot function looping for ever and not aborting upon reaching the filesystem root.
The following patch is an attempt to fix this.

fixes #49 (Turns the stackoverflow into a debugtrace), output after fix:
Bad state: Can not find project root
#0      Cider._findRoot
cider.dart:35
#1      new Cider.<anonymous closure>
cider.dart:20
#2      Singleton.call
singleton.dart:11
#3      ContainerMixin.get
container.dart:28
#4      PubspecService.install.<anonymous closure>
pubspec_service.dart:28
#5      Singleton.call
singleton.dart:11
#6      ContainerMixin.get
container.dart:28
#7      PubspecService.install.<anonymous closure>
pubspec_service.dart:35
#8      Cider.run
cider.dart:72
<asynchronous suspension>
#9      main
cider.dart:6
<asynchronous suspension>


Context dependencies should support resource queries

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
There is no way to pass a resource query when using context dependencies via require.context. In other words, this.resourceQuery will never be set inside a loader when using require.context.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
this.resourceQuery should be set in a loader for something like the following:
const ctx = require.context('images?foo=bar', false, /\.jpg$/);
ctx('./a.jpg');

I have a test case and a proposed fix in my fork here - https://github.com/anuraaga/webpack/pull/1
If the approach seems reasonable, I would be happy to move the PR to this repo for tweaks/submission, otherwise someone more familiar with the webpack design should probably take over as I just stumbled to that solution :)
If this is a feature request, what is motivation or use case for changing the behavior?
Some loaders (e.g. sharp-loader) use this.resourceQuery to enable certain behavior. This functionality cannot be used with context dependencies due to having no way to set a resource query. There doesn't seem to be any reason context dependencies should not support this feature as the only difference compared to a normal dependency is multiple files are resolved at the same time and placed in a map.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
All

Yep, send a PR

Provided PR doesn't seems working for imports like this
../foo/${bar}.foo?my-query
Should i make PR to support queries like the one above?

resourceQuery make it way to regExp here, is it expected behaviour, @sokra ?
https://github.com/webpack/webpack/blob/d2aca5638c2269fd00ef30e570953b3dc93711b7/lib/dependencies/ContextDependencyHelpers.js#L100

@ogonkov Problem still exists?

It seems working properly as of<EMAIL_ADDRESS>I put a loading of SVGs via import(), and using query that switch sprite/file loaders affect that import correctly, by producing sprite and separate chunks respectively.
I think this issue was resolved, not sure when.

Yes, i think we should fix it, feel free to send a PR

It's fixed

With const ctx = require.context('images?foo=bar', false, /\.jpg$/); looks no

bump

So just to clarify, the original request is specifically about require.context not import or import() The latter two have worked with resource queries for a while, but the require function returned by require.context has no facility for passing the resource query along.
So, for example, let's say we want to write a rule to use a different svg loader based on the resource query...something like this:
{
  test: /\.svg$/,
  resourceQuery: /sprite/,
  use: ['svg-sprite-loader', 'svgo-loader'],
},

With that rule, this import of foo.svg ends up using that set of loaders:
import './foo.svg?sprite';
but something like this does not:
const requireSprites = require.context('./?sprite', false, /\.svg$/);
requireSprites.keys().forEach(requireSprites);

For anybody landing here after struggling with this and require.context, take a look at https://webpack.js.org/concepts/loaders/#inline for possible solutions

Original problem was resolved, if you still have a problem, please create a new issue, other issue https://github.com/webpack/webpack/issues/12900, test is preferred over resourceQuery, so if you have intersection for test, you need specify resourceQuery for both rules, i.e.  resourceQuery: /raw/, and  resourceQuery: /^(?!\?raw$).*/,


[ZEPPELIN-2761] - Neo4j Interpreter

What is this PR for?
This contribution would to introduce Neo4j Cypher intepreter and at the same time provides base APIs that enable other graph databases (or graph framworks such as GraphX or Giraph).
What type of PR is it?
[Feature]
Todos

[x] - Provide base APIs to manage graph results (under: org.apache.zeppelin.interpreter.graph.*)
[x] - Create the Neo4j intepreter

What is the Jira issue?
[ZEPPELIN-2761]
How should this be tested?
Donwload and execute Neo4j v3.x, you can also pull a Docker image.
In order to execute test cases, if you are running Java 7, you need to also provide an environment variable telling the tests where to find Java 8, because Neo4j-the-database needs it to run.
export NEO4J_JAVA=<path/to/java/home>

Use this statement to create a dummy dataset
%neo4j
UNWIND range(1,100) as id
CREATE (p:Person {id:id, name: "Name " + id, age: id % 3}) WITH collect(p) as people
UNWIND people as p1
UNWIND range(1,10) as friend
WITH p1, people[(p1.id + friend) % size(people)] as p2
CREATE (p1)-[:KNOWS {years: abs(p2.id - p2.id)}]->(p2)

Then you can write some simple queries like:
%neo4j
MATCH (p:Person)-[r:KNOWS]-(p1:Person)
RETURN p, r, p1
LIMIT 10;

%neo4j
MATCH (p:Person)-[r:KNOWS]-(p1:Person)
RETURN p.id AS ID_A, p.name AS NAME_A, r.years AS YEARS, p1.id AS ID_B, p1.name AS NAME_B
LIMIT 20;

Video

Questions:

Does the licenses files need update? Yes
Is there breaking changes for older versions? No
Does this needs documentation? Yes

I looked through the code and the UX and can confirm that this is great work from a Neo4j point of view.

Thanks for the great feature! since this is a big change, I guess it takes a time to review and requires multiple reviewers. Let me take a look.

This is a new feature that makes utilizing graph type easily. Any other opinions?

@1ambda any update on the review progress?
We really would love to see this feature in Apache Zeppelin :)
Thanks a lot.

@conker84 ping :)

@felixcheung  let me know if i have to do something else!

Hi guys, any news/plan about this?

sorry for dropping this. will review shortly.

@felixcheung thank you. We've also received requests from others waiting for this PR :)

Sorry for the late response, i lost it :(
@jexp what do you think about this
(optional) shall we move neo4j-java-driver to 1.4.3, and neo4j 3.2.3?
@felixcheung i'm updating the images :)

Yes please update.

@felixcheung travis is failing, have i to rebase?

Let's try rebasing

I've reviewed the changes

@felixcheung the job #10.2 fails...
Can you help me?

@felixcheung ping :)

Hi @felixcheung any news?
Thanks
Andrea

could you rebase to pick up the change, I think the test failure is fixed by PR # 2609

since this is a known failure that is already fixed, let's not restart the process.
merging if no more comment

yay!! thanks so much.

Thanks!

merged, thanks!

@felixcheung just curious when is the next Zeppelin release planned ? :)
Can't wait to see this out in the wild.

Not sure :)
You can ask on dev<EMAIL_ADDRESS>


Very much needed, thanks!

Good work - the remix core assumption that we'd be using APIGatewayV2 is strange given the huge gap in functionality between that and V1/ALB.

thanks! we're using it with ALB and APIGv1 because v1 has more features idd, especially for enterprise platforms.
From what I understand, the Remix guys want to focus on core feature of Remix and writing adapters for every cloud provider and its proxies is not part of the core responsibility.
fyi, https://github.com/remix-run/remix/pull/3173


Rename higher-order functions

Closes https://github.com/dsaxton/resample/issues/31
While I don't think these names are great necessarily they're better than the _fn suffixes being used currently (I think quantile_function_gen is a slight improvement over quantile_gen since it makes it clear it's the quantile function that's being returned).
Also doing some other small cleaning (i.e., import sorting, removing what seem to be unnecessary underscore prefixes in imports; the functions aren't internal to the module and if they were I'd think the underscore should be part of the name). I'm actually surprised the CI wasn't failing due to formatting issues.

I'm actually surprised the CI wasn't failing due to formatting issues.

What do you use to get the extra formatting and reordering of imports? It would be good if we use the same automatic tools.

removing what seem to be unnecessary underscore prefixes in imports

I added the underscores originally in an attempt to hide these imports, but that does not work so it is fair to remove them.
My goal was/is to keep the namespace of the module clean, so that IDEs which support auto-completion only autocomplete on the actual content of the module, not on stuff the module itself imports to make things working. I have to do more research to find out how to do this properly. Perhaps by setting __all__

My goal was/is to keep the namespace of the module clean, so that IDEs which support auto-completion only autocomplete on the actual content of the module, not on stuff the module itself imports to make things work. I have to do more research to find out how to do this properly. Perhaps by setting __all__

Ah, that makes sense

What do you use to get the extra formatting and reordering of imports? It would be good if we use the same automatic tools.

I'm using isort: https://github.com/timothycrosley/isort. It does things like alphabetical ordering and ordering according to standard library / third-party / etc.


Fix 1093 Changes the timestamp tag to latest for Docker Images

This will fix the FMP goals broken
#1093

@piyush1594 could you please fix this? You may like update CHANGELOG.md as well.

Looks good !
As I'm going to create the 3.5 branch tomorrow, lets hold back all 4.0 PRs for now. That will make my life easier ;-) After this (and when we resolved the conflict), we should be fine.

@rohanKanojia a booster check seems to be constantly failing:
Results :
Tests in error:
  VertxHealthchecksBoosterIT.redeploy_vertx_app:80->assertDeployment:101->testHealthChecks:119->assertApplicationRecovery:131->BaseBoosterIT.makeHttpRequest:273 » IO
Tests run: 12, Failures: 0, Errors: 1, Skipped: 0

as I can't see how this PR affects the test I'm going to merge it still.


Add rss plugin

[ ] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #330 (dde6386) into rework-kobs-architecture (8ccf65b) will increase coverage by 1.36%.
The diff coverage is 100.00%.

@@                     Coverage Diff                      @@
##           rework-kobs-architecture     #330      +/-   ##
============================================================
+ Coverage                     49.17%   50.53%   +1.36%
============================================================
  Files                            69       72       +3
  Lines                          4539     4664     +125
============================================================
+ Hits                           2232     2357     +125
  Misses                         2251     2251
  Partials                         56       56

Impacted Files
Coverage Δ

packages/plugin-opsgenie/cmd/opsgenie.go
100.00% <ø> (ø)

packages/plugin-rss/cmd/rss.go
100.00% <100.00%> (ø)

packages/plugin-rss/pkg/feed/feed.go
100.00% <100.00%> (ø)

packages/plugin-rss/pkg/instance/instance.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Use same fragment multiple times in different navigation graph

I would like to navigate to fragment A in more than one graph.
"Now I get this error : navigation destination action_compareListFragment_to_productPageFragment is unknown to this NavController"
How should I handle this situation?

Having the same issue. Any solution?

always!! i was also facing that problem. I hope this can help you. check the current destination id like for example
if (findNavController().currentDestination?.id == R.id.findPasswordFragment) {
findNavController().navigate(R.id.action_findPasswordFragment_to_initPasswordFragment)
}

@DJDrama can you share the complete snippet of it?

Just use nested navigation.
Put the fragment in different navigation file and add it as nested navigation in other file.

You Just have set destination id same as your fragment id.
Like below

</fragment>

I want to do the same but I think this is not possible:

The nested graph encapsulates its destinations. As with a root graph, a nested graph must have a destination identified as the start destination. Destinations outside of the nested graph, such as those on the root graph, access the nested graph only through its start destination.

Taken from: [Nested Navigation Graphs](https://developer.android.com/guide/navigation/navigation-nested-graphs
So basically you can only have an action to the "start destination" of a nested graph. No way to access an inner fragment/destination inside a nested graph. I think the solution is NOT to use nested graphs whenever you "share" a fragment/destination for multiple graphs.

I have even tried to create a nested graph per destination (means that graphs will contain only one single fragment) and include them into a different graphs. Unfortunately in that case SafeArgs plugin does not work properly and auto-generated FragmentDirections does not contain actions and arguments.

I have even tried to create a nested graph per destination (means that graphs will contain only one single fragment which allows me to avoid the problem mentioned by @marcelo-s) and include them into a different graphs. Unfortunately in that case SafeArgs plugin does not work properly and auto-generated FragmentDirections does not contain actions and arguments.

Well if you have 1 to 1 relationship between graphs and fragments, then there is no point in having "multiple graphs". In that case you can put all of the Fragments in one graph, that way you will for sure have access to any fragment you want.
I also had the issue of the Fragment Directions not being generated. Make sure you can build your app and build it, meaning you shouldn't have any errors on your project, that way gradle/maven can compile and generate the Classes with the actions.

@marcelo-s It's not about 1 to 1 relationship between graphs. The idea was to create a nested subgraph (with single destination-fragment inside) for every fragment which is going to be injected into multiple graphs. Then instead of every time directly registering a corresponding destination as a <fragment id=... we can include it like <include app:graph="@navigation/subgraph" />. The advantage of this approach would be that you will have a single file (entry-point) for each shared fragment(between multiple graphs) and everywhere instead of registering the same fragment again and again (with exactly same actions and arguments) you could just include it as a subgraph. Unfortunately this approach does not work because in case of <include app:graph="@navigation/subgraph" /> when SafeArgs plugin generates  FragmentDirections it does not contain actions and arguments.

Unfortunately this approach does not work because in case of  when SafeArgs plugin generates FragmentDirections it does not contain actions and arguments.

Workaround:
Add an action with the same id to both root graph and subgraph (ex showSome). Add arguments to SubgraphFragment, then navigate from SomeRootFragment via SubgraphFragmentDirections.showSome(args) instead of SomeRootFragment.showSome().

This solution works for now (navigation library 2.3.5 with safeargs)
keypoints:

action id must be same in root and feature graphs (action_to_detailFragment)
In feature graph, I also add the arguments to the actions (safeargs not create automatically like root graphs)

nav_root_graph.xml
<fragment
        android:id="@+id/anotherFragment"
        android:name="com.xxx.AnotherFragment"
        tools:layout="@layout/fragment_another">
        <action
            android:id="@+id/action_to_detailFragment"
            app:destination="@id/detailFragment" />
</fragment>

<fragment
        android:id="@+id/detailFragment"
        android:name="com.xxx.DetailFragment"
        tools:layout="@layout/fragment_detail">
        <argument
            android:name="param_one"
            app:argType="com.xxx.Data" />
        <argument
            android:name="param_two"
            app:argType="boolean" />
 </fragment>

nav_feature_graph.xml
<include app:graph="@navigation/nav_root_graph" />

<fragment
        android:id="@+id/homeFragment"
        android:name="com.xxx.HomeFragment"
        tools:layout="@layout/fragment_home">
        <action
            android:id="@id/action_to_detailFragment"
            app:destination="@id/detailFragment">
            <argument
                android:name="param_one"
                app:argType="com.xxx.Data" />
            <argument
                android:name="param_two"
                app:argType="boolean" />
        </action>
</fragment>

From: HomeFragment
findNavController().navigate(HomeFragmentDirections.actionToDetailFragment(model, true))
From: AnotherFragment
findNavController().navigate(AnotherFragmentDirections.actionToDetailFragment(model, true))

You can create a CustomNavDirections data class and create your own NavDirections
data class CustomNavDirections(     override val actionId: Int,     override val arguments: Bundle ) : NavDirections
And then you can create an extension function with the argument you need and bundle can be obtained via the safe arguments
fun HomeFragmentDirections.Companion.actionHomeFragmentToTaskDetailNavGraph(     taskId: Int ): NavDirections = CustomNavDirections(     actionId = R.id.action_homeFragment_to_task_detail_nav_graph,     arguments = TaskDetailFragmentArgs(taskId = taskId).toBundle() )
Use:
findNavController().navigate(             directions = HomeFragmentDirections.actionHomeFragmentToTaskDetailNavGraph(                 taskId = taskId             )         )

I think using global navigation action will solve this issue
you can use it like below

    <argument
        android:name="id"
        app:argType="integer" />

</fragment>

<action android:id="@+id/action_global_navigate_to_fragment1" app:destination="@id/fragment1"/>

and in you Kotlin class you can find the global action that you added in all you fragments with this navigation


assembly error detection isn't much efficient on my data

I'm using a salsa 2 version that I downloaded about a week ago and I'm trying to correct/assemble a genome that we know contains thousands of errors linking different chromosomes in the same scaffold. (See https://academic.oup.com/gbe/article/10/2/507/4817508#110136596, second-to-last paragraph of the discussion.)
Using Hi-C (chicago) data mapped with the recommended Arima genomics pipeline on this genome, salsa 2 detected only 63 errors (as listed in input_breaks).
Note that the draft assembly onto which I mapped the Hi-C reads is made of scaffolds (not unitigs) and doesn't come with a gfa file (it was assembled by somebody else a long time ago).
Note also that HiRise corrected ~7700 errors on this genome (I haven't run this analysis myself, dovetail did).
I looked more closely at the data, focusing on a scaffold that we know contains at least 4 assembly errors (the scaffold outlined in the supplementary material:
https://academic.oup.com/gbe/article/10/2/507/4817508#110136605). I computed the physical coverage of Hi-C reads on this scaffold, based on the bed file that was given to salsa.

The top plot shows the physical coverage of all read pairs whose mates are >500bp appart (including the <500pb mate pairs gives a plot that is very similar, just a bit noisier and much longer to generate.) The only clear drop in coverage is around 180 kb. It was actually among the very few to be detected by salsa.
The bottom plot shows the physical coverage of read pairs whose mates are distant from 500bp to 150 kbp. We can see 5 clear coverage drops, 4 of which are known assembly errors. (The only "new" one is the one between 600 and 800kb, which I believe is a true error linking distant parts of the X chromosome).
So it seems that salsa 2 could be more efficient at detecting errors, possibly by ignoring mates that are too distant.
It's possible that HiRise does such thing, since it generates "a custom statistical model based on the read-separation distribution of the Hi-C data" (https://dovetailgenomics.com/wp-content/uploads/2018/06/Hi-C-kit-_0614_online.pdf).

Thank you for reporting this. We will add an option to support mate pairs upto certain separation to be used for misassembly correction. I will keep this issue open until we add this feature.

On my data, I get best results by only considering pairs of mates that are distant from 20 kb to 40-50kb. Removing pairs of reads that are too close reduces the noise.

By selecting read pairs according to the criteria mentioned above and establishing the topography of physical coverage, I found ~1500 errors in the assembly. Still much less than the 7700 breaks made by HiRise, but my detection is conservative. I chose a fixed minimal physical coverage of 10X to delineate a "valley" (= a break), and I merged two valleys if these were separated by a "peak" that isn't higher by more than 20X above both valleys. I'm not sure how salsa delineates breaks. Hopefully, it does something better than my custom script.
Still, I believe that the physical coverage, although straightforward, can only be so sensitive to detect errors. It seems that much more could be extracted from the coordinate of mapped read pairs, as the matrix image posted above clearly outlines breaks better than the physical coverage topography. Dudchenko et al.'s solution of using a sliding rectangle along the matrix's diagonal doesn't look optimal either, since it would be handicapped by the off-diagonal clusters (which could in fact help to detect breaks rather than being an hindrance).

Hi Jeanlain,
I have modified the code to implement some the ideas you mentioned and it seems to work well on the genomes we have to test with. Please use the latest code on your genome and let us know if it works better now on the genome you were looking at.

Hey,
can I please ask you for the code to do these physical coverage graphs? They are great!


Difficulties with installing

Trying Install torch-linear-assignment using different ways and each time have the following error:
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: torch>=1.12.0 in /opt/conda/lib/python3.10/site-packages (from torch-linear-assignment==0.0.1.post3) (2.1.0+cu121)
Requirement already satisfied: scipy>=1.6.0 in /opt/conda/lib/python3.10/site-packages (from torch-linear-assignment==0.0.1.post3) (1.10.1)
Requirement already satisfied: numpy<1.27.0,>=1.19.5 in /opt/conda/lib/python3.10/site-packages (from scipy>=1.6.0->torch-linear-assignment==0.0.1.post3) (1.23.5)
Requirement already satisfied: networkx in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (3.0)
Requirement already satisfied: typing-extensions in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (4.5.0)
Requirement already satisfied: sympy in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (1.11.1)
Requirement already satisfied: jinja2 in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (3.1.2)
Requirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (3.16.1)
Requirement already satisfied: fsspec in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (2023.3.0)
Requirement already satisfied: triton==2.1.0 in /opt/conda/lib/python3.10/site-packages (from torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (2.1.0)
Requirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.10/site-packages (from jinja2->torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (2.1.2)
Requirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.10/site-packages (from sympy->torch>=1.12.0->torch-linear-assignment==0.0.1.post3) (1.3.0)
Building wheels for collected packages: torch-linear-assignment
Building wheel for torch-linear-assignment (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python3.10 /opt/conda/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/in_process.py build_wheel /tmp/tmp9yfeiyqa
cwd: /home/jovyan/DigitalAvatar/RMTPP-2/ERPP-RMTPP/Experiments/torch-linear-assignment
Complete output (23 lines):
/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/subclasses/functional_tensor.py:295: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
cpu = conversion_method_template(device=torch.device("cpu"))
running bdist_wheel
/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/utils/cpp_extension.py:497: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
copying torch_linear_assignment/init.py -> build/lib.linux-x86_64-cpython-310/torch_linear_assignment
copying torch_linear_assignment/assignment.py -> build/lib.linux-x86_64-cpython-310/torch_linear_assignment
running build_ext
/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/utils/cpp_extension.py:416: UserWarning: The detected CUDA version (12.1) has a minor version mismatch with the version that was used to compile PyTorch (12.4). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/utils/cpp_extension.py:426: UserWarning: There are no g++ version bounds defined for CUDA version 12.1
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'torch_linear_assignment.backend' extension
g++ -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/TH -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/THC -I/opt/conda/include -I/opt/conda/include/python3.10 -c src/torch_linear_assignment_cuda.cpp -o build/temp.linux-x86_64-cpython-310/src/torch_linear_assignment_cuda.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=backend -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/utils/cpp_extension.py:1964: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
/opt/conda/bin/nvcc -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/TH -I/tmp/pip-build-env-ndy8zros/overlay/lib/python3.10/site-packages/torch/include/THC -I/opt/conda/include -I/opt/conda/include/python3.10 -c src/torch_linear_assignment_cuda_kernel.cu -o build/temp.linux-x86_64-cpython-310/src/torch_linear_assignment_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options '-fPIC' -ccbin gcc -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_backend -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++17
cc1plus: fatal error: cuda_runtime.h: No such file or directory
compilation terminated.
error: command '/opt/conda/bin/nvcc' failed with exit code 1
ERROR: Failed building wheel for torch-linear-assignment
Failed to build torch-linear-assignment
ERROR: Could not build wheels for torch-linear-assignment, which is required to install pyproject.toml-based projects

Hi! Please, try the solution from the following thread:
https://github.com/NVIDIA/apex/issues/1591


Can't configure integration due to "Unknown error for pwd"

I'm trying to configure the integration for the first time, but after filling in router address, username, password and so on, i get the following" error message as a response and am thus unable to finnish the configuration.

TplinkRouter Integration Exception - Unknown error for pwd - Expecting value: line 1 column 1 (char 0); Response -

I've tried both versions 1.3.0 and 1.3.1 of your code.
I'm running Homassistant supervised on a debian 12 amd64 machine, Core: 2024.1.3, Supervisor: 2024.01.0.dev0201

Same problem here, on an Archer C7 v2 (Maybe thats too old of a model for this extension?)

@oskjoh What is your router?

@tux2000 This integration doesnt support Archer C7 v2. It has old API that is completely different with the new API

Thanks for the explanation

I also have an Archer C7 v 2.0…. realize now that it’s not supported. Sorry, my bad.


[flutter_tools] Add support for Android Studio Arctic Fox

Android Studio Arctic Fox introduced a bunch of changes that need to be addressed in flutter_tools

[x] Refactor Android Studio detection on Windows
[ ] Add support  Android Arctic Fox detection in flutter doctor on Windows, macOS & Linux
[ ] Update jdk location throws Unable to find bundled Java version

cc: @jonahwilliams

Update on macOS
Previously, canary release  and currently release candidate of Android Studio Arctic Fox on macOS ships with cryptic Android Studio string such as EAP AI-203.7717.56.2031.7557721, which fails my logic to look for updated java path for this release based on Android Studio version number
I am hoping the stable version will ship the proper version string in infoplist. otherwise, I will have to find a workaround
cc: @jonahwilliams

Update JDK location on macOS, throws Unable to find bundled Java version

Stable now has correct version string, will be fixed by https://github.com/flutter/flutter/pull/87267


chore(tests): remove unwanted license headers

Summary
Removes license headers as they must not be in kong-oss.
Closes: https://github.com/Kong/kong/issues/11661
Fix: https://konghq.atlassian.net/browse/KAG-2666

TODO: we need a automatic tool to check this liscenses

Any PRs related to spec/* should have a title like tests(scope): ....
For this PR, it could be tests(db): remove unwanted license headers

Any PRs related to spec/* should have a title like tests(scope): .... For this PR, it could be tests(db): remove unwanted license headers

Thanks chrono, I'll pay attention to it next time.


CharBERT out of date with latest Transformers? + using charBERT to output probability of sequence of characters?

Hello, thank you very much for the package!
So as I began to use it, I noticed that it seems to only run with transformers v3.5.0 - the package is now on v.4.4.2, so it's been moving fast. The new changes mean that the core modeling functions don't work because of the reorganization of the BERT internals. I managed to get it to work by installing an older version of Transformers, but I thought I'd give you a heads up.
Also - using the character BERT model, can I use it as a language model to tell me the probability of a particular sequence? In the sense that correct sequences, actual words, are scored with a high probability, and garble or nonsense is scored with a low probability? How exactly would I poke around the layers to get what I want?
Thank you since again!!

I managed to get it to work by installing an older version of Transformers, but I thought I'd give you a heads up.

Hi @bhargavvader thanks for the heads up! Actually I am currently working on integrating CharacterBERT as a part of the transformers library (although progress is kinda slow). So at some point you can expect to be able to use the model seamlessly from the library 😊

How exactly would I poke around the layers to get what I want?

So I only share the weights of the CharacterBERT "model" and not the entire language model with the MLM and NSP layers on top. Right now I'm not planning to release the weights since the code in the repo does not have a class that allows for the weights to be loaded in. Instead, I'll keep working on the huggingface integration as once this is done you will be able to do something like: CharacterBertForPretraining.from_pretrained('...') and load the language model.
I'll let you know when the integration is done. Cheers!


⚠ SolarOscp has degraded performance

In 460b3f4, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 285 ms

Resolved: SolarOscp performance has improved in 3f1b5e6 after 9 minutes.


fix Scala 2.13 build

Thanks @xuwei-k

still fail doc task in the Release stage 😢
[error] /home/travis/build/[secure]/Monocle/generic/src/main/scala/monocle/generic/internal/CoproductToDisjunction.scala:5:1: Could not find any member to link for "shapeless.Coproduct".
[error] /**
[error] ^
[error] /home/travis/build/[secure]/Monocle/generic/src/main/scala/monocle/generic/internal/DisjunctionToCoproduct.scala:5:1: Could not find any member to link for "Either".
[error] /**
[error] ^
[error] two errors found

[error] (genericJVM / Compile / doc) Scaladoc generation failed
[error] (genericJS / Compile / doc) Scaladoc generation failed

https://travis-ci.org/julien-truffaut/Monocle/jobs/564965176#L716
https://github.com/julien-truffaut/Monocle/blob/303a18a411596e8b61895528d2e5480f47d6e481/generic/src/main/scala/monocle/generic/internal/CoproductToDisjunction.scala#L6

Do you know what is the correct syntax for scala doc? Alternatively, we can just remove the [[...]]

[[...]] is correct syntax. We should remove [[...]] or add more settings if reference external libs. https://github.com/ThoughtWorksInc/sbt-api-mappings

https://github.com/sbt/sbt/blob/9fa25de84cf6fb521aa5f161c866837200ec17c4/main/src/main/scala/sbt/Keys.scala#L329-L330

Ok I will remove [[..]] thanks Kenji

https://github.com/julien-truffaut/Monocle/pull/692


Code ENOENT, Syscall lstat error when using nativefier command

Description
Attempted to natify the webapp Granblue Fantasy, received an error with missing files. Completely new to this so have no idea what I'm doing.
Steps to reproduce issue
nativefier game.granbluefantasy.jp   packaging [==============================                    ] 61%Packaging app for platform darwin x64 using electron v1.8.4   packaging [===================================               ] 70%{ Error: ENOENT: no such file or directory, lstat '/var/folders/_v/g9g1hnjs50n1fdv1xvv9fqm40000gn/T/tmp-514514IMUKfTHCb5w/icon.icns'   errno: -2,   code: 'ENOENT',   syscall: 'lstat',   path: '/var/folders/_v/g9g1hnjs50n1fdv1xvv9fqm40000gn/T/tmp-514514IMUKfTHCb5w/icon.icns' }   packaging [========================================          ] 80%
^ Was not sure about privacy so replaced user name with 'user'
Details

Are you nativefying a public website? Yes?
nativefier game.granbluefantasy.jp
Version of Nativefier (run nativefier --version): v7.6.1
Version of node.js (run node --version): v9.10.1
OS: <Mac OS Sierra Version 10.12.6>
Error message:
{ Error: ENOENT: no such file or directory, lstat '/var/folders/_v/g9g1hnjs50n1fdv1xvv9fqm40000gn/T/tmp-49012QqSApZfRcOn3/icon.icns' errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/var/folders/_v/g9g1hnjs50n1fdv1xvv9fqm40000gn/T/tmp-49012QqSApZfRcOn3/icon.icns' }

I tried tracing the path above but could only get to folder T, /tmp-49012QqSApZfRcOn3/icon.icns doesn't exist.

I've been getting the same issue EXCEPT for pages that have a sub directory.
Was trying to make an app for https://www.duolingo.com/ and it kept failing with the same error.
Managed to do a work-around with this:
nativefier --name "Duolingo" "https://www.duolingo.com/../"
Hope that helps

``


how i can open office in the main process

`ipcMain.on('create-word',() => {
shell.openItem(path.join(__dirname, '../renderer/components/HomeViews/new.docx'));
})
ipcMain.on('create-xls',() => {
shell.openItem(path.join(__dirname, '../renderer/components/HomeViews/new.xls'));
})
ipcMain.on('create-ppt',() => {
shell.openItem(path.join(__dirname, '../renderer/components/HomeViews/new.ppt'));
})`
it works well in the development progress, but it dose not work after i package the project

This is the same situation as the #224. Please refer to the docs I posted there on how to handle Static Assets and how __dirname is handled.

@lianshengxing
Coming in the next milestone release will be a __static variable that will provide a reliable way to access your static/ assets. More info at #171. Here is a link to the upcoming documentation, https://simulatedgreg.gitbooks.io/electron-vue/content/v/9772e38a3e73c5610ba845b2d07103d1b2a7a29d/en/using-static-assets.html#use-case-within-js-with-fspath-and-static.


Unable to set Availability of Output attribute

https://forum.opentap.io/t/child-step-with-input-python/1175
Environment
Python package 3.0.0 (also tested on 3.0.2)
OpenTAP 9.19.4
Details
See attached files to recreate. I am trying to create a parent step with an output property connect to its own child step with an input property. When either parent step is run, a deadlock error is generated.
There are two versions, with input type Double and input type OpenTap.Input[Double].
testPy.zip

Ok, after checking it out.
The problem is that output availability needs to be used as a named argument and not as a positional one.
Instead of this:
outputProp = property(Double, 0.0).add_attribute(OpenTap.Output(OpenTap.OutputAvailability.BeforeRun))
do this:
outputProp = property(Double, 0.0).add_attribute(OpenTap.Output(availability = OpenTap.OutputAvailability.BeforeRun))
A minor change is also that ChildTest needs to use f"{self.inputProp}" and not f"{self.inputProp.Value}" in this case.
So the 'workaround' is to use a named argument.
This needs to be fixed inside PythonNet, since it does not handle named/positional arguments correctly in this case. It should accept either version of the code if possible.

That works, thanks for the workaround


Using infinite generators with .from() are not scheduled asynchronously

RxJS version:
├──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
Code to reproduce:
// Choose rxjs 4 or 5
var Rx = require('rxjs')
// var Rx = require('rx')

// Infinite generator
var generator = function* () {
  var i = 0;
  while (true) yield i++;
}

// Subscribe w/ async Scheduler
var sub = Rx.Observable.from(generator(), null, null, Rx.Scheduler.async)
.subscribe(console.log)

// Just to see if this interval interleaves with the subscription logs
var id = setInterval(_ => console.log('tick tock'), 0)

// Quit after a little bit
setTimeout(_ => {
  clearInterval(id)
  sub.unsubscribe ? sub.unsubscribe() : sub.dispose()
}, 50)

Expected behavior:
Observable should asynchronously emit onNext for values from infinite generator on separate ticks, such that we can see its output interleaved with the 'tick tock' interval, and that the setTimeout to unsubscribe has a chance to be registered.
Actual behavior:
In RxJS 5: The observer synchronously logs the generator values. So we get stuck in an infinite loop as soon as we subscribe.
In RxJS 4: This works in node and most browsers. It strangely does not work in Safari, where it exhibits behavior similar to RxJS 5.
Additional information:
I'm not 100% sure this is the correct way to subscribe to an infinite generator, but this is what I could gather from the documentation.

Oh, I know what's up. Seems that while in RxJS 4 I could do Rx.Observable.from(generator(), null, null, Rx.Scheduler.async), in RxJS 5, I have to do Rx.Observable.from(generator(), Rx.Scheduler.async)

@rahatarmanahmed 😉


Questions about the results of libSVM

LibSVM version: C++OneClassSVM
Specify parameters: nu and gamma
Call method: Use C++to pass output, C # to call
Dataset invocation method: Train unlabeled datasets and predict anomalies for that dataset
Now I have encountered the following problem:

Although nu and gamma have been specified, the results may change during repeated training. It was observed that this is due to changes in the number of iterations, but no parameters that can control the iterations were found
When nu=0.05 and gamma=0.15, not only does the number of iterations change, but in most cases, the output of the iter is 0, indicating that there is no training at all
At nu=0.05 and gamma=0.15, the number of iterations is 0 and 88, where all results are -1 when item=0 and all results are 1 when item=88
Let nu=0.2, gamma=0.15, and the number of iterations be 91, but the results are all -1. It is worth noting that at this point, the auc metric of OCSVM in sklearn has exceeded that version

Can you show us your data so we can see why results change in repeated
training?
On 2023-11-28 09:52, lzm42 wrote:

LibSVM version: C++OneClassSVM
Specify parameters: nu and gamma
Call method: Use C++to pass output, C # to call
Dataset invocation method: Train unlabeled datasets and predict
anomalies for that dataset
Now I have encountered the following problem:

Although nu and gamma have been specified, the results may change
during repeated training. It was observed that this is due to changes
in the number of iterations, but no parameters that can control the
iterations were found
When nu=0.05 and gamma=0.15, not only does the number of
iterations change, but in most cases, the output of the iter is 0,
indicating that there is no training at all
At nu=0.05 and gamma=0.15, the number of iterations is 0 and 88,
where all results are -1 when item=0 and all results are -1 when
item=88
Let nu=0.2, gamma=0.15, and the number of iterations be 91, but
the results are all -1. It is worth noting that at this point, the auc
metric of OCSVM in sklearn has exceeded that version

--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you are subscribed to this
thread.Message ID: @.> [ {
@.": "http://schema.org", @.": "EmailMessage",
"potentialAction": { @.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/209", "url":
"https://github.com/cjlin1/libsvm/issues/209", "name": "View Issue" },
"description": "View this Issue on GitHub", "publisher": { @.***":
"Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/209
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHWGQ5V5LGSQ6V4LDNTYGU7WHAVCNFSM6AAAAAA7452B4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTGNBUGQYTKOA

from sklearn.datasets import laod_wine,load_breast_cancer. I deleted the target columns of two datasets and standardized them

Could you show us your code?

Can you show us some exp log. Indeed because we don't have your whole
code/environment to reproduce what you got, it is difficult to see what
is going on
On 2023-12-04 08:51, lzm42 wrote:

about what?Cpp code?
#include <svm.h>
#include
class OneClassSvm2
{
public:
OneClassSvm2(string kernel, double nu, double gamma, double
c);
~OneClassSvm2();
int getKernelType(string type);
void train(std::vector<svm_node*> data);
void predict(std::vector<svm_node*> data);
private:
int _kernel;
double _nu;
double _gamma;
double _C;
svm_model* model;
};
OneClassSvm2::OneClassSvm2(string kernel="rbf", double nu=0.5, double
gamma=0.5, double c=1.0) {
this->_kernel = this->getKernelType(kernel);
this->_nu = nu;
this->_gamma = gamma;
this->_C = c;
this->model = nullptr;
}
OneClassSvm2::~OneClassSvm2() {
if (this->model != nullptr) {
svm_free_and_destroy_model(&this->model);
}
}
int OneClassSvm2::getKernelType(string type) {
if (type == "rbf") {
return RBF;
}
else if (type == "linear") {
return LINEAR;
}
else if (type == "poly") {
return POLY;
}
else if (type == "sigmoid") {
return SIGMOID;
}
}
void OneClassSvm2::train(std::vector<svm_node*> data) {
try {
int label_len = data.size();
std::vector labels;
svm_parameter param;
param.svm_type = ONE_CLASS;
param.kernel_type = this->_kernel;
param.nu = this->_nu;
param.gamma = this->_gamma;
param.C = this->_C;
param.eps = 1e-6;
    svm_problem prob;

    for (int i = 0; i < label_len; i++) {
        labels.push_back(1);
    }

    prob.l = label_len;
    prob.y = labels.data();
    prob.x = data.data();

    this->model = svm_train(&prob, &param);
}
catch (const std::exception &e) {
    cout << "训练异常：" << e.what() << endl;
}

}
void OneClassSvm2::predict(std::vector<svm_node*> data) {
vector result;
try {
for (auto value : data) {
double predicted_label = svm_predict(model, value);
result.push_back(predicted_label);
std::cout << " " << predicted_label;
}
cout << "结果大小：" << result.size() << endl;
}
catch (const std::exception& e) {
cout << "预测异常：" << e.what() << endl;
}
}
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you commented.Message ID:
@.> [ { @.":
"http://schema.org", @.": "EmailMessage", "potentialAction": {
@.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/209#issuecomment-1837673116",
"url":
"https://github.com/cjlin1/libsvm/issues/209#issuecomment-1837673116",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { @.***": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/209#issuecomment-1837673116
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHUXQ3XGNRV5N4ES4I3YHUNCHAVCNFSM6AAAAAA7452B4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGY3TGMJRGY

We only need data and parameters to reproduce it. We did not make any changes to the code, it was just a simple call, so there are no relevant logs


Chronos role needs to go in terraform.sample.yml

See discussion at #390. This just needs to happen after that PR is merged.

This was added. Closing.


Use cases to be considered in Population Density DATA API

Problem description
During the API Kick-Off, the following reference use case was proposed:
For the reference use case, the API fills the need of assessing the ground risk to allow safe drone flights by providing estimations of the number of people under a drone flight path. This assessment will be needed every time a drone flight in the specific category need to conduct an operation and will help the operator to identify operational limitations, to develop the appropriate operational procedures and to identify mitigations and safety objectives. More information in KO supporting material
The use case is focused on the prediction of the Population Density in an area during a future period.
Expected action
Provide feedback around the reference use case and confirm any other one to be considered during the scope of the first version of the API.
Deadline: 6th February EoB

Closed as agreed in meeting minutes of 07-02
Scope is agreed to focus on simple reference use case, for the initial API version. KO supporting material


fix double updating bug

running heroku update still causes the blocking update to run. This is happening because when the CLI is updated, the update lock file is cleared to force an autoupdate and reexec of the command. Generally this is good, because it will make sure that everything is updated using the new CLI. The problem is when the command is actually update, it will force a blocking update, then run the command which is to update.
This just checks before running a blocking update if the command is to update. If so, there is no need to do the blocking update step.
before:
$ heroku update master
Updating Heroku v4 CLI to 4.27.25-3b727e5 (master)... done
heroku-cli: Adding dependencies... done
Updating plugins... no plugins to update.
Updating plugins... no plugins to update.

after:
$ heroku update dev
Updating Heroku v4 CLI to 4.27.25-b97ac29 (dev)... done
heroku-cli: Adding dependencies... done
heroku-cli: Updating plugins... no plugins to update.

ready for review @rans

ready for review @ransombriggs

@dickeyxxx lgtm


Sync annotation authors

@dvanoni thanks for adding this great import of notes and annotations feature! In my tsting, it works flawlessly, it even imports notes made within the PDF, but in that case, the author of the note, which is part of the zotero note:

is not synced. It would be great if this could be added, as it is important esp for collaborative work

Originally posted by @menelic in https://github.com/dvanoni/notero/issues/4#issuecomment-1712825363

Hi @menelic, unfortunately I can't give an estimated time for this as my time available to work on Notero is quite variable. I can say that I'm trying to work through issues ordered by the amount of feedback that's been received on them—which is being tracked on this project board.


reduce binary size of 1MB to 250kb

Hi,
Trying to deploy to Shopify functions a wasm built with javy:
  The size of the Wasm binary file for Function is too large. It must be less than 256 KB.

How would you recommend to proceed?
Saw related work: https://github.com/Shopify/javy/pull/56
Are there other plans?

Hey @mariusa
The binary limit is a well documented limitation we currently have for Functions. We understand this limitation means developers cannot use JS for Functions right now, and hence, we currently recommend the using Rust.  Javy is still experimental and due to binary size limitations, it's not supported with Functions.

Thanks for clarification. Hope it will be possible some day, somehow (eg Javy library could be part of Functions environment, instead of bundled with the binary)


Add legends tests/stories/types

This PR is to add the tests, stories and TS types of the covered legend types (Categories, Icon, Proportional and Ramp). Since every component is already documented and well tested, I also removed underscore from components export.
I fixed some bugs that I discovered while testing:

getPalette was waiting an array to indicate the length of the domain, but it should be a number. The assigned colors before this PR were wrong when using CARTOColors.
LegendRamp with only stats wasn't being rendered correctly because only the min was took into consideration. It needed also labels to be rendered ok.

I made some minor improvements:

Add error message in LegendRamp (the same shown in LegendProportional).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

37 of 37 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.6%) to 70.653%

Totals

Change from base Build<PHONE_NUMBER>:
1.6%

Covered Lines:
1210

Relevant Lines:
1616

💛  - Coveralls

After talking with @borja-munoz about the APIs of LegendRamp and LegendProportional, he decided to remove stats property.

@borja-munoz @bbecquet It's done!


Markdown Tables

The compiler doesn't support generating tables with markdown syntax, but HTML. And HTML makes our articles hard to maintain.
It needs a bigger update, as all themes should have their own table syntax (eg. bootstrap classes) or must fit some CSS to our syntax, but it worth it. It's a commonly used feature.
Example
| Name            | Phone       |
|-----------------|-------------|
| Peter Russo     | +0123456789 |
| Frank Underwood | +0123987654 |

Name
Phone

Peter Russo
+0123456789

Frank Underwood
+0123987654

Related Links

Tables in GitHub Flavored Markdown
Generate Markdown Tables

@ErisDS just linked this issue (https://github.com/TryGhost/Ghost/issues/1670) on IRC when I opened the topic.
It says changes to the markdown editor will only come sometime before v0.7 as it's hard to get done before the rebuilt editor, so the issue was closed.

Hi @balintant as you have spotted this is a duplicate of #1670. If you'd like to contribute to the discussion there, please repost on that issue :+1:

@ErisDS #1670 is closed or else I would have posted this there, but... the links in your closing remarks are all broken. They say they go to a wishlist, but I just get redirected to the ghost.org homepage.

@Kerrick If you would like to suggest an idea, you can use our forum.

@Kerrick Ghost has had markdown table support since Ghost 1.0

@kevinansfield Do you have a link to any docs?  This feature eludes the power of Google to find any documentation.

@johnbiundo

https://markdown-it.github.io - scroll down for table examples
https://help.github.com/en/articles/organizing-information-with-tables
https://github.github.com/gfm/#tables-extension-

Thanks @kevinansfield.  So is the implication that Ghost supports full GFM?  I couldn't find anywhere that said so -- in fact, your comment is the only one that I've found that suggests that tables are supported in MD at all.  For example the built in help in the editor, and this page which it references, do not include it: https://docs.ghost.org/faq/using-the-editor/#using-markdown
Slightly off topic, and I know I can probably research this, but if any of the developers/maintainers want to comment: are the docs in a github repo and are community contributions to the docs welcome?  If so, I'd be glad to research the topic further and do a PR to add some info on tables.

So is the implication that Ghost supports full GFM?

No. Ghost supports CommonMark plus some extensions such as tables and strikethrough.
We use https://github.com/markdown-it/markdown-it as the markdown parser with the default options plus html, breaks and linkify (without fuzzyLink) enabled.
As for extensions we have a few in order to keep a reasonable level of backwards compatibility with Ghost 0.x. Those are:

https://github.com/markdown-it/markdown-it-footnote
https://github.com/markdown-it/markdown-it-mark
https://github.com/Galadirith/markdown-it-lazy-headers
our own backwards-compatible id generation for headers that converts "Header Text" to an id of headertext

are the docs in a github repo and are community contributions to the docs welcome?

The repo is here https://github.com/TryGhost/docs although some content is in a private Ghost instance rather than in github. PRs and/or issues suggesting changes are always welcome.


support ocp dev version

The related issues:

https://issues.redhat.com/browse/ACM-2019
https://issues.redhat.com/browse/ACM-2013

Signed-off-by: Yang Le<EMAIL_ADDRESS>

/test e2e

/approve
/lgtm


Enable-WriteCore-feature-for-guestconfiguration

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.GuestConfiguration


Add .NET Standard 2.0 target framework

Simplifying the dependency graph, as per which .NET Standard version to target, specifically:

However, targeting lower .NET Standard versions introduces a number of support dependencies. If your project targets .NET Standard 1.x, we recommend that you also target .NET Standard 2.0. This simplifies the dependency graph for users of your library that run on .NET Standard 2.0 compatible frameworks, and it reduces the number of packages they need to download.

Ideally, this project would just target netstandard2.0 to reduce its package footprint. 🤔

I think we should keep .NET Standard 1.3, but other targets is not longer needed.


refactor: Improve readability

I refactored some code for improving readability and decreasing complexity.

Hi @cunzaizhuyi! I appreciate you going trough the source code and suggesting your improvement.
In this case, however, one-line if statements are enough by themselves so it's more of a preference/style than readability issue.
Still, thank you for reaching out :+1:


Manage users on all owned shops

Requested by RocketManKian#8769 on Discord
Hey guys, is there currently a way for someone to add someone as a manager to ALL of their tradeshops? Rather than each individual one, if not, I think this could be an awesome feature!

Fixed in #127


Integrated Gradio Demo App

Description:
The COG project is an incredible tool that simplifies the process of deploying machine learning models by just writing a handler. It enables users to get a complete working service with ease. However, during the development and testing stages, it would be extremely beneficial to have an integrated Gradio demo app. This will provide an interactive user interface that allows users to easily interact and test the model without the need for using CURL, Postman, or programming languages.
Feature Details:

The integrated Gradio demo app should be accessible at the /demo endpoint.
Users can interact with the model using the Gradio interface, providing input and viewing the model's output in real-time.
The Gradio demo app should automatically generate the appropriate input components based on the model's input types (e.g., string, integer, float, boolean, file, path) and utilize the Pydantic model's additional information for description, default values, minimum, maximum, and choices, when available.
The Gradio integration should be optional, allowing users to enable or disable it based on their use-case. This will enable developers to use the interactive demo during development and prototyping and easily disable it for production deployment.

Benefits:

Eases the testing and interaction with the model during development and prototyping stages.
Provides a user-friendly interface for non-technical stakeholders to interact with the model and understand its capabilities.
Improves user experience by eliminating the need for external tools (e.g., CURL, Postman) or custom code for testing the model.

Implementation Approach:

Utilize Gradio's Python library to create the interactive demo app.
Mount the Gradio demo app within the FastAPI webapp.
Leverage the existing Pydantic model information to generate appropriate input components and descriptions.

This feature will further enhance the usability and user experience of the COG project, making it an even more valuable tool for deploying machine learning models.
I am willing to take on this feature request as it presents an excellent opportunity for learning and growth.
### Tasks

This sounds very interesting! This would even make something like DragGAN works more easily on Replicate 😄
W.r.t. the details, I'm wondering how you could mount a Gradio app into a FastAPI app?

Gradio has built-in support for mounting to FastAPI app. Refer this doc.


Incosistent integration test naming

Most of the integration tests are named Should correctly sign tx with ... but some of them are named Transaction with ... or Mary era transaction with .... We should at some point align this.
Currently there's three levels of tests. E.g.

getExtendedPublicKey:

Should successfully get a single extended public key:

byron
shelley
shelley unusual
cold keys

The first and third level are consistent overall. The inconsistencies lie only in the second level tests. My proposal would be to name the second level tests in accordance with the Should correctly sign tx with ... style. However, @janmazak proposed to shorten the test names in https://github.com/vacuumlabs/ledgerjs-cardano-shelley/pull/103#discussion_r633437489.

Done in<PHONE_NUMBER>6bb733cd19da2fd6cb81f05063814d.


Hide index / deletion fields

Resolved #544. Turns out the only organizer forms that displayed these fields were the custom form forms. So I cleaned them up a bit and made them match the item option formsets, resolving this issue along the way.

ummm how do I delete a field tho

facepalm I will fix that.

:stuck_out_tongue_closed_eyes: :D


refactor(dialog,bottom-sheet,snack-bar): use injector to pass config to container instance

Uses DI to pass in the config object to the various global overlay containers. Compared to the current approach, using the injector has the advantage of allowing the config to be used in the constructor and not having to null-check it everywhere.

Looks like CircleCI is still failling

Seems like the Circle failure was a flake.


Rails/HttpStatus custom HTTP status

rubocop : 0.52.1
rubocop-rspec : 1.23.0
Hello the new Cop Rails/HttpStatus is relying on ::Rack::Utils::SYMBOL_TO_STATUS_CODE to check if we're using a symbol.
::Rack::Utils::SYMBOL_TO_STATUS_CODE only has symbols for the following http status :
[100, 101, 102, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511]

If we're using custom HTTP status (like 550), then we get an offense.

Thanks !!!!!


click replication rule in project menu will see 404 page

v1.1.2-423-g0b28203

Issue fixed, code merged.


Fixed typo.

Moved the base to develop, since this is an improvement that doesn't need backporting. @huangzhhui can you rebase, please?

@Ocramius Documentation is built off of master, so I prefer doc fixes to be against master, even if they are technically improvements. They should only be submitted against develop if they are for unreleased features.
I'll cherry-pick this to master.

Cherry-picked to master and merged to develop.


Seed DB with yacs data on test branch

I'm assuming the database will be empty if we get rid of the ActiveResource models on the test branch. Ideally we should seed the DB from the YACS API first (or at least some of the data) so we have some data.

We're switching to unit tests vs. activerecord, close


No notebook for symbolic functionality

Would be good to have a notebook like
https://github.com/CQCL/pytket/blob/main/examples/pytket-qujax_heisenberg_vqe.ipynb
but with symbolic circuit and symbol_map. Perhaps for a QAOA problem?

Added at https://github.com/CQCL/pytket/blob/main/examples/pytket-qujax_qaoa.ipynb in #51 contributed by @gabrielcqc


Try Turborepo

https://turborepo.org/docs/getting-started

Related to https://github.com/vercel/turborepo/discussions/376


Dual Shields don't benefit from Weapon Category Accuracy bonuses.

Bug Description:
Dual Shield Equipment does not benefit from active effects that grant an accuracy bonus to specific weapon categories.
Steps to Reproduce:

Add a Dual Shield in the Brawling category to the equipment of a character.
Add an active effect granting a bonus to the system.bonuses.accuracy.brawling attribute key.
Make an attack with the shield.

Expected behavior:
I expected there to be a +4 bonus to the Twin Shield's accuracy check.
Basically, I figured it would work just like it does if you add a bonus to the system.bonuses.accuracy.accuracyCheck attribute key.
Attachments (if applicable):

Sorry, late too this issue.
Trying to wrap my head around where your problem is stemming from, I think it was perhaps fixed in the dev version:

No worries at all.
And sweet! In the game I'm playing in we just added the modifier in the item itself as a work around. We absolutely love the implementation in Foundry so I wanted to report it in case it was helpful to you guys.


Improvement: display address name/label with address

If the address name/label can be displayed with the address, it will be much more useful when selecting my address.


The service crashes

Type: Feature Request
The JS/TS language service immediately crashed 5 times. The service will not be restarted in angular 11 project
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

with the latest version of vscode everything works fine, sorry

We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!


Get RUN_AS_DEVIN working with app sandbox

The reason why RUN_AS_DEVIN was not working properly is that SANDBOX_USER_ID is not properly setted up. os.getpid() from the app container will return UID=0, which creates the issue of https://github.com/OpenDevin/OpenDevin/issues/936.
This PR fix:

Allowing RUN_AS_DEVIN with app container. The caveat is that the user need to pass-in their UID when starting the app container. I have updated the readme accordingly

docker run \
    -e LLM_API_KEY \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -e SANDBOX_USER_ID=$(id -u) \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 4000:3000 \
    --add-host host.docker.internal=host-gateway \
    ghcr.io/opendevin/opendevin:latest

Make SANDBOX_USER_ID consistent: the app will run with a user with UID of SANDBOX_USER_ID, which won't cause a permission issue in writing to workspace; the sandbox will run with a UID of SANDBOX_USER_ID as well.

Seems integration tests have captured a bug https://github.com/OpenDevin/OpenDevin/actions/runs/8866160837/job/24343257827?pr=1426#step:6:66:

chmod: changing permissions of 'hello.sh': Operation not permitted

Good catch! Seems like a mounting issue, already pushed a fix see if we can pass that
https://github.com/moby/moby/issues/2259#issuecomment-51535443

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

:exclamation: No coverage uploaded for pull request base (main@31c1a2d). Click here to learn what that means.

Files
Patch %
Lines

opendevin/sandbox/docker/ssh_box.py
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1426   +/-   ##
=======================================
  Coverage        ?   58.48%
=======================================
  Files           ?       82
  Lines           ?     3430
  Branches        ?        0
=======================================
  Hits            ?     2006
  Misses          ?     1424
  Partials        ?        0

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

Thanks for doing this!


IPython console on remote kernel output disappears

Description of your problem
Ipython console loses some output in this test, first output from the script, then output of all command line commands.
What steps will reproduce the problem?

Connect to an existing kernel running on a machine
Type execfile('test0.py'), several times, where the script is

print('Hello World!')
print(bla)

Observe
Hello World!
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-59-2162b22ed1e4> in <module>()
----> 1 execfile('test0.py')

/mnt/datagrid/personal/shekhovt/mobile_vis/software/python/flow_learning/tests/test0.py in <module>()
      1 print('Hello World!')
----> 2 print(bla)
      3

NameError: name 'bla' is not defined

In [60]: execfile('test0.py')
Hello World!
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-60-2162b22ed1e4> in <module>()
----> 1 execfile('test0.py')

/mnt/datagrid/personal/shekhovt/mobile_vis/software/python/flow_learning/tests/test0.py in <module>()
      1 print('Hello World!')
----> 2 print(bla)
      3

NameError: name 'bla' is not defined

In [61]: execfile('test0.py')
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-61-2162b22ed1e4> in <module>()
----> 1 execfile('test0.py')

/mnt/datagrid/personal/shekhovt/mobile_vis/software/python/flow_learning/tests/test0.py in <module>()
      1 print('Hello World!')
----> 2 print(bla)
      3

NameError: name 'bla' is not defined

Notice that in the last trial, the string "Hallow World" disappeared, now all commands generate no output:

In [70]: ls
In [71]: pwd
In [72]: who
In [73]:

Versions and main components
Spyder Version: 3.1.3
Python Version: 2.7.13 64bits
Qt Version: 5.6.2
PyQt Version: 5 5.6
Anaconda 4.3.16
Operating system: Mac OS 10.10.5
Remote machine : python 2.7.9, Ipython 5.3.0
##Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi =0.9.0 : 0.9.0 (OK)
matplotlib >=1.0 : 2.0.0 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.3 (OK)
pandas >=0.13.1 : 0.19.2 (OK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 5.0.1 (OK)
pyflakes >=0.5.0 : 1.5.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4 (OK)
sphinx >=0.6.6 : 1.5.1 (OK)
sympy >=0.7.3 : 1.0 (OK)

I don't know what happens in this case. We'll take a look at it after we release 3.2.

Actually, for this one, the steps above do not reproduce the bug. But I encountered the issue repeatedly. I checked the kernel, it is still running, and works fine after reconnected, for some time...

I experienced the same issue on v3.3.0:
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

# Importing the dataset

dataset = pd.read_csv('Data.csv')

X = dataset.iloc[:, :-1].values

x
Traceback (most recent call last):

  File "<ipython-input-4-6fcf9dfbd479>", line 1, in <module>
    x

NameError: name 'x' is not defined


Preload fails in exported project if convert_text_resources_to_binary is true

Godot version
4.0.beta1.official
System information
ubuntu 20
Issue description
Preloading a tscn with the the project setting convert_text_resources_to_binary true fails to load when exported.
Might be related to #66014  since that's what gave me the work around of setting convert_text_resources_to_binary to false.
Steps to reproduce
Check that the project setting convert_text_resources_to_binary is true (it's the current default).
Preload any tscn in a script, then export the project, then run it. The preload will fail with a file does not exist error.
The attached project should load and display the text "I got loaded" and it does when run through the editor.
When exported to linux the project fails to load with the error SCRIPT ERROR: Parse Error: Preload file "res://src/loadme.tscn" does not exist.
Minimal reproduction project
preloaderror.zip

Duplicate of https://github.com/godotengine/godot/issues/56343


Odd behaviour with setTimeout.

Version
2.6.7
Reproduction link
https://jsfiddle.net/sustained/zody8sf4/
Steps to reproduce
Just look at the code/result for the test-3 component.
What is expected?
I'd personally expect test-3 to work, if test-2 and test-1 do.
And I honestly have no idea why test-5 works at all, especially if test-3 doesn't.
Something seems a bit weird here.
What is actually happening?
It doesn't.

The created() hook is called before render() so even though the property test.foo  is not reactive, it exists by the time the component is rendered except when deferred via setTimeout().
Hopefully this explains the inconsistency you're seeing. The best practice has always been to use Vue.set() or vm.$set() when creating new properties as shown in the Change Detection Caveats section of the guide.


fix dragging out edge from node output

Pull Request Description
Fixes #7102
The edge can now again be created both by clicking or dragging the output port.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

QA check reported as passed by @jdunkerley


Apply localization broadly, outside of just the learn page

Not 100% sure what I think about those helpers but they are clean.


v4 - Object.assign - failing test

Version
4.0.0
Test Case
IE 10.0.0 (Windows 8 0.0.0) withRouter circumvents sCU blocks FAILED
TypeError: Object doesn't support property or method 'assign'
at componentWillReceiveProps (/home/travis/build/ReactTraining/react-router/packages/react-router/tests.webpack.js:26441:6 <- webpack:///modules/Core.js:141:4
Steps to reproduce
Build in travis
Expected Behavior
Run tests
Actual Behavior
Fails with errors: IE 10.0.0 (Windows 8 0.0.0) withRouter circumvents sCU blocks FAILED
TypeError: Object doesn't support property or method 'assign'
at componentWillReceiveProps (/home/travis/build/ReactTraining/react-router/packages/react-router/tests.webpack.js:26441:6 <- webpack:///modules/Core.js:141:4
Extra Details
Webpack requires a polyfill for Object.assign as this is not supported in IE.

Good catch. Let's use https://babeljs.io/docs/plugins/transform-object-assign/ as @pshrmn suggested in https://github.com/ReactTraining/react-router/commit/914956ee82574862c0f52e59b1409b8c839fa86f#commitcomment-20634108


make global search pinned/all sticky

Some people don't have pinned sources at all

Untested PR
They can just pin sources it's not that hard

A PR being untested (and IDK if it is true in this case or not) is not something I have ever seen brought up in this project before, let alone minutes after opening.
It also doesn't seem to be that difficult to sync the toggle to a global preference.

Some people don't have pinned sources at all

Some people are using the app wrong

@NotMyAltAcc your point being?

Untested PR
They can just pin sources it's not that hard

sorry, was coping but missed one change.

Untested PR
They can just pin sources it's not that hard

sorry, was coping but missed one change.

It's fine. Bit as I was saying I don't see the justification on adding this as people can just oij sources compared to has result option.

I added some more explanations, for people always want to search all sources or for people who don't want to have pinned sources. As for currently, they always have to tap twice to do a search.
Unless we are encouraging people to use pinned sources as a must to avoid spam multiple sources.

Unless we are encouraging people to use pinned sources as a must to avoid spam multiple sources.

That's the intention. Most people (from what I've seen) have 10 to 20 sources installed.

Unless we are encouraging people to use pinned sources as a must to avoid spam multiple sources.

That's the intention. Most people (from what I've seen) have 10 to 20 sources installed.

Oh OK then, if this is not necessary then. Thanks.

I'm closing this. I suggest and plead you do the same.


SSL error: any way around this?

Hi, I have a firewall around the huggingface api on my wifi server I'm using, so it's not able to pull the models from HF. I have the TATR models downloaded locally. Is there any workaround I could do to still use this library?

The models are stored in these locations: ~/.cache/huggingface/hub/models--microsoft--table-transformer-detection and ~/.cache/huggingface/hub/models--microsoft--table-transformer-structure-recognition. They have this file structure
├───blobs
│       544a9ed52f9055381126de68f25982ebee360d14d03c7abd48813b4f25202f73
│       5ad600679662798040286d4d17c626cbffddd755
│       b784cf6d3759e23c6af6d5c52a9db9e34a7b5aaa
│       f581da65a586591124cac9545b09b93e4e8bf28ce3a8357af6ac15ce94fce16b
│
├───refs
│       main
│       no_timm
│
└───snapshots
    ├───b85a88e0a9ad5e1a5f00b122b6d99174710dda8a
    │       config.json (symlink)
    │       model.safetensors (symlink)
    │
    └───f4d4bdc85c3fe4b1fa49658882a5d38bbdd0f343
            config.json (symlink)
            model.safetensors (symlink)

The easiest way might be to download the models via huggingface on a machine without the firewall. Then, you could transfer the files over to the above locations.


homewhiz makes home assisant restart too slow

Hi there,
After I've installed homewhiz on home assistant with bluetooth connection via ESP32 my home assistant works slowly. If i restart HA it tooks five minutes to load it.
Any solution?

I got this error on HA:
Logger: py.warnings
Source: custom_components/homewhiz/bluetooth.py:54
Integration: HomeWhiz (documentation, issues)
First occurred: 15:20:03 (1 occurrences)
Last logged: 15:20:03
/config/custom_components/homewhiz/bluetooth.py:54: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead _LOGGER.info(f"Successfully connected. RSSI: {self._device.rssi}")

Thanks for reporting this issue 👍
Can you please include more information? E.g., home-assistant version, server hardware, homewhiz device, esphome version, etc?
Could you please test with the latest beta release and let us know if the behaviour changed?

For days I have been testing versions and among other things the WIFI network and Bluetooth.
Currently, I use the Home Assistant OS with this version:
Home Assistant 2023.10.5
Supervisor 2023.10.0
Operating System 11.0
Frontend 20231005.0 - latest
HiLetgo ESP-WROOM-32 ESP32 ESP-32D Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter Ap STA for Arduino IDE:
LINK: https://shorturl.at/cuzJP
My washing machine is: BEKO B5WFU78435WB<PHONE_NUMBER>)
My computer where I run the Home Assistant is:
HP T630 Thin Client, 4x 2.2GHz CPU, 8 GB DDR4, 128 GB M.2 NVME SSD
I have tested all versions (available for download in HACS) and the result is all the same.
If I configure HomeWhiz to run through the Cloud, I don't have any problems. But through Bluetooth, yes, I have this problem.
Restarting the HA with HomeWhiz configured via Bluetooth takes between 3:30 and 5 minutes.
I have tried moving the HA and the network just one meter from the washing machine, the result is the same.
I should be remark that there is no signal saturation or other Wi-Fi networks in my apartment or nearby.
Without a doubt, the problem starts when I configure the washing machine through Bluetooth. When I finish configuring it and restart the HA, it takes a long time to restart.
I've tested the 0.50 (beta one), the result is the same.
What should I do?

Thanks for the feedback and for testing again. I'm not sure what to do, to be honest 😢
I am not sure what could be causing this integration to slow down homeassistant by this much. Maybe some other people are experiencing the same issue? I connect via Bluetooth and my homeassistant starts quickly.

Thanks for the feedback and for testing again. I'm not sure what to do, to be honest 😢 I am not sure what could be causing this integration to slow down home assistant by this much. Maybe some other people are experiencing the same issue? I connect via Bluetooth and my home assistant starts quickly.

@TechHummel, somehow but I don't even know what happened, it has started working correctly, it doesn't take long to restart. Right now if I restart the HA, it takes at most 20 seconds, which is acceptable and normal.
By the way, can you tell me how to create a task to remotely "start" the already selected program from HA?

Great to hear! I haven't experimented with that yet, to be honest.
Is this supported via the remote control? Else, it might be disabled for security.

Yes, from the HomeWhiz app I can start the program. The only thing I have to do first is put the program in "Downloaded program" mode and press the "remote control" button

@TechHummel, have you been able to find out anything regarding the previous question?


K8 Edge App 2022 Hackathon: "Your Project Title"

April 11th - 22nd 2022 Hackathon ends on the 22nd.
In this edge-based hackathon, we will focus on Section's Kubernetes Edge Interface (KEI) solution. KEI makes many edge clusters appear as a single cluster, enabling developers to quickly and easily deploy applications across a distributed Edge.
To participate in this hackathon, EngEd students are expected to create a true Kubernetes application for the Edge that is deployed using the KEI process.
Review the judging criteria listed below.
Below you will find full details on the hackathon and any requirements.
Eligibility
Open to all EngEd students (participants can work individually or in teams of EngEd students). By submitting this issue form you will have successfully signed up and we will reach out with next steps.
We will need the information below to follow up with next steps - and get you set up with a test enviroment:
Your Full Name, email, and Domain (URL) project link (can be a dummy link) - we need this info to get credentials sent to you.
Requirements
Once your K8s Edge application is complete and deployed, create a pull request to attach your submission to.
Please complete and submit the following required sections listed below via a Pull Request once your project is ready to be submitted.

Your Full Name, email, and EngEd author link.

Project name, brief description of the project, a public URL link to your Edge app, and a short video that explains how your app works and how you deployed it using KEI.

The video should (be about 3 minutes) demonstrate your project using KEI. Videos must be uploaded to YouTube or Vimeo and made public.

Please include a text description of your project, including how the featured tech (KEI) was utilized. Include what you enjoyed about working with KEI, what you didn't, what worked for you, and what didn’t work for you? Any barriers to get started or points of confusion.

Include all requested materials alongside your Pull Request before the deadline!

Proofread your project submission and review the judging criteria again to make sure you have addressed all the areas against which we will review your app.

Test every link included.

Submit your project via a pull request on GitHub titled "EngEd - K8s Edge App 2022 Hackathon: Your Project Title Here" and link this original issue form to your project pull request.

Prizes
1st prize: $1250
2nd prize: $750
3rd prize: $500
The first 20 participants to complete (and successfully submit) their projects are eligible to receive a complimentary virtual pass to KubeCon ($75.00 value). Simply DM us in the EngEd community channel.
The top 3 winning applications will be points of reference at our booth at the KubeCon event mentioned above.
All other projects will receive honorable mentions on our website.
Judging criteria:

The quality of the project (code effectiveness and code clarity) points for creativity and originality.
Implementation of the Idea: Includes how well and quickly the project was developed and deployed using the KEI process.
Was the application successfully deployed to the edge using KEI?
The application functions completely and as described in the description.

Judges

Harry Borrelli
Tom McCollough
Nate Grieb

Deadline: April 22nd 2022 @ 11:59 MST

@ephnjor2021
If you could share your:
Your Full Name, and email, to send you your credentials.

@ephnjor2021 If you could share your: Your Full Name, and email, to send you your credentials.

@hectorkambow  My Full Names are: Ephraim Njoroge and my email is<EMAIL_ADDRESS>Thank you

Thank you! You should be receiving an email soon (w/ credentials for the KEI deployment process). 🚀


Update tests for python 3.7

CircleCi will now run tests in python 3.7
use fastparquet instead of pyarrow for tests because pyarrow does not currently support python 3.7
fix warning for pd.concat
updated test_requirements.txt package versions to most recent.
ignore DeprecationWarning and PendingDeprecationWarning in pytest

Codecov Report

Merging #277 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #277   +/-   ##
=======================================
  Coverage   94.45%   94.45%
=======================================
  Files          71       71
  Lines        7700     7700
=======================================
  Hits         7273     7273
  Misses        427      427

Impacted Files
Coverage Δ

...utational_backend/test_calculate_feature_matrix.py
99.28% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Looks good


Android: Add not shown for package id com.example.helloworld

After some tests, I was only able to show the testing banner.
I could not solve the issue until I thought of trying to change my package id from the standard hello world to something else. It started showing my ads then.
when listening to onAdFailLoad I got the reason "Internal error".
I'm not sure if this is a known issue/feature (from AdMob, not from this plugin), but maybe it is worth mentioning it in the documentation.

AdMob might check your package id to be a unique id. Just guess.
Another reason is, it may take a little time for Google system to sync your data, so that it take into effect.
Another guess, the error internal error might be related with SDK update.


Setting cloudRole example

Not sure how to apply a "Question" label but that's what this is:
version = "react-appinsights": "^3.0.0-rc.6",
I've tried a number of things and for the life of me cannot set the cloud_roleName column like I have for other parts of my non-react applications.
I'm trying to use my own helper class to import and use where needed in the app. Here is appinsights.ts
import env from '../environment';
import { reactAI } from 'react-appinsights';
import { ApplicationInsights, ITraceTelemetry } from '@microsoft/applicationinsights-web';
import { ICustomProperties } from '@microsoft/applicationinsights-core-js';

import { history } from './history';

class Insights {
  private ai: ApplicationInsights;
  constructor() {
    this.ai = new ApplicationInsights({
      config: {
        instrumentationKey: `${env.appInsights.instrumentationKey}`,
        extensions: [reactAI],
        extensionConfig: {
          [reactAI.extensionId]: {
            debug: true,
            history: history,
          }
        }
      }
    });
    this.ai.loadAppInsights();
  }

  public setAuthenticatedUserContext = (patientId: string) => {
    this.ai.setAuthenticatedUserContext(patientId, undefined, true);
  };

  public clearAuthenticatedUserContext = () => {
    this.ai.clearAuthenticatedUserContext();
  };

  public trackTrace = (message: ITraceTelemetry, properties?: ICustomProperties) => {
    this.ai.trackTrace(message, properties);
  };
}

const AppInsightsService = new Insights();

export { AppInsightsService };

Previously, using the standard applicationinsights-js package,  I accomplished this through the following code:
AppInsights.queue.push( () => {
        AppInsights.context.addTelemetryInitializer( (envelope) => {
          envelope.tags['ai.cloud.role'] = 'My-awesome-role-name';
        });
      });

I'm sorry, but with all the changes between this package and the AppInsights team SDK, I'm struggling to replicate work I've done previously. If someone could direct me I would be super appreciative.

Have you tried doing this?
reactAI.setContext({"ai.cloud.role": "My-awesome-role-name"});
This will ensure the supplied properties to the setContext get added to every single telemetry item sent from the client to AI. You need to do this any time after this.ai.loadAppInsights(); is called.

@hiraldesai I appreciate the suggestion, but as you noted it will get set as a custom dimension. I am looking specifically to set the cloud_roleName column in App Insights as that is what is used by our team for differentiating between our microservices. I also believe that is what the App Insights team uses to build the Application Map.

Hmm - maybe doing something like this might work? Add it just after this.ai.loadAppInsights();
this.ai.addTelemetryInitializer((envelope: ITelemetryItem) => {
  envelope.tags["ai.cloud.role"] = "My-awesome-role-name";
});

Once again @hiraldesai very much appreciate the quick responses and suggestions. I have tried all three below and unfortunately none have populated the cloud_roleName column in App Insights:
   reactAI.appInsights.addTelemetryInitializer( (envelope: ITelemetryItem) => {
      envelope.tags['ai.cloud.role'] = 'usingReactAI';
    });

    this.ai.appInsights.addTelemetryInitializer( (envelope: ITelemetryItem) => {
      envelope.tags['ai.cloud.role'] = 'usingAI+appInsights';
    });

    this.ai.addTelemetryInitializer( (envelope: ITelemetryItem) => {
      envelope.tags['ai.cloud.role'] = 'usingAI';
    });

This was done after calling loadAppInsights() and making sure all have value (reactAI/this.ai/this.ai.appInsights). I even tried returning true just for fun but that didn't work either...

I tried it in my application as well, no joy. I can see the posted data in the track call to their API and it doesn't have these props in them. At this stage I'd have to revert this to the AI folks. Let me see if I can find someone who can answer this. Could be a bug in the new 2.0.0-rc1 SDK?

That's an interesting thought. I am able to call this.ai.setAuthenticatedUserContext(authUserString) (as well as clearAuthenticatedUserContext) so it seems I can access some of the built in functionality, but not all?
Thanks for reaching out to them!

I got it working. I read the property type of tags wrong. Try this.
    this.appInsights.addTelemetryInitializer((envelope: ITelemetryItem) => {
      envelope.tags = envelope.tags || [];
      envelope.tags.push({ "ai.cloud.role": "my-cloud-role" });
    });

Sweet! Is your this.appInsights equivalent to my this.ai, as in the variable used to load: this.ai.loadAppInsights();?

Yes - that's correct. My appinsights service is similar to yours. :-) just different variables.

Thanks so much! @hiraldesai if I can help create any documentation let me know. I'm newer to typescript so reading the source code/interfaces is tricky enough for me.

Thanks for offering to help, I'll certainly let you know if/when help needed.
I feel like this particular thing belongs in the main repo only and I'm sure it will be covered by their 2.0.0 docs. Right now - these subtle differences between the 1.x and 2.0 are creating some confusion for everyone.
I believe that the whole context thing might also either become its own plugin outside of reactAI or become part of the PropertiesPlugin. I'm not entirely sure at this stage. I like how AI is now taking modular approach to add-ons and it's certainly going in the right direction.


[#4112] feat(API, client): Add fileset comment removal operations

What changes were proposed in this pull request?
Add fileset commet removal operations: FilesetChange.RemoveComment
Fix: #4112
Why are the changes needed?
Fileset can be created without comment now, when user added a comment to fileset, they should be allowed to retract the comment.
Like other FilesetChange, FilesetChange.RemoveComment can be used for alterFileset() method
Does this PR introduce any user-facing change?
User can add new changes for fileset:
Fileset fileset = catalog.asFilesetCatalog().alterFileset(
                NameIdentifier.of(metaLakeName, catalogName, schemaName, filesetName),
                FilesetChange.removeComment());

or use update fileset http request:
updates": [
    {
      "@type": "removeComment"
    }
]

How was this patch tested?
Create a fileset with comment, then use java/python client, or http requeset to remove comment and check the result

@jerryshao I update the PR for #4112, could you help me open a ci workflow?

@mchades Can you please help to review?

I think remove null comment could be executed but nothing will be changed


LinkPreview not working properly for Amazon Links(amazon.com,amazon.in )

Hello,
The LinkPreview class working fine for other links but only for amazon links it is not providing image,title,description.Currently using version 1.0.0.Please guide me for solution.Thanks in advance

Please any update

Done...I have passed  CURLOPT_ENCODING=>''  curl option in getPage() in LinkPreview Class.


Principal name and preferred_username conflict

@FroMage has noticed an obvious conflict in the JsonWebToken#getName() Java Docs, where preferred_username is mentioned as a fallback:
https://github.com/eclipse/microprofile-jwt-auth/blob/master/api/src/main/java/org/eclipse/microprofile/jwt/JsonWebToken.java#L40
(Also, that JavaDoc needs to be synced with the spec text which mentions sub as the final fallback).
However the very same OIDC docs for preferred_username to which MP JWT links to says:
The RP MUST NOT rely upon this value being unique

which conflicts with the Returns the unique name of this principal. message in JsonWebToken#getName() Java Docs.
My proposal would be to deprecate preferred_username as a possible fallback from upn.
Or, given how long preferred_username has been around as a fallback from upn, instead fix the java docs and explain the principal name is not guaranteed to be unique and advise users get either upn or sub claims directly

marking it as resolved by #332 for now


mac 一键三连报错 m2max 芯片

IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.
"/opt/miniconda3/bin/python" GPT_SoVITS/prepare_datasets/1-get-text.py
"/opt/miniconda3/bin/python" GPT_SoVITS/prepare_datasets/1-get-text.py
Traceback (most recent call last):
File "/Users/mrjp/Documents/凯凯你好/GPT-SoVITS-Kaikai-Renovate/GPT-SoVITS/GPT_SoVITS/prepare_datasets/1-get-text.py", line 18, in
from text.cleaner import clean_text
File "/Users/mrjp/Documents/凯凯你好/GPT-SoVITS-Kaikai-Renovate/GPT-SoVITS/GPT_SoVITS/text/cleaner.py", line 1, in
from text import chinese, japanese, cleaned_text_to_sequence, symbols, english
File "/Users/mrjp/Documents/凯凯你好/GPT-SoVITS-Kaikai-Renovate/GPT-SoVITS/GPT_SoVITS/text/english.py", line 5, in
from g2p_en import G2p
File "/opt/miniconda3/lib/python3.9/site-packages/g2p_en/init.py", line 1, in
from .g2p import G2p
File "/opt/miniconda3/lib/python3.9/site-packages/g2p_en/g2p.py", line 22, in

不确定是否是仓库代码,建议你去找那个人


Various changes

Removed white space in MainWindow
Added a global Settings.XamlStyler settings file for consistent XAML formatting across different machines with XamlStyler
Formatting of all .xaml files

I botched my forked repository, but the changes should merge nicely.