How to generate mask from surface?

Hi marcomusy, the vtkplotter is really a very good tool.
I have a question, how can I obtain the mask from a mesh?
For example,
import numpy as np
from vtkplotter import *

cs = []
for i in range(-10, 10):
    r = 10 / (i * i + 10)
    c = Circle(r=r).wireframe().rotateY(i*5).z(i / 10)
    cs.append(c)

rbs = []
for i in range(len(cs) - 1):
    rb = Ribbon(cs[i], cs[i + 1], res=(200, 5))
    rbs.append(rb)

mesh = merge(rbs)
show([cs, mesh], N=2, axes=1)

I want to generate a mask from the mesh. How can I achieve this goal?
In addition, in the above code, the circle is not closed, which make the mesh is not closed. How to generate a closed circle?

The "mask" means a volume image in which the intensity is 0 or 1. The 1 means that the pixel is contained in the surface, while 0 means the pixel is not contained in the surface.

Try:
pip install -U vtkplotter
then:
import numpy as np
from vtkplotter import *

cs = []
for i in range(-10, 10):
    r = 10 / (i * i + 10)
    c = Circle(r=r).wireframe().rotateY(i*5).z(i / 10)
    cs.append(c)

rbs = []
for i in range(len(cs) - 1):
    rb = Ribbon(cs[i], cs[i + 1], closed=True, res=(200, 5))
    rbs.append(rb)

mesh = merge(rbs).clean().cap()

vol = mesh2Volume(mesh, spacing=(0.02, 0.02, 0.02))
vol.alpha([0,0.5]).c('blue')

show([cs, mesh, vol], N=3, axes=1)

Thank you very much.

Dear @marcomusy , I still have a little question. After vol = mesh2Volume(mesh, spacing=(0.02, 0.02, 0.02)), we obtain the vol. However, the vol is a Volume variable. How can I get numpy matrix from the volume?

Dear @marcomusy, I have a small suggestion for the mesh2Volume function. Can I set the origin for the volume? Actually, those contours are obtained from a image. Thus, the origin of reconstructed volume should be the same as that of image. Thus, I want to set the origin in the volume.
Currently, I modify the function as:
def mesh2Volume(mesh, spacing=(1, 1, 1), origin=None):
    ...
    bounds = pd.GetBounds()
    if origin != None:
        bounds = list(bounds)
        bounds[0] = origin[0]
        bounds[2] = origin[1]
        bounds[4] = origin[2]
    ...

Is that correct?
In addition, in the mesh2Volume function, there is a for loop as:
    inval = 255
    count = whiteImage.GetNumberOfPoints()
    for i in range(count):
        whiteImage.GetPointData().GetScalars().SetTuple1(i, inval)

What does it means? Assign 255 for all whiteImage? I find it would cost lots of time. Why don't you use the numpy_20_vtk function?

Hi @NeuZhangQiang sorry I completely forgot to get back to you on this!
about your first point: you can set or reset the origin of the Volume after creation with vol.origin([x,y,z])
I will change the for loop with the corresponding numpy_to_vtk method
I will also add your post processing lines in the volume.getDataArray() method
Thanks for drawing the attention to it!


fix: Fix bug in upsert

:tada: This PR is included in version 1.1.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Twitter login does not work anylonger since June and I can't seem to fix it in anyway.

Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Android device: Emulator Nexus 5X API 27 x86
Android OS version: 8.1.0
Google Play Services version: 12.5.21 (on device)
Firebase/Play Services SDK version:  :firebase-core:16.0.1  / :play-services-auth:<IP_ADDRESS> / :google-services:4.0.1
FirebaseUI version: :firebase-ui-auth:<IP_ADDRESS>

Step 3: Describe the problem:
Problem is that since June Twitter seems to enforce something called callback locking which never worked so I had it always disabled.
I set up the callback url just like I was told from the firebase project page and it did work before but now with the locking it does not anylonger.
Relevant Twitter url : https://twittercommunity.com/t/action-required-sign-in-with-twitter-users-must-whitelist-callback-urls/105342
So what I did is update to these versions above but sadly it did not fix anything.
Steps to reproduce:

Setup Firebase / Firebase Auth UI with Twitter
Set callback url in Twitter Development App site as shown in firebase
Use Firebase Auth UI to login with twitter and get error before even getting to the username / password screen while its loading.

Observed Results:

What happened?  This could be a description, logcat output, etc.
https://hastebin.com/xexesujisi.rb

Expected Results:

What did you expect to happen?
No errors, logging in like some weeks ago.

Relevant Code:
Well the code is basically the same as in Firebase Auth UI example :
in androids onCreate :
twitterprovider = Arrays.asList( new AuthUI.IdpConfig.TwitterBuilder().build());

Now calling this to show twitter login (which worked like 2-3 weeks ago) :
AuthUI.getInstance()
                        .createSignInIntentBuilder()
                        .setAvailableProviders(twitterprovider )
                        .setTosUrl("https://somurl.com/terms-of-service.html")
                        .setPrivacyPolicyUrl("https://somurl.com/privacy-policy.html")
                        .build(),
                RC_SIGN_IN);

I used this : implementation 'com.twitter.sdk.android:twitter-core:3.1.1'
Maybe also relevant : https://github.com/twitter/twitter-kit-android/issues/134

