new approach for ob and bos_choch, addition of shl_forward

Hello @joshyattridge and other fellow developers, I have added much awaited faster implemantation of order block in this pull request.
While working with the library, I found few issues in the output and speed of few functions comparing to tradingview indicator smartmoneyconcepts by LuxAlgo which are as below :

swing high and lows are different in tradingview, they use only forward candles when deciding if a high or low is swing high or low for given swing_length. So I have added a new function swing_highs_lows_forward which addresses this issue.

BoS and CHoCH in the code does not provide us with all the values, only few instances were coming in output compared to all the swing_high_low and BrokenIndex column for many of them was missing which I have fixed in this one and I have added one extra column for BrokenDate which gives us the datetime when the structure was confirmed.

ob function was drastically slow and gave only active order blocks, which is not useful for backtesting large data. I have tried to increase that speed (very much faster now then previos, but still some room for improvement). Now we get all the order blocks even those which are mitigated so its lot easier to backtest them. I have added 2 new columns

ConfirmDate : datetime when structure responsible for forming order block was confirmed
MitigationDate : datetime when order block was mitigated

So the order block with mitigation date is inactive and vice versa.
I couldn't understand how OBVolume was calculated so that calculations and percentage values are not added. I will implement that as well, once its calculations are clearified.
Thank you for this awesome library and efforts in building and maintaining it.

@rafalsza If the code that you provided gives accurate results and it is also faster for large datasets, then I would recommend to use it. But if you are testing for 1 minute data of past 10years on forex pair, I would prefer little bit complexity for speed over a simple implementation. and since your code uses iterating over the whole dataframe, there is no chance it would be faster than my implementation. If there is no issue of speed, I would really appriciate your take of simplicity.

@rafalsza If the code that you provided gives accurate results and it is also faster for large datasets, then I would recommend to use it. But if you are testing for 1 minute data of past 10years on forex pair, I would prefer little bit complexity for speed over a simple implementation. and since your code uses iterating over the whole dataframe, there is no chance it would be faster than my implementation. If there is no issue of speed, I would really appriciate your take of simplicity.

1)times are the same
2024-06-21 13:42:59.961 | DEBUG    | main::157 - volumized_ob processing time (for ohlc length=2501): 10.21 seconds
2) calculation is wrong
correct:

your approach:

can you please provide me the ohlc data and output data for the same.
<EMAIL_ADDRESS>

can you please provide me the ohlc data and output data for the same<EMAIL_ADDRESS>
btc_1d.csv
ob_data.csv

Dear @CosmicTrader , @rafalsza  thanks for great work. If you are using this lib for drawing charts it is perfect but if you are up to algo trading entire lib has lookahead bias. I coulndt solwe issues and gave up just saying.

@Asite06 please can touch base explain what you mean by this lib having a look ahead bias, how are you using this lib as you should be calling the functions on each new candle passing the past X amount of candles to the function so I can't see how there is a look ahead bias.

Dear @joshyattridge i dont know if you ever used Freqtrade bot. According to this bot while backtesting it gives entire df at once so you cant use negative iloc, shift and max min without window len.
For example;
    swing_highs = future_highs == future_highs.rolling(
        window=swing_length + 1, min_periods=swing_length
    ).max().shift(-swing_length)

    swing_lows = future_lows == future_lows.rolling(
        window=swing_length + 1, min_periods=swing_length
    ).min().shift(-swing_length)

Causes bias because of negative shift. I have tested so many implamention by me even i have solve some of them i couldnt fix all. My purpose is not to blame you i am gratefull but if this library is for algo trade we must fix it. İf it is freqtrades issue please advice me better one. Thanks

@CosmicTrader,
Thank you for your contribution, can you play make sure all the unit tests pass. Then I will take a look at the changes and work towards merging these additions.

@CosmicTrader, Thank you for your contribution, can you play make sure all the unit tests pass. Then I will take a look at the changes and work towards merging these additions.

Hello @joshyattridge, sorry couldnt complete this before, I was working on other projects. In the tests, I dont know why it is failing even after changing the test script to convert datetime columns type. FYI, all the order blocks and order blocks are present in the output even if it is broken.


fix keep order in table scan is lost when remote read of PartitionTableScan

What problem does this PR solve?
Issue Number: close #7519
Problem Summary:

keep order sometimes lost.
What is changed and how it works?
set keep order to false when remote read of PartitionTableScan
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @SeaRise @windtalker

/merge


Mock The Kubernetes Client in the tests

Looking at the tests,  it seems that the Kubernetes client isn't being mocked correctly now that its API has changed.

nevermind,  this is probably ok,  closing


Interpreting output as fuzzy clustering?

Hi I'm interested in using this algorithm as an intermediate step in a pytorch pipeline.
Therefore I need the output of clustering to be differentiable with respect to the input. The actual output of this algo is the position of the representatives, which then gets converted (non differentiably) to cluster assignments via connected components for those with distance below a threshold.
Do you see a way to relax the clustering assignment such that I can differentiate through it?
Ultimately the output has to be numbers rather than indices/labels, so I'm thinking a probability of being in a cluster? (but this contradicts the fact that we can't specify the number of clusters)

Hi LemonPi,
The actual output of DCC is cluster representatives 'U'. These are completely differentiable. The whole purpose of this algorithm was differentiability and hence DCC do not assign cluster until the learning is completed.
You can plug in DCC network and use cluster representative as input to the next step in your algorithm. Again, the advantage here is you will not have to specify no. of clusters.
Let me know if this clears your doubt.

Hey Sohil, thanks for responding!
What I meant was that I know the representatives U are differentiable, but ideally what my algorithm does after clustering is to apply least squares inside each cluster. There's probably no differentiable way to get from the representatives to having cluster assignments (unless we try to fit a GMM to the representatives instead of the data points so that each point has a probability of belonging to a certain cluster - might be interesting but even if it works we lose the flexibility of not specifying the number of clusters?).
I was asking if you had any idea of how to approximate the effects of explicit cluster labels for the 'least squares inside each cluster' part of the algorithm just using the data point representatives.


fixed a typo in readme

Closing because the proposed change to fix the typo doesn't preserve original intent. 'Are' should be 'All.' It's a somewhat homophonic error


Fix for Flutter 3.7

This fixes #693 & #568
Pre-launch Checklist

[x] I have updated CHANGELOG.md with my changes
[x] I have run "dart format ." on the project
[ ] I have added/updated relevant documentation

Closing in favor of #695


LoadBalancing: Header to force Envoy to do canary only routing

Documentation is pending for this change.
Canary routing might be useful in a situation when you want to force request flow to hit canary only instances, for example, after canary deploy you might want to verify that flows are working fine.
We need to clean x-envoy-lb-hint HTTP header from external/edge requests - small change to this PR, adding here to not forget.
@lyft/network-team

I'll close this for now, will open once conflicts are resolved, etc.


Remove run journal crash test

What changes are proposed in this pull request?
Remove run journal crash test
Why are the changes needed?
Remove run journal crash test
Does this PR introduce any user facing changes?
NA

alluxio-bot, merge this please


[jvm-packages] Models saved using xgboost4j-spark cannot be loaded in Python xgboost

A similar problem was reported in this issue, which was closed without any verification. The page cited as a reason for closing without verification claims there should be no problem, yet the claim flies in the face of multiple people having experienced the problem.
Here I'll attempt to provide specific steps to reproduce the problem based on the instructions for using XGBoost with Spark from Databricks. The steps should be reproducible in the Databricks Community Edition.
The instructions in the Scala notebook work sufficiently well for xgboostModel.save("/tmp/myXgboostModel") to generate /tmp/myXgboostModel/data and /tmp/myXgboostModel/metadata/part-00000 (and the associated _SUCCESS file) using saveModelAsHadoopFile() under the covers.
The data file (download it) is 90388 bytes in my environment and begins with ??_reg_??features??label?.
The metadata file is:
{"class":"ml.dmlc.xgboost4j.scala.spark.XGBoostRegressionModel","timestamp":1499039951741,"sparkVersion":"2.0.2","uid":"XGBoostRegressionModel_e053248158d9","paramMap":{"use_external_memory":true,"lambda_bias":0.0,"lambda":1.0,"sample_type":"uniform","max_bin":16,"subsample":1.0,"labelCol":"label","alpha":0.0,"predictionCol":"prediction","skip_drop":0.0,"booster":"gbtree","min_child_weight":1.0,"scale_pos_weight":1.0,"grow_policy":"depthwise","tree_method":"auto","sketch_eps":0.03,"featuresCol":"features","colsample_bytree":1.0,"normalize_type":"tree","gamma":0.0,"max_depth":6,"eta":0.3,"max_delta_step":0.0,"colsample_bylevel":1.0,"rate_drop":0.0}}

Attempting to load the model in Python with:
import xgboost as xgb
bst = xgb.Booster({'nthread':4})
bst.load_model("/dbfs/tmp/myXgboostModel/data")

results in
XGBoostError: [01:22:40] src/gbm/gbm.cc:20: Unknown gbm type
---------------------------------------------------------------------------
XGBoostError                              Traceback (most recent call last)
<ipython-input-10-b93cf7356f83> in <module>()
      1 import xgboost as xgb
      2 bst = xgb.Booster({'nthread':4})
----> 3 bst.load_model("/dbfs/tmp/myXgboostModel/data")

/usr/local/lib/python2.7/dist-packages/xgboost-0.6-py2.7.egg/xgboost/core.pyc in load_model(self, fname)
   1005         if isinstance(fname, STRING_TYPES):
   1006             # assume file name, cannot use os.path.exist to check, file can be from URL.
-> 1007             _check_call(_LIB.XGBoosterLoadModel(self.handle, c_str(fname)))
   1008         else:
   1009             buf = fname

