Unable to follow the ThaiTokenizer document

I did pip install fastai numpy dill already. And try follow the document

from pythainlp.ulmfit.utils import ThaiTokenizer
tt = ThaiTokenizer()
tt.replace_rep('คือดียยยยยย')
คือดีtkrep6ย

This the error.
In [3]: from pythainlp.ulmfit.utils import ThaiTokenizer
Requirement already satisfied: fastai in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (1.0.13)
Requirement already satisfied: thinc==6.12.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (6.12.0)
Requirement already satisfied: pandas in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (0.23.4)
Requirement already satisfied: nbconvert in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (5.4.0)
Requirement already satisfied: requests in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (2.20.0)
Requirement already satisfied: numpy>=1.12 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (1.15.3)
Requirement already satisfied: Pillow in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (5.3.0)
Requirement already satisfied: spacy==2.0.16 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (2.0.16)
Requirement already satisfied: typing in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (3.6.6)
Requirement already satisfied: matplotlib in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (3.0.0)
Requirement already satisfied: fastprogress>=0.1.10 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (0.1.10)
Requirement already satisfied: scipy in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (1.1.0)
Requirement already satisfied: ipython in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (7.0.1)
Requirement already satisfied: cymem==2.0.2 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (2.0.2)
Requirement already satisfied: torchvision-nightly in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (0.2.1)
Requirement already satisfied: traitlets in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (4.3.2)
Requirement already satisfied: regex in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (2018.1.10)
Requirement already satisfied: jupyter in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (1.0.0)
Requirement already satisfied: dataclasses in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (0.6)
Requirement already satisfied: pyyaml in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (3.13)
Requirement already satisfied: nbformat in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from fastai) (4.4.0)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (1.0.1)
Requirement already satisfied: plac<1.0.0,>=0.9.6 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (0.9.6)
Requirement already satisfied: dill<0.3.0,>=0.2.7 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (<IP_ADDRESS>)
Requirement already satisfied: msgpack<1.0.0,>=0.5.6 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (0.5.6)
Requirement already satisfied: wrapt<1.11.0,>=1.10.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (1.10.11)
Requirement already satisfied: preshed<3.0.0,>=2.0.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (2.0.1)
Requirement already satisfied: cytoolz<0.10,>=0.9.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (<IP_ADDRESS>)
Requirement already satisfied: tqdm<5.0.0,>=4.10.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (4.28.1)
Requirement already satisfied: six<2.0.0,>=1.10.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (1.11.0)
Requirement already satisfied: msgpack-numpy<<IP_ADDRESS> in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from thinc==6.12.0->fastai) (<IP_ADDRESS>)
Requirement already satisfied: pytz>=2011k in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from pandas->fastai) (2018.6)
Requirement already satisfied: python-dateutil>=2.5.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from pandas->fastai) (2.7.3)
Requirement already satisfied: jinja2 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (2.10)
Requirement already satisfied: defusedxml in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (0.5.0)
Requirement already satisfied: pygments in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (2.2.0)
Requirement already satisfied: bleach in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (3.0.2)
Requirement already satisfied: mistune>=0.8.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (0.8.4)
Requirement already satisfied: jupyter-core in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (4.4.0)
Requirement already satisfied: entrypoints>=0.2.2 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (0.2.3)
Requirement already satisfied: pandocfilters>=1.4.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (1.4.2)
Requirement already satisfied: testpath in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbconvert->fastai) (0.4.2)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from requests->fastai) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from requests->fastai) (2.7)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from requests->fastai) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from requests->fastai) (2018.10.15)
Requirement already satisfied: ujson>=1.35 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from spacy==2.0.16->fastai) (1.35)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from matplotlib->fastai) (2.2.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from matplotlib->fastai) (1.0.1)
Requirement already satisfied: cycler>=0.10 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from matplotlib->fastai) (0.10.0)
Requirement already satisfied: setuptools>=18.5 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (39.0.1)
Requirement already satisfied: pickleshare in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (0.7.5)
Requirement already satisfied: decorator in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (4.3.0)
Requirement already satisfied: backcall in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (0.1.0)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (2.0.6)
Requirement already satisfied: appnope; sys_platform == "darwin" in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (0.1.0)
Requirement already satisfied: pexpect; sys_platform != "win32" in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (4.6.0)
Requirement already satisfied: jedi>=0.10 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (0.13.1)
Requirement already satisfied: simplegeneric>0.8 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipython->fastai) (0.8.1)
Requirement already satisfied: ipython-genutils in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from traitlets->fastai) (0.2.0)
Requirement already satisfied: ipywidgets in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jupyter->fastai) (7.4.2)
Requirement already satisfied: notebook in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jupyter->fastai) (5.7.0)
Requirement already satisfied: qtconsole in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jupyter->fastai) (4.4.2)
Requirement already satisfied: ipykernel in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jupyter->fastai) (5.1.0)
Requirement already satisfied: jupyter-console in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jupyter->fastai) (6.0.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from nbformat->fastai) (2.6.0)
Requirement already satisfied: toolz>=0.8.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from cytoolz<0.10,>=0.9.0->thinc==6.12.0->fastai) (0.9.0)
Requirement already satisfied: MarkupSafe>=0.23 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jinja2->nbconvert->fastai) (1.0)
Requirement already satisfied: webencodings in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from bleach->nbconvert->fastai) (0.5.1)
Requirement already satisfied: wcwidth in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython->fastai) (0.1.7)
Requirement already satisfied: ptyprocess>=0.5 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from pexpect; sys_platform != "win32"->ipython->fastai) (0.6.0)
Requirement already satisfied: parso>=0.3.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from jedi>=0.10->ipython->fastai) (0.3.1)
Requirement already satisfied: widgetsnbextension~=3.4.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from ipywidgets->jupyter->fastai) (3.4.2)
Requirement already satisfied: pyzmq>=17 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (17.1.2)
Requirement already satisfied: jupyter-client>=5.2.0 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (5.2.3)
Requirement already satisfied: prometheus-client in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (0.4.2)
Requirement already satisfied: tornado>=4 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (5.1.1)
Requirement already satisfied: Send2Trash in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (1.5.0)
Requirement already satisfied: terminado>=0.8.1 in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (from notebook->jupyter->fastai) (0.8.1)
Requirement already satisfied: numpy in /Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages (1.15.3)
Error installing using 'pip install fastai numpy dill'
An exception has occurred, use %tb to see the full traceback.

SystemExit: 0

/Users/hellohbot/.pyenv/versions/3.6.6/envs/fin-playground/lib/python3.6/site-packages/IPython/core/interactiveshell.py:3273: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
  warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

pip freeze
absl-py==0.6.0
appnope==0.1.0
astor==0.7.1
backcall==0.1.0
bleach==3.0.2
certifi==2018.10.15
chardet==3.0.4
Click==7.0
conllu==1.2.1
cycler==0.10.0
cymem==2.0.2
cytoolz==<IP_ADDRESS>
dataclasses==0.6
decorator==4.3.0
deepcut==<IP_ADDRESS>
defusedxml==0.5.0
dill==<IP_ADDRESS>
emoji==0.5.1
entrypoints==0.2.3
fastai==1.0.13
fastprogress==0.1.10
future==0.16.0
gast==0.2.0
grpcio==1.16.0
h5py==2.8.0
idna==2.7
ipdb==0.11
ipykernel==5.1.0
ipython==7.0.1
ipython-genutils==0.2.0
ipywidgets==7.4.2
jedi==0.13.1
Jinja2==2.10
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.3
jupyter-console==6.0.0
jupyter-core==4.4.0
kaggle==<IP_ADDRESS>
Keras==2.2.4
Keras-Applications==1.0.6
Keras-Preprocessing==1.0.5
kiwisolver==1.0.1
marisa-trie==0.7.5
Markdown==3.0.1
MarkupSafe==1.0
matplotlib==3.0.0
mistune==0.8.4
msgpack==0.5.6
msgpack-numpy==<IP_ADDRESS>
murmurhash==1.0.1
nbconvert==5.4.0
nbformat==4.4.0
nltk==3.3
notebook==5.7.0
numpy==1.15.3
pandas==0.23.4
pandocfilters==1.4.2
parso==0.3.1
pexpect==4.6.0
pickleshare==0.7.5
Pillow==5.3.0
pip-tools==3.1.0
plac==0.9.6
preshed==2.0.1
prometheus-client==0.4.2
prompt-toolkit==2.0.6
protobuf==3.6.1
ptyprocess==0.6.0
Pygments==2.2.0
pymongo==3.7.2
pyparsing==2.2.2
pythainlp==<IP_ADDRESS>
python-dateutil==2.7.3
python-slugify==1.2.6
pytz==2018.6
PyYAML==3.13
pyzmq==17.1.2
qtconsole==4.4.2
regex==2018.1.10
requests==2.20.0
scikit-learn==0.20.0
scipy==1.1.0
Send2Trash==1.5.0
simplegeneric==0.8.1
six==1.11.0
sklearn==0.0
spacy==2.0.16
tensorboard==1.11.0
tensorflow==1.11.0
termcolor==1.1.0
terminado==0.8.1
testpath==0.4.2
thinc==6.12.0
tinydb==3.11.1
toolz==0.9.0
torch==0.4.1
torchvision-nightly==0.2.1
tornado==5.1.1
tqdm==4.28.1
traitlets==4.3.2
typing==3.6.6
ujson==1.35
Unidecode==1.0.22
urllib3==1.22
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.14.1
widgetsnbextension==3.4.2
wordcloud==1.5.0
wrapt==1.10.11

OSX: 10.14
Python: 3.6.6

