running algo with poloniex exchange fails with does not support candle frequency 1T error

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: (Windows Version or $ uname --all)
Linux ubuntu 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Python Version: $ python --version
Python 2.7.12

Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
64

How did you install Catalyst: (pip, conda, or other (please explain))
pip

Python packages: $ pip freeze or $ conda list
vivek@ubuntu:~/catalyst$ pip freeze
absl-py==0.1.10
adium-theme-ubuntu==0.3.4
alembic==0.9.8
attrdict==2.0.0
backports-abc==0.5
backports.functools-lru-cache==1.5
backports.shutil-get-terminal-size==1.0.0
backports.weakref==1.0.post1
bcolz==0.12.1
bleach==2.1.2
boto3==1.5.31
botocore==1.8.45
Bottleneck==1.2.1
ccxt==1.10.1152
certifi==2018.1.18
chardet==3.0.4
click==6.7
configparser==3.5.0
contextlib2==0.5.5
CVXcanon==0.1.1
cvxopt==1.1.9
cvxpy==0.4.11
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.27.3
cytoolz==0.9.0
decorator==4.2.1
dill==<IP_ADDRESS>
docutils==0.14
ecos==2.0.5
empyrical==0.2.1
enigma-catalyst==0.5.3
entrypoints==0.2.3
enum34==1.1.6
eth-abi==1.0.0b0
eth-account==0.1.0a2
eth-keyfile==0.5.1
eth-keys==0.2.0b1
eth-rlp==0.1.0a2
eth-utils==1.0.0b1
fastcache==1.0.2
funcsigs==1.0.2
functools32==3.2.3.post2
futures==3.2.0
h5py==2.7.1
hexbytes==0.1.0b0
html5lib==1.0.1
idna==2.6
influxdb==5.0.0
intervaltree==2.1.0
ipykernel==4.8.1
ipython==5.5.0
ipython-genutils==0.2.0
ipywidgets==7.1.2
Jinja2==2.10
jmespath==0.9.3
joblib==0.11
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.2
jupyter-console==5.2.0
jupyter-core==4.4.0
Logbook==1.2.1
lru-dict==1.1.6
lxml==4.1.1
Mako==1.0.7
Markdown==2.6.11
MarkupSafe==1.0
matplotlib==2.1.2
mistune==0.8.3
mock==2.0.0
multipledispatch==0.4.9
multiprocess==0.70.5
nbconvert==5.3.1
nbformat==4.4.0
networkx==2.1
notebook==5.4.0
numexpr==2.6.4
numpy==1.14.0
pandas==0.19.2
pandas-datareader==0.6.0
pandocfilters==1.4.2
pathlib2==2.3.0
patsy==0.5.0
pbr==3.1.1
pexpect==4.4.0
pickleshare==0.7.4
prompt-toolkit==1.0.15
protobuf==3.5.1
ptyprocess==0.5.2
pycryptodome==3.4.11
pyfolio==0.8.0
Pygments==2.2.0
pykalman==0.9.5
pymc3==3.3
pyparsing==2.2.0
pysha3==1.0.2
python-dateutil==2.6.1
python-editor==1.0.3
pytz==2018.3
PyYAML==3.12
pyzmq==17.0.0
qtconsole==4.3.1
redo==1.6
requests==2.18.4
requests-file==1.4.3
requests-ftp==0.3.1
requests-toolbelt==0.8.0
rlp==0.6.0
s3transfer==0.1.13
scandir==1.7
scikit-learn==0.19.1
scipy==1.0.0
scs==2.0.2
seaborn==0.8.1
Send2Trash==1.5.0
simplegeneric==0.8.1
singledispatch==<IP_ADDRESS>
six==1.11.0
sklearn==0.0
sortedcontainers==1.5.9
SQLAlchemy==1.2.3
statsmodels==0.8.0
subprocess32==3.2.7
TA-Lib==0.4.16
tables==3.4.2
tensorflow==1.5.0
tensorflow-tensorboard==1.5.1
terminado==0.8.1
testpath==0.3.1
Theano==1.0.1
toolz==0.9.0
tornado==4.5.3
tqdm==4.19.5
traitlets==4.3.2
unity-lens-photos==1.0
urllib3==1.22
wcwidth==0.1.7
web3==4.0.0b9
webencodings==0.5.1
Werkzeug==0.14.1
widgetsnbextension==3.1.4
wrapt==1.10.11

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
algorithm should run

What happened instead?
it fails with below error
$ python test.py
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
/home/vivek/.local/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
[2018-02-23 03:49:26.871687] WARNING: run_algo: Catalyst is currently in ALPHA. It is going through rapid development and it is subject to errors. Please use carefully. We encourage you to report any issue on GitHub: https://github.com/enigmampc/catalyst/issues
[2018-02-23 03:49:29.874946] INFO: run_algo: running algo in paper-trading mode
[2018-02-23 03:49:30.402982] INFO: exchange_bundle: pricing data for [u'btc_usd'] not found in range 2015-03-01 00:00:00+00:00 to 2018-02-22 00:00:00+00:00, updating the bundles.
[====================================]  Ingesting daily price data for btc_usd on bitfinex:  100%
[2018-02-23 03:49:32.321139] WARNING: Loader: Refusing to download new treasury data because a download succeeded at 2018-02-23 03:10:42.488702+00:00.
Traceback (most recent call last):
File "minitmum_variance_with_slash_constraint.py", line 199, in
live=True,)
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/utils/run_algo.py", line 549, in run_algorithm
stats_output=stats_output
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/utils/run_algo.py", line 331, in _run
overwrite_sim_params=False,
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_algorithm.py", line 309, in run
data, overwrite_sim_params
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/algorithm.py", line 724, in run
for perf in self.get_generator():
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_algorithm.py", line 553, in get_generator
self._init_trading_client()
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_algorithm.py", line 546, in _init_trading_client
benchmark_source=self._create_benchmark_source(),
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/algorithm.py", line 573, in _create_benchmark_source
benchmark_returns=benchmark_returns,
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/sources/benchmark_source.py", line 49, in init
self.data_portal
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/sources/benchmark_source.py", line 161, in _initialize_precalculated_series
ffill=True
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_data_portal.py", line 95, in get_history_window
ffill))
File "/home/vivek/.local/lib/python2.7/site-packages/redo/init.py", line 162, in retry
return action(*args, **kwargs)
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_data_portal.py", line 69, in _get_history_window
ffill)
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange_data_portal.py", line 218, in get_exchange_history_window
False)
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/exchange.py", line 512, in get_history_window
end_dt=end_dt if not is_current else None,
File "/home/vivek/.local/lib/python2.7/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 420, in get_candles
freqs=freqs,
catalyst.exchange.exchange_errors.UnsupportedHistoryFrequencyError: poloniex does not support candle frequency 1T, please choose from: ['15T', '5T', '30T', '4H', '2H', '1D'].
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method _NonClosingTextIOWrapper.del of <_io.TextIOWrapper encoding='UTF-8'>> ignored

my run algorithm call looks like this
run_algorithm(
capital_base=1000,
data_frequency='minute',
initialize=initialize,
handle_data=handle_data,
analyze=analyze,
exchange_name='poloniex',
algo_namespace=NAMESPACE,
base_currency='usd',
simulate_orders=True,
live=True,)
 I am calling history call  to get 1 minute price data
 prices = data.history(context.stocks,'price',context.N*390,'1m')

Here is how you can reproduce this issue on your machine:

call history call with 1 minute price data in the algortim, it will fail with above error.
I tried to debug catalyst code base. catalyst/sources/benchmark_source.py in _initialize_precalculated_series, values are hardcoded to 1m
if self.emission_rate == "minute":
minutes = trading_calendar.minutes_for_sessions_in_range(
self.sessions[0], self.sessions[-1]
)
benchmark_series = data_portal.get_history_window(
[asset],
minutes[-1],
bar_count=len(minutes) + 1,
frequency="1m",
field="price",
data_frequency=self.emission_rate,
ffill=True
)[asset]

but if exchange only supports 5m and 15m how do I change that in my code?
Reproduction Steps

add history in the algorithm with 1m price data fetch call
set exchange to poloniex
run the algorithm
...

What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
`$ vivek

Here is my code
`
def initialize(context):
context.ASSET_NAME = 'btc_usdt'
context.TARGET_HODL_RATIO = 0.8
context.RESERVE_RATIO = 1.0 - context.TARGET_HODL_RATIO
 # For all trading pairs in the poloniex bundle, the default denomination
 # currently supported by Catalyst is 1/1000th of a full coin. Use this
 # constant to scale the price of up to that of a full coin if desired.
 context.TICK_SIZE = 1000.0

 context.is_buying = True
 context.asset = symbol(context.ASSET_NAME)

 context.i = 0
 schedule_function(test_data, date_rules.every_day(), time_rules.every_minute())

def test_data(context, data):
context.i += 1
 prices = data.history(context.asset, 'price',390,'1m')
 starting_cash = context.portfolio.starting_cash
 target_hodl_value = context.TARGET_HODL_RATIO * starting_cash
 reserve_value = context.RESERVE_RATIO * starting_cash

 # Cancel any outstanding orders
 #orders = get_open_orders(context.asset) or []
 #for order in orders:
 #    cancel_order(order)

 # Stop buying after passing the reserve threshold
 cash = context.portfolio.cash
 if cash <= reserve_value:
     context.is_buying = False

 # Retrieve current asset price from pricing data
 price = data.current(context.asset, 'price')

 # Check if still buying and could (approximately) afford another purchase
 if context.is_buying and cash > price:
     # Place order to make position in asset equal to target_hodl_value
     order_target_value(
         context.asset,
         target_hodl_value,
         limit_price=price*1.1
         #stop_price=price*0.9,
     )

 record(
     price=price,
     volume=data.current(context.asset,'volume'),
     cash=cash,
     starting_cash=context.portfolio.starting_cash,
     leverage=context.account.leverage,
 )