/usr/local/lib/python2.7/dist-packages/xgboost-0.6-py2.7.egg/xgboost/core.pyc in _check_call(ret)
    125     """
    126     if ret != 0:
--> 127         raise XGBoostError(_LIB.XGBGetLastError())
    128
    129

XGBoostError: [01:22:40] src/gbm/gbm.cc:20: Unknown gbm type

Stack trace returned 10 entries:
[bt] (0) /usr/local/lib/python2.7/dist-packages/xgboost-0.6-py2.7.egg/xgboost/libxgboost.so(_ZN7xgboost15GradientBooster6CreateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorISt10shared_ptrINS_7DMatrixEESaISC_EEf+0x429) [0x7f8941d33ce9]
[bt] (1) /usr/local/lib/python2.7/dist-packages/xgboost-0.6-py2.7.egg/xgboost/libxgboost.so(_ZN7xgboost11LearnerImpl4LoadEPN4dmlc6StreamE+0x6d5) [0x7f8941bce9f5]
[bt] (2) /usr/local/lib/python2.7/dist-packages/xgboost-0.6-py2.7.egg/xgboost/libxgboost.so(XGBoosterLoadModel+0x28) [0x7f8941d364f8]
[bt] (3) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7f895fd05e40]
[bt] (4) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2eb) [0x7f895fd058ab]
[bt] (5) /databricks/python/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48f) [0x7f895ff153df]
[bt] (6) /databricks/python/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x11d82) [0x7f895ff19d82]
[bt] (7) /databricks/python/bin/python(PyObject_Call+0x43) [0x4b0de3]
[bt] (8) /databricks/python/bin/python(PyEval_EvalFrameEx+0x601f) [0x4c9b6f]
[bt] (9) /databricks/python/bin/python(PyEval_EvalCodeEx+0x255) [0x4c22e5]

The obvious question is whether the data file output is the same as typical model output? I can't find any info on this topic. If not, what's the correct way to read models output in Hadoop format in Python?
Environment information:

OS: Debbian Linux on AWS (Databricks Runtime 3.0 beta)
Scala & Python built from master at ed8bc4521e2967d7c6290a4be5895c10327f021a

Python build instructions:
cd /databricks/driver
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout ed8bc4521e2967d7c6290a4be5895c10327f021a
make -j
cd python-package
sudo python setup.py install

@CodingCat reading your docs on using XGBoost with Spark I noticed that you stay within the MLLib environment. That works well for offline work but doesn't address online prediction scenarios. Have you had success loading XGBoost models built with Spark in other XGBoost libraries?

saved XGBoostModel can only be read within XGBoost-Spark
but if you call XGBoostModel.booster().save(), the output will be usable for other modules

@ssimeonov please see https://github.com/dmlc/xgboost/pull/2265 and https://github.com/dmlc/xgboost/issues/2115.
Regarding online prediction do you mean streaming retraining or only low latency evaluation?

@CodingCat thanks. xgboostModel.booster.saveModel("/tmp/xgbm") succeeds. This is probably worth adding to the docs...

@geoHeil I mean low-latency evaluation.

@ssimeonov maybe https://www.slideshare.net/GeorgHeiler/machine-learning-model-to-production is interesting from the Hadoop user group Vienna.
For xgb in particular see: https://github.com/komiya-atsushi/xgboost-predictor-java
In general there is a trade off between using a different (fast) code base for one off predictions vs. batch training.

the classical solution is to use PMML i.e. as outlined here http://oryx.io
more modern approaches are e.g. http://mleap-docs.combust.ml
on the other hand you do not want to have 2 different code bases https://github.com/ucbrise/clipper tries to allow for quick predictions with the original code base and offers additional features
most cloud vendors have the possibility to create an REST API from your model nearly automatically
As linked in the slides there are a lot of competing solutions / platforms out there in the  space of enterprise ML adoption. Not sure how long these will exist.
I think the approach of https://www.youtube.com/watch?v=Do7C4UJyWCM&list=PLDX4T_cnKjD2UC6wJr_wRbIvtlMtkc-n2&index=3 is particularly interesting i.e. via a DSL the departments can easily formulate their own models.

@geoHeil thanks for the info!
Re: xgboost-predictor-java, a number of people challenge the reported performance, e.g., here. PMML feels overly heavy/inflexible.
clipper & mleap are interesting. I wonder who's using them in production.

Hi ,
I am also facing the same issue of MODEL training in spark-scala and loading the model using xgboost4j  in java.
even i used  xgboostModel.booster.saveModel() but still model loading failed and throwing "Unknown gbm type" error
Please help.

@devhaufer, yeah .. this is the biggest concern because our business partners are using standalone version and we are using spark distributed version and during validation , they find more then 30% gap in predicted probability for same instance of data

for anyone facing inconsistent prediction problem, please check readme file in https://github.com/dmlc/xgboost/tree/master/jvm-packages
NOTE on LIBSVM Format: section

What if we do not have data in libsvm format both for training and scoring. I loaded the data in dataframe from hive table and use trainWithDataframe

@sgatamex how many data points you have and how many workers you set? did you ever try to reduce the worker number and check again?

Yes , reduce the workers to 1 , I have 2  m lillion rows and 700 columns.
I will share the code in some time
On Apr 25, 2018 9:58 PM, Nan Zhu<EMAIL_ADDRESS>wrote:
@sgatamexhttps://github.com/sgatamex how many data points you have and how many workers you set? did you ever try to reduce the worker number and check again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/issues/2480#issuecomment-384513219, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOV2IMhMwpJXuYjHaxmkJAcBZUeD83Dyks5tsVQJgaJpZM4OLx6G.

Bumping this for the newest released // refactor version published 8 days ago.  I tried something like the following:
xgboostModel = new XGBoostClassifier(paramMap).fit(train_df) xgboostModel._boosted.saveModel("/tmp/xgbm")
But this doesn't work as ._boosted is private.
Any advice is appreciated

@beautifulskylfsd For XGBoost-Spark users, it doesn't make sense to expose internal variables to users. But I think your requirement is reasonable, what about add a function exportToLocal which can export the internal booster and save it? cc @CodingCat

I think it's reasonable to have another method for export XGBoost-formatted model,

I am not that familiar with scala, but added the following, which seems to compile and run successfully:
def exportToLocal(fpath: String): Unit = {     _booster.saveModel(fpath) }
However, I am running into a confusing problem:
I can only save to /tmp folder, but after I run saveModel no files appear in my master node /tmp.  Nothing appears to be saved.
I tried changing the directory to /home/ or something else, but the permission is denied.
Forgive me if this is a basic question -- help is very appreciated.

Hi ,
I am also facing the same issue of MODEL training in spark-scala and loading the model using xgboost4j in java.
even i used xgboostModel.booster.saveModel() but still model loading failed and throwing "Unknown gbm type" error
Please help.

@sgatamex I meet the same problems.Have you fix it now?

@sgatamex

What if we do not have data in libsvm format both for training and scoring. I loaded the data in dataframe from hive table and use trainWithDataframe

I meet the problems, Have you fix it ?

@ssimeonov xgboostModel.booster.saveModel("/tmp/xgbm") succeeds, However, when python's booster loaded successfully , the probability predicted by the spark's booster model is not the same as the probability predicted by the python's booster model even on the same instance. Do you facing this issue??

have you fix it? i also face this problem... thanks


Enhancement: Houdini: Allow using template keys in Houdini shelves manager

Changelog Description
Allow using Template keys in Houdini shelves manager.

Testing notes:

add shelves or tools wile using template keys
check in houdini for their existence

I have tested in Houdini. But for some reason the shelf doesn't show up on the shelf menu.

okay, here's what happens when creating a new shelf:

use shelf set path if exists and ignore everything, you should find it when clicking the + sign

Note that shelves manager ignores the set name in this case (which is a bug here)

create a shelf with the given shelf name if not exists and shelf set name and add the given tools

Note that it will save these data in the default shelf, so you may need to clean it.

your configuration should be split into two like this:

But I included the optional path shelf_set_source_path, the shelf menu doesn't show up in the list of shelves.
I need to create the shelf manually and named the shelf so that the script would be loaded in the shelf.

what about updating the algorithm of shelves manager as follows ?

if shelf_set_source_path only exists, then add it as a shelf in Houdini
if tools_list are provided without shelf_set_source_path, then create shelf with the given name in the default shelf.
if tools_list and shelf_set_source_path are provided, then create a shelf with the given path and add these tools to it. (however, I believe TDs can just create a shelf regularly then rely on the first case specified above.)

This is similar to the way how the shelves in maya. so I agree that we should do what you suggested

I added an issue to track it
https://github.com/ynput/OpenPype/issues/5738

@BigRoy  Could you have a look? I'll appreciate it.


Maxwell filter does not update dev_head_t.

When passing an array as the destination to maxwell_filter, the dev_head_t is not updated. This prevents concatenating epochs from different runs. Example.

You have st_only=True, the destination has no effect / the data are not transformed. So no bug here


Make UnityContainers fit for usage with .NET Core AssemblyLoadContexts

What's the problem?
When using Unity 5.11.7 for resolving types inside an AssemblyLoadContext, these type instance are getting cached by the IUnityContainer object.
Thus it is not possible to unload the AssemblyLoadContext since there is a dangling reference around.
Why do I do this?
Because I want to implement a Plug-In-System using Unity which resolves arbitrary Types in .NET Core.
How to solve this issue?

One may call the Dispose method of the IUnityContainer destroying all information on registered types. [This option is terrible for me.]
Add a flag to the resolve method to NOT cache the type passed to the method.
Abother way may be to use a child container, but I found out, this also caches the Type inside the parent container using a InternalRegistration object. Moving the registration of the type up to the child container will solve the issue. [This option is way better and very acceptable, since then I will have to hold only the child container and the context. First disposing the container, then the context will solve my issue.]

Problems

How are second-, third-, ... nth-order resolves handled and cached?

Extras
I created a minimal example to show the issue. https://github.com/sxleixer/UnityCachingMinimalExample

Interesting idea, let me think about it


Dependency Diagram not available

Are we sure dependency diagram are still available in Visual Studio? This choice no longer seems to be available with the latest two versions.
Whats new in 2017
I have Visual Studio 2022 Enterprise edition with these two components installed.

Code Map
Live Dependency Validation

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

ID: 6db0df9a-ef09-a374-d289-9beda002a71d
Version Independent ID: 2fcc9ad1-f65f-b242-ef0b-3a128ecd23a6
Content: Create dependency diagrams from your code - Visual Studio (Windows)
Content Source: docs/modeling/create-layer-diagrams-from-your-code.md
Service: visual-studio-windows
Sub-service: modeling
GitHub Login: @mgoertz-msft
Microsoft Alias: mgoertz

I'm afraid I'm not following. What choice is no longer available? The screenshot shows the New Dependency Validation Diagram command, which indicates it's installed.

@seawerst
We'll close this issue for now, but if you can show us what exactly you think is missing here, we can take another look. Thanks!


Use AsyncContextGroup instead of AsyncExitStack in the ComponentManager

This way the components are terminated concurrently rather than in
sequence.
This makes for a better user experience as the whole shutdown process
now takes just a few seconds instead of ages, makes manual testing a lot
less time consuming when one needs to restart trinity frequently, and
should also shave off some time from our integration tests.

@pipermerriam this new version re-raises exceptions and doesn't depend on aiotools


Random Crashers With Skyrim Together

I use this mod with skyrim together and a lot of the times it crashed on loading (i think i needed a save without any other mods) but i managed to fix this, the main problem is that when i pick up some items it just crashes, i don't get what it is

it seems to crash whenever i take an item that is worn by a corpse, mainly in the moment where an item should be removed from the actual in game corpse

Thanks for the report. Could you be a bit more specific about reproducing the bug? Is the item added to the wheel before it's removed from the corpse?

ok, so those sare the prerequisites:

Install mod skyrim together reborn (i'm usually the host of the server too but even if i don't run it it still crashes)
Install mod the v0_0_5 of the mod menu linked in the last patreon post (it also happens with the older versions)
Install mod address libraries for SKSE
Install mod skyui 5_2_SE (i can't seem to assign the slots of the wheel menu without this mod, but i like skui so it's fine)
Install mod skse 64_2_02_03
don't know if this matters but i'm playing in italian

how to replicate:
my specific case

i'm in whiterun
go up to the vendor or a guard
kill them
loot them: either with r-key (loot all) or by selecting the single items
crash
in this case it seems a bit random the crash, it always happens whenever i loot, but it's inconsistent the problem is only when i loot otherwise it works perfectly.
i know it's the wheeler because i have tried to replicate without the mod installed and it doesen't crash

generic case

go up to any npc
kill them
loot them
crash
as i said before the crash seems a bit random but it always happens on the looting screen immediatly when i loot an item

i would give you a more detailed crash log but all the mods i've installed for a crash log don't really give much info
also i've tried to build the mod but the tutorials i found online don't work with this repo, could you link me a guide on how to build and debug your mod? i'm a software developer but i don't really have any experience with modding skyrim.
also when i shift the mods around (adding or removing them) i need a fresh save to load (without any mods) if i want to play with the wheel menu (i will open up another issue for this as it's a bit off topic even tho it's still a crash) but this has a simple and consistent workaround so it's not a big deal.
hope to be helpful, and thank you for your work, time, and attention

i usually use other mods too but those are the bare minimum to make wheeler work

any luck reproducing the bug?

any luck reproducing the bug?

Hi, thanks for the detailed report. I'm busy implementing other features for wheeler now; but your report should give me a really good head start. I need some other information if you could:

Does the crash happen when you take items from chests, or buy items from vendors?
Does the crash happen when you pick items from the ground?

It could be really helpful if you provide a .NET script crash log.

I'm still not really sure where Wheeler could cause the CTD. None of its functions interacts with the loot menu IIRC.
If you wish to build the plugin, look for the setup instruction under https://github.com/D7ry/TemplateProject_NG but use this repository for building.

I've installed the new pre release version, and the problem still stands
the crash also happens when:

Buy items from vendors
loot from dead body

the  crash does not happen when:

i take items from chests
i take phisical items from the world (like baskets, plates, cups, ect)

doesen't seem to happen when i steal but it could be the random factor, i've not tested it a lot since i always get caught.
Does the mod have any other requirement i need to install?


winget does not create a links for portable packages in user scope

Brief description of your issue
winget install -h --accept-package-agreements --accept-source-agreements Rclone.Rclone yt-dlp.yt-dlp Gyan.FFmpeg lycheeverse.lychee Haali.WinUtils.lswitch
After doing this my Links folder are still empty:

Installing packages with sudo and scope=machine makes links appear in global directory (C:\Program Files\WinGet\Links)
Steps to reproduce

Install latest stable/preview build of winget.
Do winget install -h --accept-package-agreements --accept-source-agreements Rclone.Rclone yt-dlp.yt-dlp Gyan.FFmpeg lycheeverse.lychee Haali.WinUtils.lswitch
Go to %LOCALAPPDATA%\Microsoft\WinGet\Links
No links, PATH is also not updated.

Expected behavior
Links should be created.
Actual behavior
Links are not created.
Environment
❯ winget --info
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Symlinks can only be created if you are running the install as admin or if Developer Mode is enabled. When neither of these are true, the folder to the executable should be added to the path

Yeah, i forgot that symlinks need admin rights, anyway, most packages are not added to PATH, even after removing them and installing again.


Link as an array of href

It's possible to have an array of embedded resources, it would be great to have the same thing for links :
{
  _links: {
    something: [{
      href: '/something/1'
    }, {
      href: '/something/2'
    }, {
      href: '/something/3'
    }]
  }
}

resource.$href('something') // => ['/something/1', '/something/2', '/something/3'];

Fixed in V 2.0.


Use babel-preset-es2015-node6 instead of es2015

Thanks!

Looks like I messed up something with this PR
https://travis-ci.org/amilajack/popcorn-time-desktop/builds/146758839#L475

Should we temporarily revert the changes in the release branch?

I think we have to
See https://github.com/chentsulin/electron-react-boilerplate/issues/275
Sory for not investigating this thoroughly

No worries! PR to revert?

PR's coming


New code will miss the first row when sequence changes

See https://github.com/Otter-Taskification/pyotter/blob/dev/otter/db/connect.py#L58-L62
The else block doesn't do anything with the current row after row["sequence"] changes, which will lead to some tasks being missed out when there are multiple sequences in a parent task.

Resolved by https://github.com/Otter-Taskification/pyotter/commit/7f4dcf3533825a71f6d3af25830960d7299ad2e7


power: system power management sleep duration

Is your enhancement proposal related to a problem? Please describe.
When going into low power states (non deep sleep), the system relies on the SoC specific function sys_set_power_state(enum power_states state) to go into sleep.
The calling function relies on the SoC function to go into sleep for the given time and will resume normal execution right after calling it.
However the SoC function does not have any information about how long to go into lower power modes for, since the time is not passed to the function.
Currently the best assumption that can be done is that for the given sleep mode the device needs to be sleeping for at least CONFIG_SYS_PM_MIN_RESIDENCY_SLEEP_X ticks. This defines the minimal threshold for when to go into a specific sleep mode X.
This will cause the device to always wake up earlier than it needs to and waste power.
Describe the solution you'd like
The number of ticks, the system is allowed to sleep for is passed to the calling function  _sys_suspend(s32_t ticks).
The easy solution would be to pass ticks also to sys_set_power_state.
Most sleep implementations will probably utilise the internal RTC to wake up so converting the ticks to a time in milliseconds would probably make more sense so that the SoC specific implementation does not need to worry about what a system tick zephyr uses.
milliseconds = ticks * MSEC_PER_SEC / SECS_TO_TICKS;
So I would suggest to change the function to void sys_set_power_state(enum power_states state, u32_t milliseconds)
I would be interested in what the zephyr developers think about this solution or If there is maybe a more elegant way that I am just overseeing here.

CC @andyross @pizi-nordic

I acknowledge the problem (see https://github.com/zephyrproject-rtos/zephyr/issues/14306) however in my opinion the sys_set_power_state() is not a right place to implement this feature.
The proposed solution will make the SoC code responsible for:

Managing timer used to wake-up from low-power mode.
Taking under account potential wake-up latency and scheduling a timeout earlier to mitigate it.

I think that the first item is the most problematic: In low power mode you might loose context of default system timer (like systick), which you have to restore basing on the time counted in the RTC or other peripheral which tracked time while system was suspended.
I think that the better place is to implement this feature is the system layer, especially if you take under account a fact that the RTC used for wake-up could be external device located on SPI/I2C bus and the OS should must advance system timer after wake-up.

Oh yes, I see your point.
Having a timer implementation trigger a wakeup gives us much more flexibility, especially when taking external wakeup sources into account.
Realising that my proposal really makes no sense, thank you for the clarification!


Investigate eclipse+command url handler

Apparently eclipse since 2020 June have eclipse+command url handler to run arbitrary commands similar to idea.
See https://rtist.hcldoc.com/help/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-linkhandlersprefs.htm
https://bugs.eclipse.org/bugs/show_bug.cgi?id=530835
And https://twitter.com/mickaelistria/status/1418358164928483330?s=21

I did try this. While normally if I go to terminal and  write
open eclipse+command://org.eclipse.ui.window.preferences?preferencePageId=org.eclipse.ui.browser.preferencePage  it does not work but if I try from the browser it  works . I am stills looking at it, trying to figure out how to  make it work from Terminal directly.

I tried to search a lot on this but the problem is I can't find the documentation/reference for the arguments we provide here .
eclipse+command://args There's just the same exmaple available everywhere(eclipse+command://org.eclipse.ui.window.preferences?preferencePageId=org.eclipse.ui.browser.preferencePage).

One another example I could find was to clone a repository here: https://www.screencast.com/t/lVKvUaxu5fMl .
Apart from this I can't find much on that. There are https://www.eclipsecon.org pages but they only have the intro .
It'd be helpful if you could suggest me other places/methods to search .

If this is still open I would like to work on this issue, can anyone assign this to me!

If possible please eloberate this issue


BMP format 1 - BI_RLE8

Research if there is a way to read a format 1 BMP. According to Wikipedia:
| BI_RLE8 | RLE 8-bit/pixel | Can be used only with 8-bit/pixel bitmaps
Or just find a way to disable compression in imageMagic conversion on the web-service side

Disabled compression on cale.es side. Would be nice to get RLE bitmaps but there are another priorities right now


Move files/shared/** into feature-specific directory structure

In accordance with the Angular style guide, move files in files/shared into feature-specific folders. See Angular's application structure guides.

Superseded by DX.


[iphone] Add note about recent security fix to old apple devices

The company also released a patch update to iOS 12, version 12.5.2, so that iPhone 6, iPhone 5s, third-generation iPad mini, first-generation iPad Air and the sixth-generation iPod touch users can also benefit from the security fixes.

Available for: iPhone 5s, iPhone 6, iPhone 6 Plus, iPad Air, iPad mini 2, iPad mini 3, and iPod touch (6th generation)

Ref: https://9to5mac.com/2021/03/26/apple-releases-ios-14-4-2-and-ios-12-5-2-with-security-bug-fixes/, https://support.apple.com/en-us/HT212257
Don't think we should mark these devices as supported, but thought having a note might be relevant. Thoughts?

Don't think we should mark these devices as supported, but thought having a note might be relevant. Thoughts?
It is a good addition. I think this does not happen often so the area at the bottom is okay. -> merge


Enable operator scalar multiplication from left side in quantum_info

What should we add?
Implement __mul__ method for class qiskit.quantum_info.operators.MultiplyMixin.
Operator class can't execute left scalar multiplication.
For example,  operators class should be able to execute both -1j * Op and Op * -1j, but it cannot the latter now.
So in order to calculate Op * -1j, __mul__ method need to be used.

For context: this was originally a design choice when the operations were first added in #5617, because at the time * was overloaded twice, once with dot.  Since #7291, that's no longer an issue, and similar to #7502, we're now in a position to allow this re-definition.

Closed by #8007.


Support Fine Grained Audience AAD Token in storage SDKs

Library or service name.
Azure.Storage
Is your feature request related to a problem? Please describe.
.Net SDK is using a hard coded scope/audience when acquiring an AAD token.
https://github.com/Azure/azure-sdk-for-net/blob/d1ab8677aa2e78ee1568c57cc75bf990855f34e8/sdk/storage/Azure.Storage.Common/src/Shared/StorageClientOptions.cs#L21
The hard coded audience "https://storage.azure.com" is general and the generated AAD token can apply to any accounts and any services (blob, queue, table). The recommendation is to use a fine-grained audience like https://account1.blob.core.windows.net, which can be applied only for account1 and blob service.
Can we have a feature to customize?

@schaabs

Looks like a thing we might have to add?
https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-app?tabs=dotnet#azure-storage-resource-id

@kasobol-msft  Is there something missing in Azure.Identity or Azure.Core that prevents Storage from allowing this granularity?

@christothes I added you to relevant email thread. @schaabs may know more about Azure.Identity plans for this feature.


4chan Pass?

Hi, I was just wondering if there is or will be support for 4chan passes.

I don't have an 4chan pass but I was wondering about this too.

I can implement it if you give me one.

I'll email you my one that you can use for this.

Ok, I've implemented id. Download the latest extension and check it.

Cool, works, thanks.


Display ip address at startup with led matrix

Hi,
I am in the process of making a clock. I took your version with the "paint" functionality and the mqtt options because I think it opens up interesting perspectives!
I was thinking about a function to display scrolling text using the LEDs as a matrix.
It would thus be possible to display the IP address of the clock at startup, for example. It would be really very practical to know if it is in AP mode or if it is connected to the local network and in the latter case, to have the IP address to connect to it without having to plug in a USB cable to know it with the serial monitor or having to look for it on the box.
The function could also be used to display a scrolling message sent via an mqtt request. We could imagine programming messages on Home Assistant for events (happy birthday, merry Christmas, etc.)
But I admit that I am not comfortable enough with programming to implement this development...

Not sure if we can easily display every ip address on each faceplate.
In  AP mode your browser should automatically redirect to the wordclock webpage.
Once connected to your wifi, I think the clock should be reachable via the wordclock.local hostname (with default settings).

Local domain doesn't work with all routers, but it's definitely worth trying :) On the other hand, routers/boxes all provide a way to list connected devices so you should not need to use serial to discover the IP anyway.
A generic scrolling text / ticker feature over mqtt is a logical next step after paint mode. I just lack the time to work on that 😅
After that, showing the IP after connection would be doable. Generally speaking having some info during boot could be cool. It is rather niche though, as normally you'd only need that once. A generic text ticker however could be nice for home automation purposes.

Thanks for taking the time to respond !
Indeed, the display of the IP address should only be used at startup, which should be rare, however, the generic scrolling text / ticker feature over mqtt will be a real plus :-p

Generic text scroller feature is now available :)
https://github.com/t0mg/wordclock/blob/main/software/UsersManual.md#text-scroller

Feature added in a83c5e8


Add X-SAMPA command

Adds a command to convert from X-SAMPA to IPA Unicode.
Particularly useful in conjunction with a buggy /syllables command ;)

The only thing I'm not a fan of is the series of try-excepts.  You could check if the key is in the dict instead like below.
if remaining[0:4] in XSAMPA_LOOKUP_4:
    output += remaining[0:4]
    remaining = remaining[4:]
    continue
elif ...

But thats just be being pedantic and I'm not sure what the others prefer.
Otherwise, lgtm

What about with a temp variable?
if mapping := XSAMPA_LOOKUP_4.get(remaining[0:4], None):
    output += mapping
    remaining = remaining[4:]
    continue

I initially discounted the above solution because of nesting, but forgot to reconsider it when I learned that nesting wouldn't be an issue. I'd be happy to get rid of the try catches.
I prefer the temp variable over hitting the dict twice, but I'm happy to do either.

Yeah that looks good to me, it's just nicer to read 👌

I like the new implementation. A doc string would be nice for the function.


Using elapsed on a string field in a subquery sends blank values

InfluxDB version: 1.3.6
Bug: Using the ELAPSED function inside a subquery while specifying a field containing string values sends back a column 'elapsed' containing only blank values. Using the ELAPSED function on a field containing numeric values works as intended.
Example:
The visits table contains a numeric field duration, a string field device and a tag zone.
> SELECT elapsed("device",1d) FROM "visits" GROUP BY "zone"
name: visits
tags: zone=Zone_1
time                elapsed
----                -------
1434440322000000000 1
1434440603000000000 4
1434440734000000000 2

name: visits
tags: zone=Zone_2
time                elapsed
----                -------
1434440636000000000 3
1434440655000000000 0

> SELECT "elapsed" FROM (SELECT elapsed("device",1d) FROM "visits" GROUP BY "zone")
name: visits
time                elapsed
----                -------
1434440322000000000
1434440603000000000
1434440734000000000
1434440636000000000
1434440655000000000

Yet, the following works:
> SELECT elapsed("duration",1d) FROM "visits" GROUP BY "zone"
name: visits
tags: zone=Zone_1
time                elapsed
----                -------
1434440322000000000 1
1434440603000000000 4
1434440734000000000 2

name: visits
tags: zone=Zone_2
time                elapsed
----                -------
1434440636000000000 3
1434440655000000000 0

> SELECT "elapsed" FROM (SELECT elapsed("duration",1d) FROM "visits" GROUP BY "zone")
name: visits
time                elapsed
----                -------
1434440322000000000 1
1434440603000000000 4
1434440734000000000 2
1434440636000000000 3
1434440655000000000 0

The problem seems to be exclusive to the ELAPSED function, as other functions such as COUNT worked properly in both cases.

I'm going to check the cause, but this appears to be fixed in v1.4. I'm not sure why yet.

It looks like this is fixed in 1.4 from this commit: https://github.com/influxdata/influxdb/commit/0ef94e0cf06f0a776e713ec3cb462df62dcbe9b2#diff-187b262c5908de7e030346b970b398c3
If you notice the part that mentions elapsed, that's the code that fixes it.


Feature / Queue

Added queue for sending mails.

Codecov Report

Merging #116 (6efbf73) into master (e5eb1bf) will decrease coverage by 0.05%.
The diff coverage is 97.95%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff              @@
##             master     #116      +/-   ##
============================================
- Coverage     99.42%   99.37%   -0.05%
- Complexity      888      911      +23
============================================
  Files           151      154       +3
  Lines          3105     3181      +76
============================================
+ Hits           3087     3161      +74
- Misses           18       20       +2

Impacted Files
Coverage Δ

app/src/Service/Mailer/Mailer.php
96.15% <90.00%> (-3.85%)
:arrow_down:

app/src/Service/Mailer/PayloadSerializer.php
95.00% <95.00%> (ø)

app/src/Bootloader/MailerBootloader.php
100.00% <100.00%> (ø)

app/src/Controller/MailsController.php
100.00% <100.00%> (ø)

app/src/Database/EntityHeader.php
100.00% <100.00%> (ø)

app/src/Database/User.php
100.00% <100.00%> (ø)

app/src/Database/Wallet.php
100.00% <100.00%> (ø)

app/src/Jobs/SendMailJob.php
100.00% <100.00%> (ø)

app/src/Mail/EmailConfirmationMail.php
100.00% <100.00%> (ø)

app/src/Mail/ForgotPasswordMail.php
100.00% <100.00%> (ø)

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix: using AtomicUsize instead of AtomicU64

AtomicU64 is not available in all targets and platforms.

Thank you for your contribution!


[docs] Cookbook

It would be great to have a cookbook with some recipes.

Authentication (and Users)
File upload
Matching full paths (discussion)
AJAX requests in WebTestCase (discussion)
overriding services
integrating libraries / Symfony2 bundles

Please suggest more.

Where to put cookbook entries? Simply to Usage? Or create new pages?

I'd make a new section with one subpage per recipe.

http://silex.sensiolabs.org/doc/cookbook/index.html

Closing this old issue.


Kruskal's Algorithm

Hi @mayankjv , I appreciate your efforts to contribute to this repo. But currently, codes must be written for only those algorithms which have an article in the website. As there's no article for Kruskal's algorithm yet, I will put this PR on hold. I will review this once an article is published (which shouldn't take long) :smile:

Thanks for your work here Mayank. I'm closing this PR as there's no scope of Kruskal's in near future.


gh-1400-ascii-logo

Codecov Report

Merging #1401 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1401   +/-   ##
==========================================
  Coverage      65.74%   65.74%
  Complexity      1643     1643
==========================================
  Files            706      706
  Lines          23060    23060
  Branches        2923     2923
==========================================
  Hits           15161    15161
  Misses          6712     6712
  Partials        1187     1187

Continue to review full report at Codecov.

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


status progress incorrect

Normally vim user will want to know when will it be possible to start coding (The moment rust-analyzer ends its work), but currently with coc.nvim and coc-rust-analyzer it's still not clear.
The progress displayed finishes very quickly but even it finished, I still didn't see any completion and inlay hints.
Often I need to wait for 10 seconds to be able to see inlay hints & completion, before this, any request to rust-analyzer will return a timeout error.

Hard nut to crack -- it's unclear how to formulate the notion of progress in a fully lazy system.


Cursor Tracking is laggy when moving window

When moving the window, the movement doesn't match the cursor movement. It is lagging behind. Almost like a scaling issue.
https://github.com/FireCubeStudios/Run/assets/89873259/b28b80f2-70a8-4663-b6d8-fbe2fbf6d4ab

ye sit is scaling issue


On Linux vm, Import-AzApiManagementApi parameter SpecificationPath value returns "Import-AzApiManagementApi: File 'xyz.json' does not exist".

Description

Description of Feature or Work Requested

I am using dpcli on linux machine to use the Import-AzApiManagementApi cmdlet for importing OAS document to Azure Api Management portal. on providing the SpecificationPath parameter, which is similar to following:
/home/user/folder1/xyz.json
I am getting the following error message:
Import-AzApiManagementApi: File '/home/user/folder1/xyz.json' does not exist.
I have tried all possibilities such as, changing file name, file path, using only file name etc.
Kindly let me know if there is a known fix to this issue.

please open this issue in Azure PowerShell repo


Add CONTRIBUTING.md and SECURITY.md

Add CONTRIBUTING.md and SECURITY.md

Adding these files so people can see what can be worked on.


error running make imports

This appears when I run make imports (updating the uberon import file for a pull request:
java -jar build/robot.jar --prefix "REO: http://purl.obolibrary.org/obo/REO_" convert -i build/ChEBI_imports.owl -o src/ontology/OntoFox_outputs/ChEBI_imports.owl
[Fatal Error] :1:50: White spaces are required between publicId and systemId.
INVALID ONTOLOGY FILE ERROR Could not load a valid ontology from file: ChEBI_imports.owl
For details see: http://robot.obolibrary.org/errors#invalid-ontology-file-error
Use the -vvv option to show the stack trace.
Use the --help option to see usage information.
make: *** [src/ontology/OntoFox_outputs/ChEBI_imports.owl] Error 1
(Even if I delete the chebi owl temporalily, I get the same error message based on the uberon owl.)

No, just Uberon.
I ran the checkout command and got Updated 0 paths from the index.


No module named 'bot_server_channel

abrarahmed@abrarahmed-HP-Notebook:~/sql_troubleshooting$ python3 dialogue_management_model.py
Traceback (most recent call last):
File "dialogue_management_model.py", line 19, in
from bot_server_channel import BotServerInputChannel
ModuleNotFoundError: No module named 'bot_server_channel'
I have updated to the latest version of rasa_core. help me out, please
I am referring to this code, https://github.com/scalableminds/chatroom
Thanks in advance

Please raise an issue on that repo


Japanese specialized Meilisearch Docker Image

Pull Request

⚠ this PR is not meant to be merged.

This PR deactivates Chinese tokenization forcing Japanese tokenization to be used by Meilisearch.
It's a hotfix provided to Japanese users allowing them to use Meilisearch without having language detection issues before a final fix is released.
How to use this prototype?
Docker images
Meilisearch v1.4.1 (latest stable):
$ docker pull getmeili/meilisearch:prototype-japanese-6

Meilisearch v1.3.0 (latest stable):
$ docker pull getmeili/meilisearch:prototype-japanese-4

Meilisearch v1.3.0-rc.0:
$ docker pull getmeili/meilisearch:prototype-japanese-3

Meilisearch v1.2.0:
$ docker pull miiton/meilisearch-force-jp:v1.2.0

Thanks to @miiton 🙏

Meilisearch v1.1.1:
$ docker pull getmeili/meilisearch:prototype-japanese-2

Meilisearch v1.1.0-rc.3:
$ docker pull getmeili/meilisearch:prototype-japanese-1

Meilisearch v1.1.0-rc.1:
$ docker pull getmeili/meilisearch:prototype-japanese-0

Related issues and discussions

https://github.com/meilisearch/product/discussions/532#discussioncomment-3806543
https://github.com/meilisearch/meilisearch/issues/3565
https://github.com/meilisearch/meilisearch/pull/3569

@ManyTheFish
Is there any plan to release prototype-japanese-N for v1.4.x?

Hello @miiton, sorry for the delay 🙏
I updated the PR, the docker image is building it will be released today.
Sorry again!

@ManyTheFish
このDocker Imageの日本語特化検索機能はMeilisearch Cloudでは利用されているのでしょうか？
何がしたいかと言いますと、Meilisearch Cloudでは、こちらのDocker Imageのように日本語に特化した検索はできますでしょうか？
Is this Japanese-specific search function of Docker Image used in Meilisearch Cloud?
What I want to do is, with Meilisearch Cloud, is it possible to search specifically for Japanese like this Docker Image?

@ManyTheFish
Could you please tell me whether it is possible to search for the following "Prototype to disable Chinese detection and force Meilisearch to always recognize CJ characters as Japanese characters" in the Saas version of Meilisearch Cloud? ?
https://github.com/meilisearch/meilisearch/pull/3882

Hello @tec-koshi,
you should ask the support of the cloud to update your instance to a Japanese-specialized one.
This way it will be easier to retrieve your instance 😄


OCPBUGS-4787: merging: Fix the mergeStrategy=containers option

Backports https://github.com/kubernetes-sigs/security-profiles-operator/pull/1380 which should fix https://issues.redhat.com/browse/OCPBUGS-4787
It's unusual to send a backport before an upstream patch is merged, but I'm doing that because:

the holiday season starts soon and reviews might take longer
the upstream CI tests that run the upstream e2e tests on Flatcar are not working at the moment which is blocking merges upstream
I want to get the PR through the OCP CI to see if there's any failures
I want to give QE a head start testing the PR

We can
/hold
the PR until the original upstream PR is reviewed and merged.

@xiaojiey to test, you can deploy with make deploy-openshift-dev as there are no packaging changes.

Verification pass with 4.13.0-0.nightly-2022-12-12-210406 + latest code:
After this PR, there will be only one selinuxprofile generated after merge.
With this PR, the final selinuxprofile generated is per container.
Test steps:
1. install SPO
2. Enable log Enrisher
3. Create a new namespace mytest. To record by using the enricher, create a ProfileRecording which is using recorder
4. Create the severice account with privileged permission:
5. Add label for ns and create deployment to be recorded:
$ oc label ns mytest security.openshift.io/scc.podSecurityLabelSync=false pod-security.kubernetes.io/enforce=privileged --overwrite=true
$ oc apply -f -<<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-openshift
namespace: mytest
spec:
replicas: 3
selector:
matchLabels:
app: hello-openshift
template:
metadata:
labels:
app: hello-openshift
spec:
serviceAccountName: spo-record-sa
initContainers:
name: wait
image: quay.io/openshifttest/centos:centos7
command: ["/bin/sh", "-c", "env"]
containers:
name: hello-openshift
image: quay.io/openshifttest/hello-openshift:multiarch
ports:
containerPort: 8080
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
name: hello-openshift2
image: quay.io/openshifttest/hello-openshift:multiarch-fedora
ports:
containerPort: 8081
readinessProbe:
tcpSocket:
port: 8081
initialDelaySeconds: 5
periodSeconds: 5
EOF
deployment.apps/hello-openshift created
$ oc delete deployment hello-openshift
deployment.apps "hello-openshift" deleted
$ oc get selinuxprofiles.security-profiles-operator.x-k8s.io
NAME                                    USAGE                                                  STATE
test-recording-hello-openshift-kpmvf    test-recording-hello-openshift-kpmvf_mytest.process    Partial
test-recording-hello-openshift-lg95s    test-recording-hello-openshift-lg95s_mytest.process    Partial
test-recording-hello-openshift2-kpmvf   test-recording-hello-openshift2-kpmvf_mytest.process   Partial
test-recording-hello-openshift2-lg95s   test-recording-hello-openshift2-lg95s_mytest.process   Partial
$ oc delete profilerecordings.security-profiles-operator.x-k8s.io test-recording
profilerecording.security-profiles-operator.x-k8s.io "test-recording" deleted
$ oc get selinuxprofiles.security-profiles-operator.x-k8s.io  -w
NAME                              USAGE                                            STATE
test-recording-hello-openshift    test-recording-hello-openshift_mytest.process    Pending
test-recording-hello-openshift2   test-recording-hello-openshift2_mytest.process   InProgress
$ oc get selinuxprofiles
NAME                              USAGE                                            STATE
test-recording-hello-openshift    test-recording-hello-openshift_mytest.process    Installed
test-recording-hello-openshift2   test-recording-hello-openshift2_mytest.process   Installed

/qe-approved


feat: Added DevDocs.io website  Details in 5 Files in websites Category Section

Fixed Issue No : #419
Proposed Changes:

Added DevDocs website Details in html.json, css.json, tailwindcss.json, reactjs.json and javascript.json Files.
This Website is Very Helpful for Learning Web Development from Starting to Advanced Level.

Hi @jayk-gupta . Please Review on this PR. My JSON Format is well and Good. But, Did not Pass JSON Validation.

PLease change the links for each language, mention the link of that language.
for example for html : https://devdocs.io/html/

PLease change the links for each language, mention the link of that language. for example for html : https://devdocs.io/html/

@jayk-gupta . I Updated Direct Links for 5 Categories and also Resolved Merge Conflicts.


Reorder ED and Civil Parish

As long as the header columns are present in the CSV file the specific order of the columns for the location fields is irrelevant.
Spreadsheet download has requested order.
Suggest this be closed

Agreed, @Captainkirkdawson so closing


array_excluding matcher?

Is there any technical reason there is not an array_excluding argument matcher? There's hash excluding right below it.
https://github.com/rspec/rspec-mocks/blob/main/lib/rspec/mocks/argument_matchers.rb#L74-L93

This seems to work fine; Just weird to me that this has never come up before?
module RSpec
  module Mocks
    module ArgumentMatchers
      # Matches an array that includes the specified items at least once.
      # Ignores duplicates and additional values
      #
      # @example
      #   expect(object).to receive(:message).with(array_excluding(1,2,3))
      #   expect(object).to receive(:message).with(array_excluding([1,2,3]))
      def array_excluding(*args)
        actually_an_array = Array === args.first && args.count == 1 ? args.first : args
        ArrayExcludingMatcher.new(actually_an_array)
      end

      # @private
      class ArrayExcludingMatcher
        def initialize(expected)
          @expected = expected
        end

        def ===(actual)
          actual = actual.uniq
          @expected.uniq.none? do |expected_element|
            actual.any? do |actual_element|
              RSpec::Support::FuzzyMatcher.values_match?(expected_element, actual_element)
            end
          end
        rescue NoMethodError
          false
        end

        def description
          "array_excluding(#{formatted_expected_values})"
        end

      private

        def formatted_expected_values
          @expected.map do |x|
            RSpec::Support.rspec_description_for_object(x)
          end.join(", ")
        end
      end
    end
  end
end

Closing to continue discussion in #1528


Update filter-origin-documentation with effective Windows versions.md

Changed the internal Windows code name 'Iron' to publicly known names Windows Server 2022 and Windows 11 (although 11 is Co already)

Thanks @msarcletti for catching that!


gulp watch: Task never defined: watch

after download and run npm install, i am trying run gulp watch, then getting this error
ubuntu 18:04
nodejs v8.10.0
npp 6.9.0
gulp cli 2.2.0
local version 4.0.0

I found that this works. Add to gulpfile.js gulp.task('watch', watcher)

@Peteypete It seem to work for me, but the task seems to get stuck at some point :(
Had to switch to running gulp manually each time after changing gulp.task('default', buildCss), but still can't get gulp to watch for changes

@azinkey @Zhephard Hi, did you guys manage to do gulp watch eventually? I'm not exactly sure what is happening here.

After buildCss function I've change code like this and it works;
New one
gulp.task('watch', function () {
  gulp.watch(['scss/*.scss'], gulp.series(buildCss));
});

gulp.task('default', gulp.series(buildCss, 'watch'));

Old one
function watcher() {
  gulp.watch(['scss/*.scss'], gulp.series(buildCss));
}

exports.watch = gulp.series(buildCss, watcher);
exports.default = gulp.series(buildCss);


Little fix, that may improve overall speed

At first the change may seems of a little significance, but it may speed up a start up time. Here we have a list of known-size elements, so why allocate more heavy slice type for them? Array type in this context does great job, without unnecessary "just in case" memory allocation.

Thanks!!


python36Packages.moviepy: <IP_ADDRESS> -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-moviepy/versions.
meta.description for python36Packages.moviepy is: '"Video editing with Python"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found <IP_ADDRESS> with grep in /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>

directory tree listing: https://gist.github.com/b7fd9d198a9ede6a61005ad0c1133626

du listing: https://gist.github.com/22d1f237128fbd4ab14de695e13ffc68

Outpath report (click to expand)

Outpath difference report
8 total rebuild paths
2 package rebuilds
2 x86_64-linux rebuilds
2 i686-linux rebuilds
2 x86_64-darwin rebuilds
2 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.moviepy
python36Packages.moviepy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.moviepy https://github.com/r-ryantm/nixpkgs/archive/3e5abf1215aa4718ef36cb2b310e7721a40f9add.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>
ls -la /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>/bin

Success on x86_64-linux (full log)
Attempted: python36Packages.moviepy
Partial log (click to expand)
Requirement already satisfied: pillow in /nix/store/kaymr52l64afckrlprsfxnnhy1lj5bxd-python3.6-Pillow-5.2.0/lib/python3.6/site-packages (from imageio<3.0,>=2.1.2->moviepy==<IP_ADDRESS>) (5.2.0)
Installing collected packages: moviepy
Successfully installed moviepy-<IP_ADDRESS>
/build/moviepy-<IP_ADDRESS>
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>
checking for references to /build in /nix/store/nilaxns3bj6wpkcc6b1skv2h9vf2j2p5-python3.6-moviepy-<IP_ADDRESS>...

Success on x86_64-darwin (full log)
Attempted: python36Packages.moviepy
Partial log (click to expand)
Requirement already satisfied: imageio<3.0,>=2.1.2 in /nix/store/077iha76h2x7xxyzw2anm2fcyvbgikpk-python3.6-imageio-2.4.1/lib/python3.6/site-packages (from moviepy==<IP_ADDRESS>) (2.4.1)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in /nix/store/mci0wxrp8j00rl11598cid8rsan9b1m5-python3.6-tqdm-4.25.0/lib/python3.6/site-packages (from moviepy==<IP_ADDRESS>) (4.25.0)
Requirement already satisfied: pillow in /nix/store/vx360j117sgzx2d8yvk9zww08a32yyix-python3.6-Pillow-5.2.0/lib/python3.6/site-packages (from imageio<3.0,>=2.1.2->moviepy==<IP_ADDRESS>) (5.2.0)
Installing collected packages: moviepy
Successfully installed moviepy-<IP_ADDRESS>
/private/tmp/nix-build-python3.6-moviepy-<IP_ADDRESS>.drv-0/moviepy-<IP_ADDRESS>
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/27wfzm7n39cfa34z63h1pbny818ga50b-python3.6-moviepy-<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/27wfzm7n39cfa34z63h1pbny818ga50b-python3.6-moviepy-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: python36Packages.moviepy
Partial log (click to expand)
Installing collected packages: moviepy
Successfully installed moviepy-<IP_ADDRESS>
/build/moviepy-<IP_ADDRESS>
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g2ckgpn7abdg2qf8qhvyi5kysjqxawfr-python3.6-moviepy-<IP_ADDRESS>
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g2ckgpn7abdg2qf8qhvyi5kysjqxawfr-python3.6-moviepy-<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/g2ckgpn7abdg2qf8qhvyi5kysjqxawfr-python3.6-moviepy-<IP_ADDRESS>
checking for references to /build in /nix/store/g2ckgpn7abdg2qf8qhvyi5kysjqxawfr-python3.6-moviepy-<IP_ADDRESS>...
/nix/store/g2ckgpn7abdg2qf8qhvyi5kysjqxawfr-python3.6-moviepy-<IP_ADDRESS>


Update manifest.json

Changes in service_worker and host permissions

Please review this code that i have to tried to solve


Fixes for upgrade to latest Alpine

This is pretty uncontroversial.  Looks mostly like config file boilerplate from upstream.
I'm pulling in the images now from Dockerhub to test. :rocket:

Well I have a drupal site so I guess it works :smile:


Helicopter rod rotation speed is UNREAL

Outline
Make helicopter blade rotate faster for it to fit with fast helicopters like attacking helicopters or helicopters with high movement speed.
How?
The helicopter blade rotation speed is against physicals. You can make helicopter blade rotate faster for it to fit with fast helicopters like attacking helicopters or helicopters with high movement speed.
Photos, videos, sketches (optional)
https://github.com/GamerJoep/MinetopiaVehicles/assets/99589107/ed61e3c6-f33a-4270-85c1-cfed4ad925ba

This is currently not made using animated models. However, I could alter the rotation speed in the code (see the yawAdd variable):
https://github.com/GamerJoep/MinetopiaVehicles/blob/ee5103259f425f7e441dfd94810ab940a8c90678/src/main/java/nl/mtvehicles/core/movement/VehicleMovement.java#L817-L829

Make it higher. Closing as unplanned


fix(app): Refactor daemon initialization and add syscall import

Daemon Initialization Logic Enhanced:

Added a new condition to check if the current process is a child (not started by init or not having a parent). This helps in determining whether to run the process as a daemon.
Improved the check for parent process existence and status, ensuring that the daemon status is set correctly based on the parent's state.

Argument Parsing Simplification:

Previous argument manipulation (clearing daemon flags in the argument list) has been removed.
Simplified the way the command for re-running the program is constructed, directly using the unchanged os.Args[1:].

Fix #1165

Strange logic near
parent, err := os.FindProcess(ppid)
if err != nil || parent.Pid < 1 {
	daemon = false
}

Thanks! I've removed the unclear code. You can get it back in another PR if you prove its point.

https://github.com/AlexxIT/go2rtc/releases/tag/v1.9.4


Feature Request: C++ Wrapper API with RAII

Could be a separate binary, xlsxio-cpp.

Yes, I can make a proposal in the form of a pull request. I should do the continuous integration piece first though.

CI has been set up in the mean time. If you have a C++ proposal I would be happy to take a look at it.

Sorry for leaving this open, I'm no longer using the library and will close this.


[Feature][Jira issue changelogs] Add customized jira account fields to table.accounts

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
As a PM,

I used the original_from_value and original_to_value of the field where field_name = assignee in the issues.changelogs to measure who has contributed to a Jira issue during the whole lifecycle.

I also use another customized Jira issue field (whose jira_field_type = jira_account), for example, reporter, to manage the contributors of Jira issues.
And I want to measure the contribution by Jira issue reporters.

Here comes the problem:
When I get the original_from_value and original_to_value of the field where field_name = reporter. The values are reporter's names, not their IDs that I could join the accounts table for full user profile.
Description
To Do

Other Jira issue fields whose jira_field_type = jira_account in table issue_changelogs should be written into table accounts.

There's a Jira API to judge if a field is jira_account. tmpFromAccountId/tmpToAccountId

Other Jira issue fields whose jira_field_type = jira_account in table issue_changelogs should be stored in the form of accounts.id, not name.

Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Plugin issue_trace should be updated if necessary.  Just keep this issue open.


Implement FITC for regression in GPflow

Although I prefer the Titsias method for a number of reasons, many people still want to compare to FITC which was first created by Snelson and Ghahramani 2006 Sparse Gaussian Processes using Pseudo-inputs. Therefore I am going to implement it in GPflow.

Perhaps this lives in the sgpr.py file?
Or perhaps we should have a GPflow/sandbox project. I'm working on
similarly related things at the moment.
James.
On 30 March 2016 at 11:38, Alexander G. de G. Matthews <
<EMAIL_ADDRESS>wrote:

Although I prefer the Titsias method for a number of reasons, many people
still want to compare to FITC which was first created by Snelson and
Ghahramani 2006 Sparse Gaussian Processes using Pseudo-inputs. Therefore I
am going to implement it in GPflow.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/GPflow/GPflow/issues/29

sgpr.py is fine by me. Don't want to repeat work. Are you happy for me to do this bit?

Oh please do.
On 30 March 2016 at 11:48, Alexander G. de G. Matthews <
<EMAIL_ADDRESS>wrote:

sgpr.py is fine by me. Don't want to repeat work. Are you happy for me to
do this bit?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/GPflow/GPflow/issues/29#issuecomment-203376400

This is now being discussed in #37


Provide a release tarball

It would be nice if you would consider adding proper source release tarballs,
as GitHub auto-generated tarballs are not immutable. This is an issue [1] for
operating systems creating packages for libsixel. Thanks in advance.
[1] https://marc.info/?l=openbsd-ports&m=151973450514279&w=2

make distcheck also packages up-to-date configure, Makefile.in etc. files so you don't have to keep them in the repo, and it tries to make sure your tarball can be built and installed without errors.

@fcambus Uploaded. Is it OK?
https://github.com/saitoha/libsixel/releases/download/v1.7.3/libsixel-1.7.3.tar.gz
@hpjansson Thanks for your advice, but I still wonder whether configure should be removed from repo. because it force all contributers to install autotools/libtool. (I think almost of them just only want to do trivial fixes...)

@saitoha It's generally considered best practice for a couple of reasons laid out here: https://stackoverflow.com/a/3291181
I just mentioned it since I thought you'd consider it a bonus, though. Not trying to hijack the issue :slightly_smiling_face:

@saitoha Yes, that's perfect, thanks a lot! I switched the OpenBSD port to fetch the newly uploaded release.


Support macOS correctly again, Java 14, Gradle 6.4

Fixes #318

Upgrades commons-lang3 to 3.11
Replaces invalid use of Pair with Maps.immutableEntry from Guava
Reintroduce macOS GitHub Actions test
Remove ZOS from Os because it throws errors (Apache Commons problem)

For users finding this issue and wanting to use gogradle on macOS right now, use the following buildscript:
buildscript {
    repositories {
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        classpath 'com.github.doctorpangloss:gogradle:adae13ed1d'
    }
}

apply plugin: 'com.github.blindpirate.gogradle'

golang {
    packagePath = 'github.com/...'
}

Definitely hanging on Integration Tests, but I think it always was on those in particular. Give me some clues, I'll fix it.

would be good to get this working with the new apple silicon (arm64) processors.


setting file modification time throws ValueError: year is out of range

Checklist

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

Verbose log

$ youtube-dl -v https://www.youtube.com/watch?v=D22BOOGbpFM
[debug] System config: ['-w', '-c', '--write-sub', '--sub-lang', 'en', '--embed-subs', '-f', 'best[width<1280]', '-o', '~/Downloads/%(uploader)s/%(upload_date)s - %(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=D22BOOGbpFM']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.12.31
[debug] Python version 3.9.1 (CPython) - macOS-10.14.6-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] D22BOOGbpFM: Downloading webpage
WARNING: en subtitles not available for D22BOOGbpFM
[debug] Invoking downloader on 'https://r1---sn-nx5s7n76.googlevideo.com/videoplayback?expire=1609461428&ei=VBruX_ixBJCJkwacuouoDg&ip=<IP_ADDRESS>&id=o-AGWoN-a7N3TgKnwSJQY_0pZe8xocBOEzXT_mwMNZwdZb&itag=18&source=youtube&requiressl=yes&mh=O-&mm=31%2C29&mn=sn-nx5s7n76%2Csn-nx5e6nez&ms=au%2Crdu&mv=m&mvi=1&pl=21&initcwndbps=710000&vprv=1&mime=video%2Fmp4&ns=84XJ9c9UYTps6IbsZWB-4ZEF&gir=yes&clen=8063487&ratebypass=yes&dur=99.938&lmt=3545513993541138233&mt=1609439562&fvip=1&c=WEB&n=75VD4WsBoji0kKuQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIgIyQboR7HQoVZMoUkgRmnaitKlEfjmqO7RVntJZBHB-UCIQCTWAMdXiIsAeqNuRmdJGVky98sLdT2NHndYPF0mEbLkw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgcGsoofwf8Uuzrz-oT8MOI3Iz5tAgPSaBVIRMw0YuSKcCIQD8_CCzhdtG2-5jxBsGz4qWCz9yrw42mAkIIsStEyC3zw%3D%3D'
[download] Destination: /Users/username/Downloads/Tom Scott/20150112 - The Magic Roundabout - Swindon's Terrifying Traffic Circle and Emergent Behaviour.mp4
[download] 100.0% of 7.69MiB at  1.30MiB/s ETA 00:00Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 33, in <module>
    sys.exit(load_entry_point('youtube-dl==2020.12.31', 'console_scripts', 'youtube-dl')())
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2028, in download
    res = self.extract_info(
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 835, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 1654, in process_video_result
    self.process_info(new_info)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 1936, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 1875, in dl
    return fd.download(name, info)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/downloader/http.py", line 352, in real_download
    return download()
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/downloader/http.py", line 337, in download
    info_dict['filetime'] = self.try_utime(ctx.filename, ctx.data.info().get('last-modified', None))
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/downloader/common.py", line 215, in try_utime
    filetime = timeconvert(timestr)
  File "/usr/local/Cellar/youtube-dl/2020.12.31/libexec/lib/python3.9/site-packages/youtube_dl/utils.py", line 2075, in timeconvert
    timestamp = email.utils.mktime_tz(timetuple)
  File<EMAIL_ADDRESS>line 189, in mktime_tz
    t = calendar.timegm(data)
  File<EMAIL_ADDRESS>line 658, in timegm
    days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
ValueError: year 114322 is out of range

Description

Sorry, I'm unsure if this is truly a bug or worth fixing. When I try to download this video, it successfully downloads, but then throws an error and (if part of a playlist) stops the download process.
The file is correctly named with the upload_date (see the -o argument in the System config), and it only fails when it tries to set the file modification time (passing the argument --no-mtime bypasses this issue). Therefore, I'm guessing that the time metadata downloaded from youtube is correct, and that there is a problem with the function that sets the modification time. However, the --no-mtime documentation states that it uses the Last-modified header, so perhaps that is different than the upload_date, and this is just a case of youtube having some bad metadata. Sorry, I don't know.
If this is just the case of bad youtube metadata, I don't know that anything needs to be done. This can be bypassed with --no-mtime, as I mentioned, and I assume that -i would allow the playlist to continue downloading in case this happens again. However, if this is an actual bug with the function that sets the modification time, then that should probably be investigated. I'm sorry, I don't have any suggested solution.

header: Last-Modified: Mon, 13 Nov 114322 14:12:21 GMT

This is shown with --print-traffic. Year 114322 seems to violate RFC specification (= 4 digit).
Since this is not user input data, and probably very rare, I guess no workaround code will be made or needed to prevent exception termination.


Speaker volume up/down in remote app issue

Describe The Bug:
So I was using the IR remote function to adjust volume up/down for my soundbar. so every time i open remote on my iPhone to adjust the volume, it adjusts but then turn off the soundbar right after. i went to the logs to check, and turn out that everytime you open the remote on iphone and adjust the volume for the 1st time, it will automatically send a 'turn on' request also causing the 'already on soundbar' to turn off
To Reproduce:
Press on the volume buttons after open the remote on iphone
Expected behavior:
Only to turn the volume up/down without effecting the soundbar current power state
Logs:
[04/09/2021, 01:38:04] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command
[04/09/2021, 01:38:04] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: turnOn parameter: default commandType: command
[04/09/2021, 01:38:05] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command
[04/09/2021, 01:38:06] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command
[04/09/2021, 01:38:06] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command
[04/09/2021, 01:38:07] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command
[04/09/2021, 01:38:07] [SwitchBot] Sending request for Sound Bar DIY Speaker to SwitchBot API. command: volumeAdd parameter: default commandType: command

Homebridge Config:
{
	"name": "SwitchBot",
	"credentials": {
		"openToken": "***",
		"notice": "Keep your token a secret!"
	},
	"devicediscovery": true,
	"platform": "SwitchBot"
}

Screenshots:
N/A
Environment:

Node.js Version: 14.17.6
NPM Version: 7.22.0
Homebridge Version: 1.3.4
Homebridge SwitchBot Plugin Version: 3.5.0
Homebridge Config UI X Plugin Version: 4.41.2
Operating System: Raspbian GNU/Linux Buster (10)

@deflao I have added this into the latest beta if you could give it a test. This beta has major changes in it to the config.
there is now a device config setting that you must set specific configs for each device.

So I tried to remove the current version, clean cached accessories and Unpair Bridges / Cameras / TVs / External Accessories in homebridge setting in order to clean install the beta version you suggested. For some reason, the soundbar and the fan (infrared controlled devices) weren’t showing up in HomeKit or even homebridge accessories.

@deflao, sorry latest beta should work now.

It works, but it also creates another problem. So I’m able to control the volume up/down in the remote app without the power command. But it also disable the ability to turn on and off the speaker in the Home app.

@deflao, this is nothing that I can control, with it being IR, I never get info back from the devices. If you have another idea of how to implement this, let me know.

So what I don’t understand is in the Switchbot app, when I control volume up/down it doesn’t produce on/off IR signal, just volume up/down IR signal is produced.
So why is it different when implemented into HomeKit? I would think that in the Home app, it would just simply be an on/off button. Then in the remote app, when adjusting volume up/down it would just simply be volume up/down.
I understand that you said the default value is off and when the volume is adjusted then it will also sending on control but can we remove/ignore the state which it check for default value and going straight to just volume up/down?

When you use the Control Center Remote, there isn't an on and off button, so how would you turn you soundbar on if you are are using the Control Center Remote?
This is where the HomeKi Implementation comes into play. It sends a power on every time because it is making sure that the device is on when it is sending the command, then it sends the command (in this case) volume up/down.

In that scenario, it would make sense. But let’s say, you have an automation where when you turn on your tv, the speaker turn on. Now the speaker is already on, you use control center remote in order to adjust the volume. Having it sending another power on/off signal will now turn off the speaker, and that’s inconvenient and doesn’t make sense in this scenario.
I think it would make sense to make it works like the Switchbot app where doesn’t matter what state your speaker is, volume up/down will just be volume up/down, no power on/off

Apologies for necro but have been having this issue and came across this, been using my tv and found turning the volume up turned off the tv, able to get this to work as intended by enabling the disable sending on command option but now this has ruined my automations, is there an option to disabled the turn on command on the first input I've missed from this thanks

Hello, I've seen that this problem dates from a long time ago but I have exactly the same, I tried to disable the off and on commands but it still does not work, is there a solution so that the ON command does not send when controlling the volume via the CC Remote? Because I deactivated the ON command but it still sends...


error: failed to wait on curl Multi

When trying to build a project on OpenBSD 7.2 (-current) I'm running into the following error:
$ cargo build --release --verbose
error: failed to wait on curl `Multi`

Caused by:
  Unrecoverable error in select/poll

I tracked down the source of this error:
https://github.com/rust-lang/cargo/blob/a2ea66bea6fe8156444144e98911d073d56c2c0c/src/cargo/core/package.rs#L1014
However, I do not understand why this is happening. I've also run the command with ktrace and skimmed over the attached ktrace.out using kdump -f ktrace.out | less, however I can't see an obvious issue in there either.
I'd appreciate hints!
$ cargo --version
cargo 1.65.0
$ rustc --version
rustc 1.65.0

ktrace.out.gz

Something that might be worth pointing out, however I can't tell whether that has something to do the error:
 66655 cargo    CALL  poll(0x7f7ffffdaab0,2,INFTIM)
 66655 cargo    STRU  struct pollfd [2] { fd=4, events=0x1<POLLIN>, revents=0<> } { fd=6, events=0x1<POLLIN>, revents=0x1<POLLIN> }
 66655 cargo    RET   poll 1
 66655 cargo    CALL  read(6,0x4f2c684c60,0x20)
 66655 cargo    GIO   fd 6 read 32 bytes
       "error: `-Csplit-debuginfo=packed"
 66655 cargo    RET   read 32/0x20
 66655 cargo    CALL  read(6,0x4f0526c560,0x20)
 66655 cargo    GIO   fd 6 read 32 bytes
       "` is unstable on this platform

       "
 66655 cargo    RET   read 32/0x20
 66655 cargo    CALL  read(6,0x4f1d8b8840,0x40)
 66655 cargo    RET   read -1 errno 35 Resource temporarily unavailable
 66655 cargo    CALL  poll(0x7f7ffffdaab0,2,INFTIM)
 66655 cargo    STRU  struct pollfd [2] { fd=4, events=0x1<POLLIN>, revents=0x1<POLLIN> } { fd=6, events=0x1<POLLIN>, revents=0<> }
 66655 cargo    RET   poll 1
 66655 cargo    CALL  read(4,0x4ea44e73e0,0x20)
 66655 cargo    GIO   fd 4 read 32 bytes
       "___
        lib___.rlib
        lib___.so
        lib___"
 66655 cargo    RET   read 32/0x20
 66655 cargo    CALL  read(4,0x4f0526cd20,0x20)
 66655 cargo    GIO   fd 4 read 23 bytes
       ".so
        lib___.a
        lib___.so
       "
 66655 cargo    RET   read 23/0x17
 66655 cargo    CALL  read(4,0x4f0526cd37,0x9)
 66655 cargo    RET   read -1 errno 35 Resource temporarily unavailable
 66655 cargo    CALL  poll(0x7f7ffffdaab0,2,INFTIM)
 66655 cargo    STRU  struct pollfd [2] { fd=4, events=0x1<POLLIN>, revents=0<> } { fd=6, events=0x1<POLLIN>, revents=0x1<POLLIN> }
 66655 cargo    RET   poll 1
 66655 cargo    CALL  read(6,0x4f1d8b8840,0x40)
 66655 cargo    GIO   fd 6 read 39 bytes
       "error: aborting due to previous error

       "
 66655 cargo    RET   read 39/0x27
 66655 cargo    CALL  read(6,0x4f1d8b8867,0x19)
 66655 cargo    RET   read -1 errno 35 Resource temporarily unavailable

Also:
 66655 cargo    CALL  open(0x4ef3089b2a,0x10000<O_RDONLY|O_CLOEXEC>)
 66655 cargo    NAMI  "/usr/local/lib/libcurl.so.26.17"
 66655 cargo    RET   open 3
 66655 cargo    CALL  fstat(3,0x7f7ffffe1070)
 66655 cargo    STRU  struct stat { dev=1027, ino=597100, mode=-rw-r--r-- , nlink=1, uid=0<"root">, gid=7<"bin">, rdev=2429928, atime=1669656999<"Nov 28 17:36:39 2022">.266566436, mtime=1669287004<"Nov 24 10:50:04 2022">, ctime=1669656225<"Nov 28 17:23:45 2022">.806585512, size=760200, blocks=1536, blksize=16384, flags=0x0, gen=0x0 }
 66655 cargo    RET   fstat 0
 66655 cargo    CALL  read(3,0x7f7ffffdf8f0,0x1000)
 66655 cargo    GIO   fd 3 read 4096 bytes

Can you say more about how you installed rust/cargo? Can you provide the output of cargo -Vv?  It looks like it may be using the system-installed libcurl. Cargo can be a little finicky if it is not using its vendored libraries. Which version of libcurl do you have installed?

I'm encountering a similar issue, also on OpenBSD 7.2, though I'm trying to install a different package: cargo-binstall (also with helix-editor)
Output of cargo -Vv:
cargo 1.63.0
release: 1.63.0
host: x86_64-unknown-openbsd
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.87.0 (sys:0.4.55+curl-7.83.1 system ssl:LibreSSL/3.6.0)
os: Unknown [unknown bitness]

Cargo was installed by installing rust via pkg_add: I installed the package rust-1.63.0p0.
Think you're right about using the system curl--how do I tell cargo otherwise?

Like @mrusme I'm also seeing this error in the build artifacts:
error: `-Csplit-debuginfo` is unstable on this platform

Can you say more about how you installed rust/cargo?

I tried in multiple ways but the one that imho should have worked was by simply installing pkg_add rust on a snapshot system.

OpenBSD 7.3
cargo 1.68.0
release: 1.68.0
host: x86_64-unknown-openbsd
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 8.2.0 (sys:0.4.59+curl-7.86.0 system ssl:LibreSSL/3.7.2)
os: OpenBSD 7.3.0 [64-bit]
rustc 1.68.0 (2c8cc3432 2023-03-06) (built from a source tarball)
binary: rustc
commit-hash: 2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74
commit-date: 2023-03-06
host: x86_64-unknown-openbsd
release: 1.68.0
LLVM version: 15.0.6
cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
Downloading crates ...
error: failed to wait on curl Multi
        Caused by:
          Unrecoverable error in select/poll
        error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked` failed with code 101
        [end of output]

When I try with "normal" user, ex. "cargo install gitui", this finish with no error.
Updating crates.io index
Installing gitui v0.23.0
Compiling libc v0.2.147
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling cfg-if v1.0.0
Compiling autocfg v1.1.0
Compiling pkg-config v0.3.27
Compiling jobserver v0.1.26
Compiling cc v1.0.82
Compiling quote v1.0.32
Compiling vcpkg v0.2.15
Compiling log v0.4.19
Compiling syn v2.0.28
Compiling memchr v2.5.0
Compiling bitflags v1.3.2
Compiling openssl-src v111.27.0+1.1.1v
Compiling serde v1.0.183
Compiling crossbeam-utils v0.8.16
Compiling scopeguard v1.2.0
Compiling syn v1.0.109
Compiling openssl-sys v0.9.91
Compiling libz-sys v1.1.12
Compiling version_check v0.9.4
Compiling libssh2-sys v0.3.0
...............
But when I try with "root" (or with doas), shows me this error
Updating crates.io index

Installing gitui v0.23.0
error: failed to compile gitui v0.23.0, intermediate artifacts can be found at /tmp/cargo-installRobfe8
Caused by:
failed to wait on curl Multi
Caused by:
Unrecoverable error in select/poll

It also appear to not be always reproducible:
$ cargo build
error: failed to wait on curl `Multi`
Caused by:
  Unrecoverable error in select/poll
$ cargo build
  Downloaded opentelemetry-jaeger v0.17.0
  Downloaded futures-core v0.3.28
  Downloaded zstd-sys v2.0.8+zstd.1.5.5
  Downloaded libsqlite3-sys v0.26.0
  Downloaded rand_chacha v0.2.2
  Downloaded librocksdb-sys v0.11.0+8.1.1
 Downloading 190 crates, extracting librocksdb-sys ...

Facts about this system:
$ uname -a
OpenBSD ams1.josuah.net 7.3 GENERIC#1072 amd64

$  cargo --version
cargo 1.68.0

$ pkg_info curl
Information for inst:curl-8.2.0

Comment:
transfer files with FTP, HTTP, HTTPS, etc.

Required by:
git-2.40.0
kamailio-5.5.4p2
mariadb-server-10.9.4v1
rust-1.68.0
transmission-3.00p2

Description:
curl is a command line tool for transferring data with URL syntax,
supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP,
IMAPS, MQTT, POP3, POP3S, RTSP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP.
curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP
form based upload, proxies, cookies, user+password authentication
(Basic, Digest, NTLM, Negotiate, ...), file transfer resume, proxy
tunneling and a busload of other useful tricks.

Maintainer: Christian Weisgerber<EMAIL_ADDRESS>
WWW: https://curl.se/

$ pkg_info rust
Information for inst:rust-1.68.0

Comment:
compiler for Rust Language

Description:
Rust is a systems programming language that runs blazingly fast, prevents
almost all crashes, and eliminates data races.

Featuring:
- zero-cost abstractions
- move semantics
- guaranteed memory safety
- threads without data races
- trait-based generics
- pattern matching
- type inference
- minimal runtime
- efficient C bindings

Documentation is available online at https://doc.rust-lang.org/
or could be downloaded from
https://static.rust-lang.org/dist/rust-docs-1.68.0-x86_64-unknown-linux-gnu.tar.gz

Maintainer: Sebastien Marie<EMAIL_ADDRESS>
WWW: https://www.rust-lang.org/

I might be wise to try the same command a couples of time before thinking about which context it happens, as it might very much be luck when running in one context, and not another.

same problem here, using openbsd 7.3. funny thing is, it works with the first user created, not with root, not with any other 'normal' user. like its locked to uid 1000 or smth.

Increasing the number of file descriptors, e.g. ulimit -n 1024, fixed it for me.

I can confirm that on OpenBSD 7.4 this issue can be avoided by setting ulimit -n 1024, as @renatoaguiar said. Thank you kindly!
Feel free to either leave this issue open, in case you believe that cargo should output a hint about raising the ulimit. Otherwise feel free to close it. Thanks!

Thanks for the update!
I wonder if it still happens with the latest Cargo (nightly or 1.75.0). If yes, we may leave this open until we find the root cause of this :)

This is also happening to me on 7.5-current. It is also the file descriptor limit in my case.

ulimit -n 1024 is still working as a fix with Rust 1.76 on OpenBSD 7.5 under SPARC64


Create reference labels with more meaningful names

When reference labels are set for objects, use names which are meaningful to understand when listing object labels. For example, config references on a blob could all use the same key, to make it very easy to filter all of the config labels.
First attempted this in #3065 but a more configurable solution is desired. Add this issue for tracking

Hi, I'm at student at UT Austin and am looking to contribute to container-related project as part of my virtualization course. I'm interested in picking this issue up, and I've read through the code in #3065. In terms of a more configurable solution, are we looking to allow key patterns to be controlled via config?


NameError: name 'npp_emmet' is not defined

I am using Notepad++ 6.4.2 (UNICODE) and Python Script <IP_ADDRESS>
Emmet is not working and giving this error in the Python Console
NameError: name 'npp_emmet' is not defined

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4199903-nameerror-name-npp_emmet-is-not-defined?utm_campaign=plugin&utm_content=tracker%2F286766&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F286766&utm_medium=issues&utm_source=github).

Hi all , I meet that issue also . Anyone knows what to do to fix ? Thank:)
notepad++7.4.2(32bit)
python script <IP_ADDRESS>
And I copied 4 files (editor.js,emmet-app.js,python-wrapper.js,snippets.json) into C:\Users\Sunny\AppData\Roaming\Notepad++\plugins\config\emmet
error message in python console :
File "", line 1, in
NameError: name 'npp_emmet' is not defined
Traceback (most recent call last):