We are in the process of moving all ULMFit-related codes to fastai 1.0. You need fastai==0.7.0 for the old code to work.


SAK-28961 Switch to using commons-codec for Hex encode.

We’re already bundling commons-codec in /share/lib so we don’t bloat the web any more by including it. Also bump up the tomcat version to check there aren’t any other breakages caused by newer tomcat versions.

Actually I think @jonespm original fix is the better way to go, it validates that the length is correct which could catch bugs in the future when someone attempts to create an MD5 of incorrect length.


Organization API

Codecov Report

Merging #163 into master will decrease coverage by 0.5%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
- Coverage   87.62%   87.11%   -0.51%
==========================================
  Files          40       42       +2
  Lines         606      621      +15
  Branches        3        5       +2
==========================================
+ Hits          531      541      +10
- Misses         75       80       +5

Impacted Files
Coverage Δ

...thub4s/shared/src/main/scala/github4s/Github.scala
80% <ø> (ø)
:arrow_up:

.../scala/github4s/free/algebra/OrganizationOps.scala
0% <0%> (ø)

...4s/shared/src/main/scala/github4s/GithubAPIs.scala
100% <100%> (ø)
:arrow_up:

...ed/src/main/scala/github4s/api/Organizations.scala
100% <100%> (ø)

...cala/github4s/free/interpreters/Interpreters.scala
76.31% <66.66%> (-1.15%)
:arrow_down:

Continue to review full report at Codecov.

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


Fix wildcards in crud

Fixes #337
This allows using wildcards in ApiBuilder::crud paths without
CrudHandler::getAll being called for singular get calls.

Thanks!

This has been released as part of 2.1.0 now.


Mac Re-Installation Break

Installing via the one line
bash -c "$(curl -s https://install.prediction.io/install.sh)" , accidentally ran install in bin.
Attempted to Re-Install with the same
bash -c "$(curl -s https://install.prediction.io/install.sh)"
This broke the ./pio  functionality

well, I'm not a pio guy but I'd expect if you delete the previous installation(s), run a new one where you would specify the installation directory  you want - your problem disappear...


Finish TextFilter

I would like to use the TextFilter on a list but I don't find anything about it in the documentation.
The binding is already written (#313 & in code), but not the API.

Are you referring to this https://github.com/ocornut/imgui/blob/v1.86/imgui_demo.cpp#L1357-L1376 ?
If so I think they are available in API:

The flags like ImGuiInputTextFlags_CharsUppercase are available as InputText::chars_uppercase https://docs.rs/imgui/0.8.0/imgui/struct.InputText.html#method.chars_uppercase etc
From #516, the callback based filters are usable via https://docs.rs/imgui/0.8.0/imgui/struct.InputText.html#method.callback and the trait mentioned there. I suspect it might be quite tricky to implement purely based on the docs, so there is an example which is probably clearer here: https://github.com/imgui-rs/imgui-rs/blob/v0.8.2/imgui-examples/examples/text_callbacks.rs

No, I'm referring to https://github.com/ocornut/imgui/blob/v1.86/imgui_demo.cpp#L5642-L5660.
I've searched Filter in the Rust documentation but only found the filters for InputText. I can make my own filter but I prefer to use the native features of ImGUI.

Ahh, I see! That is indeed not yet exposed in the API yet. I don't have time to look into this currently, but a PR would be welcomed - it should be relatively simple to make the bindings (although anything dealing with strings can be a bit tricky because of the Rust String vs C++'s null-terminated strings)

Closing - was done in #658 and will be released with v0.9 :partying_face:


Using nexmo sandbox!

Hi, is there a way to make the request of the library go to
http://rest-sandbox.nexmo.com ?
I didn't see any mention about this. But in test environement i need to try out my logic before making actual requests.

ok i'm branching out. I will do some testing and contribute.

after some tests, it looks that nexmo has very poor support (doesnt care?) about their sandbox. It's impossible to buy a "sandbox" phone number. So I stopped developpement and simply created another account for my testing environment.

Our sandbox was in the "Labs" (experimental) section of our site before, so there were features still being tweaked. Right now it's been moved to the main docs and we are ensuring that is fully operational.
Please have a look here:
https://docs.nexmo.com/api-ref/nexmo-sandbox
We'll make sure to promptly fix any issues you might encounter!

Nexmo no longer offer a Sandbox.

@avl055 I noticed the link you gave https://docs.nexmo.com/api-ref/nexmo-sandbox just redirects to https://docs.nexmo.com/. I can't find any docs on how to test Nexmo. @leggetter says Nexmo no longer offers a Sandbox. I'm developing an app in Mexico that needs to use virtual numbers, and here they cost $12/month. For testing, it's not reasonable to spend such money for each num needed. Please tell me there is a way. =(

Nexmo probably worst company that only cares to earn money, but not provide any reliable tech support to their customers. Such as no test/dev/staging/sandbox environment, for tests you have to purchase number and brainfuck about how to test your integration with their services, how your QA will test in QA Environment, when your QA envs point to QA sms/mailing service and other services.
 This removes the need for an integration into any form of 3rd party service that is outside of your testing environment.
We're presently looking to hire an API Design Lead to join the DevRel team to help with this effort.
If you'd like some credit to help with your testing please drop me an email with your API Key -<EMAIL_ADDRESS>

#BringBackTheSandbox #Testing

@Braunson sorry, Nexmo does not have the sandbox but if you need some credit to test something, please let us know on<EMAIL_ADDRESS>what you're working on and your API key and we'll sort something out.


Textinput cursor movement on finished selection now correct, added tests as well

Solves #5490 . Also noticed there are many untested behaviors in the _key_down method, so we (with @emomicrowave ) also added some relevant tests.

Sorry for the inconvenience, I wanted to preserve all the commit authors and dates, but wanted to remove the clutter between https://github.com/kivy/kivy/pull/5491/commits/026fcf55fd7dc08ffd2272028712ff90fb897260 and https://github.com/kivy/kivy/pull/5491/commits/99025fdde85d48519180eb2e9635f812c0818a00, so I merged it locally.
Merged with https://github.com/kivy/kivy/commit/0456eff89bccf93fa6bd8aada318246082f1b8cc.