`

This is correct. Currently, in live mode, we are delegating OHLCV computations to each exchange. If an exchange does not publish the specified OHLCV timeframe, there is no simple way to force it.
This issue came up before. We're working on an enhancement which fetches trades and computes OHLCV candles on-the-fly from them. This will be available in the coming weeks.

@fredfortier Any updates on this enhancement?

Hi @calclavia , unfortunately other issues were prioritized before this feature. I hope we could address it at the near future.


Use Arc for entry hashes to avoid unnecessary duplication

Just an experiment for now.

replaced by #517


Warn on single-letter macro fresh variables

Closes #14782

I think you should also update the locations that are now giving a warning to no longer have one

My idea of this was that only %x{foo} causes a warning, not %x. It would be much less disruptive.


Update README.md

hello from 20UmnhOsQAaJJwejjI4KkT in cicd

hello from gsCFdqsXMLx1B4aPmGbAM in cicd

hello from 4GlLIrkANdeBDzslumqU4t in cicd


Requesting clarity on iot-edge device creation

This is to request clarity on a paragraph in the Configure compute section of this document. It shows
When the Edge compute role is set up on the Edge device, it creates two devices: an IoT device and an IoT Edge device. Both devices can be viewed in the IoT Hub resource. An IoT Edge Runtime is also running on this IoT Edge device.
But the document does not mention anything more about how the stack edge devices gets the keys or the implications if any.

Does that also mean the security keys / certificates to connect to the iothub will also be transferred to stack edge device in the background?
If I regenerate the keys / certificates for the stack edge device in iothub, will those changes be auto reflected immediately (provided network connectivity is good) on the stack edge device?

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

ID: 52c02d37-2a56-5b78-7001-794f2e096e53
Version Independent ID: 79b4988e-e53a-0f89-f87a-273af993419a
Content: Tutorial to filter, analyze data with compute on Azure Stack Edge
Content Source: articles/databox-online/azure-stack-edge-deploy-configure-compute.md
Service: databox
Sub-service: edge
GitHub Login: @alkohli
Microsoft Alias: alkohli

@kiranpradeep We are checking this and we will get back to you.

@kiranpradeep
I have assigned the issue to the content author for further review and update the doc as appropriate.

@kiranpradeep Thank you for your query! I am investigating to see what info we can add. Meanwhile regrading just the IoT access key, here is an article that explains how you sync those keys: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-j-series-manage-compute#sync-up-iot-device-and-iot-edge-device-access-keys
Hopefully this helps somewhat.

Closing this. #please-close

Closing this. #please-close


AssertionError: CascadeRCNN: ResNet: init_cfg and pretrained cannot be specified at the same time

I am currently training models on customized dataset annotated in COCO format. At first I trained a Faster R-CNN r50 and no error occured. However, when changing the model to Cascade R-CNN r101, I got:

AssertionError: CascadeRCNN: ResNet: init_cfg and pretrained cannot be specified at the same time
at the beginning of the training. Now I am wondering how to solve the error.

Do not set init_cfg and pretrained at the same time in your config.

Do not set init_cfg and pretrained at the same time in your config.

How do I set it so that it doesn't exist at the same time?


Add setting to render ligatures in codemirror cell editor.

As jetbrains-mono is used as the default font in the codemirror editor and this font has support for ligatures a new setting is added to enable rendering with ligatjures.
The default for this setting is off so that the current behavior  is maintained.

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

@JBraungardt sounds good, just one comment and we can ship it!
FTR we intentionally disable it by default, so that people new to Elixir are not confused with |> and similar, but an opt-in is fine :)

@JBraungardt perfect!
Looks like you need to sign CLA with the other account that you pushed. Or perhaps you can squash and force push with the first one :)

Done


Add From for RequestParts into Parts for Axum and add an option to ge…

Per our earlier discussion, I added a way to exclude routes from .leptos_routes() and implemented From Parts for RequestParts

This does introduce a breaking change, requiring the addition of None as an arg to all the examples that use generate_route_list(). I think we're OK with that?

Hm it might be worth avoiding the breaking change by adding generate_route_list_excluding() and keeping generate_route_list, which just calls that and passes None.

@gbj Not sure I understand why this Test run failed


Feedback for rubio-radio and a few suggestions

Today I finally had some time to test rubio-radio on windows.
I followed kojix2' official instructions.
First I installed VLC. Worked fine.
Then I added to PATH, this also worked. I tested via cmd.exe
and I could start vlc from the commandline afterwards.
Next I did gem install rubio-radio. This worked fine too.
(I had to interrupt it once because documentation installation
was hanging but this is a rubygems problem I think. After
I interrupted it and did it anew, it worked fine.)
Then I did "rubio" and it started.
I could see about 12 or so entries. I clicked on one randomly
on the > Play button and it started to play the radio after
perhaps 2 seconds or so. \o/
So this works fine.
I think kojix2 never intended this to be a fully fledged radio
player GUI, so please skip any recommendations to come
next.
So in no particular order:
(1) Could you add one japanese radio station by default? :D
(2) Would it be possible to add a menu entry "fetch
tons of radio stations"? I could only see like the 12
and no way to add more.
(3) Would it be possible to add/remove entries, and
perhaps add a menu entry export into yaml and json
format? And perhaps load from these? That way users
could define their own bookmarks from within the GUI,
and perhaps load from the commandline like
rubio --config-file=foobar.yml # or something like that, I did not check whether this is possible already or not

(1) Could you add one japanese radio station by default? :D

This is already supported. The list of radio stations does include Japanese stations. You just have to enter "japanese" in the filter above the table of stations, and you will see Japanese radio stations.

(2) Would it be possible to add a menu entry "fetch
tons of radio stations"? I could only see like the 12
and no way to add more.

This is already supported too. The app pulls in 10,000 radio stations by default, but they are paginated for user-friendliness (you see 20 per page). You just have to click the > button (i.e. the Next button) to see more, or otherwise enter the page number you want in the number text field.

(3) Would it be possible to add/remove entries, and
perhaps add a menu entry export into yaml and json
format? And perhaps load from these? That way users
could define their own bookmarks from within the GUI,
and perhaps load from the commandline like

This is also already supported in the latest version of rubio-radio, which was just released yesterday. You can simply "star" any stations you like (i.e. bookmark them), and then later check them out in the View menu -> Bookmarks.

Bookmarks get stored under ~/.rubio-radio/bookmarks.yml
I do not see value in allowing the user to customize the storage location at this time.

@rubyFeedback
Uploading code to Github or Gitlab is far more important than the Rubyio spec.
(The feature Andy mentioned is already implemented.)
The RubyGem server has a large number of RubyGems that you have created.
https://rubygems.org/profiles/shevy
However, these gems are not well known and few people use them. I think this is simply because they are placed in places where the code is hard to see.
This is because the RubyGem server is usually nothing more than a computer warehouse, not suitable for humans to read and think about the source code. The actual number of lines of code produced is staggering. But it is not easy to get the full picture.
To me, your mysterious behavior makes you look like a great outsider artist.
But many outsider artists go undiscovered. Only a small percentage are recognized for their value after death, and most disappear into the darkness of history without being discovered by anyone. Outsider artists, however, can become real artists if someone understands them.
That's why it's important to upload your work to Github or Gitlab.
Because it could change your life....
Translated with www.DeepL.com/Translator (free version)


get_angles return empty

Describe the bug
Similar to https://github.com/elephantrobotics/pymycobot/issues/19, but this worked for the first time but then it stopped return data after that. Restart mycobot doesn't fix the issue.
To Reproduce
Steps to reproduce the behavior:

Go to '~/pymycobot/demo'
python3 basic.py
Enter all data like input of usb, baud and debug mode. After that, get_angles() should return data, not empty.
See error

rpi@raspberrypi:~/pymycobot/demo $ python3 basic.py

--------------------------------------------
| This file will test basic option method: |
|     set_led_color()                      |
|     send_angles()                        |
|     get_angles()                         |
|     send_angle()                         |
|     send_radians()                       |
|     get_radians()                        |
|     send_coords()                        |
|     get_coords()                         |
|     send_coord()                         |
--------------------------------------------

1 : /dev/ttyUSB0 - CP2104 USB to UART Bridge Controller - CP2104 USB to UART Bridge Controller
2 : /dev/ttyAMA0 - ttyAMA0

Please input 1 - 2 to choice:1
/dev/ttyUSB0

Please input baud(default:115200):115200
115200

Wether DEBUG mode[Y/n]:n

Start check basic options

::set_color() ==> color 255 255 0

::send_angles() ==> angles [0, 0, 0, 0, 0, 0], speed 100

::get_angles() ==> degrees: []

::send_angle() ==> angle: joint1, degree: 90, speed: 50

::send_radians() ==> set radians [1, 1, 1, 1, 1, 1], speed 100

::get_radians() ==> radians: []

::send_coords() ==> send coords [160, 160, 160, 0, 0, 0], speed 70, mode 0

::get_coords() ==> coords []

::send_coord() ==> send coord id: X, coord value: -40, speed: 70

::set_free_mode()

=== check end ===

Expected behavior
It should return the value of degree data

Same issue using 280 Pi

I already send this concern to the tech dept (support at elephantrobotics dot com) email. Hopefully we get response soon.

1.What is the probability that this problem occurs? Occasionally or all the time？

1.What is the probability that this problem occurs? Occasionally or all the time？ 2.Please provide the model of the machine with the problem and the software version used (like atom's firmware version)

All the time.
myCobot 280 Pi 2020, need to check the software version but I think would be the latest one.

1.出现这个问题的概率是多少？偶尔还是一直？ 2.请提供问题机器的型号和使用的软件版本（如atom的固件版本）

每时每刻。
myCobot 280 Pi 2020，需要检查软件版本，但我认为应该是最新的。

Can other interfaces be used? For example get_coords, is_power_on, The baud rate of 280 Pi is 1000000. Is this how you initialized it?
from pymycobot import MyCobot

mc = MyCobot('/dev/ttyAMA0', 1000000)

1.出现这个问题的概率是多少？偶尔还是一直？ 2.请提供问题机器的型号和使用的软件版本（如atom的固件版本）

每时每刻。
myCobot 280 Pi 2020，需要检查软件版本，但我认为应该是最新的。

Can other interfaces be used? For example get_coords, is_power_on, The baud rate of 280 Pi is 1000000. Is this how you initialized it?
from pymycobot import MyCobot

mc = MyCobot('/dev/ttyAMA0', 1000000)

Yes, others can be used but get_angles cannot. Considering we're playing with angles here, I think this is an important feature to have.
I initialized the myCobot using this from pymycobot import PI_PORT, PI_BAUD # For raspberry pi version of mycobot.

1.出现这个问题的概率是多少？偶尔还是一直？ 2.请提供问题机器的型号和使用的软件版本（如atom的固件版本）

每时每刻。
myCobot 280 Pi 2020，需要检查软件版本，但我认为应该是最新的。

Can other interfaces be used? For example get_coords, is_power_on, The baud rate of 280 Pi is 1000000. Is this how you initialized it?
from pymycobot import MyCobot

mc = MyCobot('/dev/ttyAMA0', 1000000)

Yes, others can be used but get_angles cannot. Considering we're playing with angles here, I think this is an important feature to have.
I initialized the myCobot using this
from pymycobot import MyCobot
from pymycobot import PI_PORT, PI_BAUD # For raspberry pi version of mycobot.
mc = MyCobot(PI_PORT, PI_BAUD)

Please update pymycobot to the latest version, and add debug=True parameters during initialization to see if there is any data returned, please send me the running results
from pymycobot import MyCobot
from pymycobot import PI_PORT, PI_BAUD # For raspberry pi version of mycobot.
mc = MyCobot(PI_PORT, PI_BAUD, debug=True)
print(mc.get_angles())

Why get_angles() don't work for myCobot 280pi?

@Kakcalu13 Please provide the basic firmware, atom firmware and pymycobot version number you are using.

I am also having this issue. I first was able to use the bot and extract the angles. Now I am not. The only change is that I updated myStudio and down

loaded the latest Atom firmware. I did not flash that firmware, though, because if I press the "Flash" button I get "Please connect the machine before burning". I checked the firmware and I have version 5.1.


Failed to reconcile etcd plane: Failed to add etcd member

rancher 2.6.6, cluster rke	v1.22.10, 3 master/etcd nodes + 13 workers
We tried to add 2 etcd nodes to the cluster but it failed with: Failed to reconcile etcd plane: Failed to add etcd member [xxx] to etcd cluster
Then we removed both nodes but the cluster is still in err state: Failed to reconcile etcd plane ...
etcd looks good:
`
docker exec -e ETCDCTL_ENDPOINTS=$(docker exec etcd /bin/sh -c "etcdctl member list | cut -d, -f5 | sed -e 's/ //g' | paste -sd ','") etcd etcdctl endpoint status --write-out table
+---------------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
|         ENDPOINT          |        ID        | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
+---------------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
| https://IP1:2379 |  1a997eda827a357 |   3.5.3 |   53 MB |     false |      false |        68 |  113103289 |          113103289 |        |
| https://IP2:2379 | b5a478878e8e8d32 |   3.5.3 |   53 MB |      true |      false |        68 |  113103289 |          113103289 |        |
|   https://IP3:2379 | bd5a7f889bd7a3ab |   3.5.3 |   53 MB |     false |      false |        68 |  113103289 |          113103289 |        |
+--------------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
docker exec etcd etcdctl member list
1a997eda827a357, started, etcd1, https://IP1:2380, https://1IP1:2379, false
b5a478878e8e8d32, started, etcd2, https://IP2:2380, https://IP2:2379, false
bd5a7f889bd7a3ab, started, etcd3, https://IP3:2380, https://IP3:2379, false
`
Is there any way how to clean/reload the status of the cluster?
Thank you

@majla1 are you able to run the commands via command line to properly add the nodes? This is the UI repo so I want to be clear if this is not working on the backend, which would mean transferring this to rancher/rancher.
Rancher has seen this type of error before per https://forums.rancher.com/t/simplest-install-of-rke-failed-to-reconcile-etcd-plane/18892 -- do you have cluster.rkestate and/or kube_config_cluster.yml in the same directory from a previous attempt? As noted there, making sure the directory only contains cluster.yml should be enough to resolve this issue.

My cluster is ready now.
After more than 40 hours  Rancher started to cordon already deleted nodes:

[INFO ] [hosts] Cordoning host [X.X.X.X]
[ERROR] [hosts] Can't find node by name [X.X.X.X]
[INFO ] [dialer] Setup tunnel for host [X.X.X.X]
[INFO ] [dialer] Setup tunnel for host [X.X.X.X]
[INFO ] [dialer] Setup tunnel for host [X.X.X.X]
[ERROR] [reconcile] Couldn't clean up controlplane node [X.X.X.X]: Not able to reach the host: Can't retrieve Docker Info: error during connect: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info": nodes.management.cattle.io "c-jv6vx/m-mvkmf" not found
[INFO ] [reconcile] Rebuilding and updating local kube config
...
[INFO ] [reconcile] Reconciled cluster state successfully

Now, I'm able to add or delete any worker/master node. The question is why it took so long ...

Transferring to rancher/rancher to answer remaining question


Make Result interoperable with Lua error handling

An Ok will push the contained value, while an Err will push nil
and an error message.
Also changes the required trait for the error to Display instead of
Debug, which is more suitable for user-facing errors.
Closes #125

Thanks. R+, will merge when CI passes.


⚠ Samsung has degraded performance

In 96f65a2, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3059 ms

Resolved: Samsung performance has improved in 90940c6.


Add Zarr announcement

cc: @arliss-NF
Deadlines are very open for discussion (and can be updated after the fact as well)
~J.

Thanks, Josh, your job is posted on the board and also has a permalink at https://jobs.numfocus.org/job/2021-11-18_zarr
I removed the URL for now because it is a duplicate of the text that appears in the post, but let me know if it is important for you to keep it.

Makes good sense. Thanks.


removed misleading shebang from module

A shebang is only used when a file is executed directly from the shell (e.g. ./filelock.py). This shebang should be removed for a couple of reasons, either of which render the shebang incorrect:

The file does not have executable permissions, and even if it did, they would be removed when the file is installed.
Executing the file doesn't do anything useful (it doesn't handle __main__).

This was flagged by the RPM linter when packaged for Fedora Linux.

Thanks, adding a shebang to all my Python files became somewhat a bad habit.


Return no tiers in GET content tiers API

Fixed GET content tiers api, now returns no tiers if paid membership is not setup.

[x] There's a clear use-case for this code change, explained below
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run yarn test:all and yarn lint)

This resolves the #15759 issue, where we shouldn't return any tiers in GET api/content/tiers if paid membership is not setup by owner.
@ErisDS I'm new to this repo, I've very little to no context of your business to code terminologies.

I've used the boolean key if stripe is connected to check if paid membership is enabled or not, let me know if it's correct or needs changes.
I'm looking forward to contribute more to the project and any coding style or architectural docs would be really helpful to know the context and implementation of the features.

Hey @farhan787 - thanks for the PR! We're just having some internal discussions about the best way to fix this - sorry for the delay! It's not been forgotten about


Changelog for 10.0.1

@lefherz @jnweiger to deploy around the announcement for 10.0.1

Please add link to release notes, which informs about breaking changes important for updates

Added here https://github.com/owncloud/owncloud.org/pull/1218/commits/a87d18edf669c848b3faf93b1ea7aa7d32ea6399
Assuming the matching page will appear soon

sorry, didn't see your comments. was this too early? @PVince81

Merging is ok. It doesn't put it live.
Deploying requires another step which can be done later.
cc @jnweiger

right, that's why i thought merging was okay :) lets review it on staging.


ES6 support for val-loader / this.exec

I'm submitting a bug report
Webpack version:
2.1.0-beta.19
Please tell us about your environment:
OSX 10.x
Current behavior:
Using val-loader /  calling this.exec(es6content, this.resource); in loader context results in SyntaxError: Unexpected token import
Expected/desired behavior:
I'd have expected webpack to handle ES6 import statements (potentially with tree-shaking etc.) in similar fashion as it does in entry modules.
What is the motivation / use case for changing the behavior?
I'm trying to evaluate es6 module at compile time. More specifically render React components into static html files.
Known workarounds
I'm using babel loader first to convert imports but that eliminates tree-shaking etc.

I think this is unfair to expect this from val-loader: just use more modern Node version which support ES2015 features.

@andreypopp node does not yet support ES modules although many other features are supported

You will still need a babel-loader, maybe with an environment that has nothing but the modules-to-commonjs transform. Alternatively, you will need to webpack2 your file into a standalone module before evaluating it.
Node v6 implements everything ES6 but import/export, as nothing is yet decided on how modules will actually be loaded by import. Webpack2 just does its best guess at what would be the most forward compatible with the real thing.


docs: Add info about Envoy smoke test

Add info about Envoy smoke test script to developer docs.

test-docs


Multilingual vulnerability template

Description and why
Pentesters from english-speaking countries are maybe the only ones that doesn't need this feature.
But in other countries you will need to have a findings library in both English and your native language and some countries also have 2, 3 or more official languages.
Very often, in non-english speaking countries, you need to write pentest report in several languages so having a Multilingual vulnerability database is critical for them.
Implementation
It needs a change of the SQL tables.

A common bad workaround is to add a lang prefix in the title of the vulnerability.
Like [EN] SQL injection and [FR] Injection SQL.
This is terrible for multiple reasons.
When having multiple languages, only field containing text or sentences need to be translated, all other fields like the CVSS vector, CVE, vulnerability ID, etc. don't need to be translated and can be stored only once in the database.
Also when you edit the vuln in one language if they are not linked you often forgot to update the vuln in other other languages too.
It also possible to filter by language.
And for report you can't ask for vuln.fr.description or vuln.en.description depending on your french or english template.
Demo
It's a big long and hard to explain in details.
I invite your to deploy and test PwnDoc (https://github.com/pwndoc/pwndoc) which is the only pentest report platform I know to have a mutli-lang vuln DB. It's easy to deploy with docker-compose so it won't take long to try it.

Added Multilingual and Internationalization support.
You can translate to French editing the po file in https://github.com/1modm/petereport/blob/main/app/locale/fr/LC_MESSAGES/django.po

That's sounds crazy good, I absolutely need to test that and PR the FR translation.

Hi @1modm
Thank you so much. I Just tested this is nice and I plan to PR French translation.
But on the other end this has nothing to do with this issue.
What you did in https://github.com/1modm/petereport/commit/663a0a014ade274ad45be2d73fc8e23752aa8f7f is more related to I18N (Internationalization), it's the translation of the WebUI components in several languages so we could say Multilingual WebUI or something.
But this feature request has nothing to do about it. As the title say I was asking for multilingual vulnerability template support. As the description explained the idea is to be able to store a finding template in languages so that people daily using several languages can have their finding fields translated in several languages.

Hi @noraj, yes I was thinking on that. In 663a0a has been added translation to the webUI, but also to the templates, so if a language is selected the report template is also translated, but yes I can reopen and add a feature to decide which template language want to be used.
Thanks!

Here is what I mean in video, I'm talking about multilingual finding template (the data stored, the db schema, etc.) not the translation of the label on the WebUI (I18N):
https://user-images.githubusercontent.com/16578570/210627954-dc6a6d9c-35c2-4d48-a97f-018277a5fac7.mp4
While in PeTeReport even after last commit I can't add a vuln in FR+EN for example, I can set only one lang, and there is not way to filter the finding templates by language. The only thing is that now the WebUI lang can be changed, cf:
https://user-images.githubusercontent.com/16578570/210635386-04c658b9-4c53-4309-a414-310f8a89a3a8.mp4

@noraj that's cool, thanks! I got it. So different templates for each language and also different content for each language/template.
I will try to take a look asap.
Thanks!


Dex 207 assets from wbia

Pull Request Overview

Tidied up some junk left over from previous PR
Mostly just deleting the Annotations get all passthrough to WBIA but tidied up some trace output too

Pull Request Checklist

[x] Ensure that the PR is properly formatted

Example: All lint checks are passing

[x] Ensure that the PR is properly rebased

Example: The PR is rebased on develop (commit: <insert develop commit hash>)

[x] Ensure that the PR uses a consolidated database migration

Example: One database migration is proposed (revision <insert develop revision> -> <insert new revision>)

[x] Ensure that the PR is properly tested

Example: All automated tests are passing

[x] Ensure that the PR is properly covered

Example: The percentage of the code covered by tests has not decreased

[x] Ensure that the PR is properly sanitized

Example: No sensitive data or large content was added to this PR

[ ] Ensure that the PR is properly reviewed

/rebase


Removing annotation over interface produces corrupted ClassDeclaration

    @Test
    fun removeAnnotationFromInterface(jp: JavaParser) = assertChanged(
        jp,
        recipe = RemoveAnnotation("@java.lang.Deprecated"),
        before = """
            @Deprecated
            interface Test {}
        """,
        after = """
            interface Test {}
        """
    )

Produces:
interfaceTest {}

Thanks for pointing this out - taking a look!


Share builds using email with mailgun

added spec and action to send email using mailgun, now users can share builds using there mailgun accounts. Still needs to implement an email template and better test coverage

Coverage increased (+0.06%) to 83.8% when pulling df1ba7ed4dc98365e5a1fb05bcfa0ebdd4fafbf3 on thiagolioy:mailgun-action into f583ecf3e9b76f27bffbfe1800b27a7d5e3a1a43 on KrauseFx:master.

Thank you @thiagolioy for working on this, looks promising. I added a few notes before it's ready to merge. You are using it in your setup already? :+1:

Yes .. its working fine .. A few things to notice .. i'm using the sandbox version , mailgun has only 300 emails per day using the sandbox . I think this is enough and this approach is simpler to use than having to configure a domain on mailgun and sending emails using this configured domain as sender .
This sandbox approach only requires the user to create an account with sandbox and then he would be good to go.

Coverage increased (+0.17%) to 83.91% when pulling 585b549e37ed9a2a782097e1cfcbef9cec25802d on thiagolioy:mailgun-action into f583ecf3e9b76f27bffbfe1800b27a7d5e3a1a43 on KrauseFx:master.

did some refactoring towards what we discuss ..
This is how it looks on my project  .. (e.g.)
lane :testmailgun do
ENV['MAILGUN_SANDBOX_DOMAIN'] = '{MY_SANDBOX_DOMAIN'
ENV['MAILGUN_SANDBOX_POSTMASTER'] = '{MY_POSTMASTER}'
ENV['MAILGUN_APIKEY'] = '{MY_Api_key}'
mailgun({
:to =><EMAIL_ADDRESS>:success => true,
:message => "mail from inside a lane with mailgun"
})
end

Looks great, could you also update the Actions.md with the new action? :+1:

Coverage increased (+0.17%) to 83.91% when pulling 0c69ee938d01ee435e3d074f894af4362409ef0a on thiagolioy:mailgun-action into f583ecf3e9b76f27bffbfe1800b27a7d5e3a1a43 on KrauseFx:master.

Thank you @thiagolioy :+1: Great job :rocket:


Update gochecknoglobals

What
Update gochecknoglobals.
Why
As of leighmcculloch/gochecknoglobals#3 gochecknoglobals now handles package-level errors better by ignoring them if they have the err or Err prefix.
Note
The update was performed by running cd _linters && gvt update 4d63.com/gochecknoglobals

Thanks!


Feature request: Add a check for boolean traps

See: https://twitter.com/valueof/status/398508043349917696
Thanks!

Hi, that link no longer exists. Any chance you can write the request down here?

Hum that's kind of sad.
It has to do with this (hoping this one does not gets deleted).
Basically (quoting a quote from the aforementioned link)

it’s almost invariably a mistake to add a bool parameter to an existing function

So jhint could detect functions that only has one parameter which always gets called with boolean constants.
But thinking about that, I am not sure if jshint is able to check callers....

But thinking about that, I am not sure if jshint is able to check callers....

it would be difficult to know for certain. it would only work if the function was defined in the same file.

it would only work if the function was defined in the same file.

I'd like that :+1:


Add support for gemma models

Hi 👋 ,
It would be really great if you could add support for the Gemma model series (i.e. 2B and 7B variants, particularly the 7B is what I would like most), since I see that it is currently not supported, but it is already supported by the mainstream transformers library.

when will be gemma model supported?
thanks.


Fixes #54 old MSN addresses may start with a digit

Issue #8 details that new addresses may only start with a letter.
I have seen valid emails like<EMAIL_ADDRESS>in the wild, which can no
longer be created, but do still exist.
I altered the regular expression to start with an letter or digit.

I think, with specs it'd be better… probably in the future we'll want to drop mailbox_validator for MSN at all.


[fix][broker] If ledger lost, cursor mark delete position can not forward

Motivation
Configuration autoSkipNonRecoverableData is designed to turn this feature on if we can accept partial data loss. When a ledger is lost, the broker will still work. But now we have this problem: If a ledger is lost, consumer and producer can work, but the cursor mark delete position can not forward.
For example:

topic-1 has 3 ledgers:

{
  ledegr-1 : [1:1],[1:2],[1:3],[1:4],[1:5]
  ledegr-2: [2:1],[2:2],[2:3],[2:4],[2:5]
  ledegr-3: [3:1],[3:2],[3:3],[3:4],[3:5]
}

individual ack [1:1], [2:5], then the cursor.markDeletedPosition will be [1:1], and individualDeletedMessages has one position [2:5].
We've lost ledger-2.
High lightThen the consumers and producers can works ok. But the markDeletedPosition stay at [1:5], and even calls  unload topic will not solve this problem

The root cause is: When an unrecoverable ledger is found, the read position of the cursor is simply moved forward, but individualDeletedMessages and batchDeletedIndexes are ignored.
Modifications

When an unrecoverable ledger is found, remove the records inindividualDeletedMessages and batchDeletedIndexes.
When the managed cursor is recovered, check whether there are invalid records in individualDeletedMessages and batchDeletedIndexes and print a warning log.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

https://github.com/poorbarcode/pulsar/pull/44

It seems there are check style problems.
Error:  src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java:[97,8] (imports) UnusedImports: Unused import: org.apache.commons.collections4.CollectionUtils.
Error:  src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java:[2750] (sizes) LineLength: Line is longer than 120 characters (found 129).

Codecov Report

Merging #18620 (0274113) into master (2ebb379) will increase coverage by 35.92%.
The diff coverage is 73.91%.

@@              Coverage Diff              @@
##             master   #18620       +/-   ##
=============================================
+ Coverage     36.97%   72.90%   +35.92%
- Complexity    12043    31890    +19847
=============================================
  Files          1687     1865      +178
  Lines        128760   138439     +9679
  Branches      14003    15192     +1189
=============================================
+ Hits          47612   100925    +53313
+ Misses        74851    29496    -45355
- Partials       6297     8018     +1721

Flag
Coverage Δ

inttests
24.23% <0.00%> (-0.08%)
:arrow_down:

systests
24.98% <0.00%> (-0.10%)
:arrow_down:

unittests
72.20% <73.91%> (+40.23%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...a/org/apache/bookkeeper/mledger/ManagedCursor.java
42.85% <0.00%> (-3.30%)
:arrow_down:

...a/org/apache/bookkeeper/mledger/ManagedLedger.java
0.00% <0.00%> (ø)

...rg/apache/bookkeeper/mledger/impl/OpReadEntry.java
84.31% <75.00%> (+15.94%)
:arrow_up:

...che/bookkeeper/mledger/impl/ManagedCursorImpl.java
78.85% <76.92%> (+33.26%)
:arrow_up:

...che/bookkeeper/mledger/impl/ManagedLedgerImpl.java
81.19% <100.00%> (+32.01%)
:arrow_up:

... and 1428 files with indirect coverage changes


Linkify-it + mardown-it does incorrect url detection

Using linkify in combination with markdown-it generates incorrect url detection for the following case:
http://www.asdf.com/?4_--_88119_--_489_--_1

Linkify-it demo

Markdown-it demo

Not very familiar with the project structure, but this case is that the tokenization is adding an em block. Should it validate first if the string is a link first ?

See #580. That's a known issue, with all details discussed. Not scheduled for fix, but anyone can do PR if interested.


add ravel_multi_index

This PR adds cupy.ravel_multi_index

Jenkins, test this please

I noticed #3098 after submitting this. Should I be refactoring tests to not use numpy_cupy_raises? If so I can either do it now or as a follow-up PR.

Jenkins CI test (for commit f2657ad5b310e0b6554dbcda13f7bf0157bf0c21, target branch master) failed with status FAILURE.

The latest commit should have fixed the single CI failure, please retry

I noticed #3098 after submitting this. Should I be refactoring tests to not use numpy_cupy_raises? If so I can either do it now or as a follow-up PR.

Should be ok!

Jenkins, test this please

Jenkins CI test (for commit 601341c4680909bc02c6f339a513fe86d93bb517, target branch master) succeeded!


"undefined is not a function" in Windows

I use v0.12.3 in Windows 7 and got this error. The stack trace is as follows:
"stack":"TypeError: undefined is not a function
    at getStackTrace (C:\\Users\\USE THIS\\AppData\\Roaming\\npm\\node_modules\\node-inspector\\lib\\Injections\\NetworkAgent.js:77:18)
    at constructRequestInfo (C:\\Users\\USE THIS\\AppData\\Roaming\\npm\\node_modules\\node-inspector\\lib\\Injections\\NetworkAgent.js:167:21)
    at ClientRequest.handleHttpRequest (C:\\Users\\USE THIS\\AppData\\Roaming\\npm\\node_modules\\node-inspector\\lib\\Injections\\NetworkAgent.js:227:23)
    at Agent.http.Agent.addRequest (C:\\Users\\USE THIS\\AppData\\Roaming\\npm\\node_modules\\node-inspector\\lib\\Injections\\NetworkAgent.js:374:25)
    at new ClientRequest (_http_client.js:154:16)\n    at Object.exports.request (http.js:49:10)

In node-inspector/lib/Injections/NetworkAgent.js L77 return stack.reduce(function(stack, frame) {, stack is a string "Error". That's why it breaks.
I tried to create a small test program to reproduces it. But it's really difficult to reproduce it without deeper insight of how the inspector works.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27382462-undefined-is-not-a-function-in-windows?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

What?! How it is possible to get string in this place?!
Do you have redefined Error.prepareStackTrace in any other place?

@3y3 We use bunyan logger in our app and it redefines Error.prepareStackTrace.
Thank you for the suggestion! We'll look into the issue in this direction.


adding code of conduct from contribute covenant

implements #82
@mattstauffer the CoC must have an email address. Which email address can be added here?

Hrm that's a good question. For now, let's put<EMAIL_ADDRESS>Thanks!

Done!


feat: $ionicBackdrop Holds and $ionicLoading

Type: feat
Platform: all
$ionicBackdrop should add the following functionality:

It is possible to have -50 holds. This can make it impossible to get the backdrop to show. Should check to make sure that the hold count is never below zero.
Should have a handler to force it close no matter how many holds their may be, resetting holds to zero.

$ionicLoading should have an optional callback handler to use with duration property that is called when the $ionicLoading instance auto-hides itself. At the very least, it should emit an event.

Greetings @spectravp!
Thank you for the feature request. The humans and I will review this further and possibly add it to our Feature Request board, if we feel it is appropriate for Ionic.
Thank you for allowing me to assist you.


fix: telethon update breaking

please take a look at this, I did make some extra random changes

please take a look at this, I did make some extra random changes

can you make when uploading images/videos uploaded in telegram then in discord it upload same as in telegram? instead of uploading the file?


Fix build issue in EOS Token in llama-multiprocess

Just a simple fix to be able to run llama_multiprocess example.

Thanks!


Make HttpLexer compatible with RFC 7230 (section 3.1.2).

Specifically this addresses for the case where only a numeric HTTP status code is returned (eg. 200) and no textual reason phrase (eg. OK).  Strictly according to RFC 7230, the white space just after the status code number is NOT optional, and in fact Tomcat 8.5 behaves this way, emitting status lines like "HTTP/1.1 200 \n" (note the white space after the 200).

This is my first PR to pygments, please be patient and nice!
Context for this was that I was using HTTPie (which uses pygments for formatting and highlighting), and getting all red HTTP headers displayed when returning a successful request which happened to be served from a Tomcat server.
After digging in, I had found it unusual that the HTTP status line looked like HTTP/1.1 200 and not HTTP/1.1 200 OK, as I am accustomed to seeing the text status codes (like Not Found, Forbidden, et al.).
But when I tried HTTP/1.1 200 directly through pygments HttpLexer it was interpreted just fine, so I was puzzled.  On deeper inspection (via curl | hexdump), I saw the status line had a trailing whitespace after the status code: "HTTP/1.1 200 " (without the quotes)
Apparently in RFC 7230 Section 3.1.2, the text status is are now optional but the whitespace between the numeric code and text description is NOT optional and must be retained, even if the server chooses to write an empty status text.
The RFC reads ...

The first line of a response message is the status-line, consisting of the protocol version, a space (SP), the status code, another space, a possibly empty textual phrase describing the status code, and ending with CRLF.
status-line = HTTP-version SP status-code SP reason-phrase CRLF

Emphasis here is that the reference to "another space" is not optional or empty.
This PR makes HttpLexer compatible with any of these status line variants:

"HTTP/1.1 200 OK"
"HTTP/1.1 200"
"HTTP/1.1 200 "  (new)

The first two variants other two were already supported by HttpLexer.  Tangent: the second variant is not strictly compliant with RFC 7230 (as it lacks the required whitespace after the status code), but I would imagine encountering it in the wild enough I wouldn't remove support for it.
The third variant above is the one I have added support for in this PR, which matches the strict specification of RFC 7230 (and Tomcat's implementation) with its required whitespace after the status code.

Easy method to reproduce the issue ...
from pygments import highlight
from pygments.lexers import HttpLexer
from pygments.formatters import TerminalFormatter

print(highlight("HTTP/1.1 200 OK", HttpLexer(), TerminalFormatter()))
print(highlight("HTTP/1.1 200"   , HttpLexer(), TerminalFormatter()))
print(highlight("HTTP/1.1 200 "  , HttpLexer(), TerminalFormatter()))

@jakubroztocil, this may be familiar to you

Good catch. I missed this aspect when I was working on the PR that added support for phrase-lesses statuses (#1322).

Merged, thanks a lot for the nice commit including an unit test!


checksec: Fix deps

Fix dependencies that is required by checksec.
Previously, checksec would begin by sanitizing PATH which removes the program's ability to find binaries, i.e. cat, sed. Later in the program, checksec pointed to /usr/bin and /bin for binaries.
This commit corrects the aforementioned issues.
This is my first public contribution. Criticism welcomed :-)
Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

@Jonathan-M-C are you still interested in working on this? :)


Update laravel-tips extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Can I compile like last time @godruoyi

Wow, thank you for the quick reply @pernielsentikaer. Yes, you can compile it, but don't forget to specify the target using --target as shown below:
cargo build --release --target x86_64-apple-darwin

Because my computer has an M1 chip, the binary files compiled by default cannot run on x86 platforms. However, we can specify the target as x86 so that the binary can run on both M1 and x86 platforms.

Can you see if I compiled correct @godruoyi

Hi @pernielsentikaer, I downloaded your compiled binary and tested it on my local M1/Intel environment. It worked without any issues.
Here is my test setup:
# remove old data and binary
rm ./laraveltips*
rm ./.db3

# download
wget --no-check-certificate https://github.com/raycast/extensions/raw/3c8edf815e5f64f739e757801998db39b78d1a98/extensions/laravel-tips/assets/laraveltips

chmod +x ./laraveltips

./laraveltips --path ./ sync
./laraveltips --path ./ -o json random

I use the same test setup on my M1 and inter computer, it's work fine for me.


Precomputed language embeddings missing from 'D'

The lang_paraphrase-MiniLM-L3-v2 embeddings is not present in Split D->D (166 GB)

Ahh, I see you have them here. This should probably be added to this repo as well?

lang_paraphrase-MiniLM-L3-v2 is not included in the original dataset, because the default language embeddings used were paraphrase-MiniLM-L6-v2. You can easily try out different language models with our following script https://github.com/mees/calvin#speech_balloon-relabeling-raw-language-annotations


dart2native under Linux produces *.exe files

I was really looking forward to dart2native and so I experimented with it a little bit today. I use Linux and when I run dart2native, the resulting binary is an *.exe file. I know I can just change the name of the binary with the -o flag, but producing *.exe files on Linux is still a pretty weird standard behaviour.

Just wanted to report the same thing, looks like code attempts to name it correctly but fails somewhere:
https://github.com/dart-lang/sdk/blob/6f5aee9f7fd6519cac17e2326a13df1b13499e02/pkg/dart2native/bin/dart2native.dart

I tried to strip the resultant binary on linux and running it now gives the dart usage info, and does not run the program at all.

~/D/t/dart » dart2native hello.dart
Generated: /Users/hukendo/Documents/tmp/dart/hello.exe
------------------------------------------------------------
~/D/t/dart » ll
total 6,7M
-rw-r--r-- 1 hukendo staff   38 ноя 26 03:28 hello.dart
-rwxr-xr-x 1 hukendo staff 6,7M ноя 26 03:29 hello.exe
------------------------------------------------------------
~/D/t/dart » ./hello.exe
Hello, World!
------------------------------------------------------------
~/D/t/dart » file hello.exe
hello.exe: Mach-O 64-bit executable x86_64
------------------------------------------------------------
~/D/t/dart » dart --version
Dart VM version: 2.6.1 (Mon Nov 11 13:12:24 2019 +0100) on "macos_x64"

@sedlund
Afaik, generated file already stripped:
$ file test.exe
test.exe: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped

@sedlund
Afaik, generated file already stripped:
$ file test.exe
test.exe: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped

Yes, it shows the same on mine.  In all circumstances before this =strip= will refuse to run a file that already has been.  On these dart binaries, it doesn't seem to recognize they are and will break them.

The default .exe postfix used on all platforms might've been not the best choice, though since it is the default now and users have started relying on this, I don't think we can change the default. As mentioned on this thread, the existing -o option lets users choose a different output filename if wanted.
The resulting binary is as small as it can be and should not be modified (also not by calling strip on it). The reason why calling strip changes the binary in an incompatible way (and therefore causes change in behavior) is that the standalone AOT runtime binary is concatenated with the AOT compiled Dart application - strip will get rid of the latter. It is possible that we'd decide sometime in the future to use a different mechanism for dart2native - but for now that's intentional.
Given this, I hope it's all right if I close this issue.

though since it is the default now and users have started relying on this, I don't think we can change the default

A bug that lives long enough becomes a feature?
It's still unexpected behaviour, non-standard and unpleasant output to see on non-windows platforms. When we get cross-compilation to different platforms, how will I know if the produced file is Windows executable or Linux without using file command or running the program?

A bug that lives long enough becomes a feature?

It's not a real bug, is it? dart2native produces self-contained binaries that run just fine - even on linux one can execute a file with .exe extension.

When we get cross-compilation to different platforms, how will I know if the produced file is Windows executable or Linux
without using file command or running the program? I won't because it's all .exe.

How would you distinguish Linux vs MacOS binary (both of which don't use extensions for binaries)?
The tool that produces binaries always knows which platform the compiled file will be for and can choose whatever name it sees fit.
I understand your frustration, but the bar for doing breaking changes is high and in this case there's an easy way out by specifying -o <my-filename>.

I understand your frustration, but the bar for doing breaking changes is high and in this case there's an easy way out by specifying -o .

The volume of work to fix the breaking change is super low too.

in this case there's an easy way out by specifying -o .

Like on stackoverflow:

X doesn't work, how do I do X?
Don't do X, do Y


[#1975][FOLLOWUP]feat(dashboard): Support display the start time of server in dashboard

What changes were proposed in this pull request?
Display start time of servers within server page of dashboard.
Why are the changes needed?
Let user know the server has been restarted and show the start time.
Does this PR introduce any user-facing change?
Display start time of servers within server page of dashboard.
How was this patch tested?

@yl09099  Would you please take a look？

Codecov Report
Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 52.30%. Comparing base (5ddcc28) to head (432a094).
Report is 21 commits behind head on master.

Files
Patch %
Lines

...ava/org/apache/uniffle/coordinator/ServerNode.java
75.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1986      +/-   ##
============================================
- Coverage     52.77%   52.30%   -0.47%
- Complexity     2498     2578      +80
============================================
  Files           398      418      +20
  Lines         18135    19028     +893
  Branches       1660     1723      +63
============================================
+ Hits           9570     9952     +382
- Misses         7981     8456     +475
- Partials        584      620      +36

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

LGTM

@xianjingfeng @yl09099 @rickyma Thanks for your reply.


[Annotation] Fix printing/saving for annotations containing some non-ascii chars and with no fonts to handle them (bug 1666824)

For text fields

when printing, we generate a fake font which contains some widths computed thanks to an OffscreenCanvas and its method measureText. In order to avoid to have to layout the glyphs ourselves, we just render all of them in one call in the showText method in using the system sans-serif/monospace fonts.
when saving, we generate some images containing each line of text, then each line is transformed into a glyph for a Type 3 font, and then a field contents can be rendered in using this font. Acrobat or Chrome don't infer the appearance from the V entry, so a form appears to be empty when saved in Firefox and opened in Acrobat. Acrobat skips almost all the non-text commands when rendering a text field, it's the reason why we use this Type 3 font.

For FreeText annotations

when printing, we use the same trick as for text fields.
there is no need to save an appearance since Acrobat is able to infer one from the Content entry.

Given the sheer amount of code/complexity here, this will take me a little time to get around to. Anyway, this also doesn't seem like something we want to "rush" to land just before the upcoming 3.0 release.

Given the sheer amount of code/complexity here, this will take me a little time to get around to. Anyway, this also doesn't seem like something we want to "rush" to land just before the upcoming 3.0 release.

Yep, no worries.
The original bug is 2 years old so it can wait for few days/weeks. Take the time you need to review it.

Would it be at all feasible to split this into a couple of separate commits? I'm having a really though time trying to review this as-is, given the sheer size and complexity of the changes, and I fear that I may end up overlooking (or just not understanding) many things.

I discovered /NeedAppearances few days ago and I think I can use it here in order to avoid to have to render something when saving and it'll help to reduce the size of this patch.

The unit test failures are due a missing evaluatorOptions in the mock: I'm fixing.

The text baseline shift and font size change are because before the top padding wasn't taken into account to compute the total line height.
About 160F-2019.pdf, I printed into PDF from Firefox and Acrobat and then open them (I took this screenshot at 400%):

The position is correct and the font size is slightly different.
About issue14052.pdf, the problem different: right now we only use the field height to guess the font size, so from this point of view, it's an improvement since the text better fits into the field.
I've a WIP, locally to take into consideration the width when the field is auto-sized.

The text baseline shift and font size change are because before the top padding wasn't taken into account to compute the total line height.

 I forgot to fix unit tests.


1.0.0-b17

Tidy up some declarations
Fix basic_streambuf::capacity
Add basic_streambuf::alloc_size
Parser callbacks may not throw
Fix Reader concept doc typo
Add is_Reader trait
Tidy up basic_headers for documentation
Tidy up documentation
Add basic_parser_v1::reset
Fix handling of body_what::pause in basic_parser_v1

API Changes:

Added init() to Reader requirements
Reader must be nothrow constructible
Reader is now constructed right before reading the body

The message passed on construction is filled in

Rework HTTP concepts:

Writer uses write instead of operator()
Refactor traits to use void_t
Remove is_ReadableBody, is_WritableBody
Add has_reader, has_writer, is_Reader, is_Writer
More friendly compile errors on failed concept checks

basic_parser_v1 requires all callbacks present
on_headers parser callback now returns void
on_body_what is a new required parser callback returning body_what

Coverage decreased (-0.04%) to 97.52% when pulling f3920a321b38e0f10d0903fe12b26e91727dad6c on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.04%) to 97.52% when pulling f3920a321b38e0f10d0903fe12b26e91727dad6c on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Current coverage is 97.52% (diff: 100%)

Merging #146 into master will decrease coverage by 0.03%

@@             master       #146   diff @@
==========================================
  Files            72         73     +1
  Lines          4091       4154    +63
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3991       4051    +60
- Misses          100        103     +3
  Partials          0          0

Powered by Codecov. Last update 01f939d...37a6740

@e-fominov Please look at these changes, especially headers_parser. There's a unit test in headers_parser.cpp which shows how it is used. Its what we talked about in that other issue.

This is now possible with this branch:
/** Read a message from the stream and process it
*/
template<bool isRequest, class Stream, class DynamicBuffer>
void process_message(Stream& stream, DynamicBuffer& rb)
{
  using namespace beast::http;

  // A header parser processes just the request/response line
  // and headers, and doesn't need to know the Body type.
  //
  header_parser_v1<isRequest, headers> p0;

  // Parse the request/response line and headers.
  // http://vinniefalco.github.io/beast/beast/ref/http__parse/overload1.html
  //
  parse(stream, rb, p0);

  // The header parser owns the message headers, you can read
  // them using p0.get() or you can take ownership by calling p0.release().
  //
  message_headers<isRequest, headers> const& m0 = p0.get();

  // Do any processing on m0...

  // This function associates a Body type with the parser and
  // returns a new parser which inherits the state machine of p0
  //
  auto p = with_body<string_body>(std::move(p0), ...);

  // Continue parsing the message body into p,
  // now that we have chosen a the body type.
  parse(stream, p);

  // Complete message is available now, take ownership:
  message<isRequest, string_body, headers> m = p.release();

  // Do something with m
}

Reviewers: @JoelKatz @wilsonianb @bachase

Coverage decreased (-0.04%) to 97.52% when pulling 990846ed0ee1e6448fb9511f74ddbf9acbc41269 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Documentation preview:
http://vinniefalco.github.io/beast/develop

Coverage decreased (-0.06%) to 97.498% when pulling d6dd72c27c037cda896391aa2ceb98d78fe2e9f4 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.06%) to 97.498% when pulling 1e57447c3a13e9055956435abc4aad508dec2a94 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.06%) to 97.498% when pulling 1e57447c3a13e9055956435abc4aad508dec2a94 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.06%) to 97.499% when pulling a3e8c547b62ac2c048e6517be67821272018c009 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Top 4 commits are new

New commits look good to me.

Accidentally closed

Coverage decreased (-0.05%) to 97.504% when pulling 4e6ff0d2db63145830dce1f4425306f7c89e4edc on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.05%) to 97.504% when pulling 4e6ff0d2db63145830dce1f4425306f7c89e4edc on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

New doc preview URL
http://vinniefalco.github.io/stage/beast/index.html

Coverage decreased (-0.05%) to 97.504% when pulling 95a5c75fd1e0019ecd874f66301354a07f845a45 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.05%) to 97.504% when pulling 95a5c75fd1e0019ecd874f66301354a07f845a45 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.05%) to 97.504% when pulling 95a5c75fd1e0019ecd874f66301354a07f845a45 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

@bachase @wilsonianb I'd like to hear your thoughts on the headers parser interface and if you feel it elegantly solves the problem of reading the message in two stages.

Coverage decreased (-0.05%) to 97.507% when pulling 8417de8215101067e13e04dc90d6905bd98e0be0 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

I'm unable to reply to your comment on the header_parser design.  I'm not as familiar with real world examples doing that separate parsing, but I think it address the case in #132 nicely.

All issues addressed, rebased

Coverage decreased (-0.05%) to 97.506% when pulling 1e3543f63ed46bb1b2e698939f3cf0b1324dc180 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.

Coverage decreased (-0.05%) to 97.506% when pulling 1e3543f63ed46bb1b2e698939f3cf0b1324dc180 on develop into 01f939d68e2f6c21d41bfe5b787fbf586cdfc064 on master.


[WFLY-15435]:Move WildFly Preview to a native jakarta namespace varia…

…nt of JBoss WS
https://issues.redhat.com/browse/WFLY-15435

/retest

/retest

Overall this looks okay. It can't be merged with the change to the repository and there does seem to be transformation happening with jbossws-cxf-jaspi due to missing security upgrades.

The jbossws-cxf-jaspi is some legacy thing I don't plan to migrate to jakarta namespace and remove in the later PR after we all agree on this removal.

@jimma We should remove the jbossws-cxf-jaspi module from preview.

@jimma We should remove the jbossws-cxf-jaspi module from preview.

@jamezp  Done. Given jbossws-cxf-jaspi doesn't work in WildFly standard either and I remove it from ee-feature-patck too.


Youtube "Adblock not supported" back, won't go away until multiple refreshes

Script version
What version is the script on eg 2.9 , 3.1 ect
Describe the bug
A clear and concise description of what the bug is.
Youtube "Adblock not supported" back, won't go away until multiple refreshes
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I've updated the script to fix the detection. Please let me know if it works for u now. v5.0
also this a duplicate issue.
(https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/407)

Sorry, newer to github so wasn't sure about open issues only letting ya know lol. Now the adblock violation error has only showed up once but now ads show speeding through them & have to be skipped .-.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Coverage remained the same at 4.268% when pulling 8d9c34fe23b1dad596cb9db3d835c50e69220cdb on template-sync-1 into 5d8e8859b84817e7eb541a0150f6483970a9fa01 on master.

Coverage remained the same at 4.268% when pulling 8d9c34fe23b1dad596cb9db3d835c50e69220cdb on template-sync-1 into 5d8e8859b84817e7eb541a0150f6483970a9fa01 on master.


Why is this repo not in the slimevr organisation ?

Why is this repo not in the slimevr organisation ?

This is my personal lib I use for other projects too. Either way, I will merge it into the server soon.


Use CDK for ecs sample app setup

Issue #, if available:
Description of changes:
We use CDK to replace the bash script to set up the ECS sample app. In addition, the following changes are made:

Create a separate VPC for hosting the sample app to improve network isolation.
Place ECS services in a public subnet which only allows ingress traffic within the security group.
Place RDS database into a private  isolated subnet and use Secrets Manager to manage the access to the database.
Modify the cloudwatch agent config to replace the Dependencies with proper service names.
Use private ECR instead of public ECR to obtain images (README is updated accordingly).
Fix issues caused by regions not being specified in customers and visits services.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Place ECS services in a public subnet which only allows ingress traffic within the security group.

Could you update the PR description? I think the ECS services are in private subnet now.


Creating a cluster with kubeadm

The page Creating a cluster with kubeadm references the documentation on container runtime installation (https://kubernetes.io/docs/setup/production-environment/container-runtimes/). There the information is given that for systemd Linuxes, the cgroupDriver must be set in a configuration file that is passed to kubeadm via --config.
The documentation in Creating a cluster with kubeadm explains that it is or might be necessary to pass various parameters to kubeadm init like --pod-network-cidr or --control-plane-endpoint. However, this does not work together with the aforementioned --config parameter.
Also, regarding the recommendation to use --control-plane-endpoint for possible future HA setups, the documentation is missing the info how to add the HA DNS name of the control node to the x509's SAN fields. If that's missing, no communication to the control node will be possible. (in my case, the control nodes main hostname was k8s-control01, but for future-proving, I aliased it to k8s-control).
Then, there's more: After following the directions to install docker engine and cri-dockerd, I end up with two container runtime control sockets, so I had to add --cri-socket parameter's equivalent to the config file to explicitly point to one of the sockets.
After lots of googling I finally had all the little pieces together:
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
kubernetesVersion: v1.25.2
controlPointEndpoint: "k8s-control:6443"
networking:
  podSubnet: <IP_ADDRESS>/16
apiServer:
  certSANs:
  - k8s-control
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: systemd
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: InitConfiguration
nodeRegistration:
  criSocket: "unix:///run/cri-dockerd.sock"
---
apiVersion: kubeadm.k8s.io/v1beta3
kind: JoinConfiguration
nodeRegistration:
  name: k8s-control

TL;DR: Please add the config.yaml equivalents of the various --some-setting kubeadm parameters.

/sig cluster-lifecycle
thank you for the feedback.
from time to time we do get complains about how the documentation is organized, yet we need clarity of what has to be changed exactly. if the documentation does not work for someone we usually ask them to draft a pull request and see if we can implement the changes they have in mind.

The page Creating a cluster with kubeadm references the documentation on container runtime installation (https://kubernetes.io/docs/setup/production-environment/container-runtimes/). There the information is given that for systemd Linuxes, the cgroupDriver must be set in a configuration file that is passed to kubeadm via --config.

as long as you follow the CR page guide and the "kubeadm create a cluster" guide, the driver will be "systemd" everywhere as required by kubeadm.

The documentation in Creating a cluster with kubeadm explains that it is or might be necessary to pass various parameters to kubeadm init like --pod-network-cidr or --control-plane-endpoint. However, this does not work together with the aforementioned --config parameter.

that is true, flags are mutually exclusive with --config options. but all options that are flags are present as config options.
they can be found in the API page that is linked.

Also, regarding the recommendation to use --control-plane-endpoint for possible future HA setups, the documentation is missing the info how to add the HA DNS name of the control node to the x509's SAN fields. If that's missing, no communication to the control node will be possible. (in my case, the control nodes main hostname was k8s-control01, but for future-proving, I aliased it to k8s-control).

the CPE DNS name is automatically added in the cert SANs.

Then, there's more: After following the directions to install docker engine and cri-dockerd, I end up with two container runtime control sockets, so I had to add --cri-socket parameter's equivalent to the config file to explicitly point to one of the sockets.

containerd / crio are more recommend than cri-dockerd + docker engine, since the former projects are more actively maintained.
yes, you do need to be explicit about the socket if multiple CRs are present on the host.

kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: systemd

this is not required, because the latest versions of kubeadm default the to kubeletconfiguration to "systemd". that can be found in link in a (not so well titled) section on CR page:
https://kubernetes.io/docs/setup/production-environment/container-runtimes/#migrating-to-the-systemd-driver-in-kubeadm-managed-clusters

CPE

Customer premises equipment?


Updated xunit reporter.

Updated xunit reporter:

an errors attribute is emitted.
changed classname to report the test's parent's title to avoid repetition

so e.g. in Jenkins the tests will be grouped by "Foo" rather than individually as "Foo should do something" and "Foo should do something else"

Does this include errors in the xunit report format?  e.g,:
ttps://gist.github.com/882006

It currently logs errors in the following format:
<testcase classname="Class Name" name="TestName" time="0" message="">
<failure classname="Class Name" name="TestName" time="0" message="">
<![CDATA[Error
Error Message + Stack Trace
]]>
</failure>
</testcase>


Assert system clock is synced before starting dcos-exhibitor

High-level description
This updates the dcos-exhibitor.service unit file to assert that the system clock is synced before it tries to start Exhibitor. If the system clock is not synced when Exhibitor starts, it may successfully start but fail to join the cluster. Fixing this requires waiting for the system clock to sync, and then manually restarting dcos-exhibitor.service.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-4287 Check system clock is synced before starting Exhibitor

Related tickets (optional)
Other tickets related to this change:
N/A
Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: This isn't really testable by adding an integration test. We'd need to test this by deploying a cluster on top of hosts that take some time to sync their system clock.
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
N/A

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@jgehrcke @mhrabovcin @gpaul This PR is ready for your review.


Feat/pupil 1099/send page view events

Job Story
When I access a page with share functionality,
I want to send events to posthog
So that I can see the results of the experiment.
Implementation details
Put as much information here as possible about how to do this task
https://www.notion.so/oaknationalacademy/Share-tracking-plan-13f26cc4e1b180379bf6c664fd120a77?pvs=4

ShareExperimentPageAccessed (when user accesses page and feature flag is present)
ShareExperimentConverted ( when user accesses page via url with extra params)
store a cookie with the share-id
Don’t send either event if the exisitng cookie matches

Acceptance criteria

[x]  ShareExperimentPageAccessed
[x]  ShareExperimentConverted
[x]  lesson overview browse & canonical
[x] download confirmation
[x] lesson listing
[x]  duplicate events are not sent
[x]  tests

How to test

Go to https://deploy-preview-3012--oak-web-application.netlify.thenational.academy and accept cookies and open the console
Go to https://deploy-preview-3012--oak-web-application.netlify.thenational.academy/teachers/lessons/transverse-waves
See that TeacherShareInitiated is sent
Copy the url into a different browser window (eg. a different google instance or safari)
See that both TeacherShareIniated and TeacherShareConverted are sent (accept cookies)
See that the url in the second browser is modified to a different id
Repeat the experiment with same urls and see that the events are not sent the second time
repeat for the various pages
try with feature flags disabled in either browser and note that conversions are still sent will initiated events are not

:tada: This PR is included in version 1.634.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


target level to PID control

Fixes https://github.com/Deltares/Ribasim/issues/494.

@Huite If we move this parameter target_level of a Basin to the PID control, I propose to rename to just target (or similar generic name), as the PID controller ideally should just know about values (y-intercept and their changes). Do you agree?

Agree. Use either target or setpoint as they may be levels or flows

@Huite If we move this parameter target_level of a Basin to the PID control, I propose to rename to just target (or similar generic name), as the PID controller ideally should just know about values (y-intercept and their changes). Do you agree?

@evetion I'll change it to 'target'.
The implementation of the PID controller is not easily made that generic, variables each have their own algebraic and implementation challenges. For instance if you control flow you run into trouble with the derivative term because flow can change discontinuously over time (e.g. due to DiscreteControl). Also, in general certain Jacobian terms are solutions to implicit equations with dependencies on nodes in the vacinity, see https://deltares.github.io/Ribasim/core/equations.html#sec-PID.


LR Fonts

For the Attribute Mono font – this is an Adobe font, so you’ll need to use your Adobe license to create a web project for that one.
https://www.dropbox.com/sh/ayp6uprcjzccsd1/AABqwcdOf-FDFFBkMnTNK5qOa?dl=0

Hi @laurengerardi I'm not subscribed to any Adobe Creative Cloud services, and it seems all required fonts only can be used by subscribed users. So I couldn't get the required fonts for this project.
Can I get the final typekit link for the font resource?
Thanks

Hi- let me ask now.

Before I ask, they sent the license in the dropbox - can we use this?
https://www.dropbox.com/sh/727hkb5f3bnslyh/AAAKnqaJpOXEs6FLZaZ_8xcaa/Mont Family/Licenses?dl=0&subfolder_nav_tracking=1
Or download this? https://www.dropbox.com/sh/727hkb5f3bnslyh/AACj6-9DUZ1StwnQ_83VDj38a?dl=0&file_subpath=%2FMont+Family&preview=Mont+Family.zip

That's the license for the Mont font. I've already downloaded & used that font and everything is fine.
But there are two another required fonts from Adobe : Attribute Mono & Grotesque MT. We need to subscribe to Adobe Creative Cloud service to get that fonts.

Got it. Will ask for these 2

Hi so with the most recent changes they sent over in Figma they removed the Strain information, they also removed the use of Attribute and Grotesque fonts.
Only Mont is now being used throughout the site (which you have access to). Let me know if there are any questions


Trigger rebuilding of trento in obs

The first commit updates the package-lock.json to make it compilable in the OBS.
The second commit adds a GitHub action that triggers the rebuilding of trento in the OBS. There is a workaround, the obs services go_modules and node_modules are installed by copying of their python scripts. I didn't use wget from https://github.com/openSUSE/obs-service-go_modules/ because there's possibly a regression.

I also have one more question: how would we generate the OBS-compliant changelog?

I also have one more question: how would we generate the OBS-compliant changelog?

By a shell script, I guess. I think we should address it in the next PR.

@here I have refactored the PR wrt to https://confluence.suse.com/display/haslesforsap/Automatic+OBS+packages+updates+with+GitHub+and+GitHub+Actions

I also have one more question: how would we generate the OBS-compliant changelog?

By a shell script, I guess. I think we should address it in the next PR.

hey Aleksei, WRT this, maybe you can copy this:
https://github.com/SUSE/sap_host_exporter/blob/master/.ci/gh_release_to_obs_changeset.py

I also have one more question: how would we generate the OBS-compliant changelog?

By a shell script, I guess. I think we should address it in the next PR.

hey Aleksei, WRT this, maybe you can copy this:
https://github.com/SUSE/sap_host_exporter/blob/master/.ci/gh_release_to_obs_changeset.py
Rest of the changes mostly LGTM, I will give it a closer look as soon as I can.

The problem with tockens is that the $ obs token -o runservice will fail, because the obs cannot download the vendors from outside.

The problem with tockens is that the $ obs token -o runservice will fail, because the obs cannot download the vendors from outside.

OBS tokens are not related to the changelog script I linked above: that uses GitHub tokens, which are available within GitHub actions jobs!

The problem with tockens is that the $ obs token -o runservice will fail, because the obs cannot download the vendors from outside.

OBS tokens are not related to the changelog script I linked above: that uses GitHub tokens, which are available within GitHub actions jobs!

Ah, ok, I thought it was about that we wanted to make the whole thing by tokens.

@stefanotorresi thank you for reviewing, it's all correct that you say about the version and revision. I have changed in another branch and forgot to bring it to the PR branch.

@stefanotorresi I have refactored the PR wrt to the comments.

gh_release_to_obs_changeset.py generated the trento.changes
VERSION and REVISION are used correctly in the _service
Version: 0 in the trento.spec (it's defaulted to 0, and later set by the obs services)
echo ... removed from the github action
valudation-step is removed from the github action.

Besides, I have removed the yaml checks from the trento.spec in the second commit.


Add a Cardinal method to fetch users in a channel

For example cardinal.users("#bots") should return the users in the channel. It may throw exceptions, if for example the bot is not in the channel and therefore doesn't know what users are.
This is probably a good starting point for #8 as well.

Closed by #56


hideNavBar attribute of ionView directive doesn't remove has-header class from contained ionContent directive

Using hideNavBar attribute you can hide navBar on selected ionView as described on ionView documentation page.
Using Ionic v0.9.27 it was possible to not add hasHeader attribute to ionContent to make view look decent with navBar hidden (see example).
It's not possible with Ionic v1.0.0-beta.1 as it has removed hasHeader attribute from ionContent directive. Instead it adds has-header class to the ion-content element automatically (see example).
hideNavBar attribute of ionView directive should conform with new behaviour and remove has-header class from ion-content element.
NOTE: As a workaround you can set $scope.$hasHeader=false on view's controller to prevent adding has-header class to the ion-content element.

If I have the ion-nav-bar hidden but I have another HTML code acting as header with the class 'bar-header' then the ion-content class 'has-header'  is being removed on SECOND load of the view whreas it works fine the first time.
It seems that ionic removes the has-header class when it loads the view from cache because it sees that the ion-nav-bar is hidden, but it ignores the fact that I have another element with the bar-header class.

@lambrospetrou did you find a solution for this problem? I am seeing the exact same issue...

@lambrospetrou , @yonirab
if this is still actual:
$timeout(function() {
       angular.element(document.getElementById("content")).removeClass("has-header");
 });


KeyValue schema in Function Error

Describe the bug
A clear and concise description of what the bug is.
Use KeyValue schema in Producer
        Producer<KeyValue<Student, Student>> producer = client.newProducer(
                KeyValueSchema.of(Schema.JSON(Student.class), Schema.JSON(Student.class)))
                .topic("persistent://public/default/test-kvin2")
                .producerName("producerTest").create();

Function code:
public class PulsarFunctionTest3 implements Function<KeyValue<Student, Student>, KeyValue<Student, Student>> {
@Override
public KeyValue<Student, Student> process(KeyValue<Student, Student> studentKeyValue, Context context) throws Exception {
    context.getLogger().info("studentKeyValue key: {}", studentKeyValue.getKey().toString());
    context.getLogger().info("studentKeyValue: {}", studentKeyValue.toString());
    return studentKeyValue;
}

}
Pulsar Function log shows:
java.util.concurrent.CompletionException: org.apache.pulsar.client.api.PulsarClientException$IncompatibleSchemaException: Key schemas or Value schemas are different schema type, from key schema type is JSON and to key schema is BYTES, from value schema is JSON and to value schema is BYTES
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

@wolfstudy Could you please take a look at this issue?

Closed as stale. Please open a new issue if it's still relevant to the maintained versions.


Launching pybpod.bat

In Windows Powershell (within Visual Studio), calling pybpod attempts to launch the folder and returns an error. .\pybpod.bat does work.

You should use Anaconda prompt after cd(ing) into C:\IBL_root


Bump base OS to 20220302

Bumping Base OS to 20220302.

@guangbochen no notable changes, just try to catch up and bump OS updates: https://github.com/harvester/os2/pull/32


please support redis + tls (rediss)

SUMMARY
Redis with TLS not supported (rediss)
STACKSTORM VERSION
Paste the output of st2 --version:
$ st2 --version
st2 3.4.1, on Python 3.6.14

OS, environment, install method
Post what OS you are running this on, along with any other relevant information/

e.g. Docker, Vagrant, Kubernetes, etc. Describe how you installed ST2
e.g. one-line install, custom install, etc -->
Custom/Ansible

uname -a
Linux xxx 5.8.0-1042-aws #44~20.04.1-Ubuntu SMP Mon Aug 2 11:25:34 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce the problem
add the following to st2.conf:
[coordination]
#local redis without tls enabled works fine...
#url = redis://<IP_ADDRESS>
url = rediss://:someredispassword@myredishost:6379

Expected Results
What did you expect to happen when running the steps above?
rediss should work (ie TLS)
Actual Results
What happened? What output did you get?
2021-09-05 17:38:46,483<PHONE_NUMBER>49888 WARNING named [-] Could not load rediss
2021-09-05 17:38:46,484<PHONE_NUMBER>49888 ERROR scheduler [-] (PID=1236037) Scheduler quit due to exception.
Traceback (most recent call last):
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2actions/cmd/scheduler.py", line 126, in main
    return _run_scheduler()
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2actions/cmd/scheduler.py", line 68, in _run_scheduler
    handler = scheduler_handler.get_handler()
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2actions/scheduler/handler.py", line 469, in get_handler
    return ActionExecutionSchedulingQueueHandler()
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2actions/scheduler/handler.py", line 66, in __init__
    self._coordinator = coordination_service.get_coordinator(start_heart=True)
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2common/services/coordination.py", line 227, in get_coordinator
    COORDINATOR = coordinator_setup(start_heart=start_heart)
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/st2common/services/coordination.py", line 192, in coordinator_setup
    coordinator = coordination.get_coordinator(url, member_id, lock_timeout=lock_timeout)
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/tooz/coordination.py", line 802, in get_coordinator
    invoke_args=(member_id, parsed_url, options)).driver
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/stevedore/driver.py", line 61, in __init__
    warn_on_missing_entrypoint=warn_on_missing_entrypoint
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/stevedore/named.py", line 89, in __init__
    self._init_plugins(extensions)
  File "/opt/stackstorm/st2/lib/python3.6/site-packages/stevedore/driver.py", line 113, in _init_plugins
    (self.namespace, name))
stevedore.exception.NoMatches: No 'tooz.backends' driver found, looking for 'rediss'

Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

From what I can tell, TLS is already support with the tooz redis backend.
There is no protocol rediss, which is why you're getting the above error.  To enable TLS with the tooz redis driver you can pass redis client arguments as part of URL query string.
The available client arguments are documented in CLIENT_ARGS.
[coordination]
url = redis://<IP_ADDRESS>:6379?ssl=true&ssl_certfile=<url_encoded_path_to_cert_file>&ssl_keyfile=<url_encoded_path_to_key_file>

@nzlosh thanks! Some drivers use rediss to signify TLS so I assumed that was a standard. Thanks for the clarification! /cc


add json configuration option for tests

provide a cli argument for config.json file
parse arguments & options from config.json
ensure config.json is valid and can be required
ensure args & opts are stored back in phantom.casperArgs.raw
fixes #745

a config.json can look like:

    {
      "includes": [
        "inc1.js",
        "inc2.js"
      ],
      "log-level": "debug",
      "paths": [
        "test.js",
        "sub1"
      ],
      "post": [
        "post1.js",
        "post2.js"
      ],
      "pre": [
        "pre1.js",
        "pre2.js"
      ],
      "verbose": true,
      "xunit": "results.xml"
    }

tests can be run using:
$ casperjs test ./config.json

note that, the config file is not a key word argument, since there are no additional arguments that
you need to pass into the cli, if you provide a config.json.

@r8k any updates on making the changes requested by @n1k0 ?
This could be then merged...

Do we want to keep this issue in the 1.1 release @istr @mickaelandrieu? I vote to move to a new milestone 1.2.
I feel like this would be good for a 1.2 considering our focus on squashing bugs for 1.1.  This is something I'd be happy to pick up in the future.  Feel free to assign to me.

Agree,  let's focus on release asap :)

Ok, I created 1.2 and moved all non-bug issues previously in 1.1 there.

Archiving PR using ARCHIVE label as CasperJS, like PhantomJS, is not actively maintained for now. These PRs are from 1-5 years ago but there just hasn't been maintainers to continue the work.


Add: Metro TV [IN]

Channel Name
Metro TV
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
IN
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/IN
Languages
tel
Categories (optional)
general
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
http://www.metrotvtelugu.com/
Logo
http://www.metrotvtelugu.com/images/metro-logo.jpg
Notes
https://2nbyjxw5l53k-hls-live.qezycdn.com/metrotv/live.stream/playlist.m3u8
576p

Please update your request:

logo URL must use the HTTPS protocol

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels


clean up code

clean up code

Changes to spacing, cleaning up the code so it is more readable.
Changed images names: nxt_logos --> burst_logos
Moved Inline CSS to external CSS file


result with noise

I just used the code in your repo with

however, the generated result is filled with noise. I wonder why?

Did you test your workflow in ComfyUI before running it with this extension?

Did you test your workflow in ComfyUI before running it with this extension?

this problem is about the sdxl-base.1.0 model.


Enhance/Refactor staging marketplace apps chatflows

work in: development_capacitypool_apps_refactor

[x] Make a base sal/tool to gather common methods

Refactor apps

[x] mattermost
[x] peertube
[x] cryptopad
[x] taiga
[x] publisher with 3 chats (wiki, blog, website)

Commit_ID 85914667d13dae8f98cae522ef1db58ebd192cea , Branch development


[Bugfix] Fix PerTensorScaleParameter weight loading for fused models

Summary

Small update to fix weight loading for weight loading of PerTensorScaleParameter for fused models

/ready


Firefox version

Just an idea :)

Thanks for the feedback! It's definitely something I'd like to do, just need to find the time :)
I'm certainly open to contributions. Flagging this with help wanted in case anyone wants to contribute that addition in the meantime.

Looks like this will be possible with no extra work pretty soon :)
http://xulforge.com/blog/2016/03/porting-a-chrome-extension-to-webextensions-in-half-a-step/#comment-123898

Any news on this?


Increment version for hybridnetwork releases

Increment package version after release of Azure.ResourceManager.HybridNetwork

API change check
API changes are not detected in this pull request.