Fe table advanced search

Adds ability to filter multiple table columns.
Filters can be for strings or numbers.
String filters have the following options:

Equals
Starts With
Ends With
Includes

Number filters have the following options:

Less Than
Less Than or Equals
Equals
Greater Than or Equals
Greater Than

closes #205

All tests have been fixed with the addition of advanced table filters


get runtime error when compile and install

I have downloaded the 1.1.0 version MXNet code from github, but after compile and install, when importing, I get following error:
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb.
After this error come out, CPU start to run at 100%.
it seems to be a numpy issue. But numpy is compiled with MKL and can be imported in python. Would any give a hand on how to solve this problem?
working on a ubuntu 16.04. since I need to use some newly developed operator, I must compile and install mxnet. Many thanks for any help!

Hello, what version of numpy is installed on your machine?
You can determine it with the following python code:
>> import numpy
>> print numpy.__version__

@marcoabreu I have tried both 1.13.3 and 1.14.1. they don't work either.

Are you running on Mac by any chance?

@marcoabreu no, on a linux machine. Ubuntu 16.04, gcc 5.4, and python3.5.2.

same problem happened for v1.0.0

I found if I use "import requests" first, it would run smoothly. This should be a dependency problem, I suggest the develop team look into this. it's just a piece of advice.

This PR should fix the issue - https://github.com/apache/incubator-mxnet/pull/9841


AVX2 Optimization

Hi there,
first i am aware of the hal changes being currently made so this PR doesn't need to get merged. If needed i will convert them to the new system aswell.
I want to contribute more avx2 code in the future and wanted to get inital feedback about such changes (if there is something special to think of or even if u do not want to get such code contributions if you want to develop it yourself, additional requirements, etc., etc.) before i start converting more code.
please let me know, i am fine with everything.
tests for changed methods are passing!
edit2: whitespace fixxed, builds were ok
tl;dr; i just want to have feedback if such help is appreciated or not and if this is the correct way; commit doesn't have get merged cause of hal changes

@Dikay900, we need to weight all pro's and con's regarding AVX2.

at the moment we do not have any AVX2-capable hardware in our buildbot, therefore we can not test this code.
Intel gives us and all our users a subset of IPP for free (at no charge, including zero license fee for opencv-based applications), where they use all those fancy instructions. I'd let them do that.
we could have add AVX2 backend for our universal intrinsics (opencv2/hal/intrin_avx2.hpp), but the problem is that the vector size is 256 bits, not 128 and the other problem is that this AVX code still has to be dispatched at runtime. With SSE2 (even SSSE3) and NEON we can safely assume that 99% of CPUs support it. Exotic cases like Raspberry Pi 1 or Intel Quark would need special builds of OpenCV anyway. Therefore, the universal intrinsics can be used without any #if ... and that was one of the main goal when designing them. With AVX we need to wait 5-10 more years until it's universally available. So we still have complete duplication of branches, which needs to be tested.

Therefore, I would say, my current position is that we should not include AVX2 code on general basis. However, if for certain "heavy" functions where performance measurements are done and AVX2 demonstrates dramatic speedup over SSE2/SSSE3 and over IPP (say, 20% or more), such optimizations can be included.

If i find something of a huge speed up i will try to contribute this, but think 20% won't be possible in most cases.
Thank you for this message, closing this then.

@vpisarev, I see that you are skeptical regarding AVX2, but I support @Dikay900, and I believe that he does a good job. So, my suggestions are:

perform all AVX/AVX2 optimizations in separate compilation units compiled with AVX/AVX2 compilation options. For example, we have avx2_canny in canny_avx2.cpp.
from usual source files we will use checkHardwareSupport(CV_CPU_AVX2) and invoke AVX2-optimized functions only if the check is passed. For example:

// canny.cpp
if (checkHardwareSupport(CV_CPU_AVX2))
{
    avx2_canny(..);
    return;
}
..

And binaries compiled in such manner will work on hardware without AVX2 support (actually, in 2.4 branch we have the same scheme for image warping operations).
But as you said our buildbot infrastructure doesn't have Haswell or better, so, we can disable AVX2 by default and all public packages will be built without AVX2.
And @Dikay900 can continue his optimizations and at the time when AVX2 will universally available we will have a set of AVX2 optimized functions, that not covered by IPP. It's better than nothing.

i think the main point of @vpisarev was that the universal intrinsics cannot get implemented safely.
On the other hand i think we do not explicitly need this universal instrinsics right now since we can develop every SSE code to AVX code or am i missing something with these universal intrinsics?
Since we've got additional ifs everywhere where sse or avx code is available the code will still run on any hardware so i think there is no need for additional compilation units, which would create much additional redundant code.
The problem with general AVX2 code remains that there is no automatic testing environment. Another build configuration for AVX code is needed there to cover all AVX and SSE code (since AVX can eliminate SSE code in some cases completly)
On the other hand users may want the most out of their cpus for very cpu intensive tasks.
Maybe we can add an additional AVX2_experimental option into the definiton which can be used for this kind of code defaulting to 0 which will use the normal SSE code.
I think the biggest problem here is that the test enviroment cannot test this new code and i think this is the main problem here, for everything else there would be solution.
Thanks for your support @ilya-lavrenov

I think the main point of @vpisarev was that the universal intrinsics cannot get implemented safely.

My opinion is that everybody is free to write the code using SSE/AVX/NEON intrstions etc explicitly, not using universal intrinsics. They are not tested at all and in experimental phase. So, we must not reject any explicit optimizations!

Since we've got additional ifs everywhere where sse or avx code is available the code will still run on any hardware so i think there is no need for additional compilation units, which would create much additional redundant code.

No, simple if in the code is not enough. When you compile all the sources with AVX2 option, compiler automatically can use AVX2 instructions without your knowledge and this binary file will give abort trap: illegal instruction. So, a separate compilation units is necessary to distinct AVX code and another one.
@vpisarev, we are still waiting your voice. I believe that we can implement such infrastructure inside a HAL.

My opinion is that everybody is free to write the code using SSE/AVX/NEON intrstions etc explicitly, not using universal intrinsics.
yes thats also my opinion, could be that my statements to wait with this code for the hal implementation was a bit confuing since i did not know what there would have been into the hal module.
No, simple if in the code is not enough.
I thought the checkHardwareSupport method will make a realtime estimation what is supported?
If this is wrong why is this used anyway since we have macros and such methods for this.

I thought the checkHardwareSupport method will make a realtime estimation what is supported?

It will work if we run SSE4 compiled code on SSE2 compatible device. Bit it doesn't work if we run AVX code on SSE-compatible device. Because AVX it's a "next generation" (256-bit vectors are not compatible with 128-bits ones). And we need additional mechanism like compilation units.

i understood already that we need avx supported hardware for specific features but in this code i added we have the following
#if CV_AVX2 // AVX2 enabled via Cmake / Compiler
    bool useAVX2 = checkHardwareSupport(CV_CPU_AVX2); // realtime estimation if hardware supports AVX2
#endif
...
#if CV_AVX2
     if (useAVX2) // will only run if AVX2 is enabled and supported by hardware

am i wrong with my comments in this snippet? I thought with this mechanism it is safe to assume that code will only run on supported hardware (thus you need AVX2 capable cpu to compile it)