[youtube] 720p60 video downloads as 720p30

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.04.30
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-v', 'https://www.youtube.com/watch?v=o_gSw92_AQM']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.30
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-89980-ge752da5464, ffprobe N-89980-ge752da5464, rtmpdump 2.3
[debug] Proxy map: {}
[youtube] o_gSw92_AQM: Downloading webpage
[youtube] o_gSw92_AQM: Downloading video info webpage
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r1---sn-aigl6ney.googlevideo.com/videoplayback?id=o-AGqLZZ7etuPJt6iQJTMfXxu27RNNyRcFvlboqlTQnZPF&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C302&itag=136&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigl6ney%2Csn-5hnekn7l&ms=au%2Conr&mv=m&pl=22&ei=7tLJXOCtLJ-LmLAP57-4yAw&initcwndbps=1875000&mime=video%2Fmp4&gir=yes&clen=975857289&dur=5769.199&lmt=1554626089844029&mt=1556730512&fvip=1&keepalive=yes&c=WEB&txp=5535432&ip=<IP_ADDRESS>&ipbits=0&expire=1556752206&sparams=ip%2Cipbits%2Cexpire%2Cid%2Caitags%2Csource%2Crequiressl%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cei%2Cinitcwndbps%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&signature=C1C531FB8E563012B2985FF7A6096643564715E7.659707323D3787D5AB05FC8749F5B0F79CA8EE34&key=yt8&ratebypass=yes'
[download] Destination: [Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f136.mp4
[download] 100% of 930.65MiB in 00:53
[debug] Invoking downloader on 'https://r1---sn-aigl6ney.googlevideo.com/videoplayback?id=o-AGqLZZ7etuPJt6iQJTMfXxu27RNNyRcFvlboqlTQnZPF&itag=251&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-aigl6ney%2Csn-5hnekn7l&ms=au%2Conr&mv=m&pl=22&ei=7tLJXOCtLJ-LmLAP57-4yAw&initcwndbps=1875000&mime=audio%2Fwebm&gir=yes&clen=103520200&dur=5769.241&lmt=1554630908032174&mt=1556730512&fvip=1&keepalive=yes&c=WEB&txp=5511222&ip=<IP_ADDRESS>&ipbits=0&expire=1556752206&sparams=ip%2Cipbits%2Cexpire%2Cid%2Citag%2Csource%2Crequiressl%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cei%2Cinitcwndbps%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&signature=3C37642D78C5D3F244E0741ACF7F3CC612052994.4730C63C0076343469FD46BE2211969EF43EDA&key=yt8&ratebypass=yes'
[download] Destination: [Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f251.webm
[download] 100% of 98.72MiB in 00:06
[ffmpeg] Merging formats into "[Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:[Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f136.mp4" -i "file:[Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f251.webm" -c copy -map "0:v:0" -map "1:a:0" "file:[Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.temp.mkv"
Deleting original file [Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f136.mp4 (pass -k to keep)
Deleting original file [Vinesauce] Vinny - Yoshi's Crafted World (part 2)-o_gSw92_AQM.f251.webm (pass -k to keep)

Description

After downloading a 720p60 YouTube video, I noticed that a 720p30 version of the video had been downloaded instead. I tried redownloading it using just -f bestvideo so that it wouldn't be merged by ffmpeg but the video was still at half the framerate.

You are not downloading 60 fps with bestvideo in the first place.


How to implement MPD video play with widevine DRM?

Description
I could not find a way to implement videojs with widevine DRM.
When I use code given in repository just a black screen shows nothing happens

I am using NextJS


Register python660.localplayer.dev

Added python660.localplayer.dev using the CLI.

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

does this work with replit?

recheck


Implement shape argument in *_like functions

The shape argument in empty_like (and counterparts: full_like, ones_like and zeros_like) is important to guarantee functions that depend on creation of such arrays (without _like) to work correctly with the introduction of NEP-18 and _meta in Dask arrays. The argument was introduced by https://github.com/numpy/numpy/pull/13046.
An example where we need such functionality is the moment function, creating both ones and zeros, also with non-default chunks: https://github.com/dask/dask/blob/fb407f57188a8ff719ee6f0b051cabb8a84faf2c/dask/array/reductions.py#L472

cc @daxiongshu

I took a stab at addressing this issue, but quickly realized that the shape and chunks of a dask array are intertwined.

How should the outgoing chunks be handled in cases where the shape is specified and the chunks argument is not?
Should it be the user's responsibility to specify the outgoing chunks when the shape argument is specified?

In [8]: import numpy as np

In [9]: import dask.array as da

In [10]: a = np.arange(6).reshape(3, 2)

In [11]: np.ones_like(a, shape=(5, 2))
Out[11]:
array([[1, 1],
       [1, 1],
       [1, 1],
       [1, 1],
       [1, 1]])

In [12]: darr = da.from_array(a)

In [13]: darr
Out[13]: dask.array<array, shape=(3, 2), dtype=int64, chunksize=(3, 2), chunktype=numpy.ndarray>

In [14]: da.ones_like(darr, shape=(5,2))
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-14-4f971820f7f5> in <module>
----> 1 da.ones_like(darr, shape=(5,2))

~/devel/pangeo/dask/dask/array/creation.py in ones_like(a, dtype, chunks, shape)
    106         (shape or a.shape),
    107         dtype=(dtype or a.dtype),
--> 108         chunks=(chunks if chunks is not None else a.chunks),
    109     )
    110

~/devel/pangeo/dask/dask/array/wrap.py in wrap_func_shape_as_first_arg(func, *args, **kwargs)
     60         )
     61
---> 62     parsed = _parse_wrap_args(func, args, kwargs, shape)
     63     shape = parsed["shape"]
     64     dtype = parsed["dtype"]

~/devel/pangeo/dask/dask/array/wrap.py in _parse_wrap_args(func, args, kwargs, shape)
     29     dtype = np.dtype(dtype)
     30
---> 31     chunks = normalize_chunks(chunks, shape, dtype=dtype)
     32     name = kwargs.pop("name", None)
     33

~/devel/pangeo/dask/dask/array/core.py in normalize_chunks(chunks, shape, limit, dtype, previous_chunks)
   2469             raise ValueError(
   2470                 "Chunks do not add up to shape. "
-> 2471                 "Got chunks=%s, shape=%s" % (chunks, shape)
   2472             )
   2473

ValueError: Chunks do not add up to shape. Got chunks=((3,), (2,)), shape=(5, 2)

In [27]: da.ones_like(darr, chunks=(5, 1), shape=(5,2))
Out[27]: dask.array<ones, shape=(5, 2), dtype=int64, chunksize=(5, 1), chunktype=numpy.ndarray>

I don't have answers to your questions.  Solving this problem probably also involves coming up with those answers.  However, you might want to look at dask.array.core.normalize_chunks, which may have some useful functionality here.

This has been solved quite a while ago in https://github.com/dask/dask/pull/6064, thanks @andersy005 !


SetValidationRepository should be abstracted to a service.

A set validation interface/service should be created which uses the SetValidationRepository as its implementation. It should not be assumed a repository is used to implement Set Validation.

getContsraint() should take an Event object instead of just the event name.

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
926117017, @chirag-bgh, @willyrgf, @adotsloan, @abc0xmattyic333, @TobiasBK, @meetsiraja, @crazybits, @sohm13, @superwaih, @sbrfarhadi, @mo-xiaoxi, @pmioduszewski, @philipmoniaga, @JimYan, @InvokerMaster, @DoCmAL1, @helxsz, @kmalloc, @lijinma

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.
stefan-c, @meowsbits, @slowmistio, @guyo13, @sqrlfirst, @teliten, @akhileshthite, @chahakshahcs5, @nullcanon, @thundb, @sunguru98, @seantech2000, @rishi256, @viiincent, @djkampus, @Tarunadityaselva, @Engagement-ultra, @MFaiqKhan, @sunliang711, @dotrungkien


AMBARI-25056 Fixing typo for ldap-manage-services

What changes were proposed in this pull request?
Fixing a typo in the documentation

@smolnar82 @rlevas pls review

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4771/
Test PASSed.


Added Objective-C UILabel to pod

As we discussed here https://github.com/fulldecent/swift3-module-template/issues/36 I've added Objective-C Label, so we can see it in the "iOS Example".

Looks great, thank you!


Feature/third task

Branch with all funcionality ready

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

251 of 255 (98.43%)  changed or added relevant lines in 22 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 99.703%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

repository/IngSoft2-Model/InstantCard.class.st
4
8
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
1344

Relevant Lines:
1348

💛  - Coveralls


Automate Running Example DAGs in Gen2 Deployment

We want to run all the example DAGs in this repo on a weekly basis at least to start with (we can change frequency later on).
There is also a recent related AIP worth reading and adding your thoughts on it - https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-47+New+design+of+Airflow+System+Tests
Acceptance Criteria:

[ ] All the example DAGs in this repo should be updated so the parameters / env related values come from Environment Variables like google provider but not like Snowflake Provider. Here Snowflake example needs to be corrected.
[ ] Have one of the following that pushes all the example DAG in Gen2 cloud deployment, creates necessary connections and runs all the DAGs. And send a Slack message with the summary of the run :

(a) Scheduled CI job
(b) A master DAG that runs on a schedule in the same deployment

Note: The DAG should contain cleanup tasks at the end to destroy all the resources, example nuking the BigQuery table as the last step.

@pankajastro - please regularly post updates here on the progress being made.

Building image -> Mostly done but currently using pip install to install provider code in image
Basic working script to push/deploy dag in cloud env -> Done
Master DAG to trigger example DAG -> In progress

Update
Updating example code -> Done
Building image -> Done
Script to push/deploy dag in cloud env -> Done
Master DAG to trigger example DAG -> Done
Testing -> I have scheduled it for smaller schedule_interval and watching the behaviour
Report Generation -> TODO

Created #124 to address the below point:-
Have one of the following that pushes all the example DAG in Gen2 cloud deployment, creates necessary connections and runs all the DAGs. And send a Slack message with the summary of the run :

(a) Scheduled CI job
(b) A master DAG that runs on a schedule in the same deployment

@pankajastro - please confirm whether point 1 in the acceptance criteria is addressed so that we can close the story.If so, please update the ticket accordingly.

Parameterizion of example dag has done.
PR: https://github.com/astronomer/astronomer-providers/pull/102


testing

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change

Alternate Designs

Why Should This Be In Core?

Benefits

Possible Drawbacks

Verification Process

Applicable Issues

Requirement go automatico! :}


HTTP/1.1 500 internal error after launching the WPF app

Sometimes, most of the time,
I am getting a 500 internal error after launching the WPF app.
This is the code I use to start the app in NUnit [SetUp]
        AppiumOptions options = new AppiumOptions();
        options.AddAdditionalCapability("app", Context.ApplicationLocation);
        Session = new WindowsDriver<WindowsElement>(new Uri(Context.WindowsApplicationDriverUrl), options);

Some times is working and performing the test that comes after, but most of the times it gives me this error while setting up the test:
{"desiredCapabilities":{"app":"C:\<IP_ADDRESS>774Client*****.exe","platformName":"Windows"},"capabilities":{"firstMatch":[{"platformName":"Windows"}]}}
HTTP/1.1 500 Internal Error
Content-Length: 113
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"Object reference not set to an instance of an object."}}

I have read that could be because of the timeout of an old driver that kills my current driver as well? It seems that is always working when first started or waiting a couple of minutes after the exception is thrown.
       var applicationLocation = TestContext.Parameters.Get("cdmDesktopClientLocation");
       var windowsApplicationDriverUrl = TestContext.Parameters.Get("windowsApplicationDriverUrl");
   var serverName = TestContext.Parameters.Get("serverAddress");
   var userName = TestContext.Parameters.Get("userName");
   var password = TestContext.Parameters.Get("password");
   Context = new DesktopApplicationContext(applicationLocation, windowsApplicationDriverUrl, serverName, userName,
       password);
        if (Session == null)
        {
            AppiumOptions options = new AppiumOptions();
            options.AddAdditionalCapability("app", Context.ApplicationLocation);
            Session = new WindowsDriver<WindowsElement>(new Uri(Context.WindowsApplicationDriverUrl), options);
        }

I this the issue with with Context.WindowsApplicationDriverUrl its not getting initialized some where.

It's not because of that. I can hardcode the DriverUrl and issue is still there.

Perhaps try running your tests through the winappdriver directly? It seems faster and more stable on the machines i have been using so maybe it would address your issue.
You would just need to start the winappdriver (C:\Program Files (x86)\Windows Application Driver) and set your remote url as http://<IP_ADDRESS>:4723 rather than http://<IP_ADDRESS>:4723/wd/hub

Perhaps try running your tests through the winappdriver directly? It seems faster and more stable on the machines i have been using so maybe it would address your issue.
You would just need to start the winappdriver (C:\Program Files (x86)\Windows Application Driver) and set your remote url as http://<IP_ADDRESS>:4723 rather than http://<IP_ADDRESS>:4723/wd/hub

That is how is set up and run. I start the winappdriver and use the http://<IP_ADDRESS>:4723.
I am trying to run everything on the local PC. Problem is that the driver gets instantiated only 10 % of the time. in resti it fails on the line where I create it  new WindowsDriver(new Uri(Context.WindowsApplicationDriverUrl), options)