https://github.com/twitter/twitter-kit-android/issues/135
Added "twittersdk://" without the quotation marks as a callback url in twitter app settings (nothing else just twittersdk://   !! )
now it works. Not sure why you have to do that even though its their own sdk lol.
Anyway this is fixed

@devingDev thanks for following up on your own issue!  I just ran into this with @lsirac and you saved us.

you probably could find it after some research but no problem. just hate having solved issues without any solution mentioned. have fun

in firebase:Just use Comback_Url twittersdk://,It is working Fine both firbase authentication and twitter Login.

where in firebase do you set that url?

@devingDev you have to set that URL in the Twitter console, no change needed in Firebase.

Helps when people read what is some comments above... anyway I'm out this is solved for me.


Add note on +++'s

I am using the minimal mistakes template and Franklin was mad at me since I put the @def in the +++'s.

ah yes well it should either be
+++
...
prepath = ...
...
+++

or
@def ...
@def prepath = ...
@def ...

best not to mix and match.
I'm happy to have a note on this but I'd rather it didn't mix the @def and the +++. Maybe one can simply say that you should define a variable prepath in your config.md and since all templates ship with a config.md, they can just copy the style of other variable definitions.


fix/cascader/value

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

fix(Cascader): 修复在异步获取 option 的情况下，参数校验导致用户行为异常
☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[x] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[x] TypeScript 定义已补充或无须补充
[x] Changelog 已提供或无须提供

Codecov Report

Merging #1228 (1ef0c10) into develop (aaf0135) will decrease coverage by 0.28%.
The diff coverage is 22.80%.

@@             Coverage Diff             @@
##           develop    #1228      +/-   ##
===========================================
- Coverage    58.80%   58.52%   -0.29%
===========================================
  Files          405      406       +1
  Lines        15051    15157     +106
  Branches      2844     2867      +23
===========================================
+ Hits          8851     8870      +19
- Misses        5927     6014      +87
  Partials       273      273

Impacted Files
Coverage Δ

src/date-picker/DatePicker.tsx
26.13% <ø> (ø)

src/date-picker/DateRangePicker.tsx
15.28% <0.00%> (-0.51%)
:arrow_down:

src/date-picker/hooks/useRange.ts
36.58% <0.00%> (+0.44%)
:arrow_up:

src/date-picker/hooks/useSingle.ts
37.28% <0.00%> (-2.00%)
:arrow_down:

src/date-picker/panel/PanelContent.tsx
36.36% <ø> (ø)

src/table/base-table-props.ts
61.53% <ø> (ø)

src/table/editable-cell.tsx
7.03% <0.00%> (-2.41%)
:arrow_down:

src/table/hooks/tree-store.ts
10.14% <0.00%> (-0.25%)
:arrow_down:

src/table/hooks/useClassName.ts
100.00% <ø> (ø)

src/tree-select/tree-select.tsx
74.59% <ø> (ø)

... and 13 more

Continue to review full report at Codecov.

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


[BUG] Failed replicas not cleaned up when disk is disabled

Describe the bug

Create and attach volume
In Longhorn UI disable a disk containing at least one of the replicas
Simulate failure of that replica by deleting the volume files under /var/lib/longhorn

Actual Result
After grace period that failed replica is rebuild on a schedulable disk
The failed replica is never cleaned up (both the Longhorn object and the data on disk remain).
User has to manually delete the failed replica.
Expected Result
After replica was rebuilt the failed replica should be cleaned up automatically
0.2.0

We have another issue tracking the cleanup after a failure: https://github.com/longhorn/longhorn/issues/685, which is tracking for v1.3.0.
I will close this as a duplicate of #685


TypeError: array([15055,   320, 22479,  2853,  8197,    ...,   374,  3827]) is not JSON serializable

I am using jinaai/jina-colbert-v1-en with max_document_length=1024 to create an index. This works when I use max_document_length=512.
Everything works well then I get a TypeError at the end.
Saved optimized IVF to .ragatouille/colbert/indexes/publications_512_384_jina_colbert/ivf.pid.pt
Traceback (most recent call last):
File "/envpath/create_embedding_ragatouille.py", line 42, in
index_path = RAG.index(
File "/envpath/lib/python3.10/site-packages/ragatouille/RAGPretrainedModel.py", line 183, in index
return self.model.index(
File "/envpath/lib/python3.10/site-packages/ragatouille/models/colbert.py", line 390, in index
self._write_collection_to_file(
File "/envpath/colbert/lib/python3.10/site-packages/ragatouille/models/colbert.py", line 119, in _write_collection_to_file
srsly.write_json(collection_path, collection)
File "/envpath/lib/python3.10/site-packages/srsly/_json_api.py", line 88, in write_json
json_data = json_dumps(data, indent=indent)
File "/envpath/lib/python3.10/site-packages/srsly/_json_api.py", line 26, in json_dumps
result = ujson.dumps(data, indent=indent, escape_forward_slashes=False)
TypeError: array([15055,   320, 22479,  2853,  8197,     8,   374,  3827,  1949]) is not JSON serializable

Thank you for flagging! Will try and figure out what's going on as soon as I have a bit more time and report. In the meantime, flagging as Help Wanted in case someone has time to address the issue -- I don't think it'll be too hard to debug.

@sungkim11 happy to look into this. Do you perhaps have a (minimal) code to reproduce the issue? Running an adpated version of the indexing code outlined here works perfectly fine for me (with either max_document_length=1024 or max_document_length=512):
RAG = RAGPretrainedModel.from_pretrained("jinaai/jina-colbert-v1-en")
my_documents = [
    get_wikipedia_page("Hayao_Miyazaki"),
    get_wikipedia_page("Studio_Ghibli"),
]
document_ids = ["miyazaki", "ghibli"]
document_metadatas = [
    {"entity": "person", "source": "wikipedia"},
    {"entity": "organisation", "source": "wikipedia"},
]
index_path = RAG.index(
    index_name="my_index",
    collection=my_documents,
    document_ids=document_ids,
    document_metadatas=document_metadatas,
    max_document_length=1024,
)

Thank you for responding.
I hope this code is helpful. This code when I set "max_document_length=512" work, but fails when set to "max_document_length=1024":
import pandas as pd
from ragatouille import RAGPretrainedModel
Load the Parquet file
df = pd.read_parquet('db.parquet')
Assuming 'text' is your document content and 'document_id' is the unique identifier
document_texts = df['text'].tolist()
document_ids = df['chunk_id'].tolist()
Exclude 'text' and 'document_id' from metadata
metadata_columns = df.columns.difference(['id', 'title', 'subtitle'])
Construct document metadata
document_metadatas = df[metadata_columns].apply(lambda row: row.to_dict(), axis=1).tolist()
Initialize the RAG model
RAG = RAGPretrainedModel.from_pretrained("jinaai/jina-colbert-v1-en")
Index the documents with their IDs and metadata
index_path = RAG.index(
index_name="db_384_jina_colbert",
collection=document_texts,
document_ids=document_ids,
document_metadatas=document_metadatas,
max_document_length=1024,
overwrite_index=True,
)

Thank you for sharing the code @sungkim11. I am still failing to reproduce your issue. The following works perfectly fine for me:
# Write data to the Parquet file.
df = pd.DataFrame(
    data={
        "title": ["Hayao_Miyazaki", "Studio_Ghibli"],
        "text": [
            get_wikipedia_page("Hayao_Miyazaki"),
            get_wikipedia_page("Studio_Ghibli"),
        ],
        "chunk_id": ["Chunk1", "Chunk2"],
        "subtitle": ["Subtitle1", "Subtitle2"],
        "metadata1": ["Metadata1.1", "Metadata1.2"],
        "metadata2": ["Metadata2.1", "Metadata2.2"],
    }
)
df.to_parquet("db.parquet")
df = pd.read_parquet("db.parquet")
document_texts = df["text"].tolist()
document_ids = df["chunk_id"].tolist()

metatdata_columns = df.columns.difference(["id", "title", "subtitle"])

document_metadatas = (
    df[metatdata_columns].apply(lambda row: row.to_dict(), axis=1).tolist()
)

RAG = RAGPretrainedModel.from_pretrained("jinaai/jina-colbert-v1-en")
index_path = RAG.index(
    index_name="db_384_jina_colbert",
    collection=document_texts,
    document_ids=document_ids,
    document_metadatas=document_metadatas,
    max_document_length=1024,
    overwrite_index=True,
)

The only way I have found to reproduce your issue is by explicitly creating an index with invalid/unserializable metadata (e.g., by setting "metadata2": [np.array([1, 2]), np.array([4, 5])]).
As your error message most likely indicates an error during serialization of the document metadata (here), which is not directly impacted by document splitting - as specified via max_document_length - it's very difficult to debug without further information.
Are you by chance attempting to store np.array's as part of the metadata or using an older version of the library?

Let me look into my dataset. Thank you for looking into this.


changes on test branch

can do everything on test branch... we have main branch fresh

its done !!!


Travis Error

I notice after the commit https://github.com/aspnet/Localization/commit/681e2e0329d7a2909c5d0b28346f0479524ba9bb the Travis status showed Error instead of Passed
/cc @NTaylorMullen

That was due to Mono not fetching correctly. Will wait for another build to pass but that failure was probably just a hiccup in the system.

I see, because I notice that in other repos, @Eilon is there an issue that reported this? If it is yes I will close this

Yup, all is good now. All the builds were probably failing to the Mono piece failing.

Thanks


Appstudio update test-component-pac-uepx

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-uepx-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
33 seconds
build-container

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
10 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
47 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
14 seconds
optional-label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary


Cannot resolve method 'with' in 'Builder'

No candidates found for method call AdmobNativeAdAdapter.Builder .with( "ca-app-pub-3940256099942544/2247696110",//Create a native ad id from admob console adapter,//The adapter you would normally set to your recyClerView "medium"//Set it with "small","medium" or "custom" )

Have you add this in your settings.gradle file? maven { url 'https://jitpack.io' } // add this line


Update package.json

More specific main for using with Steal in the browser.

Thanks @marshallswain

Published v2.0.2 for this.


Cannot install on Apple Silicon

I am trying to install this library on macOS 11 on an Apple Silicon Mac. The requirements seem to conflict no matter what I try.
The following are all the things I've tried. It would be great if you provided a way to install from source because I got M1 tensorflow and spacy to work just fine. I just don't know how to install coreferee and the respective models with the libraries that I do have available.
INFO: pip is looking at multiple versions of coreferee to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement h5py~=3.1.0 (from tensorflow-macos) (from versions: 2.2.1, 2.3.0b1, 2.3.0, 2.3.1, 2.4.0b1, 2.4.0, 2.5.0, 2.6.0, 2.7.0rc2, 2.7.0, 2.7.1, 2.8.0rc1, 2.8.0, 2.9.0rc1, 2.9.0, 2.10.0, 3.0.0rc1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.5.0, 3.6.0)
ERROR: No matching distribution found for h5py~=3.1.0

I tried building h5py from source using the home-brew version using
HDF5_DIR=/opt/homebrew/Cellar/hdf5/1.12.1 pip3.9 install --no-binary=h5py h5py==3.1.0
because there was no prebuilt binary available. That worked.
But installing carefree doesn't seem to see this version, and I wind up with the error above.
I very much depend on this library. It would be great if we could get this working again.
How can the issue be resolved?
I think it's a problem with several libraries including tensorflow.
EDIT: I tried installing the intel python3.9 hoping Rosetta would force everything to work under x86_64 emulation mode. Everything installed except for:
python3 -m coreferee install en, which yielded "zsh: illegal hardware instruction".
EDIT2: I noticed that 1.1.1 was explicitly for resolving Apple Silicon issues. Why am I experiencing these installation problems then? Is there something subtle that I am missing?
I'm out of ideas.
EDIT3: This is the official tensorflow instructions for Apple Silicon
link  ,
but the procedure requires Conda.
I'd still like to know what is going wrong if you were successful in installing on Apple Silicon for v. 1.1.1.
Spacy seems to be having trouble with transformers too.
EDIT4: It took a while, but I got things working by just ignoring using pip and just downloading the repo and dependencies separately using whatever is recommended for mac:

curl -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
./Miniforge3-MacOSX-arm64.sh
conda config --set auto_activate_base false
conda create --name my_env python=3.9
conda activate my_env
conda install rust
export CARGO_BUILD_TARGET="aarch64-apple-darwin"
conda install -c conda-forge spacy=3.1.4

python -m spacy download en_core_web_trf
python -m spacy download en_core_web_lg

conda install -c apple tensorflow-deps
pip install tensorflow-macos
pip install tensorflow-metal
git clone https://github.com/msg-systems/coreferee.git
mv ./coreferee ./coreferee_container
cd ./coreferee_container
python -m coreferee install en
cd ..

I hope this process becomes simpler. Also, hopefully you'll update to spacy 3.20.

OLD:
I get this error on macOS 11.3 on an M1 (ARM) machine when I try installing:
pip3 install coreferee
python3 -m coreferee install en

ERROR: Cannot install coreferee==1.1.0, coreferee==1.1.1 and coreferee==1.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    coreferee 1.1.2 depends on tensorflow-macos~=2.6.0; platform_system == "Darwin"
    coreferee 1.1.1 depends on tensorflow-macos~=2.6.0; platform_system == "Darwin"
    coreferee 1.1.0 depends on tensorflow~=2.5.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

How can I resolve this?
Also, I am using python 3.10, but the same thing happens with 3.9.
I am also hoping Spacy 3.2 support is around the corner.
EDIT: I specified an older version of coreferee (1.1.0), but now I get:
ERROR: Could not find a version that satisfies the requirement tensorflow~=2.5.0 (from coreferee) (from versions: none)
ERROR: No matching distribution found for tensorflow~=2.5.0

It seems a lot of these package requirements don't exist. I really depend on this project. How can we get it working?
EDIT:
It looks like the issue is h5py. There's no pre-built wheel for it on ARM Macs.
It's unclear how to install it from source for this purpose.

Think this can be closed now.

I'm not sure this is resolved. Coreferee installation on macOS using the ARM chips still fails. Are you planning on supporting that platform officially?
Also, do you anticipate supporting the latest Spacy?

I'm not part of coreferee unfortunately 😞 but I thought that Edit 4 suggested things were working now. I'm currently stuck trying to get it running myself.

I'm not part of coreferee unfortunately 😞 but I thought that Edit 4 suggested things were working now. I'm currently stuck trying to get it running myself.

No, unfortunately it's not resolved. I had to install from source and do a bunch of painful things externally using mac-specific "hacks." pip installation completely fails due to the tensorflow dependency, and I had to use conda. Also, the fact that only Spacy < 3.2 is supported seems to prevent gpu acceleration or something. I hope this can be resolved and potentially updated for compatibility with 3.2.

🎉  I just got it to work with:
miniconda==4.11.0
python==3.9
numpy==1.21.4
tensorflow-macos==2.7.0
spacy== 3.2.1
coreferee==1.1.2

I had to install the other dependencies before coreferee, then run pip install coreferee==1.1.2 --no-deps. Hope this works for you too.

🎉 I just got it to work with:
miniconda==4.11.0
python==3.9
numpy==1.21.4
tensorflow-macos==2.7.0
spacy==3.2.1
coreferee==1.1.2

I had to install the other dependencies before coreferee, then run pip install coreferee==1.1.2 --no-deps. Hope this works for you too.

Could you show the full steps for installation? I just don’t want room for ambiguity since I had to do a lot of crazy side maneuvers as shown above. I am also pretty sure I did something similar to what you did and the pip tensorflow package always failed.
Did you use miniforge for conda as well?

My bad. I must have looked at old output, I'm using spacy==3.1.0. Updated my previous comment.

My bad. I must have looked at old output, I'm using spacy==3.1.0. Updated my previous comment.

Still, would you show the steps? Also, you should be able to get it to 3.1.4
For 3.2 support, I think the author needs to do that explicitly.

Steps that work for me (just tested) are:
conda create -n coreferee python=3.9
conda activate coreferee
conda install -c apple tensorflow-deps==2.6.0
pip install tensorflow-macos==2.7.0
conda install -c conda-forge spacy==3.1.0
python -m spacy download fr_core_news_lg
pip install coreferee --no-deps
python -m coreferee install fr

Let me know.

Thanks. You may want to try 3.1.4 though. Also, make sure the transformers models work for you.
Does it matter if you use miniforge, mambaforge, etc. to install conda?

Just tested with spacy==3.1.4 and en_core_web_trf, worked for me.
I only tested with miniforge, I'm not sure if it works with the others.

For me I get a warning that there’a no CUDA device, which means it’s reverting to doinv everything on the CPU. I guess I have to reinstall everything somehow because that can’t be right.

@richardpaulhudson Hi. I got it working sort of, but only via miniforge/conda so I could use the newer tensorflow for Apple chips, and I have to install from sourcd
I still encounter issues with installation though, like numpy going out of sync. (I have to do an uninstall, then reinstall “hack.”) I am hoping coreferee might be upgraded to work with Spacy 3.2 because that woild also help.
My fear is that eventually 3.1.4 will stop being available, and then Ia will be stuck.
I do get much better results with the transformers version, so I am trying to stick with that one.

Sorry about all this! I'm currently working on a new version of Coreferee which uses Thinc rather than TensorFlow, meaning that it doesn't have any dependencies except spaCy itself and the transitive dependencies that entails. I think this should solve these problems.

Sorry about all this! I'm currently working on a new version of Coreferee which uses Thinc rather than TensorFlow, meaning that it doesn't have any dependencies except spaCy itself and the transitive dependencies that entails. I think this should solve these problems.

Thanks for the update. I'm looking forward to that new version!

Version 1.2.0 is now available and these problems should no longer be relevant.


Docker randomly stucks in restart loop for a couple days, and then works again.

Running an standalone WS2016 18-node cluster. Without any noticeable change or interaction, docker stops working on one of the nodes. For some reason the client is not able to connect to the daemon.
The daemon seems to be in a restart loop, I can see it running for ~5min and then it disappears for some seconds and comes up again.

I tried to uninstall and reinstall docker (v19.03.05). But after this, it behaves similar: Dockerd is restarting continuously.
When trying to run a docker command (docker info/docker ps) it throws one of this errors:
•	“error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.”
•	“Cannot connect to the Docker daemon at npipe:////./pipe/docker_engine”
After a couple days, the problem seems to solve itself without any interaction.
This has happened in different environments (with similar configuration), in different nodes, multiple times (at least 3 or 4). We have seen it only since July/August 2019.
On the problematic node, checking SF/Log/_sf_docker_logs folder this is what I find repeatedly:
time="2020-01-07T10:53:05.006845100+01:00" level=info msg="Starting up"
time="2020-01-07T10:53:05.008992600+01:00" level=warning msg="[!]
time="2020-01-07T10:53:05.164770300+01:00" level=error msg="Failed to load container 8b11bb8f0ca8db369b8beb3247bf622d3469e439c230945cd038a16fd910476e: open E:\\docker\\containers\\8b11bb8f0ca8db369b8beb3247bf622d3469e439c230945cd038a16fd910476e\\config.v2.json: The system cannot find the file specified."
time="2020-01-07T10:53:05.164770300+01:00" level=error msg="Failed to load container 013ac8373b7b24122a38bd3c7c460b7ccd3c18786e540c5e12cab9effcb9283a: open E:\\docker\\containers\\013ac8373b7b24122a38bd3c7c460b7ccd3c18786e540c5e12cab9effcb9283a\\config.v2.json: The system cannot find the file specified."
time="2020-01-07T10:53:05.164770300+01:00" level=debug msg="Option Experimental: false"
time="2020-01-07T10:53:05.164770300+01:00" level=debug msg="Option DefaultDriver: nat"
time="2020-01-07T10:53:05.164770300+01:00" level=debug msg="Option DefaultNetwork: nat"
time="2020-01-07T10:53:05.164770300+01:00" level=debug msg="Network Control Plane MTU: 1500"
time="2020-01-07T10:53:05.164770300+01:00" level=info msg="Restoring existing overlay networks from HNS into docker"
time="2020-01-07T10:53:05.164770300+01:00" level=debug msg="[GET]=>[/networks/] Request : "
time="2020-01-07T10:55:05.218994500+01:00" level=debug msg="Network  nat (7080ee0) restored"
time="2020-01-07T10:55:05.237995700+01:00" level=debug msg="[GET]=>[/networks/] Request : "
time="2020-01-07T10:57:05.258193300+01:00" level=debug msg="daemon configured with a 15 seconds minimum shutdown timeout"
time="2020-01-07T10:57:05.258193300+01:00" level=debug msg="start clean shutdown of all containers with a 15 seconds timeout..."

Expected Behavior
Service Fabric properly handles Docker daemon
Current Behavior
Docker daemon gets stuck in a restart loop for ~48h wich eventually solves itself. In this restart loop, the dockerd process seems to be stopped and restarted by SF (each ~5 min).
SF is not able to run any container on that node.
Running docker commands it is not able to connect to the daemon.
Context (Environment)
Production
Standalone 18 node cluster
Docker version
19.03.5
Service Fabric Runtime:
6.5.664.9590
Operating System :
Windows Server 2016 (Version 1607 OS Build 14393.3181)
Cluster Size :
18 nodes
Possible Workaround
Wait for a couple days and it seems to be solved without any interaction, but the problem may resurface later.

@julioas09 @aryamsft is this fixed? It's been open for over 2 years

I'm no longer working with the customer who experienced this problem, so I can't really tell.


How to reset slider progress to 0 or default state

via a button click i want to be able to reset the slider, i don't see a way how right now

solution: use a key

hi @AyoCodess can you pls to elaborate what do you mean by use key? 🙌

On the component give it a key, then update that key somewhere else to unmount the component (reset it)

hi @AyoCodess can you pls to elaborate what do you mean by use key? 🙌

On the component give it a key, then update that key somewhere else to unmount the component (reset it)

oh, thanks for quick reply! if we do that way, isn't that it will have a glitch after you change the key, then first time sliding it ?
https://github.com/alantoa/react-native-awesome-slider/assets/1695466/9f4054cc-0c14-49aa-a4af-5aefa7dc480d
here is the way i toggle the key
<SliderScale
key={isValueEmpty ? 'reset_slider' : 'slider'}
/>

isValueEmpty will be true after you press the Clear Button, or my I am wrong on handling the key ? @AyoCodess

hi @AyoCodess can you pls to elaborate what do you mean by use key? 🙌

On the component give it a key, then update that key somewhere else to unmount the component (reset it)

oh, thanks for quick reply! if we do that way, isn't that it will have a glitch after you change the key, then first time sliding it ?
https://github.com/alantoa/react-native-awesome-slider/assets/1695466/9f4054cc-0c14-49aa-a4af-5aefa7dc480d
here is the way i toggle the key

<SliderScale

key={isValueEmpty ? 'reset_slider' : 'slider'}

/>

isValueEmpty will be true after you press the Clear Button, or maybe I am wrong on handling the key ? @AyoCodess

Could you make the default state of the slider start from the left side at 0, and not already filed up?
As when you hit clear, the slider is filled up completely.

same thing happend, it will like blinking that normal again, is this not happening on your end?

same thing happend, it will like blinking that normal again, is this not happening on your end? @AyoCodess

I actually navigate away from the page so i don't see it blinking.
So when you reset it to 0 or to whatever starting number you set for your slider it does not animate to it?
This is definitely a missing feature either way.

I actually navigate away from the page so i don't see it blinking.
ah ok thanks why you don't see the glitch,

So when you reset it to 0 or to whatever starting number you set for your slider it does not animate to it?

yess, exactly the same thing that you describe in this thread
ye i guess so, I am about to try to check the lib code, maybe can try to create a PR for that, anyway thanks for your quick replies! 🙌


Replace #status_code with #status

This is a follow-up to #7231 but broken out into another PR because the direction changed a bit from the discussion over there - thought it might be wise in case that direction is reversed. This basically introduces a number of breaking changes:

#status_code on the response object is replaced with #status which is an instance of HTTP::Status. It encapsulates everything needed to do with HTTP status codes.
HTTP.default_status_message_for was replaced by the HTTP::Status object's description and it will now return nil instead of an empty string when it doesn't have an answer.
You can still set status_code= if you like, and it will be mapped under the hood to an instance of HTTP::Status.
*HTTP::Status has #code so can call status.code to get the integer value instead of needing to know to call status.value.

Open to more guidance and feedback here. Hope it's going in the direction you'd like to see - there were a lot of comments on the last PR and I've tried to take it all into consideration.

When starting with a fresh PR, could you please squash the commits into logical pieces (probably similar to your bullet points)? That makes it much easier to review and follow the individual changes. Thanks :+1:

I suspect the failure on test_linux32 might be a false positive - is it possible to restart that one?

This looks good!
There is however still an issue with creating a new HTTP::Status instance from an arbitrary status code number. .new on enums is implicitly defined and technically not part of the public API. As far as I can tell, it can neither be overriden nor documented.
Thus, we'd probably need to use a method with a different name that can be documented as part of the public API and validate the assigned value.
Probably something like this:
# Create a new `HTTP::Status` instance from *status_code* number.
# The values are not limited to defined enum members, but also allow to use custom status codes. Any number in the range 100..999 is allowed.
def HTTP::Status.from_code(status_code : Int32)
  raise "Invalid status code" unless 100 <= status_code <= 999
  new(status_code)
end

There's been quite a bit of discussion on this PR so I'm not sure exactly which changes are still being requested. Keen to finish off whatever remains to get this one through.

This looks good. I don't think there is any immediate action required, all requests have been met. Just waiting for reviews.

Why using symbols? The purpose of enums are compile-time safety – despite being more verbose. Symbols can be any name without an error at compilation.

As per this comment: https://github.com/crystal-lang/crystal/pull/7247#discussion_r244744646
From my understanding the symbols map to the values of the enum. If you try to set a symbol that doesn't reflect a possible value the compiler errors.
enum HTTP::Status
	OK = 200
end

class Response
  def initialize(@status : HTTP::Status)
  end
end

Response.new(:ok) # no issue
Response.new(:not_ok) # compiler error

That's strange in this cas you're right. You pass a symbol but the error in your example is:
Error in line 9: no overload matches 'Response.new' with type Symbol
Overloads are: - Response.new(status : HTTP::Status)

Why it works in line 8?? That what confused me in the first place.
I thought we would like to avoid Symbols for incremental compilation etc...

On my mind, a Symbol overload was needed. This Symbol => Enum feature is weird, it creates a "ghost overload "didn't see it in docs (See Usage in https://crystal-lang.org/docs/syntax_and_semantics/enum.html#Usage)
enum HTTP::Status
  OK = 200
end
class Response
  def initialize(status : Symbol)
    case status
    when :ok then HTTPS::Status::OK
    else raise "unknown"
    end
  end
end
Response.new(:ok)

@j8r the automatic casting from symbol to enum works as long as there's an enum restriction. It was implemented some time ago but never documented.

In light of #7266 suggest to rename Status.code to Status.new because it was only a workaround in the first place and is no longer needed.
The compiler change is non-breaking and goes into 0.27.1, so this feature can safely be merged to 0.28.0 (where this PR needs to go anyway, because it's breaking the API).
NOTE: Implementing this needs a very recent compiler build from master.

@straight-shoota Do you mean replace .from_code with .new?

Seems like the tests fail now (but work fine locally). Do the tests not run with a fresh build of Crystal?

@dwightwatson I notice you are already merging from master. Once you make the CI happy we need a 👍 from @asterite / @RX14 before saquash merging this PR. Thanks!

Needs a rebase to make CI (with Crystal 0.27.1) green.

Back to green now, please let me know if there is anything more I can do to get this merged in.

Btw, is this GTG already?

@bcardiff HTTP::Response#status_code is renamed to HTTP::Response#status. This is a breaking change.

@bcardiff It also changes it from a number to an enum (once you rename status_code to status you'll need to do some more changes)

@asterite but #status_code is preserved as a getter and the initializer with and Int is available also.

@bcardiff It currently removes the public HTTP.default_status_message_for(int) method, replaced by HTTP::Status.new(int).description

@bcardiff You are right, sorry for the confusion

Thank you @dwightwatson ❤


Missing # in Xresources template

Just noticed this. Great theme!
https://github.com/arzg/vim-substrata/blob/ff691e2da885649e0ac9630bae82636dbe776bdc/xresources/substrata.xresources#L18

Thanks for that! Updating now


fix: synchronize Resource and ResourceRef API

Description
Changes proposed in this pull request:

add filter to ResourceRef widget
fix filter in Resource widget
add docs for missing properties in the above widgets
update schema-form

Related issue(s)
Closes #2307

/retest

/retest

/retest


DNN-10557: Set CommentXML to NULL in case of less than 2000 characters

Included Updated Stored Procedure Script in 09.02.00.SqlDataProvider.
Older version of stored procedure is available in 07.01.02.SqlDataProvider

Looks like George modified the same file recently, please resolve conflicts. Thx

code review done


Trade modal top box picking up numbers from the bottom box when calculating a trade

Overview
After populating info for the a trade in the trade modal on app.shapeshift, when you select a different asset, the amount from the bottom box automatically becomes the amount in the top input box.
*Note: Toshi mentioned a potential other bug while working around this but Ops have been unable to recreate.
"there's also another bug if you type, wait a second, then type again the numbers jump around" .
References and additional details

Log into app.shapeshift.com and connect to a wallet
In the trade modal enter an amount to trade with any asset pair.
Change one of the assets and notice the value from the bottom box then populates in the top box

Acceptance Criteria
Trade amount should calculate correctly when changing assets
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

no longer an issue


Restrict class access to Ignite DataProvider classes

And delete unused CacheAdapter

@rajatvig sry I somehow missed this earlier. Can you rebase? I can merge it after


No Courses Found

i login using login option / or authenticator and in courses tab it says No Courses Found using windos 7 64 tried both 86 and 64 version //have allow the programm go throu firewall

same thing happen

I log in and try to search for the course. but only 1 course appear in the box.

What can I do to fix this problem? Pls help.


[W6.1f][W09-B3] Sun Shengran

Update execute method in Command class to make it abstract.

Ready for review


Ignore build

ignore the build directory and build and prepublish script to package.json

actually seems like this just builds the docs website so we can ignore except on gh-pages branch? how does the lib get built?

@rickyvetter updated and good to go


Add a distributed load table shell command tools to support load table or partition

Is your feature request related to a problem? Please describe.
Add a distributed load table shell command tools to support load table or partition. So that, we can load a table or a partition into alluxio cache tier, without this feature, we have to get the location of target table, and execute distributed load, this is complex.
Describe the solution you'd like
Add a shell command line tool
Describe alternatives you've considered
Modify the table/shell module
Urgency
Normal
Additional context
No

@maobaolong May be I can assign this feature

@maobaolong May be I can assign this feature

@JySongWithZhangCe That's great!!! I can't wait to see your PR any more! 😄

@JySongWithZhangCe That's great!!! I can't wait to see your PR any more! 😄

For now,  TableShell only support to talk to TableMaster with TableMasterClient. In this design, table shell commands are able to take options on metadata, but are hard on taking options on data. I'll implement this feature by two steps:

Add a implemention on TableShell looks like FileSystemShell for taking options on data.
Add a load command on new  TableShell.
@gpang @maobaolong What do you think of

For now,  TableShell only support to talk to TableMaster with TableMasterClient. In this design, table shell commands are able to take options on metadata, but are hard on taking options on data. I'll implement this feature by two steps:

Add a implemention on TableShell looks like FileSystemShell for taking options on data.
Add a load command on new  TableShell.
@gpang @maobaolong What do you think of

@JySongWithZhangCe That sounds reasonable.
In this issue, can you specify the proposed what the command will look like, and how the users will interact with it?

@JySongWithZhangCe That sounds reasonable.
In this issue, can you specify the proposed what the command will look like, and how the users will interact with it?

@JySongWithZhangCe That sounds reasonable.
In this issue, can you specify the proposed what the command will look like, and how the users will interact with it?

How about alluxio table load -p year=2021/month=1/day=24,year=2020 <database>.

@JySongWithZhangCe That sounds reasonable.
In this issue, can you specify the proposed what the command will look like, and how the users will interact with it?

How about alluxio table load -p year=2021/month=1/day=24,year=2020 <database>.

@maobaolong May be you can give some good suggestions

@maobaolong May be you can give some good suggestions

@apc999 What do you think?

@apc999 What do you think?

Sorry coming late on this issue.
We had discussion with @maobaolong @apc999 @bradyoo one day on async load table proposal. I also wanna bring it up here and collect some thoughts.
Please check this brief doc.
https://docs.google.com/document/d/1SA_4XNOmtjy2CZ8WEDZgmyQTMy4wkHgS2xAwRhSkc7s/edit?usp=sharing

@JySongWithZhangCe Sorry for the late reply, I think the given example is good, how about your idea? @timmylicheng , maybe we can create a chapter in the document to show how we expect to use this feature.

@maobaolong @timmylicheng I have seen your docs, and I find that both your design and my design are not consistent with other data operation commands, like alluxio table <db name>
 [-d <definition>]. I suggest we should have more discussion and make a consistent design.


Update pine '$filter' expressions to latest format

The warning in several commands, like `resin devices --app <appName. indicates the correct format:
pinejs-client deprecated: `$filter: a: b: ...` is deprecated, please use `$filter: a: $any: { $alias: "x", $expr: x: b: ... }` instead.

PR merged

I'm releasing this in v5.3.6.


cargo audit alert for smallvec 1.6.0

Hi, would you please check cargo audit. I receive a message regarding one of rhai deps. and it would be nice to put the cargo audit in your build pipeline.
Crate:         smallvec
Version:       1.6.0
Title:         Buffer overflow in SmallVec::insert_many
Date:          2021-01-08
ID:            RUSTSEC-2021-0003
URL:           https://rustsec.org/advisories/RUSTSEC-2021-0003
Solution:      Upgrade to >=0.6.14, <1.0.0 OR >=1.6.1

Closing this for now.  Feel free to open another issue if the problem is not resolved.

Closing this for now.  Feel free to open another issue if the problem is not resolved.


pub serve should not fail on missing ressource

 Issue by zoechi
Originally opened as dart-lang/sdk#19719

When I have a css link in index.html or my_component.html pub serve fails to serve the page
<polymer-element name="login-usuario">
  <template>
   <link rel="stylesheet" href="../css/login.css">
or

    <meta charset="utf-8">
    <title>Test</title>
    <link rel="stylesheet" href="css/login.css">

produces this output
--- 9:35:30 AM Starting pub serve : so_24466020 ---
Loading source assets...
Loading polymer/src/build/mirrors_remover, observe and smoke/src/default_transformer transformers...
Loading polymer transformers...
Serving so_24466020 web on http://localhost:8080
Build error:
Transform ImportInliner on so_24466020|web/app.html threw error: Could not find asset so_24466020|web/css/login.css.
null
null
Build completed with 1 errors.
[web] GET /app.html => Could not find asset so_24466020|web/app.html.
[web] GET /favicon.ico => Could not find asset so_24466020|web/favicon.ico.
Dartium shows:
404 Not Found
Could not find asset web/app.html in package so_24466020.
Dart VM version: 1.6.0-edge.37769 (Thu Jun 26 15:54:58 2014) on "linux_x64"
Polymer 0.11.0+5

 Comment by sigmundch

Added Area-Pkg label.

 Comment by sigmundch

Added this to the 1.6 milestone.

 Comment by zoechi

Attachment:
launch_dartium.png (309.87 KB)

 Comment by sigmundch

Removed Priority-Medium label.
Added Priority-High label.

 Comment by sigmundch

Removed Priority-Unassigned label.
Added Priority-Medium label.

 Comment by sigmundch

Removed Polymer-Milestone-Next label.

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by sigmundch

Added PolymerMilestone-Next label.

This comment was originally written by<EMAIL_ADDRESS>
Linked to https://code.google.com/p/dart/issues/detail?id=19834

 Comment by munificent

Removed Pub-Serve label.

 Comment by jakemac53

Added Started label.

 Comment by jakemac53

Set owner to @jakemac53.
Added Accepted label.

 Comment by sigmundch

Removed this from the 1.6 milestone.

 Comment by kasperl

Added this to the 1.6 milestone.

 Comment by jakemac53

Fixed for stylesheets only in dart-lang/sdk@85ca513943473059776480a1b18e0f9f58abfa5b. For regular html imports we decided that at least for now a real error should be thrown since it likely has a large impact of the functioning of the app.

Added Fixed label.

 Comment by zoechi

I can live with this decision but its a bit hard to understand.
I'm not a big fan of the dynamic nature of Dart but it has of course its advantages. The bigger one is that a program can be run, even when it contains errors or incomplete parts as long as this faulty parts are not executed.
What is this advantage worth when the tools follow an opposite direction?
A warning message would be enough in my opinion to make the developer aware of the problem.

 Comment by jakemac53

Part of the problem is that from my testing Polymer breaks on invalid imports in the body when running in dartium. We could get around this by completely removing the import during the build step, but that doesn't seem like a good solution either.
The real solution here in my opinion is to allow customization of the logging level for missing imports on a per-project basis in their pubspec.yaml. I have added issue dart-lang/sdk#20122 to track this.

 Comment by zoechi

Thanks for the update.
I already suspected that technical hurdles led to this decision.
It seems to be new behavior in Dartium that broken imports cause problems.
Before 'pub serve' was used as web server in DartEditor, broken imports didn't cause any problems (besides the imported polymer-element not being upgraded)
This issue is one of the drawbacks from the migration to 'pub serve' and probably hurts more than others (I'm currently not aware of others ;-) ) because this wasn't an issue before the migration.
To me it's not clear how different logging levels could help here.
I think broken imports should always be logged.
The real problem is still that I can't launch the app as long as not all imports are fixed.


invalid ssl certificate

I included all files to my micropython build on a pi pico w and I am getting this error :
Connecting to Anvil...
Exception in uplink reconnection loop:
Traceback (most recent call last):
File "/lib/anvil/pico.py", line 153, in _connect_async
File "/lib/anvil/pico.py", line 111, in _connect
File "/lib/async_websocket_client.py", line 93, in handshake
ValueError: invalid cert
how can I get the right certificate ?

I had a similar issue when trying to run the Anvil server on an ESP32, and I was able to just remove the keyword argument outright and it still connected.
Just replace self.sock = ssl.wrap_socket(self.sock, server_hostname=self.uri.host, cert_reqs=ssl.CERT_REQUIRED, ca_certs=ca_certs) with self.sock = ssl.wrap_socket(self.sock, server_hostname=self.uri.host) in the async_websocket_client.py file


Add Impersonation?

It is a pretty important feature for many within the auth / identity space. The only modern provider that seems to have support and documentation for "impersonation" is GoAuthentik - but I've not run through your full comparison table yet. Is that a feature you wouldn't mind adding to your comparison table?
Thanks!

Hi @dm17, I'm not familiar with impersonation. Can you clarify how exactly this feature would work?

Apologies; maybe there's a more standardized term for it. Debugging seems like its largest use-case.
Good summary in a keycloak context:
https://blog.devops.dev/user-impersonation-with-keycloak-3397f3451b4
Some talk of plans and rationales for its implementation in zitadel:
https://github.com/zitadel/zitadel/discussions/6006
Authentik's simplified start and end impersonation:
https://goauthentik.io/docs/events/#impersonation_started--impersonation_ended


Remove Lodash dependency

It's being used only for debounce and throttle, should be able to add similar functions in the utility section and get rid of the larger lodash dependency altogether. They seem to be causing a lot of the issues with vulnerability warnings within the library.

Completed with #155


Moved the EJS templates to strings

Moved the EJS templates to strings so they coudl be imported as modules
Reason, is having a issue with this in AWS Lambda, where all
dependencies are compiled into one file.
Fix lint errors in:

lib/wsdl.js
test/request-response-samples/Dummy__should_handle_inline_types/wsdl_options.js
New line added to end of Package.json

Coverage increased (+0.02%) to 93.305% when pulling 7eb9ec4089b4685a9955dd870992e5ef8099f986 on LorneCurrie:remove-ejs-file-dependancy into 9541e14f9994978399f95ed6ee356795a9e548cb on vpulim:master.

Please merge this. I cannot bundle my service due to this issue.

ejs templates are no longer in the master branch. This was resolved in #1046

thanks @andygreenegrass !  closing this issue.  and thank you @LorneCurrie for originally addressing this.


Please add support for iOS ASAP

Please add support for iOS ASAP

Hello,
Currently the plugin only supports the Android platform.
We are not planning to support the IOS platform currently, but we welcome any contrbuition to the package.


[WIP] Implement SVG in OT support.

Implements support for SVG emoji fonts. Proof of concept, ThorVG probably won't be able to fully process it.
ThorVG, which is used by Godot to rasterize SVGs, seems to be unable to load SVGs without viewBox attribute and unable to get bounding box of the SVG objects.
Also, ThorVG unable to extract and rasterize part of SVG using object id, which might be necessary for some SVG fonts.

@hermet

ThorVG, which is used by Godot to rasterize SVGs, seems to be unable to load SVGs without viewBox attribute and unable to get bounding box of the SVG objects.
Also, ThorVG unable to extract and rasterize part of SVG using object id, which might be necessary for some SVG fonts.

Some feedback.

@fire thanks for letting us know!
We'll try to solve the issues on the TVG side.
If you find any svg file which doesn't display as it should, please open issue in the ThorVG  repo.

With some hacks, got it working:

SVG is pre-processed using XMLParser to remove unrelated glyphs from the multi-glyph documents.
Document view box is completely ignored, and calculated from bounding boxes of elements.

Is this ready to review / merge?

Is this ready to review / merge?

It is ready.

It doesn't seem to be implemented yet for the GDExtension builds of the TextServer. How do you envision it working? The multiple dependencies and separate module make it a bit tricky.

It doesn't seem to be implemented yet for the GDExtension builds of the TextServer. How do you envision it working?

It's not implemented yet, but it's already building other dependencies for the engine thridparty, so it should be possible to do it in the same way.

Added GDExtension build support and moved tvg_svginot code to the text servers.


Startup Failure with Particular World

Hello there!
I am using the latest Bukkit released build of MV Core and each time it starts up and loads a particular world of mine, it will say its Loading and get stuck at a certain percentage. Then it just stops loading and disables the entire plugin and prevents the server from fully starting. I have had this problem many times before and most of the time its a world that I don't care about. I'll delete the world and it will start perfectly. This time my spawn world has broken and I can't delete it. Do you have any suggestions on what I could do? Is this not a MV issue? Will I need to de-corrupt the world or something of the like? Any response would be fantastic as my server's been down for 2+ weeks now. Thank you so much for reading and I hope you have some sort of solution. :)

Not the case, locked due to inactivity.


Add correct pluralization logic

Added a message to system prompt for correct plural forms generation (related to https://github.com/Quilljou/transmart/issues/7).

Thanks for fixing this. released to npm


[BUG] - Can't save bookmarks

Description
on program start, I get an error message
Could not initialize bookmarks (at
after clearing the error the program works as expected, however, I can't save bookmarks
Steps to reproduce
for me every time I start the program
Expected behavior
bookmarks can be saved
Environment

OS: ubuntu 24.04
Architecture x86_64
Rust version 1.80.1
termscp version 0.14

Log
2024-09-10T07:04:53.846816392Z [ERROR] Failed to set new key into storage: Provider service error
termscp.txt

If it's Ubuntu with gnome gnome-keyring must be installed and accessible to the current user. Otherwise if nothing manages to fix this, just install termscp rebuilding without the keyring feature.


Prevent clang-format from reordering two header files

In that case, please add a comment and leave a new line between the two include statements. Otherwise, every time someone opens in VS and re-formats it, the header order will change and break the build.
Originally posted by @ahsonkhan in https://github.com/Azure/azure-sdk-for-cpp/pull/1199#discussion_r545334824

Fixed in https://github.com/Azure/azure-sdk-for-cpp/pull/1208

Thanks @vhvb1989


upgrade code

Hello,
please , may upgrade your code to python 3 and keras 2. (only train.py and sub files)
Thanks

We'd gladly accept a pull request


Updated gem to be compatible with rails <= 4.1

Rails 4.2 introduces native support for json types, but if you're upgrading a legacy app to 4.0 or 4.1, you might need this in the interim.
Greatly appreciate the patch @nzifnab authored. Opening this PR against original upstream so his work can be more easily found by others who might need it.
Renamed the repo in our fork to be able to publish to rubygems without name conflicts, since we can't specify a github source with a branch name in gemspec files.
If you need to install the rails4-friendly version before this PR gets accepted, see https://rubygems.org/gems/activerecord-postgres-json-rails4

Thanks!

Thanks for accepting. Are you planning to release a new gem version? We'd love to switch our Gemfiles back to the canonical source.

Yes. Unless it happens in the next few days, feel free to nag me.

@romanbsd, would you be so kind to release the new gem version?


core: upgrade to prettier v3

prettier API is now async
see https://github.com/prettier/prettier/wiki/How-to-migrate-my-plugin-to-support-Prettier-v3%3F#4-await-your-prettier-api-calls

Codecov Report

Merging #169 (45aa47f) into main (b48429b) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   97.37%   97.37%
=======================================
  Files          14       14
  Lines         723      723
  Branches      286      293    +7
=======================================
  Hits          704      704
  Misses         19       19

Thanks!


Update back-up-data-before-switching-plans.md

Added a note to the document stating that "It's not required to back up data when you switch to another subscription that provides more and same services. User data will always be preserved and no action need be taken for any individual service that is present in both  expiring and replacement subscription assigned to the same user" as currently the users were under the assumption that it works but it needed clarity.

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/2673

@cmcatee-MSFT Please merge this PR. Thanks.


table styles not scoped by .docson

Hi. Did you mean to make the PR onto my repository? The PR is onto your own master....

Hi, yep I mean your repo. No idea how this happened

I merged it into my repo. You can close this one. Thanks

Thank you. I like docson so much!


Convert to nextjs and add github oauth

Refactored for nextjs
Oauth with github as a provider
eslint cleanups
Server side rendering for api calls via nextjs

@vishnoianil I refactored in contribute. The CSS might need some cleanup on it without Tailwind. We can adjust when you're available. Ty!

@vishnoianil think we're ready to go here.


Add support for language hints

Add test case, documentation and fix for supporting language hints. This allows non-executable code blocks to be included in documentation. Fixes #116

Just checked out the PR and validated that it works! Great work. We are so close to being able to run any standard azure document through simdem. We just need to support multi line bash commands and I think we should be good to go.


Fix iOS auth on cordova-plugin-inappbrowser

We're using dropbox-sdk-js in a Cordova application but can't authorize because the InAppBrowser windows closes as an -999 error is raised in iOS.

Thanks for putting this together!

Thanks for putting this together


feat(paeckchen-cli): add loglevel

belongs to #143

Coverage remained the same at 100.0% when pulling e1339c0f6ed9014c16190ff1b8fc92d8cf9c7f00 on cli/log-level into edc5f80562d0609876139f7f9fcb1f34f4f1842a on master.


Document packaging changes for CE 18.02

Add packaging for Fedora 26, Fedora 27, and Centos 7 on aarch64 docker/docker-ce-packaging#71
Remove support for Ubuntu Zesty docker/docker-ce-packaging#73
Remove support for Fedora 25 docker/docker-ce-packaging#72

Complete


Table component - link to another language

left a comment :)

LGTM!

@millianapia @fernandolucchesi - I have added 4 different links (2 Norwegian, 2 English) in the table at the bottom of this page: https://web-global-development-equinor-web-sites-dev.c2.radix.equinor.com/test/mette-test-1 - https://studio-global-development-equinor-web-sites-dev.c2.radix.equinor.com/desk/topicContent;d0b57050-7f22-434d-97b3-ceb8324719e1
but they all go to the English homepage - which isn't expected

@millianapia @fernandolucchesi - I have added 4 different links (2 Norwegian, 2 English) in the table at the bottom of this page: https://web-global-development-equinor-web-sites-dev.c2.radix.equinor.com/test/mette-test-1 - https://studio-global-development-equinor-web-sites-dev.c2.radix.equinor.com/desk/topicContent;d0b57050-7f22-434d-97b3-ceb8324719e1 but they all go to the English homepage - which isn't expected

You are right, there is a bug in the code

@meols thanks for checking...

@millianapia code introduced in #1437 was buggy, I fixed it, but it still lacks changes to the Link component in the Table cell (we are currently not passing the locale). So I moved it back to in progress

@fernandolucchesi now it applies the locale to the link, is ready for second technical review:)

Looks good! ✅

Great and thanks @millianapia


Pantheon cleanups

Motivation for this change
Various things improving Pantheon superficially.
Prominently extraWingpanelIndicators and extraSwitchboardPlugs
Things done

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

[ ] NixOS
[ ] 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 nix-review --run "nix-review wip"
[ ] 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
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg test pantheon

@GrahamcOfBorg test pantheon

Tested on aarch64-linux without failure.


Add codecov to travis

Close #1253

Current coverage is 87.04% (diff: 100%)

No coverage report found for master at 0432cfc.

Powered by Codecov. Last update 0432cfc...808701d

+1


RedisClient runtime error with latest 1.0.43 NServiceKit.Common

I upgrade to the latest NServiceKit.Common 1.0.43 and NServiceKit.Redis 1.0.20 package ,but I had the following problem in runtime execution.

same problem


Invidio.us shuts down on October 1st

I was reading reddit earlier and I came accross this, so I thought I should mention it here since straw-viewer will probably stop working after that date
https://omar.yt/posts/stepping-away-from-open-source
---edit
It seems that the site will be shut down on September 1st. The api will be shut down on October 1st, so I changed the title.

From my experience here, I have found that
https://instances.invidio.us/ -> yewtu.be
Is much more responsive than invidious.snopyta.org
Using invidious.snopyta.org has given me lots of
"! no stream URL has been found error..."
How do I set yewtu.be to be the default here?
Thx a lot

See: https://github.com/trizen/straw-viewer#invidious-instances
For me, invidious.fdn.fr and invidious.13ad.de seem to work the best.
I'm considering adding support for --instance=auto, which would automatically pick an instance from the top ones.

Do that, please :)
This appl is really wonderful.
How should I update it when you add the auto instance?
Should I "git pull"?
Where exactlly?
:)
On Sat, Sep 5, 2020 at 1:24 PM Daniel Șuteu<EMAIL_ADDRESS>wrote:

See: https://github.com/trizen/straw-viewer#invidious-instances
For me, invidious.fdn.fr and invidious.13ad.de seem to work the best.
I'm considering adding support for --instance=auto, which would
automatically pick an instance from the top ones.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-687632074,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKJHTRGNJ6MUFQ6HCKLSEJQ3FANCNFSM4PSO2IVA
.

For using the development version, see: https://github.com/trizen/straw-viewer#try
If you're using Arch Linux, then you can simply reinstall "straw-viewer-git" from the AUR.

Nope. Debian here....
On Sat, Sep 5, 2020 at 7:32 PM Daniel Șuteu<EMAIL_ADDRESS>wrote:

For using the development version, see:
https://github.com/trizen/straw-viewer#try
If you're using Arch Linux, then you can simply reinstall
"straw-viewer-git" from the AUR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-687671300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKLYDKWPQWNPPXIIZ2LSEK37PANCNFSM4PSO2IVA
.

See: https://github.com/trizen/straw-viewer#invidious-instances
For me, invidious.fdn.fr and invidious.13ad.de seem to work the best.
I'm considering adding support for --instance=auto, which would automatically pick an instance from the top ones.

Is this the same as the --api-host parameter in ~/.config/straw-viewer/straw-viewer.conf?
Mine seems to mention invidio.us in there, but straw-viewer has been really slow in getting results and starting playback. Launching it with the --debug option says that it is using invidious.snopyta.org.

Yes, --api, --api-host and --instance are all the same.
Since invidio.us is getting shut down, straw-viewer is now replacing invidio.us with invidious.snopyta.org. (https://github.com/trizen/straw-viewer/commit/4807a31de7eeb897002aa16436b970b3f131bb8a)
Maybe picking a random instance would be a clever thing to do?

Does anyone else get this or is it just me?
429 error on yewtu.be
$ straw-viewer

=>> Search for YouTube videos (:h for help)
> idies proseuxes
[429 Too Many Requests] Error occurred on URL: https://yewtu.be/api/v1/search?maxResults=20&part=snippet&q=idies%20proseuxes&type=video

[!] No video results!

:: Probably yewtu.be is down. Try:

	/home/user/bin/straw-viewer --api=invidious.13ad.de

See also: https://github.com/trizen/straw-viewer#invidious-instances

and a 500 error on invidious.13ad.de, which looks similar to the above.
$ straw-viewer --api=invidious.13ad.de

=>> Search for YouTube videos (:h for help)
> idies proseuxes
[500 Server closed connection without sending any data back] Error occurred on URL: https://invidious.13ad.de/api/v1/search?maxResults=20&part=snippet&q=idies%20proseuxes&type=video

[!] No video results!

:: Probably invidious.13ad.de is down. Try:

	/home/user/bin/straw-viewer --api=invidious.13ad.de

See also: https://github.com/trizen/straw-viewer#invidious-instances

Last time I posted here 6 days ago, I changed the api line inside strawviewer.conf to invidious.13ad.de, but once I got the second error last night I changed it to yewtu.be, but no luck with both. In fact, invidious.13ad.de is not even listed in the instances page now!
The 'invidious.snopyta.org', 'invidious.tube' and 'invidious.xyz' instances seem to work for now. I did not test the rest.

Same errors here.
It looks like yewtu.be disabled the access to the API on purpose, while invidious.13ad.de moved to another server (see: https://magnum.hallertau.social/channel/badde/)
invidious.13ad.de got unlisted 11 days ago at the request of the maintainer, because of a "significant rise on bandwidth" (see: https://github.com/iv-org/invidious/wiki/Invidious-Instances/_history).

I've noticed that it will be difficult to use this straw-viewer
from now on after the omaroh dev dropped invidious...
Such a wonderful app, this one...
It is really annoying to keep guessing and trying new instances,
Then instances move away, do not work, disappear, etc...
:(
On Sat, Sep 12, 2020 at 6:07 AM Daniel Șuteu<EMAIL_ADDRESS>wrote:

Same errors here.
It looks like yewtu.be disabled the access to the API on purpose, while
invidious.13ad.de moved to another server (see:
https://magnum.hallertau.social/channel/badde/)
invidious.13ad.de got unlisted 11 days ago at the request of the
maintainer, because of a "significant rise on bandwidth" (see:
https://github.com/iv-org/invidious/wiki/Invidious-Instances/_history).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691451171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKMUPIGCQOUCFIAFVILSFM26LANCNFSM4PSO2IVA
.

Hi,
Is there a way of add a code in straw-viewer to choose an option out of
a list when a instance fail? Like so:
$ straw-viewer
$ Which instance would you like to use?
a) yewtu.be
b) invidious.snopyta.de
c) invidious.13ad.de
e) etc...
It would make more sense than to suggest only another instance...
Thanks anyway...

On Sat, Sep 12, 2020 at 02:07:49AM -0700, Daniel Șuteu wrote:

Same errors here.
It looks like yewtu.be disabled the access to the API on purpose, while
invidious.13ad.de moved to another server (see:
[1]https://magnum.hallertau.social/channel/badde/)
invidious.13ad.de got unlisted 11 days ago at the request of the
maintainer, because of a "significant rise on bandwidth" (see:
[2]https://github.com/iv-org/invidious/wiki/Invidious-Instances/_histor
y).
—
You are receiving this because you commented.
Reply to this email directly, [3]view it on GitHub, or [4]unsubscribe.
References

https://magnum.hallertau.social/channel/badde/
https://github.com/iv-org/invidious/wiki/Invidious-Instances/_history
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691451171
https://github.com/notifications/unsubscribe-auth/AKLPRKMUPIGCQOUCFIAFVILSFM26LANCNFSM4PSO2IVA

There is --api=auto in version 0.0.9 (soon to be released), which automatically picks a random working instance.
See: https://github.com/trizen/straw-viewer#invidious-instances

@trizen great! Thx

What do you guys think of this instance?
It asks for bitcoins.
Do you know if it has cryptomining acting behind it to mine computers where
it is being used?
https://invidious.tube
Thx
On Sat, Sep 12, 2020 at 1:12 PM Daniel Șuteu<EMAIL_ADDRESS>wrote:

There is --api=auto in version 0.0.9 (soon to be released), which
automatically picks a random working instance.
See: https://github.com/trizen/straw-viewer#invidious-instances
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691511071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKPVSKNDWKVHYBM3SKTSFOMWTANCNFSM4PSO2IVA
.

The reason I asked is because when I use this instance,
invidious.tube
My CPU spins crazily
I am suspicious...
here...
On Sat, Sep 12, 2020 at 1:12 PM Daniel Șuteu<EMAIL_ADDRESS>wrote:

There is --api=auto in version 0.0.9 (soon to be released), which
automatically picks a random working instance.
See: https://github.com/trizen/straw-viewer#invidious-instances
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691511071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKPVSKNDWKVHYBM3SKTSFOMWTANCNFSM4PSO2IVA
.

No issues here with invidious.tube, both inside the browser and in straw-viewer. On the other hand, I use ublock and I have set my browser (brave) to the strict level of content blocking setting.
The only flaw I saw was that clicking on
https://invidious.tube
redirected me to this
https://invidious.tube/?ckattempt=1

Great!
I also have brave here.
Although I use waterfox with noscript, ublock, privacy badger
In all my browsers.
Unfortunatelly qutebrowser does not allow me to use noscript.
I also found that qtox and xscreensaver was eating lots of CPU power...
But, I can suspend those when I do not need them...
Thx for straw-viewer and keep up the good work...
On Sun, Sep 13, 2020 at 1:46 AM pitsi<EMAIL_ADDRESS>wrote:

No issues here with invidious.tube, both inside the browser and in
straw-viewer. On the other hand, I use ublock and I have set my browser
(brave) to the strict level of content blocking setting.
The only flaw I saw was that clicking on
https://invidious.tube
redirected me to this
https://invidious.tube/?ckattempt=1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691611942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKMY7XNYRFTNWAZMZALSFRFDVANCNFSM4PSO2IVA
.

Could we make a list of the best working invidious instances here:
//yewtu.be    -> seems to work -> which others?
On Sun, Sep 13, 2020 at 9:04 AM Vagner Rener<EMAIL_ADDRESS>wrote:

Great!
I also have brave here.
Although I use waterfox with noscript, ublock, privacy badger
In all my browsers.
Unfortunatelly qutebrowser does not allow me to use noscript.
I also found that qtox and xscreensaver was eating lots of CPU power...
But, I can suspend those when I do not need them...
Thx for straw-viewer and keep up the good work...
On Sun, Sep 13, 2020 at 1:46 AM pitsi<EMAIL_ADDRESS>wrote:

No issues here with invidious.tube, both inside the browser and in
straw-viewer. On the other hand, I use ublock and I have set my browser
(brave) to the strict level of content blocking setting.
The only flaw I saw was that clicking on
https://invidious.tube
redirected me to this
https://invidious.tube/?ckattempt=1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-691611942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKMY7XNYRFTNWAZMZALSFRFDVANCNFSM4PSO2IVA
.

Yewtu.be does not work for me as seen on the error above. It may be geo-restricted.
I updated straw-viewer to 0.0.9 last night, I set api_host to "auto" and I am happy so far. Stream load a lot faster than before.
Using the --debug parameter shows me the instance it currently uses, e.g. now it decided to use invidious.site
** GET https://instances.invidio.us/instances.json ==> 200 OK (2s)
:: Found 3 invidious instances.
:: Changed the instance to: https://invidious.site

while yesterday it used one located in France (invidious.fdn.fr).

What are the steps for me to update straw-viewer?
Do I have to reinstall it again?
Thx
On Tue, Sep 15, 2020 at 1:13 AM pitsi<EMAIL_ADDRESS>wrote:

Yewtu.be does not work for me as seen on the error above. It may be
geo-restricted.
I updated straw-viewer to 0.0.9 last night, I set api_host to "auto" and I
am happy so far. Stream load a lot faster than before.
Using the --debug parameter shows me the instance it currently uses, e.g.
now it decided to use invidious.site
** GET https://instances.invidio.us/instances.json ==> 200 OK (2s)
:: Found 3 invidious instances.
:: Changed the instance to: https://invidious.site
while yesterday it used one located in France (invidious.fdn.fr).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-692451850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKMY2WMSN7BOMGOHHADSF3SVTANCNFSM4PSO2IVA
.

Since you are on debian (like me) that does not package straw-viewer, these are the steps I do to "install/update" straw-viewer (and youtube-viewer in the past).
a) I have created 2 folders in my home dir, ~/bin and ~/lib. The first is used for the executable and the second one is for the libs it needs (the libs folder here on github). Also, this bit is needed in my ~/.bashrc to make everything work
PATH=$PATH:$HOME/bin/
PERL5LIB=$HOME/lib;export PERL5LIB

b) Every time a new version comes out, I download the zip file from the releases page and I extract straw-viewer inside ~/bin and the WWW folder inside ~/libs, so it looks like this
.
├── bin
│   ├── straw-viewer
.
├── lib
│   └── WWW
│       ├── StrawViewer
│       │   ├── Activities.pm
│       │   ├── Authentication.pm
│       │   ├── Channels.pm
│       │   ├── CommentThreads.pm
│       │   ├── GetCaption.pm
│       │   ├── GuideCategories.pm
│       │   ├── Itags.pm
│       │   ├── ParseJSON.pm
│       │   ├── ParseXML.pm
│       │   ├── PlaylistItems.pm
│       │   ├── Playlists.pm
│       │   ├── RegularExpressions.pm
│       │   ├── Search.pm
│       │   ├── Subscriptions.pm
│       │   ├── Utils.pm
│       │   ├── VideoCategories.pm
│       │   └── Videos.pm
│       ├── StrawViewer.pm

p.s. It obviously needs some perl dependencies, which I installed via apt.

Thx for the hint ;)
On Thu, Sep 17, 2020 at 4:03 AM pitsi<EMAIL_ADDRESS>wrote:

Since you are on debian (like me) that does not package straw-viewer,
these are the steps I do to "install/update" straw-viewer (and
youtube-viewer in the past).
a) I have created 2 folders in my home dir, ~/bin and ~/lib. The first is
used for the executable and the second one is for the libs it needs (the
libs folder here on github). Also, this bit is needed in my ~/.bashrc to
make everything work
PATH=$PATH:$HOME/bin/
PERL5LIB=$HOME/lib;export PERL5LIB
b) Every time a new version comes out, I download the zip file from the
releases page and I extract straw-viewer inside ~/bin and the WWW folder
inside ~/libs, so it looks like this
.
├── bin
│   ├── straw-viewer
.
├── lib
│   └── WWW
│       ├── StrawViewer
│       │   ├── Activities.pm
│       │   ├── Authentication.pm
│       │   ├── Channels.pm
│       │   ├── CommentThreads.pm
│       │   ├── GetCaption.pm
│       │   ├── GuideCategories.pm
│       │   ├── Itags.pm
│       │   ├── ParseJSON.pm
│       │   ├── ParseXML.pm
│       │   ├── PlaylistItems.pm
│       │   ├── Playlists.pm
│       │   ├── RegularExpressions.pm
│       │   ├── Search.pm
│       │   ├── Subscriptions.pm
│       │   ├── Utils.pm
│       │   ├── VideoCategories.pm
│       │   └── Videos.pm
│       ├── StrawViewer.pm
p.s. It obviously needs some perl dependencies, which I installed via apt.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-694004708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKJ5NMO4RDP7EFHZWG3SGGYFDANCNFSM4PSO2IVA
.

May I ask what you guys consider a very reliable instance of invidious? I have set "api_host" to "auto" and it used to work nicely, no matter the host it selected.
But, in the last couple of days, it selected some weird ones, with "rock" or "cafe" in their names if I recall correctly, adn they returned no results.

There was an YouTube change recently that affected the search results of all instances.
See: https://github.com/iv-org/invidious/issues/1422

I am switching to that instance then. Thank you.
For me, every instance is slow compared to youtube (and youtube-viewer).

@pitsi  "I am switching to that instance then."
which instance? Could you be more specific? Thx

The one suggested above by trizen to be a reliable one, invidious.snopyta.org.

Ok. I've used
//invidious.snopyta.org/
before, and had some problems with it,
Now I've used
//yewtu.be
for some time without issues
On Tue, Oct 27, 2020 at 1:54 AM pitsi<EMAIL_ADDRESS>wrote:

The one suggested above by trizen to be a reliable one,
invidious.snopyta.org.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-716980340,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKMKQ6JKJRIAHKYYY5TSMZHBJANCNFSM4PSO2IVA
.

To be honest with you, I am really fed up with all those changes in invidious and/or youtube lately because I can not find an instance that works 100%.
One does not return any results, one does return results for videos but not for channels, the next one is slow af and so on. I think that the numbers in instances.invidio.us simply do not reflect their true status.
And I am facing all these in kodi's addon for invidious, so I have "double checked" what say above. I respect both devs for their work, and I know it is not their fault, but some things need to be said. If the api has issues, the "best" instance is the one with the fewer problems... and I am still searching for it.

Yeah. Me either.
By the way, I have used straw-viewer and most times it works fine.
Have a look here:
https://github.com/trizen/straw-viewer
On Wed, Oct 28, 2020 at 7:11 AM pitsi<EMAIL_ADDRESS>wrote:

To be honest with you, I am really fed up with all those changes in
invidious and/or youtube lately because I can not find an instance that
works 100%.
One does not return any results, one does return results for videos but
not for channels, the next one is slow af and so on. I think that the
numbers in instances.invidio.us simply do not reflect their true status.
And I am facing all these in kodi's addon for invidious, so I have "double
checked" what say above. I respect both devs for their work, and I know it
is not their fault, but some things need to be said. If the api has issues,
the "best" instance is the one with the fewer problems... and I am still
searching for it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trizen/straw-viewer/issues/23#issuecomment-717832439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLPRKITGHPTZEFHOP6YNC3SM7U6XANCNFSM4PSO2IVA
.

Hmmm... I know straw-viewer. In fact, this entire discussion is done in straw-viewer's github page :P

@pitsi I'm currently experimenting with pipe-viewer, which is a fork of straw-viewer. The main goal of this fork is to remove the dependency on invidious instances, by parsing the YouTube website directly in a similar way like NewPipe does.
If everything goes according to plan, then pipe-viewer will be a much faster and reliable alternative to straw-viewer.

Sorry for bringing this back up, but do you guys get... results from your searches? I get nothing for the last 3+ days and I think it is an api issue because I face the same thing on kodi's addon for invidious.
$ straw-viewer

=>> Search for YouTube videos (:h for help)
> vevilos
:: Found 0 invidious instances:
:: Found 9 invidious instances: invidious.snopyta.org invidious.tube invidious.kavin.rocks invidious.mservice.ru.com vid.encryptionin.space invidious.site invidious.fdn.fr invidious.zapashcanon.fr tube.connect.cafe
:: Changed the instance to: https://vid.encryptionin.space
** GET https://vid.encryptionin.space/api/v1/search?q=vevilos&type=video ==> 200 OK (1s)

[!] No video results!

=>> Select one or more videos to play (:h for help)
>

@pitsi Yes, but most instances do not work. Workaround in https://github.com/trizen/straw-viewer/commit/09ce8a8b37194035934cc24d8e71058764ad7bb3. (I will tag a new version soon)
Two instances that work for me, are:

invidious.kavin.rocks
invidious.snopyta.org

I had the snopyta one on both until Monday...
Thank you for your suggestion. They both work on straw viewer and return results... for now.
In the kodi addon though the story is a bit different. The snopyta one returns results for videos but not for channels, while the kavin one returns no results anywhere.
I am off to upgrade to v0.1.2 (and pipe-viewer to 0.0.4).


social media scraping

Download the social mdeia data like  videos and  phtotos using the python script !

which social media are u referring to @mahendrarathore1742 ?
If Instagram then don't make this because that kind of script already exists

which social media are u referring to @mahendrarathore1742 ?
If Instagram then don't make this because that kind of script already exists

Youtube and facebook more  10+ social medias

which social media are u referring to @mahendrarathore1742 ?
If Instagram then don't make this because that kind of script already exists

Youtube and facebook more 10+ social medias

ok then go for it

I sent a pull request check it


Google analytics on local giving an error

Appears that GA_ID is undefined. We should set it to a dummy value so that this doesn't error out during development.

Never mind, template.env has it.


<EMAIL_ADDRESS>depends on outdated<EMAIL_ADDRESS>(current version is 6.6.1)

npm install gives this warning:
npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest object-keys

npm ls object-keys shows it as an indirect dependency of level-filesystem:
│     ├─┬<EMAIL_ADDRESS>│     │ └─┬<EMAIL_ADDRESS>│     │   └─┬<EMAIL_ADDRESS>│     │     └──<EMAIL_ADDRESS>
Reading npm info shows that<EMAIL_ADDRESS>is the current version, and depends on an outdated version of level-sublevel.

Yeah, there hasn't been any action from maintainers, a year has passed..


add github actions

The repository requires github actions doing some tasks:
Some ideas  are:

check if pre-commit hooks are successful
run tflint
run checkov
run terraform test

https://github.com/makandra/terraform-aws-modules/pull/3 introduced most of the workflows.
Running terraform test is more complex and will be done in a follow-up issue.


Assigning a mixin will bleed out, only when using native CSS properties

We are experiencing an issue where setting a mixin within a selector seems to be misbehaving: the value seems to be "bleeding out" to other elements that do not match the CSS selector.
Even more baffling, this only seems to happen by using the custom CSS properties.
We recreated a simple tiny repository showing the issue: https://github.com/tegola/polymer-apply-bug-testcase (sorry, it was just way too painful getting this to happen on a CDN).
The short story: <paper-input> is configurable by changing the mixin --paper-input-container-input. So, in my-app.html, we do this:
  /* Add borders and padding, and reduce margin to underline */
    --paper-input-container-input: {
      box-sizing: border-box;
      border: 1px solid var(--paper-grey-400);
      border-bottom: 0;
      padding: 0.5rem;
    };

This should set the mixin in the scope of the <my-app> element.
my-app.html has a PSK-ish:
  <my-view1 name="view1"></my-view1>

Enter my-view.html. HTML-wise, it just has two elements:
<paper-input label="Normal input"></paper-input>

<paper-dropdown-menu label="Normal dropdown">
  <paper-listbox class="dropdown-content">
    <paper-item>Item 1</paper-item>
    <paper-item>Item 2</paper-item>
    <paper-item>Item 3</paper-item>
  </paper-listbox>
</paper-dropdown-menu>

The first <paper-input> can be configured, like ANY <paper-input>, by setting the mixin --paper-input-container-input. However, <paper-dropdown-menu> ALSO contains internally a <paper-input> element. I want that <paper-input> element to look a little different. So, I write this in the CSS section of my-view1.html:
  /* Input borders in dropdown menus */
  paper-dropdown-menu {
    --paper-input-container-input: {
      box-sizing: border-box;
      padding: 0.5rem;
      border: 1px solid var(--paper-grey-400);
      border-bottom: 0;
      border-right: 0; /* This bleeds out */
      background-color: rgba(255, 0, 0, 0.25); /* This does not */
    };
  }

This should (I hope I am right) set the value for the mixin --paper-input-container-input as specified, but only for elements matching the selector paper-dropdown-menu.
So, the first <paper-input> should be untouched.
And yet:

Using the custom CSS elements polyfill, it works fine: the normal input has its border.

Setting useNativeCSSProperties to true will show the straight paper input with the missing border on the right

The issue seems to be there only for the borders. The red transparent background will only happen in <paper-dropdown-menu> (as you would expect)

<paper-dropdown-menu> defines the mixin --paper-input-container-input like so in paper-dropdown-menu-shared-styles.html:
--paper-input-container-input: {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
    cursor: pointer;
  };

I am not sure this is relevant. I thought I'd add it.
Is this a bug in the native implementation of native CSS properties? Or am I doing something silly?
Safari has the same issue when using native CSS properties.

@ebidel Is this issue opened in the right spot? And... am I doing something horribly wrong, or is this actually a bug?

We also have the same issue, seems like a Polymer Bug since it happens both in Chrome and Firefox.
Disabling useNativeCSSProperties fixed it for ustoo.
And the CSS properties only seems to bleed out if the element was appended once.
Short example:
We have a webapp with multiple pages which we are selecting with the <iron-lazy-pages restamp> element.
If we directly navigate to a page with a normal <paper-input> it's styled as it should be.
If we are now switching to the page with the custom styled <paper-input> and then back to the page with the normal styled one it suddenly looks the custom styled <paper-input>.
If you want we could provide an example but we don't think it's necessary since @mercmobily already provided one already.

I am glad I am not the only one on Earth having this problem -- and I am glad somebody else found our reproduction work useful.
It took us a lot of hours to nail it down...

This one intrigued me, so I whipped up a jsfiddle: https://jsfiddle.net/WoodyWoodsta/r88sn2jj/
I can only assume this has something to do with CSS specificity of some sort.

I agree re: CSS specificity. I have to put my honest hat on, I am not 1000% sure what happens when you have:

Element A with

@WoodyWoodsta About your fiddle... what do we see, and what are we supposed to see?

Element A with

Yep. That's totally clear. It's just really strange that the very same bug
affects different implementations. It makes me thing that we are either
hitting a edge case that nobody thought about (!) or this is what should
be happening, and it's actually following the specs.
On 14 January 2017 at 02:59, Sean Wood<EMAIL_ADDRESS>wrote:

Element A with

I think most (if not all) of the Polymer team is busy with getting Polymer 2.0 ready... I wouldn't hold my breath waiting for an answer.
I am sure we will get some attention soon-ish though! It would be great to know if this is actually a bug, and if this is the right place to report it...

Seems like something is probably wrong in the way we rewrite mixins as individual native CSS properties. @azakus, see the fiddle @WoodyWoodsta posted in this comment: https://github.com/Polymer/polymer/issues/4254#issuecomment-272441956 ... If you comment out the styles for the dropdown, the right border shows up on the normal paper-input ... which shouldn't be affected by this change.
BTW, @mercmobily note that you can work around this specific issue by explicitly declaring border-right in both rules. It seems to only happen where you have the shorthand form in one rule (border) overridden by the more specific form in another rule (border-right).
Nonetheless, it seems like a bug to me. Can't see why those rules would apply here.

@arthurevans Is this the right spot for this ticket? Or shall we close it from here and open it on a different repo?

@mercmobily I defer to @azakus on that. Maybe it belongs on the polyfill repo, but he should know one way or the other.

Is this likely to get fixed...?


Improved the function that makes Link URIs relative

This patch fixes the relative URIs in Link headers. I've added tests to make sure this happens according to the spec. For example:

HEAD https://example.org/foo/bar will return a corresponding ACL link bar.acl, then
HEAD https://example.org/foo/ will return a corresponding ACL link .acl, and finally:
HEAD https://example.org/ will return a corresponding ACL link .acl

The basename() function does not require a base param. It only returns two possible outcomes: either the path is for a file (in which case it returns just the filename), or it returns an empty string if path ends with a /.

Good for me

Hold on. I found a bug.


Handling associations with similar trails

Coverage remained the same at 11.765% when pulling 9d495183e58cb720c3838b5cac684efcb015e627 on similar-trails into 3c8cc0477f9a41493669c56aa143dab9558d13fd on master.

Coverage remained the same at 11.765% when pulling 9d495183e58cb720c3838b5cac684efcb015e627 on similar-trails into 3c8cc0477f9a41493669c56aa143dab9558d13fd on master.

Current coverage is 13.33% (diff: 100%)

No coverage report found for master at 3c8cc04.

Powered by Codecov. Last update 3c8cc04...9d49518


Issues with resurrecting the Ender Dragon

The changes to the End exit portal and pillars have created some issues.

Resurrecting the Ender Dragon is now impossible in survival mode, as none of the bedrock blocks upon which the End crystals can be placed are recognised. In creative or with commands, the player can replace some of the portal blocks with bedrock blocks in the positions that they would be in in vanilla, and then place the crystals on those to resurrect the dragon.
Here is a portal with numerous crystals placed on it, none of which can resurrect the dragon:

Placing bedrock blocks where they would be in vanilla and placing the crystals on them works:

The pillars sometimes clear large areas around their bases when reconstructed by the resurrection sequence.
In this picture, note the large square holes:

Empty areas around pillars is a vanilla mechanics of pillar regeneration, in normal casae they clear area around crystal. I fixed pillar height calculations and now they will work as intended. I also fixed crystal positions on new portal - it will require 4 crystals on the same 4 directions

Fixed in 0.9.5

I'm not sure how what to do here. On both the NA and EU AOF3 servers which are using better-end-<IP_ADDRESS>-pre, players can't resurrect the dragon.
I have tried reseting the regions and deleting the betterend file from world/data/ - which works the first time but the dragon is there because it's reset - not through summoning.
I have also tried changing the placement of the crystals as mentioned above

But I can't seem to be able to figure out how to resurrect this thing.

<IP_ADDRESS> is outdated version, dragon spawning on server use different code and it will be not fixed for 1.16.5 (as the main version is 1.17.1 now and this bug was discovered on it). You can disable custom portal & pillars in the generator.json and regenerate central island - all dragon spawning will have vanilla behaviour, this should solve the problem for you

Ah, I misread the version number. I'll give this a go. Thank you.


Fix references to {user-manual} in some user manual chapters

@bot-gradle test QFL

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Can't route over pedestrian without edges

Hi, in this example:
http://www.openstreetmap.org/directions?engine=graphhopper_foot&route=53.93405%2C27.64698%3B53.93429%2C27.64949#map=18/53.93350/27.64745
subway entrance situated on highway=pedestrian polygon without edges to pedestrian.

Do you mean the area routing in #82?

Not exactly.
#82 describe situation when you have rote to and from polygone:

But in my case polygone can't find route over entrance in polygone:

I expect that it should be somethong like this:

See in data screenshot:

Ah, okay. Now I got it so you mean the subway entrance which is located on the 'pedestrian area' and not reachable. Yes, this currently does not work but is highly dependent on the area routing feature.


[Incubator/kafka] Fix init container fail when pod restart

What this PR does / why we need it: Fix init container fail when pod restart
If a pod being restarted after sometime, init container will be triggered to run. Init container will try to apply a label to the running pod using command kubectl label, which will fail because the label is already existed. This PR add option --overwrite to kubectl label command to overcome this issue.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged):
Special notes for your reviewer:

/ok-to-test

@nhamlh thanks for the PR! This looks good, I'm just waiting for the linter/tests to pass before I move this PR along.

@benjigoldberg just a kind reminder if this PR could be merged :)

/lgtm

Cool PR!  Thanks @nhamlh

@nhamlh if you bump the patch version I would be happy to merge this!

@benjigoldberg I have updated the chart version :D

/lgtm


Example JS

Hey there, I'm really confused about how I'd actually use this with JavaScript. Maybe I'm mistaken, but it seems like this is a way to choose a different response type depending on how the lambda function behaves.
I appreciate the example serverless.yml, but I don't really know how to actually select between the different responses.
Specifically, I'm trying to make something similar to a blogging platform. In the case where the entry is found, I'd like to respond with a 200 response. In the case where the entry is not found, I'd like to respond with a 404. I believe I'd need to create Responses similar to the one you have in standardResponses, but I don't understand how to choose between them in the JavaScript. I'm currently responding by just using callback(null, rawHTML) where rawHTML is an HTML string.
Could you please include the sample JavaScript that would go along with the sample serverless.yml provided in the README, or at least explain how to accomplish a simple task like the one I described above?

Closing older tickets. The recommended approach now is not to use this plugin, but instead to use the APIGW proxy integration so that you have full control over response headers and status codes.


Create usdinteractionEdit.md

files and allowedMention part is missing

Oops forgot to close it. It was for v4