@Dikay900,
universal intrinsics are aimed at providing portable and reasonably efficient wrappers around different SIMD engines. That is, instead of
#if CV_SSE2
for(...)
_mm_storeu_ps(c + i, _mm_add_ps(_mm_loadu_ps(a + i), _mm_loadu_ps(b + i));
#elif CV_NEON
for(...)
vst1q_f32(c + i, vaddq_f32(vld1q_f32(a + i), vld1q_f32(b + i));
#else ...
for( int i = 0; i < n; i++ ) c[i] = a[i] + b[i];
#endif
you simply write (in the current version)
#if CV_SIMD128
for(...) v_store(c + i, v_load(a+i) + v_load(b+i));
#else
for( int i = 0; i < n; i++ ) c[i] = a[i] + b[i];
#endif
and even this #if is not strictly needed, because the intrinsics are also emulated in C.
I actually would like to get rid of, or at least reduce the number of #if's in OpenCV code, because they really make the thorough testing more difficult. This is possible with SSE (SSSE3 to be precise) and NEON, since they are available universally. AVX does not fit into this scheme, unfortunately. Here I'm talking about all opencv and opencv_contrib modules with 1 notable exception - the hal module itself.
As you may note, we also have opencv2/hal.hpp with a banch of cv::hal::* functions. We hope to increase this number dramatically during the next several months. And that's where we can use the idea suggested by Ilya. Namely, certain cv::hal functions may include SSE4, AVX2 etc. branches and do runtime dispatching there; to play safe, AVX2-based code can be put into separate files and built with special options not to let compiler use AVX2 instructions unconditionally.
So the idea is to hide #if's in the main OpenCV inside universal intrinsics. Performance critical things can be put into HAL and optimized using fastest CPU instructions available.
@ilya-lavrenov,
regarding the comment that everyone is free to use intrinsics directly. Well, I'd tighten these rules because of the obvious reason - "long-term support". We happily use the universal cv::parallel_for_ instead of a wild combination of openmp, TBB etc. I do not see any reasons why we should do the same with universal intrinsics. I looked at the generated code and at least with SSE modern compilers do an excellent job with turning these C++ intrinsics into efficient assembly instructions, as if you used assembly language directly. So, I think, we should encourage people to use universal intrinsics for most of not all the newly written code.

ok understood. Thank you very much for the further explanation.

@Dikay900, thank you too. For now I'm closing this PR and feel free to reopen it when we have more solid HAL and develop methodology of putting AVX and other specialized optimizations into separate files for safe runtime dispatching.


Update the readme file for the carbon-messaging repo

Add a description about carbon-messaging source repository.

Fixed with following commit.
https://github.com/wso2/carbon-messaging/commit/6f36e916e95bdaae348cc5dc7c3b52edd11c606a


use the paas team's s3-resource

concourse s3 resource doesn't support iam profiles correctly, the paas
fork implements this, so use theirs.

ONE TEAM ONE DREAM

ONE TEAM ONE DREAM


Migrate content handler VulkanRasterizer to use mtl::DeviceWatcher

Having our own implementation of the device watcher protocol broke silently when the protocol was updated, causing every flutter app to wait a full second before starting on fuchsia. Swetland recommends moving to an MTL standard implementation
See https://github.com/flutter/engine/blob/master/content_handler/vulkan_rasterizer.cc#L27

The use case is different.  mtl::DeviceWatcher is an async wait.  This code wants a sync wait.

To quote Brian Swetland: "If you don't mind a dependency on mxio, the mxio watcher can easily be used to build a synchronous wait (have a callback that returns ERR_STOP when the thing you're waiting for shows up).  It also supports timeouts."
Also I think its at least worth thinking about an architecture that allows you to wait asynchronously. right now this wait happens serially with 40 ms of RuntimeHolder::CreateView. I dont know how practical this is though.

Is this issue still relevant?

I would say probably not but I defer to the other people on this issue

Closing as obsolete


Possible reasons for questions generated are different using demo and repo?

Hi,
I am using the model given in google drive and generated questions using code in the repository. And, also using same context, I have generated questions in the demo. Questions are slightly different. For example, the model I have used is not generating any "how" questions. Is the models in drive and demo app are different? Please highlight the differences, if any.
Thank you,

I don't think they are different. Could you send me examples of the differences? There is also some randomness due to top-p sampling.


The Azure Storage Emulator is no longer being actively developed.

The first note visible on following link to get Azure storage emulator is this:
"The Azure Storage Emulator is no longer being actively developed. "
Could example here state if it works with supersede of Azure storage emulator, azurite

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

ID: 4885c7aa-95fd-b501-37c8-deaeaf5ec54b
Version Independent ID: 92dcd574-ffef-25f6-0a52-30dbce334b79
Content: Create your first durable function in Azure using C#
Content Source: articles/azure-functions/durable/durable-functions-create-first-csharp.md
Service: azure-functions
GitHub Login: @jeffhollan
Microsoft Alias: azfuncdf

You are my super hero.
.. I really want to thank you.. Thank you all.

Hello @boris-tarasov-maersk,
Thank you for your feedback! We will review and update as appropriate.

@boris-tarasov-maersk Durable Functions depend on Azure Table Storage which is currently not supported by azurite. In the meantime, using Azure Storage Emulator or an Azure Storage Account directly is the way to go.

@boris-tarasov-maersk Just following up here... Hope my previous comment clears things up.

@boris-tarasov-maersk Hope my previous comment clears things up. Once azurite supports durable functions, the doc will be updated accordingly.
Since there is no update required now, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Use uv in CI

Using astral's uv in CI would reduce the CI time and simplify the setup.

Closing as done in https://github.com/btschwertfeger/python-kraken-sdk/pull/310


Icon does not appear, when I use the 'back' Button

When you use fore and back buttons in Google Chrome, the button does not appear when it should.

Is this with version 0.8 (i.e. the most up to date?)

It is with 0.75, the one I got from the chrome webstore


Tweak std.algorithm.comparison.either docs and add to package doc table

either is being introduced in 2.070, so this should probably be in the final release of that. What do you think @MartinNowak?
edit:
Should I file against stable in that case?

Other than that, I think we should merge this. Doc improvements are important.

ping
Let's finish this up and merge it.

ping @JakobOvrum

@quickfur, the nitpicks you pointed out were already in master, and this patch was a substantial improvement as-is. Now this PR has stalled for literally a month over the absence of the definite article. I implore you not to do that again.
I've fixed the issues and rebased.

Now this PR has stalled for literally a month over the absence of the definite article. I implore you not to do that again.

Maybe we can figure out a way to prevent this in the future - see the discussion:
<EMAIL_ADDRESS>

LGTM @quickfur ?

Let's just merge. This stalling is getting pretty ridiculous, and it's not as though we can't submit a followup PR to fix nitpicks, if any happen to slip through. Merge ahoy!

Auto-merge toggled on


kube-state-metrics pod is not working in recent Kubernetes versions

Due to the same API deprecations/changes reported here , the current ClusterRole defined here doesn't work anymore in recent Kubernetes versions (e.g 1.16) because pod kube-state-metrics pod doesn't get the needed authorizations to poll metrics.

updated in #687


MSIX: Possible heap corruption in ImageResizer

Steps to reproduce

get latest master and go to installer\MSIX from vsdev ps-shell
.\build_msix.ps1 -debug 1
.\sign_msix.ps1
.\install_msix.ps1
right-click some image in explorer

Screenshots

does this happen in an msi build?!?

or just msix

@crutkas just msix

@yuyoyuppe thanks for the find! I had not used the Debug build with MSIX before so I never saw this error. Turns out I was using free instead of CoTaskMemFree for deallocating a string, and that caused this error to show up for any file on invoking the right-click menu.

@yuyoyuppe The fix is in master, can you verify that the heap corruption error doesn't occur any more?

fix confirmed.


Add enum value for cl_khronos_vendor_id

Enum value depends on OpenCL spec change in https://github.com/KhronosGroup/OpenCL-Docs/pull/203
Including platform vendor IDs in the headers matches the convention of Vulkan, where this gets done automatically

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

Could I get a review on this please?

LGTM as well - merging.


use mapped type for combineReducers

Enforces using valid property names for reducers, and having the reducers return valid objects.
Uses TypeScript 2.x feature https://www.typescriptlang.org/docs/handbook/advanced-types.html#mapped-types

Ah. Just seen https://github.com/reactjs/redux/commit/8033325697a4d1aa635a672502828c463d6f3478 and https://github.com/reactjs/redux/pull/2563 - please ignore!


⚠ Mobitopup has degraded performance

In bf01f36, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3066 ms

Resolved: Mobitopup performance has improved in 4f82913.


DataclassTransform

Codecov Report

Merging #271 (8a474ff) into master (2bf9f45) will increase coverage by 0.22%.
The diff coverage is 94.73%.

:exclamation: Current head 8a474ff differs from pull request most recent head 775a90f. Consider uploading reports for the commit 775a90f to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
+ Coverage   84.12%   84.35%   +0.22%
==========================================
  Files           9        9
  Lines         945      965      +20
==========================================
+ Hits          795      814      +19
- Misses        150      151       +1

Impacted Files
Coverage Δ

dash_extensions/enrich.py
82.42% <94.73%> (+0.32%)
:arrow_up:

@gedemagt did you get a chance to test if this PR works as intended?

Just had a bit of summervacation :D
Not exactly - I tried the following:
from dataclasses import dataclass
from datetime import datetime

from dash import Output, html, dcc
from dataclass_wizard import asdict

from dash_extensions.enrich import callback, DashProxy, TriggerTransform, NoOutputTransform, DataclassTransform, Trigger, State

app = DashProxy(
    transforms=[
        TriggerTransform(), NoOutputTransform(), DataclassTransform()
    ]
)

@dataclass
class StateModel:
    value: datetime
    list_of_values: list[int]

@callback(
    Output('output-div','children'),
    Trigger('some-btn', 'n_clicks'),
    State('state-object', 'data')
)
def do_stuff(state: StateModel):
    return f"Before now? {state.value > datetime.utcnow()} - with {len(state.list_of_values)} values"

app.layout = html.Div([
    dcc.Store(id="state-object", data=asdict(StateModel(datetime.utcnow(), [1, 2, 3]))),
    html.Button("Hello", id="some-btn"),
    html.Div(id="output-div")
])

app.run_server(debug=True)

But I get an error
Traceback (most recent call last):
  File "/home/jesper/projects/dash-extensions/dash_extensions/enrich.py", line 1050, in decorated_function
    an = full_arg_spec.annotations.get(full_arg_spec.args[i])
IndexError: list index out of range

It seems like the full-arg-spec found in L1039 (enrich.py) is empty. I will try to debug a bit later.

Seems like the TriggerTransform strips all the info. I tried with an input instead of a Trigger, and that works fine.
@callback(
    Output('output-div','children'),
    Input('some-btn', 'n_clicks'),
    State('state-object', 'data')
)
def do_stuff(n, state: StateModel):
    return f"Before now? {state.value > datetime.utcnow()} - with {len(state.list_of_values)} values"

Ah yes, that makes sense. For the transform to work, it must be applied before the trigger transform. I just specified that, so now your example seems to work.


Add .ycm_extra_conf.py, making ycm work!

Had to blacklist an additional check in .clang-tidy.  For whatever
reason, YCM was running clang-tidy (cool!) and telling me to change a
bunch of functions to use trailing return types (...not cool?).

Original code: https://raw.githubusercontent.com/ycm-core/ycmd/66030cd94299114ae316796f3cad181cac8a007c/.ycm_extra_conf.py

Thank you for the review!  I am excited to have YCM, I feel like a real developer again.


[QUESTION] Is it possible to search Tweet's by location?

i.e. if I want to limit the tweets to a city, state, or region

From README:

twint -g="48.880048,2.385939,1km" -o file.csv --csv - Scrape Tweets from a radius of 1km around a place in Paris and export them to a csv file.


Enable AOT builds again with .NET 8 toolchain

When upgrading to .NET 8 toolchain (#1554), the AOT builds started failing and need to be investigated

This is blocked by https://github.com/dotnet/runtime/issues/94406

@twsouthwick please take a look!


Implement ServerNoError

Fix #113

Neat, thanks! Rubocop is mad, though – I'll try to take a look at it this weekend unless you beat me to it.

I'll try to fix 2 of them but there is one I'll have to add a local exception:
Offenses:

**This one will be fixed**

lib/facebook/messenger/server_no_error.rb:5:5: C: Missing top-level class documentation comment.
    class ServerNoError < Server
    ^^^^^

**I'll have to add a rubocop local exception for this one because it is the heart of the no exception server**

lib/facebook/messenger/server_no_error.rb:8:7: W: Avoid rescuing the Exception class. Perhaps you meant to rescue StandardError?
      rescue Exception => e ...
      ^^^^^^^^^^^^^^^^^^^^^

**This one will be fixed**

lib/facebook/messenger/server_no_error.rb:9:36: C: Use only ascii symbols in comments.
        send("\xF0\x9F\x98\xB1") # 😱
                                   ^

#191 needs to be merged first to have the build to pass

:sparkles: :cake: ✨


check kubecost efficiency, should meet the criteria

please check kubecost efficiency, should meet this criteria:
KubeCost Efficiency >=40% , and memory  Efficiency <=130%

check at Oct 26

check at Dec 25


Failed to resolve import "env" from ast_grep_wasm

I want to play in the online playground.
I followed crates/wasm/README.md and finished step 1 to step 5.
Then when I run npm i && npm run dev, below is the error...

Did i miss something?

Here is the dependency reference of the js file pkg/ast_grep_wasm.js generated with wasm-bindgen:
import * as __wbg_star0 from 'env';
import * as __wbg_star1 from 'wasi_snapshot_preview1';

Read the related issue:
https://github.com/rustwasm/wasm-bindgen/issues/2215
https://github.com/rustwasm/wasm-bindgen/issues/21
Looks like a different strategy is needed for parsing? I'm not sure.
OS
Win 11.

Hi, you need to first run wasm-pack build --target=web and then run pnpm install.
The playground repo is not documented yet. The README is more or less a self reminder to me. Sorry for the inconvenience.


[tests] timeout: tests/test_txlist.py::test_get_txlist_by_asset

Just logging this event in case that it may be helpful. The test run  "Python 3.4 with RethinkDB backend" ran for 12 min 44 sec before timing out.
The test was hanging on tests/test_txlist.py::test_get_txlist_by_asset:
tests/test_txlist.py::test_get_txlist_by_asset

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

It should be noted that all other runs, (Python 3.5 with rethink & mongo) terminated with success.

Restarting the build for a second run was successful, so closing this issue.


Live Demos/Examples

Apologies if I missed this, but it'd be good to have a live demo (likely using Github pages - but open to ideas) what do you think?
Happy to submit a PR but want to check before going down that path :-)

We have a samples folder already with some stuff you can start from, PR would be great

Looks like this page that's generated is enough, it would be good to link in the Readme though.


NestJS v10 support - ReferenceError: models is not defined

Describe the bug
NestJS v10 removed some functions from injector Module which causes the nest application to error with
    const denormalizedChannels = modules.reduce((channels, { components, metatype, relatedModules, routes }) => {
                                                ^
ReferenceError: models is not defined

To Reproduce
upgrade nestjs/core to v10
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Nest version: 10.0.3
For Tooling issues:

Node version: 18.14.0
Platform:  Mac

Is someone already working on the upgrade or do you accept a PR?

Thanks for reporting the issue, @mipopon
I'm planning to work on an update next week

release 1.2.0 that supports nestjs v10


Not all advanced features implemented

[x] Sunset
[x] Sunrise
[x] Custom query
[x] Times
[x] None
[x] Days of week
[x] Toggle early/late
[x] Randomize

Resolved by a6abc26dc31690cfd148cf025ef5cd6094555fc0 and 05a1d79146546200a087850cae9a0df4ed42a78b.


Remove print statement

The print statement linked below seems unnecessary. Could it be removed?
https://github.com/delta-io/delta-rs/blob/main/crates/mount/src/file.rs#L275
https://github.com/delta-io/delta-rs/blob/f49eedb1eeca3fc6adc06076c4cf0a61a6b57912/crates/mount/src/file.rs#L268

@tom1919 can you make a PR for it?


auto tigger signature help window when completedone.

@haorenW1025  Please check.

hey how do you jump to the different prefilled signature? eg. you quickly jumped to format string then a ...interface{}

I bind tab to do that.

hey how do you jump to the different prefilled signature? eg. you quickly jumped to format string then a ...interface{}

He most probably uses some kind of snippet engine like ultisnips or vsnip. Snippet engines allow you to jump to placeholders, you just need to setup mappings, taken from ulitnips github page:
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"```

I bind tab to do that.

Mind if I ask: did you decide to switch from CoC to nvim-lsp? Or are you just experimenting?

I am not using nvim-lspconfig，I tried making a lspclient based on neovim's built-in lsp，

This actually looks very neat! Thanks for your contribution:)

@glepnir I recently ran into the nvim-lspconfig issue with TS and read your comment.
Looks like you've switched from coc.nvim to your own implementation, bold move. Why move away from coc.nvim and how's it working out so far?

@nomasprime  Obviously this is not the place to discuss this issue.If you are a front-end programmer. It is unwise to use nvim-lsp. Because there is no useful tsserver package server. As in my previous comment. typescript-lang-server has almost ceased maintenance. For me most of the time I write back-end languages. So I chose to implement based on the built-in lsp. Current experience. It's fast I think it is much faster than coc. I will not receive some timeout warnings. another reason. I prefer to use lua to write some neovim stuff. I have written enough vimscript. .In addition, I had a very pleasant conversation with some neovim maintainers. I can implement some cool things to submit to upstream. So this is great

@glepnir I didn't know whether to post here or on the other thread. Thank you for the detailed explanation though.
We're thinking along the same lines except I'm writing full stack, so currently, as you said, I'm rather limited to CoC. Ideally, I'd rather use built-in too.


Prepare Workspace for multiple php versions

@Gummibeer since the workspace container is not PHP centric, and it contains many tools where each tool has different version, I prefer not to do the suggested change (at least for now). For now if users want to change the PHP version or any other tool version they have to manually modify the dockerfile of the workspace.
Thanks.


In crate search for serde v1.0.125 is broken

The in crate search for serde v1.0.125 (latest) is broken. It works for v1.0.124.
I only find a search result for some empty_library. The only bug I could find with this term is #1313, which does not look related since serde has dependencies.

This is a regression from https://github.com/rust-lang/docs.rs/issues/1302, fixed by https://github.com/rust-lang/docs.rs/pull/1329. The docs are still broken because of https://github.com/rust-lang/docs.rs/issues/464, I'll rebuild serde manually.

Hmm, there are more regressed crates than I expected - I would rather not rebuild them all.
cratesfyi=> select count(*) from releases where release_time between '2021-03-21' and '2021-03-23';
count
764
(1 row)

This is fixed for serde itself, although it might not show up for a little while because of caching from our CDN.

Hmm, there are more regressed crates than I expected - I would rather not rebuild them all.
cratesfyi=> select count(*) from releases where release_time between '2021-03-21' and '2021-03-23';
count
764
(1 row)

I queued all the latest releases instead, about 450 crates.
select name, version from releases inner join crates on crates.id = releases.crate_id where release_time between '2021-03-21' and '2021-03-23' and releases.id = crates.latest_version_id order by name;

Thank you for rebuilding the crates.


fixed XCode's 'Result is unused'-warning

fix this warning in XCode9+, when using .with asynchronously, but without using it's result
⚠ Result of call to 'with' is unused

Codecov Report

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

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

Why do you need to use with() without its result?

when I need to set properties asynchronously -  in a block, to update the UI
I know it’s a misuse of ‘inout’, but since XCode9 is stricter I needed this..

You may use do() in that case.


Fix Wikimedia image titles

Current Situation

Currently, many images from Wikimedia have titles like File:<name>.jpg.

Suggested Improvement

We should use a different field to get title, or remove the 'File:' and '.ext' parts from the file name.
Benefit

It will make search results look cleaner.

I agree with dropping the File: prefix (it's also present in audio files) but I think having the extension on the file name is okay. The extension at least adds one bit of extra information which the File: prefix doesn't.

No other provider has a file extension in the file name, so I think it would be better to unify this.


Reversed WASI interfaces?

I have the use case about which I am not sure if currently possible/handled:
Virtual File system consumed by host. For example:
virtual disk file on host's FS > wasm component that reads it through wasi-fs and gives read\write access to it's encapsulated FS through wasi-fs interface that is exposed to host > and is consumed by "wasi-fs to WinFSP adapter" giving access to the FS to all Windows software (and similarly "wasi-fs to FUSE adapter" on Linux).

Component binaries need to at the root reference host-supported WIT. So if you wanted to output a component that binds to WinFSP, the first step would be to create a host implementation of these bindings for the component model, defined in a WIT package.
Given such a host interface and implementation, creating an FS adapter to this implementation can be achieved very similarly to how WASI-Virt works, but it would likely be more like a fork of WASI-Virt to achieve the use case given the specific nature of the target bindings.


zathura-pdf-mupdf don't work

When i try to exec zathura with some random pdf file i get this message and zathura with black screen.
error: Could not load plugin '/usr/lib/zathura/libpdf-mupdf.so' (Error relocating /usr/lib/zathura/libpdf-mupdf.so: jbig2_page_out: symbol not found).
error: Could not determine file type.

Try rebuilding with the latest main


unix: do not close invalid kqueue fd after fork

The kqueue documentation states that the file descriptor is not inherited by the child process. Hence, do not close it in uv_loop_fork to avoid tampering with a possibly valid file descriptor already opened by the child process.

Thanks John, landed in 6a101e78e.


Any chance updating this to use LXD

Any chance updating this to use LXD instead of or in addition to LXC ?
www.linuxcontainers.org

Thanks for your advice. We will consider that. By the way, your contribution is welcomed.

@iteratorlee
I'd be glad to help where I can.
Unfortunately I am not a programmer but I am a long time Ubuntu and LXC/LXD user.
I am the Moderator of the LXD and LXC sub-reddits:
LXD sub-reddit
LXC sub-reddit
I am also fairly good at Bash scripting as my own GitHub project CIAB Remote Desktop System is built/integrated using Bash Scripting and includes:    Guacamole, Tomcat, MySQL, NGINX, XRDP, LXD


Macvim does not obey "Open files from applications in a new window" setting

version 8.0 (120)
Setting in
MacVim > preferences... > General:  Open files from applications [*] in a new window
still open in the current window

re launch macvim solve the problem


[WIP] Session auth service

created session auth service
refs #9865

[x] session middleware
[x] SessionStore object (some exisiting ones)
[x] Cookie configuration

[x]   MaxAge
[x]   http only
[x]   secure (when appropes)
[x]   path = admin path
[x]   domain unset

[x] middleware for creating user object on request
[x] middleware for ensuring user object on request (401 if missing)
[x] remove all sessions when url config changes (invalidated via csrf protection)

This service handles the session store and exporting middleware to be
used for creating and managing sessions.
This depends on https://github.com/TryGhost/Ghost/pull/9909 - Once it is merged I will rebase and tests will pass :ok_hand:

This is rebased on top of the #9909 so pls ignore the first commit when reviewing :+1:


nvim-tree and lualine background is not being set to transparent

Description
I'm using nvim-transparent plugin for transparency but background colors of nvim-tree & lualine are not being applied
Behavior
Expected behavior
Background colors are to be made transparent
Screenshots

Configuration
local catppuccin = require("catppuccin")

vim.g.catppuccin_flavour = "macchiato" -- latte, frappe, macchiato, mocha
catppuccin.setup {
    transparent_background = true,
    term_colors = true,
    compile = {
        enabled = true,
        path = vim.fn.stdpath("cache") .. "/catppuccin",
    },
    integrations = {
        gitsigns = true,
        telescope = true,
        treesitter = true,
        cmp = true,
        nvimtree = {
            enabled = true,
            show_root = true,
            transparent_panel = false,
        },
        native_lsp = {
            enabled = true,
        },
        notify = true,
        hop = true,
        aerial = true,
        bufferline = true,
    },
}
vim.cmd("colorscheme catppuccin")

minimal_init.lua
A minimal_init.lua file template is located at the root of the project.
-- this is how I install
use {
  "catppuccin/nvim",
  as = "catppuccin",
  run = ":CatppuccinCompile"
}

Additional info / context
here's my nvim config
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>

        nvimtree = {
            enabled = true,
            show_root = true,
            transparent_panel = false,
        },

Change transparent_panel to true

@nullchilly even the above is not working for some reason

@mslalith Sorry for the inconvenient, I will look into it

@nullchilly thanks for fixing this. I see in your commit, you've only made changes for lualine. Issue still exists for nvim-tree

@mslalith nvimtree is also fixed on my side

@mslalith

@nullchilly can you try with this setup. I still see a bg color in mine

local nvim_tree = require("nvim-tree")
local tree_cb = require("nvim-tree.config").nvim_tree_callback

nvim_tree.setup {
    create_in_closed_folder = true,
    respect_buf_cwd = true,
    view = {
        width = 30,
        height = 30,
        hide_root_folder = false,
        side = "left",
        preserve_window_proportions = false,
        mappings = {
            custom_only = false,
            list = {
                { key = { "l", "<CR>", "o" }, cb = tree_cb("edit") },
                { key = "h", cb = tree_cb("close_node") },
                { key = "v", cb = tree_cb("vsplit") },
            },
        },
    },
    diagnostics = {
        enable = true,
        show_on_dirs = false,
        icons = {
            hint = "",
            info = "",
            warning = "",
            error = "",
        },
    },
    actions = {
        open_file = {
            quit_on_open = true,
            resize_window = false,
            window_picker = {
                enable = true,
                chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
            },
        },
    },
    trash = {
        cmd = "trash",
        require_confirm = true,
    },
    renderer = {
        root_folder_modifier = ":~",
        highlight_git = true,
        add_trailing = true,
        group_empty = true,
        highlight_opened_files = "icon",
        indent_markers = {
            enable = true,
        },
        special_files = {
            ["Cargo.toml"] = true,
            Makefile = true,
            MAKEFILE = 1,
            ["README.md"] = true,
            ["readme.md"] = true,
        },
        icons = {
            show = {
                git = true,
                folder = true,
                file = true,
                folder_arrow = true,
            },
        },
    },
}

-- Will automatically close the tab/vim when nvim-tree is the last window in the tab
vim.cmd([[
  autocmd BufEnter * ++nested if winnr("$") == 1 && bufname() == "NvimTree_" . tabpagenr() | quit | endif
]])

Have you recompile catppuccin?

I did not, let me try

getting this

Oh my gosh I shouldn't have trusted the backward compatibility claim

Seems like it. I switched to nightfox for the time being. Let me know after your changes, I'm happy to try

@mslalith Can you try updating

I have pushed https://github.com/catppuccin/nvim/commit/3a5f324694b0bef9206bc85c10bbf14817f81f98

@nullchilly yup, working now !!

thanks for you efforts man


Distinguish selected state and hover state

Currently hovered/focused items and selected items both have the aria-selected=true, which makes it hard to tell which is already selected, and which is to be selected.
Perhaps aria-current? https://www.w3.org/TR/wai-aria-1.1/#h-note-38

In some use cases for widgets that support aria-selected, current and selected can have different meanings and can both be used within the same set of elements. For example, aria-current="page" can be used in a navigation tree to indicate which page is currently displayed, while aria-selected="true" indicates which page will be displayed if the user activates the treeitem.

Notes:

We might need to consider if there's a difference in semantics when the menu is not used in a navigation context.
Do not apply when item is menuitemcheckbox (when multiple selection is possible).

cc @github/web-systems

Apologies I realized this is a js-select-menu problem, not a <details-menu> problem.


Websocket tcpConnection : how get real remoteIp with Cloudflare

Hello Walkor.
I hope that you are doing well. Thank you so much for the great library.
I have question regarding using Cloudflare as CDN service.
It's working as proxy, and all request now is going through them servers, so I can't get real ip of customers.
But the service is always creating addition http header - 'CF-Connecting-IP' so I can get real ip in my site (manual in request headers or with using apache mod 'remoteip' https://support.cloudflare.com/hc/en-us/articles/360029696071-Restoring-original-visitor-IPs-Option-2-Installing-mod-remoteip-with-Apache).
I was tried to get real ip for websocket tcpConnection, but I had troubles with it. Can you please suggest me way, how I can get access to the request headers or maybe another way to get real customer ip?
Thank you in advance.

Hi light-source.
You can get the CF-Connecting-IP value from websocket handshake header like this. When you get the value add a property(for example realIp) to $connection to store it then you can use it anywhere by code $connection->realIp;
$worker = new Worker('websocket://<IP_ADDRESS>:8080');
$worker->onWebSocketConnect = function ($connection) {
     var_dump($_SERVER);
     $connection->realIp = $_SERVER['HTTP_CF_CONNECTING_IP'];
};
$worker->onMessage = function ($connection, $data) {
    echo $connection->realIp;
};

That's it, thank you very much!

You are welcome.


[FLINK-10932] [ResourceManager] Initial flink-kubernetes module with empty implementation

What is the purpose of the change
Initialize the skeleton module to start native k8s integration
Brief change log

Add flink-kubernetes module
Add first Implement of ClusterDescriptor
Add Interface of Kubernetes client

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): ( no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no )
The S3 file system connector: ( no )

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (the document will be introduced in other pull request)

@isunjin It’s great to start the kubernetes integration with flink. I am glad to get involved in and could help to give some suggestions based on our use case.

implemented at 3d94ba0fae6a7391c03b7eddb087a68bf178b45d


Extract fixtures

Folks, we're migrating "externally useful" test infrastructure (fixtures) into their own repository.
This will among other things:
(0) allow them to evolve semi-independently of the sdk
(1)  make their consumers explicitly ask for them
I think a large fraction of SDK developers use it for test, perhaps exclusively in some cases.  Promoting pytest_f5sdk to it's own project may cause those fixtures (that use case) to mature/evolve more quickly.
I'm excited about the prospects.
An effect that is particularly relevant here is that the test code within the SDK (the stuff that remains) will likely be simpler.
So, you may be asking yourself....  "Why am I a reviewer of this commit?"
Good question!
The answer is:   Because I want to highlight the change in where we put test infrastructure code.
Y'all are the people most likely to generate new SDK tests.

ansible did this same thing, albeit with their modules, and it was a bad idea because to make a change in one required that a totally separate PR be created for updating the other.
This led to PR problems because a change in one repo essentially broke the other repo until the dev could get around to writing another PR to un-break the repo that was affected.
Ansible solved it, in the end, by merging the separate repos back in to one repo. Dunno if I see any problems with the current model

Also, you missed the fixtures in bigiq and iworkflow.
https://github.com/F5Networks/f5-common-python/blob/development/f5/iworkflow/conftest.py
we use the design of pytest to specifically override the mgmt_root fixture so that it is relevant to the product under test. Otherwise you would need to have more options like iworkflow_mgmt_root, bigiq_mgmt_root, etc

totally agree with @tar

Good points @tar.
Let me start by clarifying something.
It's NOT the intention to remove ALL (or even most) fixtures from the SDK.
The goal of this change to decouple generally useful fixtures from the SDK itself.
To the point about fixture composition:
Suppose you have a fixture that uses pytest-style fixture composition, to generate a "more custom" fixture appropriate to a specific test regime (e.g. a product).   If that custom fixture is not generally (externally) useful, that is, if there's not another project (git project) that can productively use that fixture...   then that custom fixture never needs to change.
Concretely, you have some code like this:
@pytest.fixture
def my_custom_mgmt_root(mgmt_root):
     """This custom mgmt_root is different from 'mgmt_root', because it's CUSTOM!"""
     BLAH BLAH

NOTHING should change here.    The fact that the mgmt_root fixture definition has moved won't require any modification of this code.
Does everyone see this?
This is important, I wouldn't try to drop a change that required that kind of refactor on someone else.
In regards to the specific example:
Per the customization of the "IWorkFlow" mgmt_root fixture, I don't see that being affected.  In particular THAT CODE DOESN'T NEED TO CHANGE (because of this migration).
CAVEAT:  I think there's a tweak to apply to that code. I opened an issue to discuss details here:
https://github.com/F5Networks/f5-common-python/issues/1042
Now, per the interdependency issues:
I think you're saying:
Having 2 tightly coupled projects such that changing 1 requires a change in the other, is a bad thing.  I agree totally.   I'm not moving us in that direction (at least, not very far).
So let's talk about coupling.  The pytest_f5sdk Python distribution won't be tightly coupled to the f5-common-python distribution.
There are two directions to consider in this relationship:
(0) f5-common-python-depends-on-pytest_f5sdk
(1)  pytest_f5sdk-depends-on-f5-common-python
In the f5-common-python-depends-on-pytest_f5sdk direction the only dependency is a test dependency.   We currently implement this by adding a line to requirements.test.txt that points to the https://github.com/F5Networks/pytest_f5sdk.git.   This is, in turn, "pip installed" by tox into the various test environments.  So, the only dependency on the pytest_f5sdk is a test dependency, and notice it points to master meaning....    as soon as a new fixture is added to pytest_f5sdk it's automagically available to f5-common-python's test regime (assuming your tox environment isn't stale.   AND the SDK functionality itself, the core logic, has 0 dependency on pytest_f5sdk.
Now, going the other direction, pytest_f5sdk-depends-on-f5-common-python, this will generally be managed by the distribution that pytest_f5sdk has been sistered with.   For example, suppose you're testing f5-common-python, in that case tox will install the development commit you're working on, and when pytest_f5sdk is evaluated for installation setuptools will see that the f5-sdk is installed and do nothing.
Semantic versioning will ensure version compatibility, and if we need to change code in the pytest_f5sdk to handle a backwards compatibility break from the f5-sdk that is work that would be required anyway (it's just done in a different location).
So, there's some minimal overhead (cost) implied by this change...   what's the benefit?
To the OpenStack Team the benefit is immediate and significant.
A good example of this benefit is the logic in the device registration setup and teardown code.   We now have a single source of truth for this logic that can evolve with little constraint introduced by the version of the SDK proper.
Pre-change, when we wanted to update the AGENT_LB_DEL_ORDER dictionary that we use to cleanup after tests that create loadbalancers, we had to release a new version of the SDK and update the sister (f5-openstack-agent) to depend on the new version!!!   Obviously this is bad.    Now all we have to do is add a new commit to pytest_f5sdk, and rerun tox!
OK now I'm going to just scratch a few things for later:
Other benefits:
  f5-sdk get's the flexibility also
  more/different eyes on pytest_f5sdk

BTW, a lot of this architecture is due to @pjbreaux 's comments.
in o

Oh, also I should mention that I AM flexible on this work.   We don't necessarily have to solve our coupling problem in this way....    BUT the OS Team does need to solve it...   so if we reject this solution it will have to be in favor of a better/competitive/alternate one.

@zancas @pjbreaux @caphrim007
I will add something here which may/ or not be related. I think in our tests we should start using fixtures for resource setup/teardown. I have been playing with it in my ASM functional tests:
https://github.com/F5Networks/f5-common-python/blob/development/f5/bigip/tm/asm/test/functional/test_policies.py#L101
I have found that in the case of ASM policies this saves a ton of time and improves performance, less API calls too.
So just so you know how am I using mgmt_root, maybe not the same way you guys thinking here but worth remembering this when you start moving stuff away from this SDK.
If you agree with this approach, we can discuss some principles (given that my approach was experimenting with scopes (for one reason or the other)), and create some sort of guidelines for developer guide. Then proceed to rewriting our current tests to reflect the agreed test framework/model.

@wojtek0806 the bigiq and iworkflow modules already use such a process

@caphrim007  hah i did not know that, well great minds and all that ;)

@zancas @caphrim007 @pjbreaux
I am wondering if maybe moving those kind of utilities as registrytools.py, would be useful, rather than removing of mgmt_root fixtures.  I base this reasoning on the fact that we don't really use this in SDK testing anyway. I can imagine why you guys use such tools (failing tests (due to code errors) that leave some objects on the LBs. However using fixtures like this:
https://github.com/F5Networks/f5-common-python/blob/development/f5/bigip/tm/security/test/functional/test_firewall.py#L59
,would ensure that no artifacts are left over.  Is there any particular reason why you haven't started to utilize test fixtures in such a way? Since I am not involved in OS I am not sure how complex would be.
So if we were to move in our testing suite in that direction, then I could live with decoupling the most commonly used fixtures that would never/rarely change to another repository, as well as some of the tools that we never/barely use in SDK testing.
Personally I would like to rework our entire testing suite in here, to standardize it and have some established patterns, as for now this is all over the place. I love consistency as you have noticed so we need to discuss this. I will open another issue for that.

@zancas there's another f5'er around here that is using pytest here for his own project, so in the scope of there being now 3 (us, ansible, and him) that might use these fixtures, i would now be in favor of extracting the general fixtures to their own package.
as long as @jasonrahm @wojtek0806 and I are able to merge to that repo


ChatGPT

Add "ask ChatGPT" command

Since chatGPT has a pricing we will go to palm API which is bard using


Make (vec) conversions more general

Specifically, it seems like JsonValue should implement: impl From<Vec<T>> for JsonValue where T: Into<JsonValue> , or something along those lines.  The goal would be to implement a new type, do impl From<MyType> for JsonValue, and be able to convert a Vec<MyType> to JsonValue automatically.
There may be analogous conversions possible for containers other than Vec, I can't think of any specific ones right now though.

Proof of concept:
#[derive(Debug)]
enum JsonValue {
    Integer(i32),
    Array(Vec<JsonValue>),
}

impl From<i32> for JsonValue {
    fn from(value: i32) -> JsonValue {
        JsonValue::Integer(value)
    }
}

impl<T> From<Vec<T>> for JsonValue where JsonValue: From<T> {
    fn from(value: Vec<T>) -> JsonValue {
        let new_values = value.into_iter().map(From::from).collect();
        JsonValue::Array(new_values)
    }
}

struct MyType(i32);
impl From<MyType> for JsonValue {
    fn from(value: MyType) -> JsonValue {
        JsonValue::Integer(value.0)
    }
}

fn main() {
    let myvalues = vec![MyType(1), MyType(2), MyType(3)];
    let json_array: JsonValue = From::from(myvalues);
    println!("Json array is: {:?}", json_array);
}

This makes perfect sense. I'll try to sneak it in on Sunday.


Feature Request: Descriptions for Libraries

Works when pulling from npm, but not for Maven...

@Jeetah Can you explain a bit more about what you'd like LicenseFinder to do?

If I run it on a Typescript project with package.json then the generated HTML output contains project descriptions from npm (or from bundle?). Don't know, if this is easy for Maven/Gradle, but would be really cool...

Can somebody please confirm that it is expected that for Maven most fields are not extracted. E.g.
{
	"name": "HikariCP",
	"description": "",
	"homepage": "",
	"licenses": ["Apache 2.0"],
	"texts": "",
	"notice": ""
}


Allow 'device' on SetFitModel.from_pretrained()

Hello!
Pull Request overview

Allow 'device' on SetFitModel.from_pretrained()

Details
This definitely should have already been possible. You can now use:
from setfit import SetFitModel

model = SetFitModel.from_pretrained("...", device="cpu")

Note that the model is not strictly loaded on this device as well, it might just be loaded on whatever was used to save it, sadly. This is dependent on SentenceTransformers.

Tom Aarsen

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Concern Regarding Plagiarism of Your Research  关于某文章和你的研究成果一字不差的问题。

The Detection of IoT Botnet using Machine Learning  on IoT-23 Dataset
该文章和你项目里的research paper一字不差，且表格全是你文章表格的图片形式。但你未在里面的任何一个作者，我也是偶然阅读到两篇一模一样的文章，担忧你的文章被剽窃且被发表。特此提醒一下！
I hope this message finds you well. and i have no your email.
I recently came across an article titled "The Detection of IoT Botnet using Machine Learning on IoT-23 Dataset," which is identical to your research paper. The tables in the article are also presented as images, matching those in your work. However, your name does not appear among the authors.
I stumbled upon two identical articles and am concerned that your research may have been plagiarized and published without your acknowledgment. I wanted to bring this to your attention.

谢谢提醒！文章的确被盗窃了，我已经上报给IEEE 和学校
Thank you so much for bringing this to my attention. I truly appreciate your vigilance and the time you took to notify me about the plagiarism of my research paper. Without your message, I might not have discovered this issue.
I will be following up with the relevant authorities to address this situation. If there's anything else you notice or any further details that could help, please don't hesitate to reach out. Once again, thank you for your support!


Is it possible to convert .ows files to .ts?

Of course it's possible, next weekend I'll implement the function.

Today i spent the short time to develop the ows data parser. and now I'm gonna use this to create a diva-engine code converter.

Hey, thank you for this tool that looks amazing ! I started writing my own custom mode using the inconvenient in-game interface and now have a bunch of .ows code already.
Is it possible as of today to import / decompile my existing code and, if yes, how ?

I second this. Is it possible to decompile my current code that I made in-game and load it into DVA-engine? Thanks!

@xcloudx01
It's exciting that someone wants my project to move forward.
Now I'm in a bad situation where I'm assigned to an overworked project at the company and I'm working on weekends in a row by row. (Maybe I'll consider changing voluntary turnover...)
I'm sorry the project suddenly stopped developing in 2019, and I still love Overwatch. (I'm still using Brigitte.)
The time this project stopped is 100 percent consistent with the time I joined the company.
I'm still working as a fullstack developer in korea, and my typescript and frontend coding skills have developed
I will not delete the Hong Kong-related content in this project, but I will put it down a little bit and then resume the development of the project.
Thank you for leaving me a message. I'll make sure to develop it. 🤗

Is your parser work in this repo? I can't see any commits from 30th Aug 2019, if you've got it lying around could you commit it? I'd love to take a look and possibly contribute!

@willstott101 Sorry, I've been really busy lately. I haven't been working on anything lately, and I have a few parser codes. but I think I'll have to look for them after work.
If you want to work on this project, I can give you the permission.


Breaks npm install process on windows 10

Seems like it's unusable for apps trying to be cross platform, as developers can't install this package when not on a mac.
Perhaps you can suggest an alternative notifier that works on all platforms?

also mac


Use Case 13: Prioritizing Targets for Individual Cancer patients [MetGENE Metabolites]

SyntaxError: Unexpected token '<' "<!DOCTYPE "….. is not valid JSON

Metabolomics fixed this


This is so great

I made all these edits - you should want them.  They are awesome.

My deepest apologies sir but this amendment does meet the academic rigor required for inclusion in this great work of scientific art.


Bug in blog.html page

Description
The social media icons in blog.html page shall be same in terms of color and design on the index.html
I can style them and display them as same as in index.html
Screenshots
No response

@SauravMukherjee44 , Can you please assign this issue to me?

Go for it!
For support join our discord community: https://discord.com/servers/codein-community-831388874118660156


Add over all responsiveness in the website

I would like to work on this.

I would like to work on this.

sure @souravseal99 go ahead ....update it ASAP
and u are free to share ur ideas ,like what we can add more

I would like to work on this.

sure @souravseal99 go ahead ....update it ASAP
and u are free to share ur ideas ,like what we can add more

💯
can I use bootstrap to make this process fast ? @Ayan-thecodeking

I would like to work on this.

sure @souravseal99 go ahead ....update it ASAP
and u are free to share ur ideas ,like what we can add more

💯
can I use bootstrap to make this process fast ? @Ayan-thecodeking

@souravseal99 our priority is css ...if u are ok with css then plzz do it with css only ...take some more time ...or if u are using bootstrap just make sure that  it does not effect our existing code
It's ur call now

I would like to work on this.

sure @souravseal99 go ahead ....update it ASAP
and u are free to share ur ideas ,like what we can add more

💯
can I use bootstrap to make this process fast ? @Ayan-thecodeking

@souravseal99 our priority is css ...if u are ok with css then plzz do it with css only ...take some more time ...or if u are using bootstrap just make sure that it does not effect our existing code
It's ur call now

sure @Ayan-thecodeking , no problem. I'll make use of css then.

hey @souravseal99 any updates ??

hey @souravseal99 any updates ??

yes @Ayan-thecodeking , I've almost completed the top section of the site, the footer and body is yet to be done.


resources.Copy to original resource path points to wrong resource

assets/
└── a.jpg    # image is 600x400

This works as expected...
{{ with resources.Get "a.jpg" }}
  {{ with .Resize "200x" | resources.Copy "foo.jpg" }}

  {{ end }}
{{ end }}

But if you try to copy the resource to the original path (a.jpg)...
{{ with resources.Get "a.jpg" }}
  {{ with .Resize "200x" | resources.Copy "a.jpg" }}

  {{ end }}
{{ end }}

Note that the width and height attributes are from the original image, not the resized image.
Why would you want to copy a resource to its original path? To have something other than this:

To copy a resource to its original path is also of concern, when an image is processed more than once. In the first step, images may be resized or cropped, etc. In the second step, a "srcset" is generated, which involves again resizing or filtering. Without copying the result of the first step to the original name, Hugo’s naming scheme concatenates two hashes and other information into the resulting filenames. These names then usually get so long, that Hugo truncates them to avoid problems. The part of the filename string containing  information about the last processing step is usually lost, then.I

If fixing/implementing this is going to be expensive, perhaps we could disallow using the original resource path to avoid unexpected results (e.g., incorrect .Width and .Height).

If fixing/implementing this is going to be expensive or impossible

It was certainly not intended to be used this way. The technical reason is that we use the resource path as a cache key, but even if we fix that there is a "meta question" that I cannot wrap my head around:
If I do:
{{ $a := resource.Get "a.json" }}
{{ $acopy := $a | copy "a.json" }}
{{ $a.RelPermalink }}
{{ $acopy.RelPermalink }}

What would be the RelPermalink values above? If this was the MacOS Explorer, you would maybe imagine it to append a "Copy" suffix or something to the filename. But that would most likely not be the intention in the above.
I do agree it's a bug, but the fix isn't obvious. I'm in the process of simplifying lots of related stuff now, I have this issue in the back of my head while doing so.


Ugoira conversion fails due to missing ffmpeg path

https://github.com/Nandaka/PixivUtil2/blob/da4c615fe05935d16b4e38a864ae501026b09d8b/PixivHelper.py#L1167
As you can see, cmd is built using just "ffmpeg" without any path to it, vs here where it is dynamically resolved:
https://github.com/Nandaka/PixivUtil2/blob/da4c615fe05935d16b4e38a864ae501026b09d8b/PixivHelper.py#L1016
So when execution goes through L1167, the conversion fails and we get the following exception stack:
Traceback (most recent call last):
  File "c:\PixivUtil2\PixivImageHandler.py", line 333, in process_image
    PixivDownloadHandler.handle_ugoira(image, filename, config, notifier)
  File "c:\PixivUtil2\PixivDownloadHandler.py", line 384, in handle_ugoira
    PixivHelper.ugoira2gif(ugo_name,
  File "c:\PixivUtil2\PixivHelper.py", line 954, in ugoira2gif
    convert_ugoira(ugoira_file,
  File "c:\PixivUtil2\PixivHelper.py", line 1052, in convert_ugoira
    check_image_encoding(d)
  File "c:\PixivUtil2\PixivHelper.py", line 1145, in check_image_encoding
    re_encode_image(re_encode_channel, file)
  File "c:\PixivUtil2\PixivHelper.py", line 1170, in re_encode_image
    p = subprocess.Popen(ffmpeg_args, stderr=subprocess.PIPE)
  File "C:\Program Files\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  File "c:\Users\username\.vscode\extensions\ms-python.python-2021.10.1365161279\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\pydev_monkey.py", line 860, in new_CreateProcess
    return getattr(_subprocess, original_name)(app_name, cmd_line, *args)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Which is expected since it cannot find ffmpeg.exe. Most ugoiras won't invoke re_encode_image which is missing the path, so the problem rarely shows up, if ever.
I fixed the problem by hardcoding my ffmpeg's path at L1167. I guess the proper way to fix this would probably be passing the path into the function as a parameter.
On a side note, the above exception would crash the program. Not sure whether it's meant to be the case.

yes, you can replace it with _config.ffmpeg in L1167, so it resolved based on the config.ini


Add Java chaincode upgrade support for Fabric 2.2 in upgrade chaincode playbook for Fabric

Description
As a developer I want to upgrade the exisitng farbic chaincode in JAVA using the upgrade chaincode playbook in Fabric 2.2. Add the support of upgrade chaincode for newly added organization in Fabric.
Steps:

go through the fabric 2.2 upgrade chaincode documentation .
Use the official fabric java chaincode from here
Add the ansible role to build/package the chaincode if required.
Add an optional language tag to describe the language of the chaincode and use go as default.
Add the ansible code to upgrade the chaincode in java as well as go for a fabric network.
Add the option of skiping the waiting for the anchor peer job in case of a new organization is added to a spun up fabric network.
Use the Peer lifecycle chaincode command to verify the upgradation of chaincode.

Acceptance Criteria

Upgrade chaincode should upgrade the java chaincode in fabric 2.2
Upgrade chaincode should upgrade the go chaincode in fabric 2.2
Upgrade chaincode is compatible with the network after addition of new organization.
Use the Peer lifecycle chaincode command to verify the upgradation of chaincode.
Upgrade chaincode is tested on fabric 1.4.4 and 2.2

To upgrade an exisitng chaincode in Fabric 2.2, The same lifecycle of Package, Approve and Commit chaincode should be followed.
https://hyperledger-fabric.readthedocs.io/en/release-2.2/deploy_chaincode.html#upgrading-a-smart-contract


Extensions not working

Issue Type
Bug
Description
I installed some extensions and they didn't work
VS Code Info
VS Code version: Code 1.20.0 (c63189deaa8e620f650cc28792b8f5f3363f2c5b, 2018-02-07T17:10:15.949Z)
OS version: Linux x64 4.10.0-28-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3 CPU       M 330  @ 2.13GHz (4 x 1599)

Load (avg)
0, 1, 1

Memory (System)
3.66GB (0.27GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (29)

Extension
Author (truncated)
Version

vsc-material-theme
Equ
1.4.2

beautify
Hoo
1.3.0

vscode-simple-icons
Lau
1.8.2

material-icon-theme
PKi
3.2.3

html-snippets
abu
0.2.1

vscode-color
ans
0.4.5

vscode-icontheme-nomo-dark
be5
1.3.5

django-html
bib
1.2.0

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.4.6

gitlens
eam
8.0.2

vscode-html-css
ecm
0.2.0

tslint
eg2
1.0.28

vscode-great-icons
emm
2.1.26

prettier-vscode
esb
1.1.3

php-debug
fel
1.12.1

php-intellisense
fel
2.2.8

php-pack
fel
1.0.1

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

vscode-colorize
kam
0.6.16

python
ms-
2018.1.0

color-highlight
nau
2.3.0

vscode-icons
rob
7.20.0

html5-boilerplate
sid
1.0.1

guides
spy
0.9.1

code-spell-checker
str
1.6.4

html-preview-vscode
tht
0.1.1

vim
vsc
0.10.13

(6 theme extensions excluded)

Reproduces only with extensions

This sounds more like an extension related problem than VS Code specific.
But just to make sure: Could you please name some of the extensions that didn't work?

This sounds more like an extension related problem than VS Code specific.
But just to make sure: Could you please name some of the extensions that didn't work?

This sounds more like an extension related problem than VS Code specific.
But just to make sure: Could you please name some of the extensions that didn't work?

Closing since we did get any response.


[FEATURE] Add Fleet support with Harvester

Is your feature request related to a problem? Please describe.
User should be able deploy and manage object like images, network etc using Fleet in a Harvester cluster.
Fleet examples - https://github.com/ibrokethecloud/harvester-fleet-demo
Test plan - https://harvester.github.io/tests/manual/advanced/fleet-support-with-harvester/

This looks good with:

Harvester v1.3.0-rc1
Rancher v2.7.9 (via V-Cluster)
Rancher Dashboard Version: commit c3ae9bc14ad1a306025c0882eefde7baef3d046d ( containing: commit 65366810efe83db05512194589771b8c3a0a0914

The GitOps is great :smile:
Forked and did some mods / changes throughout to:
https://github.com/irishgordo/harvester-fleet-demo

Encountering issue w/ creating CloudInit Resource, opened: https://github.com/harvester/harvester/issues/5110

Opening:

https://github.com/harvester/harvester/issues/5132
https://github.com/harvester/harvester/issues/5133

Moving back to 'Implement' as this will need Docs before it is closed out
cc: @jillian-maroket

moving to 1.4.0 to make sure there is adequate time to document

The doc has been updated.
PR: 590
Doc: Fleet Support (Experimental)


update README with #_ :standard-clj/ignore instructions

Follow-up from Issue #6:
We need to document in the README how #_ :standard-clj/ignore and #_ :standard-clj/ignore-file work.

I think :standard-clj/ignore-file should be before the ns form.

Done with commit #27360898


[he] added female pronounce to sentences

In Hebrew,  there are different pronounces when addressing male or female.
So, if my wake-word is "Alexa" (female),  I need to speak to her in a female form.
Example for non-Hebrew speakers - the term Turn On is different for male (הדלק) and female (הדליקי) in Hebrew.
Currently,  the Hebrew intents are set to be called in a male only form.
This PR adds female form as well,  so when calling "Alexa" for example,   the rest of the conversation can be natural.
Note - this PR does not alter the responses  -  which will remain in neutral form.
Thank you.

Thank you very much for the (very) quick review! 🙏
After about a year using Assist in English,  I want my household to use it as well,  but they're not English speakers.
So just as heads up 😃 - I'm gonna work on the Hebrew further to add more capabilities (domains and such),  my goal for it is to be as close to English as possible.
Thanks again and happy holiday :)


add "american express", "discover" and "union pay" card network type

You would need to use the library directly from GitHub for now, till the next update


Update continuous integration

Codecov Report

:exclamation: No coverage uploaded for pull request head (github-actions@24d0d18). Click here to learn what that means.
The diff coverage is n/a.


AppVeyor: Resolves deploy step failing

Changes to AppVeyor

Now the deploy step are no longer failing when merging code into Dev. Neither is the deploy step failing if a contributor had AppVeyor connected to the fork of xSQLServer and pushing code to the fork.

This Pull Request (PR) fixes the following issues:
Fixes #324

[x] Change details added to Unreleased section of CHANGELOG.md?
[x] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[x] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

appveyor.yml, line 57 at r1 (raw file):

      New-Nuspec -packageName $env:APPVEYOR_PROJECT_NAME -version $env:APPVEYOR_BUILD_VERSION -author "Microsoft" -owners "Microsoft" -licenseUrl "https://github.com/PowerShell/DscResources/blob/master/LICENSE" -projectUrl "https://github.com/$($env:APPVEYOR_REPO_NAME)" -packageDescription $env:APPVEYOR_PROJECT_NAME -tags "DesiredStateConfiguration DSC DSCResourceKit" -destinationPath .

      # Force to use the downloaded Nuget v3.4.4, because newer versions of Nuget is failing the deploy step.

"...are failing..."

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[Coverity CID :198393]Error handling issues in /tests/net/socket/socket_helpers.h

Static code scan issues seen in File: /tests/net/socket/socket_helpers.h
Category: Error handling issues
Function: prepare_listen_sock_udp_v6
Component: Tests
CID: 198393
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

/tests/net/socket/socket_helpers.h: 45 in prepare_listen_sock_udp_v6()
39     	zassert_true(ret >= 0, "socket open failed");
40
41     	sock = ret;
42
43     	zassert_equal(addr->sin6_family, AF_INET6, "Invalid family");
44
>>>     CID 198393:  Error handling issues  (NEGATIVE_RETURNS)
>>>     "sock" is passed to a parameter that cannot be negative. [Note:
>>> The source code implementation of the function has been overridden
>>> by a builtin model.]
45     	ret = bind(sock, (struct sockaddr *)addr, sizeof(*addr));
46     	zassert_equal(ret, 0, "bind failed (%d/%d)", ret, errno);
47
48     	return sock;
49     }
50

False positive


Server to support changes to format of LocalProtocol and RemoteProtocol values

Server side code to be updated with logics
that converts the protocols(HTTP and HTTPS) in incoming service request to ONF model based attributes as below and store them in load file
that converts the protocols in load-file to short forms (HTTP and HTTPS) while formulating callbacks and any standalone requests (service Layer)
server:
        - 'tcp-server-interface-1-0:PROTOCOL_TYPE_HTTP'
        - 'tcp-server-interface-1-0:PROTOCOL_TYPE_HTTPS'
        - 'tcp-server-interface-1-0:PROTOCOL_TYPE_NOT_YET_DEFINED'

client:
      - 'tcp-client-interface-1-0:PROTOCOL_TYPE_HTTP'
      - 'tcp-client-interface-1-0:PROTOCOL_TYPE_HTTPS'
      - 'tcp-client-interface-1-0:PROTOCOL_TYPE_NOT_YET_DEFINED'

Reference issue : https://github.com/openBackhaul/ApplicationPattern/issues/519

This issue is closed with the changes in pull request https://github.com/openBackhaul/ApplicationLayerTopology/pull/241/files


GH-1806: Fix Autowiring Broker in JUnit 5

Resolves https://github.com/spring-projects/spring-kafka/issues/1806
When there is a test application context present, do not resolve the
broker for parameter resolution.
cherry-pick to all supported branches

... and cherry-picked to 2.6.x, 2.5.x, 2.4.x & 2.3.x.


used autogen.py and structure.py to generate markdown files.

The markdown files are generated using autogen.py
New modules, functions, and classes contributed to wrangler can be specified in structure.py to generate mardown.

Hello @abhijithneilabraham! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file docs/autogen.py:

Line 93:80: E501 line too long (91 > 79 characters)
Line 246:1: E303 too many blank lines (5)
Line 351:1: W293 blank line contains whitespace
Line 353:1: W293 blank line contains whitespace
Line 354:5: E303 too many blank lines (4)
Line 364:9: E116 unexpected indentation (comment)
Line 366:5: E265 block comment should start with '# '
Line 367:1: W293 blank line contains whitespace
Line 437:19: E114 indentation is not a multiple of four (comment)
Line 437:19: E116 unexpected indentation (comment)

In the file docs/structure.py:

Line 2:26: E231 missing whitespace after ','
Line 2:30: E231 missing whitespace after ','
Line 2:33: E231 missing whitespace after ','
Line 2:37: E231 missing whitespace after ','
Line 6:1: E303 too many blank lines (3)
Line 20:1: W293 blank line contains whitespace
Line 22:1: W293 blank line contains whitespace
Line 34:1: W293 blank line contains whitespace
Line 36:1: W293 blank line contains whitespace
Line 38:1: W293 blank line contains whitespace
Line 39:2: E131 continuation line unaligned for hanging indent
Line 40:5: E122 continuation line missing indentation or outdented
Line 41:1: W293 blank line contains whitespace
Line 43:1: W293 blank line contains whitespace
Line 44:1: W293 blank line contains whitespace
Line 45:5: E122 continuation line missing indentation or outdented
Line 46:5: E122 continuation line missing indentation or outdented
Line 47:12: E122 continuation line missing indentation or outdented
Line 48:12: E122 continuation line missing indentation or outdented
Line 49:12: E122 continuation line missing indentation or outdented
Line 50:12: E122 continuation line missing indentation or outdented
Line 51:12: E122 continuation line missing indentation or outdented
Line 52:12: E122 continuation line missing indentation or outdented
Line 53:12: E122 continuation line missing indentation or outdented
Line 54:12: E122 continuation line missing indentation or outdented
Line 55:12: E122 continuation line missing indentation or outdented
Line 56:12: E122 continuation line missing indentation or outdented
Line 57:12: E122 continuation line missing indentation or outdented
Line 58:12: E122 continuation line missing indentation or outdented
Line 59:12: E122 continuation line missing indentation or outdented
Line 60:12: E122 continuation line missing indentation or outdented
Line 61:12: E122 continuation line missing indentation or outdented
Line 62:12: E122 continuation line missing indentation or outdented
Line 63:12: E122 continuation line missing indentation or outdented
Line 64:12: E122 continuation line missing indentation or outdented
Line 65:12: E122 continuation line missing indentation or outdented
Line 66:5: E122 continuation line missing indentation or outdented
Line 67:1: W293 blank line contains whitespace
Line 68:1: E122 continuation line missing indentation or outdented
Line 69:1: W293 blank line contains whitespace
Line 70:2: E131 continuation line unaligned for hanging indent
Line 71:5: E122 continuation line missing indentation or outdented
Line 72:1: W293 blank line contains whitespace
Line 74:1: W293 blank line contains whitespace
Line 75:1: W293 blank line contains whitespace
Line 76:5: E122 continuation line missing indentation or outdented
Line 77:5: E122 continuation line missing indentation or outdented
Line 115:5: E122 continuation line missing indentation or outdented
Line 116:1: W293 blank line contains whitespace
Line 117:1: E122 continuation line missing indentation or outdented
Line 118:2: E131 continuation line unaligned for hanging indent
Line 120:1: W293 blank line contains whitespace
Line 122:1: W293 blank line contains whitespace
Line 128:1: W293 blank line contains whitespace
Line 130:1: W293 blank line contains whitespace
Line 131:2: E122 continuation line missing indentation or outdented
Line 132:2: E131 continuation line unaligned for hanging indent
Line 134:1: W293 blank line contains whitespace
Line 136:1: W293 blank line contains whitespace
Line 147:1: W293 blank line contains whitespace
Line 148:2: E122 continuation line missing indentation or outdented
Line 153:1: W391 blank line at end of file


Remove ConnectorStartupSynchronizer from the code

Description:
This was originally introduced to wait till all the services are completed. The rule was if one of the services fails to deploy we need to roll back all the services. In order to do so we had this delayed port binding implementation which don't need anymore.
https://github.com/ballerina-lang/ballerina/blob/master/stdlib/ballerina-http/src/main/java/org/ballerinalang/net/http/util/ConnectorStartupSynchronizer.java

https://github.com/ballerina-lang/ballerina/pull/6052 has addressed the issue, Hence closing it.


NTR: innate receptor ligand activity

related to
https://github.com/geneontology/go-ontology/issues/16655
we also require a new term to describe the "effector" as a ligand for the proposed receptor:
"intracellular innate receptor activity"
the
NTR: innate receptor ligand activity
synonym broad “pathogen effector”
The activity of a pathogen entity* that interacts with a host  receptor  "intracellular innate receptor activity" to activate effector triggered immunity (GO:0080185)

we used entity because effectors can be metabolites, proteins

is_a
GO:0048018    receptor ligand activity

I am bit confused as to why this seems to be restricted to intracellular events - perhaps this just needs to be made explict in the term name.
It's just that we could describe many ligands as having "innate receptor ligand activity":
In insects the toll pathway is activated by an endogenous ligand, spatzle, that cleaved to its activate form downstream of a protease cascade which is activated by a soluble, extracellular "pattern recognition" protein binding to a pathogenic molecule.
Vertebrate Toll-like receptors directly bind pathogenic entities.
Insects have an innate receptor, Imd, that binds peptidoglycans.

Yes you are right. This term should be generic for plasma membrane and intracellular receptors. There does not seem to be any reason to discriminate between these at present (it should also be clear  from the type of receptor co-annotated what the particular  "pathogen effector" is binding to).
Any suggestions to improve welcome. The pathogen community seem to use very general things like "effector' for the ligand  and 'resistance protein'  for the receptor, so it's difficult to pin down in a way that is explicit but will also be meaningful to these communities.
Also let us know if you think we missed any existing terms which already describe these activities...
Attach files by dragging & dropping, selecting them, or pasting from the clipboard.
Styling with Markdown is supported

Doe this sound corrcect?
The activity of a pathogen entity that interacts with a host intracellular receptor or plasma membrane  receptor to activate effector-triggered immunity (GO:0080185)

Here, I was specifically trying to describe the ligand that the pathogen produces for these receptors. This type of host receptor ligand  seems that it should have its own function term?

Perhaps if the name was "innate receptor pathogen-derived ligand activity"  or "pathogen effector innate receptor ligand activity"?

yes, also we might not need to say "innate" that is a given from
" effector triggered immunity"?

Agreed.

@ValWood

Can you add a reference ?

Is this the current proposal ?

NTR: receptor pathogen-derived ligand activity
synonym related "innate receptor ligand activity"
synonym related  "pathogen effector innate receptor ligand activity"
synonym broad “pathogen effector”
Def: The activity of a pathogen entity that interacts with a host receptor intracellular innate receptor activity to activate effector triggered immunity (GO:0080185)
Thanks, Pascale

PMID:20601497 Activation of an Arabidopsis resistance protein is specified by the in planta association of its leucine-rich repeat domain with the cognate oomycete effector.
Authors | Krasileva KV, Dahlbeck D, Staskawicz BJ
will do.
The term name would need to be
pathogen-derived receptor ligand activity
def
The activity of a pathogen entity that interacts with a host receptor  to activate effector triggered immunity
Does that work?
@CuzickA
@hattrill


Incorrect file paths in datasets

jacky@ephphatha tinygrad % python3 extra/datasets/librispeech.py
Traceback (most recent call last):
  File "/Users/jacky/fun/tinygrad/extra/datasets/librispeech.py", line 19, in <module>
    with open(BASEDIR / "dev-clean-wav.json") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/jacky/fun/tinygrad/extra/extra/datasets/librispeech/dev-clean-wav.json'

Did you follow the instructions written above? eg
"""
The dataset has to be downloaded manually from https://www.openslr.org/12/ and put in extra/datasets/librispeech.
For mlperf validation the dev-clean dataset is used.
Then all the flacs have to be converted to wav using something like:
for file in $(find * | grep flac); do ffmpeg -i $file -ar 16k "$(dirname $file)/$(basename $file .flac).wav"; done

Then this file has to also be put in extra/datasets/librispeech.
"""


implement onyo get

From the readme for later usage:
- `onyo get [--depth num, -d] [--filter key=value[,key=value...], -f] [--machine-readable, -m] [--sort-ascending key, -s | --sort-descending key, -S] key[,key...] [asset | directory]...`:

  Print the requested `key`(s) in tabular form for matching assets.

  If no `asset` or `directory` is specified, the current working directory is
  used. If Onyo is invoked from outside of the Onyo repository, the root of the
  repository is used.

  Key names can be any valid YAML key name. Dictionary keys can be addressed
  using a `.` (e.g. `parent.child`). Multiple pseudo-keys (that do not appear in
  the actual asset file) are available for queries (see "File Contents").

  Multiple `key`s can be queried by joining them with a `,`.

  `value`s that are a dictionary or list are output literally as "[dict]" or
  "[list]"; the contents are not listed. Dictionary keys can be addressed using
  a `.` (e.g. `parent.child`).

  If the key does not exist, it is output literally as "[unset]".

  - `--depth num`: Limit the maximum number of levels of directories to search
    beneath `directory`. `--depth 1` limits to files that are direct children of
    `directory`.
  - `--filter key=value`: Only apply changes to assets that have `key` and it
    matches `value`. Multiple restrictions can be declared by joining with a `,`
    --- which acts as a logical AND operator. There is no "OR" equivalent.

    `value` can be a string or a Python regular expression. Onyo's string
    representation of types can also be used for queries, such as "[list]",
    "[dict]", or "[unset]" (for keys that don't exist).
  - `--machine-readable`: Display output in a form more easily parsed by
    scripts. Headers are omitted, and fields are separated by a single tab.
  - `--sort-ascending`: Sort the results in ascending order according to the
    value of `key`.

    Multiple invocation of `--sort-ascending` and/or `--sort-descending` are
    evaluated from left to right in decreasing order of importance.
  - `--sort-descending`: The same as `--sort-ascending`, but sort by `key` in
    descending order.

  Errors reading or parsing files print to STDERR, but do not halt Onyo.

@nhjjr I think this should be closed, and since you did the implementation, I leave you the honor  ;)
If some part of the implementation is still missing, it should be added to other issues or more specific ones should be added.
The discription above (in an updated form) should already be part of the read-the-docs, help text etc. It would be cool if you can verify that, too before closing! :)

Based on the information available to me, onyo get is generally implemented.
I close this issue; If parts are still relevant, we will open more concrete issues!


extend-2546

I didn't realize this will show up on the main XState repo.

I didn't realize this will show up on the main XState repo.

Feel free to PR to the branch!


Old module use ImportModule

Describe the bug
Old module try to access to ImportModule classe
Upgrade environment (please complete the following information):

Version you started from: <IP_ADDRESS>
Version you upgrade to: <IP_ADDRESS>
Way of upgrade: Web
Step concerned: module

Displayed log
AH01071: Got error 'PHP message: PHP Fatal error: Class 'ImportModule' not found in /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/importerosc/importerosc.php on line 30\n', referer: https://www.chafoins.com/presta2/adminxxxx/index.php?controller=AdminSelfUpgrade&conf=6&token=7a843423af6472810924dfaf3bba77fe

Expected behavior
I have an old module in my folder not installed
Server (please complete the following information):

Web Server: Apache
PHP Version: 7.0.30
Module Version 4.0.0 beta

Additional context
Informations sur votre serveur Linux #1 SMP Tue Jun 30 19:37:11 CEST 2015 x86_64
Version du logiciel serveur Apache
Version de PHP 7.0.30
Limite de mémoire 1024M
Temps d'exécution maximal (max_execution_time) 0
Version de PrestaShop <IP_ADDRESS>
URL de votre boutique http://www.chafoins.com/presta2/
Nom du thème utilisé esprit

Hi @okom3pom,
Loading modules is a side effect we want to get rid of. It happened when we want to disable them for instance.
Do you remember precisely when it happened? It could be during:

the DB upgrade, when we try to disable non-native modules ; To be fixed with #86
the modules upgrade, when we try to init the catalog.

I try test the PR today with more investigation.

The PR don't fixe the issue.
It's during the modules upgrades.
[DEV] ajax request : upgradeModules [INTERNAL] /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/blockrss/blockrss.php line 30 - include_once(/var/www/vhosts/chafoins.com/httpdocs/presta2/classes/../tools/pear/PEAR.php): failed to open stream: No such file or directory [INTERNAL] /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/blockrss/blockrss.php line 30 - include_once(): Failed opening '/var/www/vhosts/chafoins.com/httpdocs/presta2/classes/../tools/pear/PEAR.php' for inclusion (include_path='/var/www/vhosts/chafoins.com/httpdocs/presta2/tools/htmlpurifier/standalone:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/pear_exception:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/console_getopt:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/pear-core-minimal/src:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/archive_tar:.:/opt/plesk/php/7.0/share/pear') [INTERNAL] /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/blockrss/blockrss.php line 31 - include_once(/var/www/vhosts/chafoins.com/httpdocs/presta2/tools/pear_xml_parser/Parser.php): failed to open stream: No such file or directory [INTERNAL] /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/blockrss/blockrss.php line 31 - include_once(): Failed opening '/var/www/vhosts/chafoins.com/httpdocs/presta2/tools/pear_xml_parser/Parser.php' for inclusion (include_path='/var/www/vhosts/chafoins.com/httpdocs/presta2/tools/htmlpurifier/standalone:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/pear_exception:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/console_getopt:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/pear-core-minimal/src:/var/www/vhosts/chafoins.com/httpdocs/presta2/vendor/pear/archive_tar:.:/opt/plesk/php/7.0/share/pear')
And the error :
[INTERNAL] /var/www/vhosts/chafoins.com/httpdocs/presta2/modules/shopimporter/shopimporter.php line 30 - Class 'ImportModule' not found
All shops coming from 1.5, have these modules if they don't clean the folder << modules >>.
Remove the module before the upgrade is a way i found two pestashop modules using this class : shopimporter and importerosc
You can find the modules in an archive 1.5 : https://download.prestashop.com/download/releases/prestashop_<IP_ADDRESS>.zip
The modules are not installed.

Yeah I can imagine what the issue is. Using the ModuleRepository will require all module available on the modules/ folder to get its properties. If one of them has something incompatible with the current core, it fail throw a fatal error although it is uninstalled.


elasticsearch cluster failing by connection refused to port 9200 and discovery fails

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Version of Helm and Kubernetes: K8 - 1.11.3, helm - 2.7.2
Which chart: elasticsearch
What happened: Tried to install elasticsearch (5.6.14) cluster on k8 using the helm chart without much changes in the charts except the appversion but the cluster didn't come up. The error saying.
The error says:
Readiness probe failed: Get http://<IP_ADDRESS>:9200/_cluster/health: dial tcp <IP_ADDRESS>:9200: connect: connection refused

This is the error on every single pod in the cluster. None of the pods come up and all saying the above error.  When I look at the logs of the master I see a different error:
[2019-01-21T00:30:41,722][WARN ][o.e.d.z.UnicastZenPing   ] [sp-es-beta-elasticsearch-master-0] failed to resolve host [sp-es-beta-elasticsearch-discovery]
java.net.UnknownHostException: sp-es-beta-elasticsearch-discovery
	at java.net.InetAddress.getAllByName0(InetAddress.java:1281) ~[?:1.8.0_191]
	at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:1.8.0_191]
	at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_191]
	at org.elasticsearch.transport.TcpTransport.parse(TcpTransport.java:911) ~[elasticsearch-5.6.14.jar:5.6.14]
	at org.elasticsearch.transport.TcpTransport.addressesFromString(TcpTransport.java:866) ~[elasticsearch-5.6.14.jar:5.6.14]
	at org.elasticsearch.transport.TransportService.addressesFromString(TransportService.java:709) ~[elasticsearch-5.6.14.jar:5.6.14]
	at org.elasticsearch.discovery.zen.UnicastZenPing.lambda$null$0(UnicastZenPing.java:212) ~[elasticsearch-5.6.14.jar:5.6.14]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:576) [elasticsearch-5.6.14.jar:5.6.14]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