Hey @Iacobs87,
I'm facing the same issue, Could you help me and provide any work around for this?
Thanks!


Missing opslevel_user data source

The provider includes an opslevel_user resource for creating users in OpsLevel, but doesn't provide a similar data source for reading user information from the catalog. This would be helpful for writing terraform configs that depend on users existing in the catalog already.
Here's an example of a user data source the Datadog terraform provider includes: https://registry.terraform.io/providers/DataDog/datadog/latest/docs/data-sources/user

Hey @GilUpstream - Thanks for the feature request.
Unfortunately we need to have our GraphQL API updated first to support looking user's up by e-mail instead of ID so that the UX of using this datasource is better.
As the GraphQL API stands today you'd have to do this
data "opslevel_user" "kyle" {
  id = "098sd0w98erjklewrlkjsdff098wer098wee908sdf"
}

where i would want it to be
data "opslevel_user" "kyle" {
  email =<EMAIL_ADDRESS>}

This request has been put in with our API team but no ETA.

@rocktavious Thanks for the quick response!

we need to have our GraphQL API updated first to support looking user's up by e-mail
Absolutely! we'd have no use for the data source if we had to use the user id to do the lookup.

This request has been put in with our API team but no ETA.
Can we get a opslevel_users data source or members added to the existing opslevel_team data source? or both? Those would work as a workaround for our use case today.

We could definitely do opslevel_users.  I'll see if we can enqueue this next week and get it in before the holidays start.
We still have some outstanding questions to answer about teams and groups internally before we bake it into terraform.  Would just opslevel_users suffice?

Would just opslevel_users suffice?

@rocktavious That would be super helpful. Thanks!

@rocktavious 👋🏼 any update on the opslevel_users data source?

Sorry @GilUpstream for the radio silence.  Long story short we were not able to get to this before the holidays and I just got back from PTO this week.  I'll make sure this makes it into our next release which is TBD yet.


webmaster service is failing

https://www.googleapis.com/discovery/v1/apis/webmasters/v3/rest returns 404.
The webmaster v3 is failing and returning error UnknownApiNameOrVersion: name: webmasters  version: v3 all of a sudden.

we are seeing this too,
using reqbin you can check its an issue from both US, DE and us in DK
https://reqbin.com/c-4rgtzhsk

curl 'https://www.googleapis.com/webmasters/v3/'


Add the current time zone to the clock display

This change adds the abbreviated text of the current time zone (e.g. EST, EDT etc.) to the clock display.

I'm unclear as to the value of this, would you not already know what time zone you are in?

Ok - however, personally, I think I would rather not see it on the display.
Would you consider updating the commit to include a new global variable in the .ino and .cpp files such as:
const bool displayTimeZone = false;   // set to true to display the time zone, set to false to not display the time zone
and then in the code test that and only add the time zone to the display if it is set to true.
If yes, I would be happy to include on that basis.

in both programs, could you please change the line that reads:
if (displayTimeZone == true)
to
if (displayTimeZone)
just to stay consistent with the rest of the program.
Once done, I'll accept the commit.
Thanks for this. hope the program is of good use to you.
Best Regards,
Rob


'Jump to month' feature - Next month shown when the user is on December month

Pre-requisites:
Create an event that falls on the December month.
Steps to reproduce:

Launch the Application Under Test url: https://events-qa.on.fleek.co/
On the timeline displayed, go to the event displayed on the month of December.
Click on the 'December' label to invoke the 'Jump to month' feature

Expected Result:
'Next month' option should be disabled (stating that the user cannot go to the next month since he is already on December-the last month of the year)
Actual Result:
'Next month' option is displayed as enabled - please refer the snapshot attached.
Snapshot:

Fixed the above issue. Please verify @WinsCodes

Verified that the issue is now resolved.


fixed website links

fixed guice javadoc path

Coverage remained the same at 16.915% when pulling 2b4decf60898b45ce4531c5823dc903f94b6183a on bugfix/fix-website-links into f1521fda1c446703087b1fe401f74ebf9d2f6c01 on master.


Ignore casing when matching routes

Fixes #127

please see https://github.com/reach/router/issues/127#issuecomment-528195203


Filtering in Types View

Add support for filtering types in type view.

For those looking for a workaround now, as I learned from Jordan's stream, you can Ctrl+F in Text mode in the types view to sort of find types at the moment. That's been saving me some time.

added in 2.3.2723-dev


Non blocking mark occurences operation

I have made some changes to 'Mark occurences' task behaviour,
I am aware that these changes are not ideal, but the plugin was nearly unusable without them, every change in editor produced number of backround tasks. and even single task blocked eclipse more than necessary.
I have removed synchronized section in KotlinPsiManager, I think that in this case responsivity is primary goal and I have used ConcurrentMaps to synchronize access to cached projects and kotlin files to improve performance, I am using this modified plugin for several months without serious problems and without blocking events like 'Update occurance annotations' backround task.
I am not very experienced in opensource projects, so please forgive me if I have done something wrong, I will gladly learn how to do it properly.
https://discuss.kotlinlang.org/t/extremely-poor-performance-of-the-kotlin-plugin-for-eclipse/3397
NOTE: I was unable to renew original pull request

Please accept this pull request or do something about the "update occurrence annotations" bug which renders the plug-in unusable.

Moving changes out of mater branch


Bug - choice_filter inside repeat can result in errors

Description
If using choice_filter inside a repeat and referring to a node within a / that repeat, the following type of error message can appear.

Additional information
The workaround for this currently is to find the choice_filter usage inside the XML and make a replacement. For example, if converting attachment 1  into XML, you would then make the following replacement.
Find:
filter_list= /KAP/caregiverKAP/region_born
Replace:
Older versions / forks of ODK Collect (i.e. JHU Collect)
filter_list= current()/region_born
Current version of ODK Collect
filter_list= current()/../region_born

Attachments

Demo_excerpt_from_KAP_XLSForm-v4-jef.xlsx

This seems like it is going to be addressed by #187. Does that PR address your use case?

@joeflack4 Can you please confirm that this is fixed in the latest releases of the form converters?

@joeflack4  Please reopen if this is still an issue.


Fix two bugs in DiagnosticsEventListener

Fix Issue #1106
Check for this.listener == null and exit early from OnEventWritten. It can be null if the constructor hasn't finished running when an event comes in.
Fix Issue #1108
Record interesting EventSource instances in the OnEventSourceCreated callback while the base constructor is running. Replay them in DiagnosticEventListener's constructor, so that we can enable them with the appropriate level.

@cijothomas care to take a look?
Also, is the Linux build failure expected? Looks like a general problem with System.Net.Http missing on one of the netstandard builds; I "fixed" it locally by adding the nuget, but it's got nothing to do with the bugs I'm fixing here, so it's not included in the PR.

@pharring Will get to this today. We internally talked about it yesterday but didn't get time to review.

I see there is a genuine test case failure in Linux. I will investigate.

That test case failure is tricky. We're asserting just one message, but we actually get a bunch. The extra messages seem to be "System.Reflection.TargetException: Non-static method requires a target" which is due to https://github.com/dotnet/corefx/issues/32606. But the real cause of that is that RichPayloadEventSource got enabled at Verbose level and Trace telemetry is being sent from the PortalDiagnosticsSender (because it's trying to log the error that the test generates). It's all quite difficult to unwind. Of course, the test doesn't fail when run alone; only when run in conjunction with other tests because the RichPayloadEventSource is a shared/static thing.

Wow. Just wow. Investigating that unit test failure led me to all sorts of interesting places (like the DiagnosticsTelemetryModule can get added more than once -- no doubt leading to repeated telemetry -- I'll leave that for another bug). The fact that the item count was always 13 was highly significant -- it's the number of times the DiagnosticsTelemetryModule was leaked in previous tests. In the end I was able to fix the failure without touching product code; just making unit test changes. But boy, oh boy, that was an unexpected outcome of what I thought would be a localized bug fix.

@pharring , thanks a lot for doing this! I think that leaking diganostics module and verbose logging might've been related to the phantom test failures we had for a while!

#readytomerge (I don't have permission to merge in this repo)


Remove Dead Code and Unused Imports in Consensus Modules

Why
Dead code and unused imports can lead to several issues in the codebase:
Maintainability: Dead code and unused imports clutter the codebase, making it harder to maintain and understand.
Performance: Although the performance impact is generally minimal, it can affect the build time and resource usage during compilation.
Code Quality: Having dead code and unused imports is a sign of poor code quality and can hide potential bugs or issues.
Readability: Clean code is easier to read and understand. Removing unnecessary code improves the readability of the codebase.

I can't find the consensus module anymore on Stratus, does this still apply?


How do you create a class library for asp netcore which receives VS tooling?

Is your feature request related to a problem? Please describe.
I am working on a composable web application and i want the class librarys to contain controllers, razorpages, views and whatnot to be supported through the tooling of VS. This is technically working on this project  but if i make the netstandard class librarys target the web sdk i get the following entries

and an error that there is no entry point for the application. If i leave the plugins as Microsoft.NET.Sdk i can load controllers just fine too, but i don't get any file template options related to netcore web.
Describe the solution you'd like
In the previous project model there was an option to add ProjectTypeGuids to enable VS support for certain file templates. Is there an option to do the same with the new project model?
It's hard to find docs on how to accomplish this and google research even makes it seem like this is not even an option anymore right now?

@pranavkm This very much looks like what i need. Odd that it didn't pop up when googling the search terms. mhm. Thanks!


Unexpected behavior in translations with parameters containing numbers

Laravel Version
10.15.0
PHP Version
8.2.8
Database Driver & Version
Not relevant
Description
There seems to be something wrong in the way the translation system inserts values into parameter placeholders when those placeholders contain numbers.
Example:
lang/test.php
<?php

return [
    'from-to' => 'From :name to :name2'
];

Example
echo __('test.from-to', ['name' => 'me', 'name2' => 'you']);
// => From me to you (as expected)
echo __('test.from-to', ['name' => 'me']);
// => From me to me2

It's a bit of an edge case, but I think it's reasonable to expect that the last example should return From me to :name2
Steps To Reproduce
See description

Thank you. Right now this is the correct expected behavior. We advice to refrain from using trailing numbers and use a different placeholder name.


Vim-plug should quit when it's the last open window

Currently when you close all other windows (while vim-plug is still visible), you need to issue another :q to quit. It's superfluous, because there is no risk of losing any data, so generally i think vim should quit when vim-plug is the last buffer / window (like some other plugins do already, for example, undotree).

head

Type:

[ ] Bug
[ ] Enhancement
[x] Feature Request
[ ] Question

OS:

[x] All/Other
[ ] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[ ] GVim
[ ] Neovim

I think the case of vim-plug is different from that of undotree in the respect that undotree does not make any sense without its host buffer, but the buffer of vim-plug is independent in itself.

I had the habit to launch a vim session just for plugins update. Consequently, i was also running into that superfluous :q.
My solution is the following:
alias vu='vim -c PlugUpgrade -c PlugUpdate -c qa'

Note that it's the apocalypse in case of errors.


suggest path "elixir-ls/language_server.sh" to support multiple Language Servers

https://github.com/chipotle/Elixir.bbpackage/blob/ce4b302354f91d0c54f750be66615ef3fd18ca7f/Contents/Language Servers/README#L3
Thank you! Your work helped me install the Elixir Language Server successfully on BBEdit.
Suggest a small change to your note in README:

Note: This folder should contain the contents of the zip file at this level, not a folder containing them!

You can include the path to the server (eg, "elixir-ls/language_server.sh") which would allow you to install multiple Language Servers.
Screenshot below:

Guidance from Bare Bones Software on placement of Language Server at ~/Library/Application Support/BBEdit/Language Servers/
https://www.barebones.com/support/bbedit/lsp-notes.html#placement

I am adding a note in the top-level README file reminding people about this setting.


How could add link

Sorry I am new on front-end, I already embed as yours but I want to add link text to notify box. eg:
link .

Sorry I don't understand the question. Can you please explain a little more clearly?

Closing this due to lack of feedback. Please re-open if you can explain your issue in some more detail.

I was wondering about this also. What @cheayden is asking:
How to include clickable URL link in notification?
Google
or maybe
Google

You can't add HTML content to a notification. You need to handle this via the on click handler in your own JS.

Ok, thanks.


ESP8266 destroyed

Hi,
I have managed to burn 4 ESP8266 on a dev. board (https://github.com/nodemcu/nodemcu-devkit-v1.0), and the reason is still unknown for me.
The history is like this:
After I have burned the:
– 1st one I removed GPIO10 from my code an also let if floating,
– 2nd I have reduced the current for driving MOC3041 from 15 to 7.6mA,
– 3rd I removed the ADC In setting (analogRead) from my code, even if I don
t use it for anything, yet.
Now I have the following circuit:
220V AC -> Power transformer from 220 to 6V (AC) -> Rectifier bridge (Vout ~8.6V DC) -> 2 capacitors (470uF + 100nF) -> LM7805 -> Power the ESPshield to Pin 15 (+) and Pin 7 (-) -> use Pin8/GPIO14 as an output to power an opto-triac MOC3041 (current was limited to 7.6mA using a 270ohm resistor) ->a triac to drive a load of 21W (7 x AC LED lamp) -> Pin1/GPIO16 used as an input (if pin state is changed than also the output is changed).

After running the application ~15 minutes (Playing on/off via web requests) I have played also a little bit with the input pin and everything worked as expected. Then I have decided to let lamps ON (input pin was pulled to GND - Red led from shield lit), but after ~5 -10 minute the lamps turned off (Red led from shield remained on) and now the 4th ESP is dead.
I have checked the value of current limiting resistor for the Red Led (470 ohm, value was obtained after I have removed the resistor from the shield) and from my calculations the current ~3.2mA is small enough not to damage the ESP, and now I have no idea what I
m doing wrong.
If you think that is relevant I can provide also the code (written using Arduino IDE)
Have anyone an idea that can help me with this issue?

What in your description indicates that you "Destroy ESP8266"? One thing I see in your schematic, you are using 5V to power NodeMCU, form what I read in docs recommended power is 3V although there is a pin-out you seem to be using that can run this unit at 5Volts I would try to reconfigure to use 3V or USB power to test. Unless you have requirement to run this at 5V.

The value of the power supply is in the safe range:

No, as far as I can see he connects +5V to the 3.3V pin, not to the 5V pin.
The 5V pin (VDD 5V) goes through the onboard 1117-3.3V regulator but the 3.3V pin he is using goes straight into the ESP chip. The chip will die because 5V on it's 3.3V pin is too much.

From schematic PIN 15 is 5V VDD

https://github.com/nodemcu/nodemcu-devkit-v1.0/issues/17#issuecomment-245269701

From your Schematics it looks a bit that you don't Connect Ground of the NodeMCU. Is this an Error in your Schematics?

My block diagram is not 100% precise..the GND pin used is pin 7 from the "right" side.


Adding global deduplication path for data_processing clean_and_smudge file

Definitely needs testing and end-to-end verification before being merged in.  Here for review.

Will get this in now but adjust the feedback and comments in the followup PR (already based off this one).


Added Build configuration and platform target options

Users can now specify BUILD_CONFIGURATION and BUILD_PLATFORM for their packages.  The defaults are Release with no target (AnyCPU).

Thank you! Please see #81 where I have squashed your changes. I may make a couple minor changes.

Forgot about this pr lol.  Just so you know, my last couple commits from today added the option to pass a nuspec file.

Yep, I grabbed those.


Support file inclusion in the config in the same way that community Collector does

The Otel Collector allows including files from the config, e.g.:
receivers:
  otlp:
    protocols:
      grpc:

exporters: ${file:receivers.yaml}

service:
  extensions: [ ]
  pipelines:
    traces:
      receivers:  [ otlp ]
      processors: [  ]
      exporters:  [ otlp ]

This does not work with Splunk distro of the Collector.

This is currently available with the include config source: https://github.com/signalfx/splunk-otel-collector/tree/main/internal/configsource/includeconfigsource
config_sources:
  include:

receivers:
  otlp:
    protocols:
      grpc:

exporters: ${include:exporters.yaml}

However, we should support this by reconciling the different config managers so that known schemes are forwarded to the registered file provider: https://github.com/signalfx/splunk-otel-collector/blob/f9bb21e8d82303fd42906e9553ca4b45c58d526f/cmd/otelcol/main.go#L97

It is good that we have an equivalent feature. I think it is also important to avoid diverging / to converge on both source code and how it is used in the config (e.g. file vs include).

This should be resolved by https://github.com/signalfx/splunk-otel-collector/pull/2893

Resolved by https://github.com/signalfx/splunk-otel-collector/commit/70b75c75a2d99f9c968fc1f2fec01ce5f0a6fa84


Does powershell support Termux?

Best that I can tell, Termux does two things:

terminal for Android - you should be able to use this to ssh to another machine and run PowerShell
Linux environment based on Debian/Ubuntu for Android - perhaps you can try the generic linux.tar.gz pkg we build and see if it works?

@SteveL-MSFT  thanks！Is Powershell for linux a GUI program?

@myfreess no, PowerShell is a shell and thus works in the console

I can't execute it, can anyone help?
$ ls -l pwsh -rwxrwxrwx    1 u0_a67   u0_a67       77172 Nov 14 05:08 pwsh $ readelf -h ./pwsh ELF Header:   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00   Class:                             ELF32   Data:                              2's complement, little endian   Version:                           1 (current)   OS/ABI:                            UNIX - System V   ABI Version:                       0   Type:                              EXEC (Executable file)   Machine:                           ARM   Version:                           0x1   Entry point address:               0xfb9d   Start of program headers:          52 (bytes into file)   Start of section headers:          75972 (bytes into file)   Flags:                             0x5000402, Version5 EABI, hard-float ABI, <unknown>   Size of this header:               52 (bytes)   Size of program headers:           32 (bytes)   Number of program headers:         9   Size of section headers:           40 (bytes)   Number of section headers:         30   Section header string table index: 29 $ ls -l ./pwsh -rwxrwxrwx    1 u0_a67   u0_a67       77172 Nov 14 05:08 ./pwsh $ ./pwsh bash: ./pwsh: No such file or directory $

If anyone's interested, this is indeed possible:
https://github.com/termux/termux-packages/issues/1729

I've heard PowerShell works within https://github.com/CypherpunkArmory/UserLAnd


chore(phpunit): upgrade phpunit to ^8.5

I am targeting this branch, because this is the only one
Changelog
upgrade phpunit to ^8.5
### Changed
upgrade phpunit to ^8.5

Coverage increased (+1.0%) to 50.108% when pulling 238f51c27a957d894a0f0e43223ec2eaa6c89c6e on bmaziere:upgrade-phpunit-to-8 into 33b1466dfe8b21eb78c73a264a86879a2b5a7bed on ekino:master.

Coverage increased (+1.0%) to 50.108% when pulling 238f51c27a957d894a0f0e43223ec2eaa6c89c6e on bmaziere:upgrade-phpunit-to-8 into 33b1466dfe8b21eb78c73a264a86879a2b5a7bed on ekino:master.


FS tests no longer commented out, and some fixes for them.

No, the getdents test was failing because it was being called twice

Aha! Ok great.


Refactors search for tweets from main page to /search

Removes search from Nav
Removes Tweets on the landing page
Refactors the search tweets to /search

good, thank you!
a minor problem: the input text box is too wide, it exceeds the window border. The search button is in the next line.


Should throw a TypeError when super is called through a lambda defined in param scope after super is called in the body

class c1 {
    constructor() {
        return { };
    }
};

class c2 extends c1 {
    constructor(a = 1, b = () => { a; super(); }) {
        super();
        b(); // Should throw
        return {};
    }
}
new c2();

This issue was fixed.


Input components

Components - input fields.xd.zip
Hi @creed-victor didnt want to block you so will send over pages since it is also split up in here

Progress

[x] basic input
[ ] read-only input
[ ] input with bottom text


--exit returns non-zero exit code and CI tool returns failure

As we all know, we can use --exit in mocha command to exit the tests. We are using this especially for leaving opened application to save the time (instead of opening and closing desktop app using Spectron).
But the problem with --exit in CI returns exit code as non-zero so tool keeps complaining that automation failed. Is there any solution for this with --exit? Is there any way to return 0 always on Windows powershell with mocha command as an alternative?

Don't do Windows in general... bash would simply use "||" to accomplish this.
But in that spirit, it would seem the idea is to run mocha within another script and force the exit code 0. Maybe something like this guy's approach?

Agreed but i don't have any option due to Windows dependency. This approach doesn't allow to modify exit code to 0.

Don't follow -- that was a Windows solution.
Well, what about something like this (untested)...
"<project>/bin/run_mocha"
var childProcess = require('child_process');
var path = require('path');

var mochaBin = path.join(__dirname, 'node_modules', '.bin', 'mocha');
var args = [
  mochaBin,
  process.argv.slice(2)
];
var options = {
    stdio: 'inherit'
};

childProcess.spawn(process.execPath, args, options)
  .on('exit', function(code, signal) {
    process.on('exit', function() {
      if (signal) {
        process.kill(process.pid, signal);
      } else {
        process.exit((process.env.CI === 'true') ? 0 : code);
      }
    });
  });

Did the above work for you?

Thanks Plorebuck for helping me, i had special requirement for Windows.


Clustergrammer2 Widget makes page unresponsive sometimes in Jupyter Lab

Describe the bug
Sometimes the widget causes Jupyter Lab to become unresponsive. I've attached a screenshot of the console logs below.
The problem appears to be that Clustergrammer2 is trying to hide a DOM element that does not exist and this is causing an error whenever the mouse is moved. The solution is probably to just put an if statement to check if the element exists before trying to hide it. This bug will be resolved by fixing Clustergrammer-GL and releasing a new version.
To Reproduce
Steps to reproduce the behavior:

Generate a Clustergrammer2 heatmap in Jupyter Lab (see https://github.com/ismms-himc/clustergrammer2-notebooks for examples)
Sometimes the page becomes unresponsive
See error in the console log

Expected behavior
The page should not be unresponsive.
Screenshots

Desktop (please complete the following information):

MacOS
Browser Chrome

Additional context

The version 0.5.6 is meant to fix this issue. We will reopen if the issue persists.


context size of the model keeps fall to default of 512

HI I am running this:
export NEURAL_SPEED_VERBOSE=1
PROMPT1=$(cat <<'END_HEREDOC'
## some large text here about 1000 tokens
END_HEREDOC
)
python scripts/inference.py --model_name llama -m llama_files/ne_llama_int4.bin -c 1500  -n 400  --color -p "$PROMPT1"

model_print_timings:        load time =  1696.97 ms
model_print_timings:      sample time =   172.18 ms /   323 runs   (    0.53 ms per token)
model_print_timings: prompt eval time =  1696.79 ms /   512 tokens (    3.31 ms per token)
model_print_timings:        eval time = 21978.58 ms /   322 runs   (   68.26 ms per token)
model_print_timings:       total time = 23929.26 ms
========== eval time log of each prediction ==========

I keep getting in the output that the size of prompt is 512 but the actual size of the prompt is more than 1000. any advice on how to handle this? I use the -c 1500 requesting a large context size
Also when I use --keep 0 ( which is the defult) I still  see the initial prompt printed to stdout. how do I make it not apearing as part of the output?

@RachelShalom  please add -b 2048 in " python scripts/inference.py --model_name llama -m llama_files/ne_llama_int4.bin -c 1500  -n 400  --color -p "$PROMPT1" "

thenks @intellinjun I added and it works as exxpected.  Any solution in mind about the --keep? or how to not show the prompt in stdout?

--keep should be the number of the first few tokens reserved when cutting off the streaming LLM. And the second problem is that we haven't developed this feature yet.

--keep should be the number of the first few tokens reserved when cutting off the streaming LLM. And the second problem is that we haven't developed this feature yet.

@RachelShalom


Cannot complete a deployment on k3s

Version:
k3s version v1.17.4+k3s1 (3eee8ac3)
K3s arguments:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--write-kubeconfig-mode 644" sh -
Describe the bug
Getting this warning on kubectl get events when waiting for my deployment:
pod/prometheus-77bb58bdc8-m65c7    Error: failed to get sandbox container task: no running task found: task <id> not found: not found
Note: Error shows multiple times with different ids. If relevant, I'll provide, but from what I've seen, they're randomly generated.
To Reproduce

Install k3s (with command provided above)
Set up prometheus.yml:

---
apiVersion: v1
kind: Service
metadata:
  name: prometheus
  labels:
    app: prometheus
spec:
  type: NodePort
  ports:
    - port: 9090
      protocol: TCP
      targetPort: 9090
      nodePort: 31111
  selector:
    app: prometheus
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: prometheus
  labels:
   app: prometheus
spec:
  replicas: 1
  selector:
    matchLabels:
      app: prometheus
  template:
    metadata:
      labels:
        app: prometheus
    spec:
      containers:
      - name: prometheus
        image: prom/prometheus:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 9090
          protocol: TCP

kubectl apply -f prometheus.yml
Monitor with kubectl got events -w

Expected behavior
Get a successful deployment on k3s.
Actual behavior
Deployment doesn't finish, hangs due to the pod being in a CreateContainerError status.
Additional context / logs
kubectl describe pod <pod-id>:
Name:         prometheus-77bb58bdc8-m65c7
Namespace:    default
Priority:     0
Node:         k3s-prometheus/<IP_ADDRESS>
Start Time:   Thu, 26 Mar 2020 19:04:55 -0400
Labels:       app=prometheus
              pod-template-hash=77bb58bdc8
Annotations:  <none>
Status:       Pending
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/prometheus-77bb58bdc8
Containers:
  prometheus:
    Container ID:
    Image:          prom/prometheus:latest
    Image ID:
    Port:           9090/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       CreateContainerError
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-6sgwc (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  default-token-6sgwc:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-6sgwc
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason          Age                    From                     Message
  ----     ------          ----                   ----                     -------
  Normal   Scheduled       <unknown>              default-scheduler        Successfully assigned default/prometheus-77bb58bdc8-m65c7 to k3s-prometheus
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task 45e3ca26865c4cefe90a355d3c1940b1e84e28a15019560bc0328b23fe2bc064 not found: not found
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task 0ecc433ef1bf94d15725812f40d4ddbd61d775de374223b7f9ed61a916b0b595 not found: not found
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task 673a99ccdba27455e30089914ecbc19a09d2724c67a83555c4745273d7b9a0fc not found: not found
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task eca2d968477222e8fbf52016004fbc4374ab4d48ac9bf799fa8be6b99f5b52e4 not found: not found
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task c042c4dcace7a648bcab5ac67b65a5a88cca672b05a091ef5f762e47255a6e2e not found: not found
  Normal   Pulled          16m (x6 over 16m)      kubelet, k3s-prometheus  Successfully pulled image "prom/prometheus:latest"
  Warning  Failed          16m                    kubelet, k3s-prometheus  Error: failed to get sandbox container task: no running task found: task df47bcc8d447685a09a6d3e7ded25ac11e5136371e8ccaf3fa2c186975d88e73 not found: not found
  Normal   Pulling         6m58s (x120 over 16m)  kubelet, k3s-prometheus  Pulling image "prom/prometheus:latest"
  Normal   SandboxChanged  110s (x213 over 16m)   kubelet, k3s-prometheus  Pod sandbox changed, it will be killed and re-created.

systemctl status k3s -l:
Mar 26 19:22:33 k3s-prometheus k3s[26436]: W0326 19:22:33.454342   26436 pod_container_deletor.go:75] Container "f429c01709f861353ca07ed23dbe1684a4e3d678a1ea39104ca3e7f6abcd13ab" not found in pod's containers
Mar 26 19:22:33 k3s-prometheus k3s[26436]: E0326 19:22:33.464386   26436 pod_workers.go:191] Error syncing pod 598345a2-093f-4dfc-8523-9e66f9e62fe0 ("coredns-6c6bb68b64-b5h8d_kube-system(598345a2-093f-4dfc-8523-9e66f9e62fe0)"), skipping: failed to "StartContainer" for "coredns" with CrashLoopBackOff: "back-off 5m0s restarting failed container=coredns pod=coredns-6c6bb68b64-b5h8d_kube-system(598345a2-093f-4dfc-8523-9e66f9e62fe0)"
Mar 26 19:22:33 k3s-prometheus k3s[26436]: W0326 19:22:33.498882   26436 pod_container_deletor.go:75] Container "0f3e9f8f410a0e11fecc7072383f454b65e83add219c467144768c23ba4e0bcb" not found in pod's containers
Mar 26 19:22:33 k3s-prometheus k3s[26436]: E0326 19:22:33.893705   26436 remote_runtime.go:200] CreateContainer in sandbox "2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c" from runtime service failed: rpc error: code = NotFound desc = failed to get sandbox container task: no running task found: task 2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c not found: not found
Mar 26 19:22:33 k3s-prometheus k3s[26436]: E0326 19:22:33.893747   26436 kuberuntime_manager.go:803] container start failed: CreateContainerError: failed to get sandbox container task: no running task found: task 2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c not found: not found
Mar 26 19:22:33 k3s-prometheus k3s[26436]: E0326 19:22:33.893769   26436 pod_workers.go:191] Error syncing pod 41cb8460-5fb8-4a99-b024-8c52372fd056 ("prometheus-77bb58bdc8-m65c7_default(41cb8460-5fb8-4a99-b024-8c52372fd056)"), skipping: failed to "StartContainer" for "prometheus" with CreateContainerError: "failed to get sandbox container task: no running task found: task 2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c not found: not found"
Mar 26 19:22:34 k3s-prometheus k3s[26436]: W0326 19:22:34.132800   26436 manager.go:1131] Failed to process watch event {EventType:0 Name:/kubepods/besteffort/pod2a218dbb-9a05-4162-9547-86a27a13926d/704e4141e6a906bfb64956eae164f49ab82dfb461056f771b8006cb4f6614db4 WatchSource:0}: task 704e4141e6a906bfb64956eae164f49ab82dfb461056f771b8006cb4f6614db4 not found: not found
Mar 26 19:22:34 k3s-prometheus k3s[26436]: W0326 19:22:34.132853   26436 watcher.go:87] Error while processing event ("/sys/fs/cgroup/devices/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c": 0x40000100 == IN_CREATE|IN_ISDIR): inotify_add_watch /sys/fs/cgroup/devices/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c: no such file or directory
Mar 26 19:22:34 k3s-prometheus k3s[26436]: W0326 19:22:34.132902   26436 watcher.go:87] Error while processing event ("/sys/fs/cgroup/memory/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c": 0x40000100 == IN_CREATE|IN_ISDIR): inotify_add_watch /sys/fs/cgroup/memory/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c: no such file or directory
Mar 26 19:22:34 k3s-prometheus k3s[26436]: W0326 19:22:34.132920   26436 watcher.go:87] Error while processing event ("/sys/fs/cgroup/cpu,cpuacct/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c": 0x40000100 == IN_CREATE|IN_ISDIR): inotify_add_watch /sys/fs/cgroup/cpu,cpuacct/kubepods/besteffort/pod41cb8460-5fb8-4a99-b024-8c52372fd056/2bc23f305a024b2286cb277d947ffa99f06664ac327c94d912fc3c45cdf95a9c: no such file or directory