I tried the following:

Tried to expose the http port in master and data in values.yml (exposeHttp: true)
Convert the discovery service to a Loadbalancer type and now the errors are, connection refused to port 9200 and "not enough master" .

What you expected to happen: The cluster should come up and working
How to reproduce it (as minimally and precisely as possible):
Using the elasticsearch 5.6.14 docker image, try to build the cluster on a k8 cluster using the stable helm chart in this repo.
Anything else we need to know:

You should set appVersion to match the image tag you are using.
see more details in https://github.com/helm/charts/pull/9910#issuecomment-464061523


Sprint 1 - Cluster graph data (Spectral Clustering and Gaussian Mixture) and generate features (PCA and spectral embedding)

Description:
Cluster graph data generated from ndmg using Spectral Clustering and Gaussian Mixture algorithms. Generate features using PCA and graph statistics method such as spectral embedding (method may still change).
DoD:

Run Spectral Clustering and Gaussian Mixture on ndmg data set using sklearn.
Generate features using PCA (sklearn)
Generate features using spectral embedding

spectral clustering is usually within not across graphs

don't do spectral clustering


edit: 20160425 -> 20180228 and fix darwin build

Motivation for this change
Also fixed darwin build on one of its dependencies, cwebbin.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114857 at 6b3869d0 run on x86_64-linux 1