I have the similar issue. Didn't find the solution yet. What I see is that, kubelet.service is not found. Checked the status using following command
systemctl status docker kubelet
Unit kubelet.service could not be found.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-12-10 10:15:06 CET; 38min ago


docs: update legacy links to markdown links

Motivation
Moving from legacy syntax to markdown syntax for links allows broken link checker to check links
Test Plan
Deploy preview
Test links
Client redirect
Content blog
Content doc

Argos change is normal it's because of this :

The old doc was using <code> for each param, while all the other lines user only one <code> for all params

I see thanks 👍 LGTM


Functionality of Placeholder Game Constructed

See issue #266. Larger placeholder game issue broken up into two issues, as creating the coin flip game was slightly more involved than anticipated, and as the status of the join lobby button is unclear.

Ok, had some issues with merging- I should've merged with the remote branch prior to implementing the fixes suggested by @elizabethli31. That is resolved now; since this non-crashing behavior took some time to implement, I created a second issue for it. A description of the changes can be found associated with that issue: #323.

Closing Comments: This is a toy example of a game (unclear if a coinflip can even be considered a game). But it has a notion of winning and losing, and an arbitrary number of people can "play." And since it is integrated with lobbies and creates the relevant match and player data, it should serve as a temp.

Issue Score: Excellent
Comments:
Like comments on the issue, this PR was well implemented.


how to add image or icon in place of description

how to add image or icon in place of
description

Change the view on your root layout from a TextView to an ImageView.


Fixes for built sandcastle

Fixes #10927 by ensuring standalone.html is copied to the build directory with the correct path
Fixes #10926 by ensuring the correct build tasks cause the development task to be included

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @ggetz.
I pushed a fix in 04d7dae that addresses the inclusion of development Sandcastles when running make-zip and website-release. This was causing issues when running the Sandcastle from within the release ZIP, as shown below, due to the gallery-index.js including the development Sandcastles but them not actually being copied into the ZIP:


[ Question ] Farsight stays at "standby"

Is your question related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

League just updated to 13.8, offsets aren't updated yet. Should happen within a day or two :)

Offsets are updated, should work as expected now.


configurable config_path

add possibility to change default config path using system environments, ref. #124

It's important that we keep the dependency on conform locked to a specific version, one can always override it if necessary in their project's mix.exs. Other than that, looks good, I'll do some testing ASAP.

Hi @bitwalker, i have a question.
Now, in this pull request i have the version with release name in the environment for the config dir. If release name is f.e. 'my_release', it will be $MY_RELEASE_CONFIG_DIR.
Now in production we have other version, with config file variable $CONFIG_FILE, (without release name. With CONFIG_FILE variable is possible to move conform config file location). Now i see two ways:

to have $CONFIG_DIR and $CONFIG_FILE (without release name)
to have $MY_RELEASE_CONFIG_DIR and $MY_RELEASE_CONFIG_FILE

This future is important for us, because we are using systemd and in service files we redefine environment for current release, example:
[Unit]
Description=MyRelease API

[Service]
Environment="HOME=/tmp"
Environment="USER_CONFIG_FILE=/etc/myapps/api-my_release.conf"
Environment="MUTABLE_DIR=/run/api-my_release"
ExecStart=/opt/myapps/api-my_release/1.1.1/bin/my_release foreground
ExecStop=/opt/myapps/api-my_release/1.1.1/bin/my_release stop

What do you think is better, 1 or 2?

@umatomba I prefer 1 if I understand you correctly, having a reliable environment variable is much nicer in my opinion. I do think we should probably change it from $CONFIG_FILE/DIR to something more unique though, that's a bit generic. Perhaps $CONFORM_CONFIG_FILE/DIR?

@bitwalker RELEASE_CONFIG_FILE/DIR  more unique and more generic?

@umatomba That should work :)

Merged manually and released in 0.17.2

the work with  RELEASE_CONFIG_FILE/DIR was not done. i have it locally...

@umatomba Can you push to your repo if it's done? What is remaining? The last I saw in the PR thread was that you were planning to rename the env variable names, which appeared to be complete..

Hi @bitwalker  change has been pushed to #148

@umatomba Merged, are there other outstanding changes?


Front-end showing components associated with servers that are missing

In theory, the front-end should just be testing whether it has access to certain servers and providing what it can based on that access.

Should be generally solvable after #101 goes through.


Fix: time_t is 64 bits on Emscripten

Since July 8, 2022:
https://github.com/emscripten-core/emscripten/pull/17401 https://github.com/emscripten-core/emscripten/blob/main/system/lib/libc/musl/arch/emscripten/bits/alltypes.h?plain=1#L83

At risk of asking a dumb question, how does this work with respect to backwards compatibility? What happens if one uses this patched libc with an older emscripten?

To answer my own question: I think you probably need to put a branch in build.rs (search for emcc_version_code in there) and emit a cfg and make this conditional on emcc version.
But obviously I defer to the libc maintainers.

For libc v0.3, I think it's fine to bump up the minimum supported emscripten version to reduce our complexity. The release date mentioned in OP seems enough to bump to me.

Is there an explicit minimum supported version somewhere? I don't find it.

No, we could define it on v0.3 if you like.

FWIW, Rust currently specifies Emscripten 2.0.5 as the minimum version it supports, see:
https://github.com/rust-lang/rust/pull/107221#issuecomment-1488357314
Bumping that to version 3.1.16 would probably be fine.

Is there any policy around the supported version of Emscripten on rustc? Maybe it's good time to ask to bump on rustc as well.

Is there any policy around the supported version of Emscripten on rustc? Maybe it's good time to ask to bump on rustc as well.

Honestly, with the amount of breaking ABI changes emscripten development is doing to their libc, they can’t really ask for anyone to support a wide range of versions.
Of course, the reason they are so liberally doing those changes is because, practically speaking, C programs are statically linked against emscripten libc: It all goes into a single wasm bundle. There is normally no risk that an emscripten program ends up running against an older (or newer) version of emscripten’s libc.
On the flipside, this means there are no real reasons for anyone to be on older versions of emscripten. There is even an emscripten-equivalent to rustup so that developers aren’t tied to the version that their distribution has packaged. https://github.com/emscripten-core/emsdk
The attemps that were made to support different emcc versions in this repo lead to convoluted structure (not covered by automatic testing, either) and don’t even work without -Zbuild-std, right? Even then I think they are bugged, as some std::fs operations are broken for me after #3282.
Imho under these considerations it would be very reasonable for Rust to only ever support one "quite recent" version of emscripten and no others.

I think this can be closed since IIUC https://github.com/rust-lang/libc/pull/3962 makes this change. Please reopen if this isn't correct.


How to perform async validation?

You have created an amazing form library.  Thank you.
I want to integrate this into my auth-component project.  I need to be able to run a validation to check if the username is available as the user is typing in the text field.  Is this possible with the current API?  If not, I can try to help add the feature, if you are open to it.