2 packages built:

cwebbin
edit

3 suggestions:

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/development/tools/misc/cwebbin/default.nix:41:3:
   |
41 |   buildPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/editors/edit/default.nix:20:3:
   |
20 |   installPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/misc/cwebbin/default.nix:47:3:
   |
47 |   installPhase = ''
   |   ^

Builds and runs on macOS, able to edit the buffer.

nix-build -E "with import ./. {}; pkgsCross.aarch64-multiplatform.edit"
https://termbin.com/imh8

nix-build -E "with import ./. {}; pkgsCross.aarch64-multiplatform.edit"
https://termbin.com/imh8

Yeah wasn't able to test cross-compilation.


how does choiceNode become active?

I have the following settings, but choiceNode doesn't seem to ever become active, insertNode does (when uncommented.)
What about choice_active() which is related? Currently I have C-k and C-j keymaps but they don't activate so no change_choice(). I only get the current time in the bottom :)
Maybe I haven't come across the right snippet..
Thanks!!
local ls = require("luasnip")

-- Virtual Text
local types = require("luasnip.util.types")
ls.config.set_config({
	history = true, --keep around last snippet local to jump back
	updateevents = "TextChanged,TextChangedI", --update changes as you type
	enable_autosnippets = true,
	ext_opts = {
		[types.choiceNode] = {
			active = {
				virt_text = { { "●", "GruvboxOrange" } },
			},
		},
		-- [types.insertNode] = {
		-- 	active = {
		-- 		virt_text = { { "●", "GruvboxBlue" } },
		-- 	},
		-- },
	},
})

-- vim.keymap.set({ "i", "s" }, "<C-u>", '<cmd>lua require("luasnip.extras.select_choice")()<cr><C-c><C-c>')

vim.keymap.set({ "i", "s" }, "<C-j>", function()
	if ls.choice_active() then
		ls.change_choice(1)
	else
		-- print current time
		local t = os.date("*t")
		local time = string.format("%02d:%02d:%02d", t.hour, t.min, t.sec)
		print(time)
	end
end)

vim.keymap.set({ "i", "s" }, "<C-k>", function()
	if ls.choice_active() then
		ls.change_choice(-1)
	else
		-- print current time
		local t = os.date("*t")
		local time = string.format("%02d:%02d:%02d", t.hour, t.min, t.sec)
		print(time)
	end
end

Looks correct :+1:
What snippets have you tried this with?

I have tried mostly with python snippets, ie. def

Well, do they have a choiceNode? You can try that with a snippet like ${1|a,b,c|}

Oh, they have to already have these choices baked in..

Obvious question, do I need to install gruvbox in order to be able to use GruvboxOrange and GruvboxBlue above?

Oh, yes :D
But you can replace that with any highlight-group