I was able to figure out a good solution with the current API.  I just created a form field called emailError and used the FormField utility to make a custom hidden input with some async logic.  Here's my quick and dirty example:
import { Form, Text, FormField } from 'react-form';

let lastQuery = {email: ''};
function CustomInput ({field, query, method, ...rest}) {

  return (
    <FormField field={field}>
      {({ setValue, getValue, setTouched }) => {
        if (query.email !== lastQuery.email) {
          lastQuery = query;
          setTimeout(() => {
            if (query.email ===<EMAIL_ADDRESS>{
              setValue('That email is unavailable');
            } else {
              setValue('');
            }
          }, 500);
        }
        return (
          <input
            type='hidden'
            value={getValue()}
          />
        );
      }}
    </FormField>
  );
}

ReactDOM.render(

Login - React-Form

      <Form
        onSubmit={(values) => {
          console.log('Success!', values);
        }}
        defaultValues={{
          email: '',
          password: '',
          emailError: ''
        }}
        validate={({ email, password, emailError }) => {
          let validations = {
            email: !email ? 'E-mail address is required' : emailError || null,
            password: !password ? 'Password is required' : null
          };
          return validations;
        }}
      >
        {(props) => {
          let {values, submitForm} = props;
          let query = {
            email: values.email
          };
          return (
            <form onSubmit={submitForm} className='auth-component-form'>
              <Text field='email' placeholder='e-mail address' />
              <Text field='password' type='password' placeholder='password' />
              <CustomInput field='emailError' query={query} />
              <button type='submit'>Submit</button>
            </form>
          );
        }}
      </Form>

);

Built in async support would be nice.  I was studying form.js looking at where it would be useful.  It would be pretty nice if we could make it possible to specify a Promise (or a function that returns one) for individual validation attributes.  The class-level validate method and its recursive utils could keep track of promises and re-run or perform cleanup after a resolve or reject.  This would make it so that non-promise validation attributes could continue to update synchronously if an async request runs long.  The only thing it wouldn't address that the above example does address is the ability to mix sync and async validations together.  It's really nice to get the immediate feedback of the sync validations; keeps the form responsive to user interaction.  I'm not sure the amount of effort would be worth the benefits, though.  It's definitely something to think about.
Thanks again!

Interesting idea indeed.  I'm intrigued by the idea of returning a promise for a validation message instead of the whole object.  That would allow exactly what you're imagining: mixed validation timing.
It might be simple enough to maintain a promise queue that maps to validation fields as they come in. As those promises resolve, update the view, and also replace them with new ones if the field is changed again.
Thinking of it that way, it doesn't seem like it would be too much work.  Are there any other locations in the api that promises would be beneficial?

Would that affect performance in large forms?

I doubt it would feel much different using promises, but it more than likely wouldn't be a breaking change.  It can be written so that using the current API doesn't run any of the code for Promises.

Are there any other locations in the api that promises would be beneficial?

I'll see if I have more feedback after I try to implement the example I posted.


Quick Sort

Description
I want to contribute for in this topic.
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Closing this issue as the PR got merged


Add Post Recommendation component

WIP - Add Post Recommendation component

Updated based on feedback from trello card: https://trello.com/c/9ZM6ctlZ/118-single-post-sidebar-right-component-post-recommendation

[ ] When user clicks on a link from the component, he should land on the Top of the page. In the current situation it keeps the scroll position.

Post recommendation should also appear for unlogged users
I can see that 2 request are being sent when opening a post see:

There should be only 1 request and the limit should be 6 (For showing 5 lastest post without current post)
This border should not appear in last post recommended:

More from username should not be centered
There should be an icon near title, similar than "Interesting People", you can use the icon headlines

Idealy we should use same class for all box title and avoid copy style.

@bonustrack made adjustments based on your feedback, also added the scroll to top on click of post navigation as @mynameisek requested.
So for the limit in the request, I had it set to 20 since posts that are 'resteemed/reblogged' get sent back in the request, is there any way just to get the post authored by user not the resteemed one?

Also added icon, and use same classname / removed duplicate styling on header title for both sidebar blocks, Interesting People and Post Recommendation titles

@jm90m we need only 6 result because we want also the resteemed ones. There is no way to get only post from author with the blockchain API, for some account like my account, you would need to paginate too much to get 5 post from me. You can change the title to "Recommended Posts".

Or "Interesting Posts" ?

Oh I see what you mean @bonustrack, so instead of the More from <username>, it will be either "Recommended Posts" or "Interesting Posts", then we should also display the author maybe in between title and number of comments. I think "Recommended Posts" makes more sense here, since the PostRecommendation components get posts that are authored/resteemed by the current author of the post that you are viewing.

Can you align Title and comment in red line?

Can you add this style to Post title:
font-size: 15px; and font-weight: bold;
And font-size: 15px; for the "100 comments"

@bonustrack updated styles as you suggested, also added the author in each post recommended, with Link to post author

alignment should be correct now too:

Sorry can you set size of title back to 16px (keep other text to 15px).
And show only 3 stories (request with limit 4)
Also link comment to post url /tag/@author/permlink#comments

@bonustrack Post title should now be 16px while all others are at 15px, limited the stories to 4, and added link to comments

We are still sending 2 time a request to the blockchain API for the same result see:

You can reproduce this when you login and refresh single post. The loading will be triggered 1 time when unlogged then, triggered a second time when logged

@bonustrack are you still seeing the 2 times request with latest commits? looks like a deeper issue was the RightSidebar component was being re-rendered over 5+ times

Yes @jm90m i still seeing 2 requests. You need to login to see them.

Also when switch from a post to another post from another author, the post recommended will not be loaded again (it will still show previous author recommendations).

@bonustrack the issue with multiple requests, should be fixed now, I don't see it on my end even when I'm logged in now. Also made call to change posts when clicking a new author post.

I still can see 2 requests:

When i'm logged and refresh a single post page, sometime i can see the post recommendation before behind logged but the block disapear and change to loading when login is success.

Here we can see properly that the content is been loaded 2 time:

Not sure if you waiting a review here but i still see 2 requests

I think that it would look better with even space above and below heading (now it has 8 pixels at top and 12 pixels at bottom.

I think that this padding is too big now:

I think that we should use padding-bottom: 0px for .PostRecommendation__link:last-of-type.

@Sekhmet alright made those changes that you suggested

I think that you missed first point from my review about uneven space around title. In my opinion it looks better with 8/8 pixels margins instead of 8/12. Could we change that? What do you think @bonustrack?

You mean this @Sekhmet ?

@Sekhmet @bonustrack ahh i see what you mean, ill make another PR for it

@jm90m just found something. Now the component "Interesting People" appear also when unlogged. It's supposed to appear only to logged users, can you revert that too?

@jm90m

@bonustrack so only show "Interesting People" component for authenticated users?

@bonustrack I hide Interesting People section for unathenticated users in my PR here: https://github.com/busyorg/busy/pull/857


Images don't save.

Tapping the save icon does nothing.
Device: Pixel 7, Android 13.
Also, there's no padding from the bottom navigation bar in the UI. There should be some spacing there.

Can you send screenshots to my telegram account, or attach them here?

I get no feedback when tapping the Save button.
It just makes a loading animation for a split second and nothing happens.
Screenshot:

Thx, will try to fix it right now

Solved, will upload release now

Thanks! I really appreciate this app.

Thanks!


Feature/proof request details styling

Didn't push all my local commits. this cleans up the FE a bit more.

I think i've addressed both of these.


Tobin new validation tests

Adding a few validation tests and clearing out related "TODO" lines from doc.

:+1:

cherry-picked and pushed to master


added link to Java port

Thanks, I've added a link to your port, without using PR as I've added some formatting.

I'll add that you should have left the original copyright intact. Translating to Java does not mean it's a new code by Dynatrace.

Hi Aleksey,
you are right, would it suit you, if I would put the original license in
combination with the Apache 2.0 license into the file Komihash4_3.java?
Komihash4_3.java includes more than just the original Komihash algorithm.
There is a lot of specialized code for hashing Java objects in a streaming
fashion.
Best regards
Otmar
On Tue, May 3, 2022 at 7:53 AM Aleksey Vaneev @.***>
wrote:

I'll add that you should have left the original copyright intact.
Translating to Java does not mean it's a new code by Dynatrace.
—
Reply to this email directly, view it on GitHub
https://github.com/avaneev/komihash/pull/5#issuecomment-1115761714, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHVCUPZH4TGWYASUAP6C3DVIC5O7ANCNFSM5U3MNUEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you can, simply add "komihash 4.3 Copyright 2021 Aleksey Vaneev", I'm not claiming any other code, of course. But the "komihash" part should be covered by a copyright notice. MIT and Apache2 licenses are largely compatible except that Apache2 license better suits collaborative projects. I do not see a problem including MIT project into Apache2 project.

@avaneev, please check https://github.com/dynatrace-oss/hash4j/commit/c440d2a3e09ff698d8410e01aa6700ea298e2d59

Thank you very much!


require("shoestring") does not work from npm package

When I run:
npm install shoestring
Then:
require("shoestring")
I get:
Error: Cannot find module 'shoestring' from '/project-dir'

Fixed with v1.0.4

Well, we forgot a main entry in the package.json, so we’ve added a v1.0.5 version with this.


Email Config and Test alerts

We have setup email receiver (Receiver in AlertmanagerConfig )for our harvester cluster,  Any idea how we can test the alerts .

@rebeccazzzz  could you help , will be appreciated

the alert will be fired when the alert condition is met.
easy way might be to negate the condition you are testing on, for example, change alert to "when vm is running", to ensure alert is generated.