Wrong time stamp for 1h time frame for versions after 0.2.44

Describe bug
Whenever I am trying to download stock data for 1h time frame it shows wrong time frame. This problem was not present in 0.2.44 and previous versions. It was easier to use when it used to give output in local time frames
Simple code that reproduces your problem
import yfinance as yf
print("\nyfinance version:", yf.version)
ticker = 'AAPL'
interval = '1h'
data = yf.download(ticker, period='1mo', interval=interval)
print("\nLast 7 Close Prices:")
print(data['Close'].tail(7))
Debug log
I downloaded stock data of AAPL in 0.2.44 version this is the print out.
Last 7 Close Prices:
Datetime
2024-11-25 11:30:00-05:00    230.206802
2024-11-25 12:30:00-05:00    230.414993
2024-11-25 13:30:00-05:00    230.684998
2024-11-25 14:30:00-05:00    230.520004
2024-11-25 15:30:00-05:00    232.880005
2024-11-26 09:30:00-05:00    234.360001
2024-11-26 10:30:00-05:00    235.139999
But when I downloaded stock data of AAPL in 0.2.50 version this is the print out.
Ticker                           AAPL
Datetime
2024-11-25 16:30:00+00:00  230.206802
2024-11-25 17:30:00+00:00  230.414993
2024-11-25 18:30:00+00:00  230.684998
2024-11-25 19:30:00+00:00  230.520004
2024-11-25 20:30:00+00:00  232.880005
2024-11-26 14:30:00+00:00  234.360001
2024-11-26 15:30:00+00:00  235.313507
Bad data proof

yfinance version
0.2.50
Python version
3.10
Operating system
No response

Look at the time-zone part of the times. First line from version 0.2.44 says 2024-11-25 11:30:00-05:00 230.206802, whereas in version 0.2.50 it is 2024-11-25 16:30:00+00:00 230.206802. That looks like 5 hours later, which is what the time-zone is telling you: -05:00 = UTC-5 = US Eastern Standard Time = New York.
IOW: 0.2.44 reports times in the zone of the stock exchange, whilst 0.2.50 is showing UTC.
I would hazard a guess that the price difference in the last row "235.139999" vs "235.313507" could be due to corrections still in flight for the latest market session??

Recent versions standardised the handling of timezones: https://github.com/ranaroussi/yfinance/blob/0c89fcd8f74764599c8a524f938f3f38ce757fd9/tests/test_prices.py#L47-L50
download is intended for multiple tickers potentially across multiple timezones. What is local then?

I am from India. For India adds up 5.5hour in later versions.
For previous versions it was easier to access the local time stamps

For this above 15m time frame it shows Indian local time in the version 0.2.50
Only problem is occurring with 1h time frame.

@indra5534 don't need to repost the screenshots.
One option is localizing to the most common timezone.

For 1h time frame api gives generalized time zone. For other time zones like 15m, 30m it gives localized time zone. I was trying to get data from user input time frame. But due to this I am unable to do so. For 1h it needs conversations to to localized time zone, for other time frame it doesn't need so. Please help.

I have this code,
import pandas as pd
import numpy as np
import yfinance as yf
import warnings
import pytz
from google.colab import drive
from tqdm import tqdm
Mount Google Drive
drive.mount('/content/drive')
Remove the unnecessary loop and handle warnings directly
warnings.simplefilter(action='ignore', category=FutureWarning)
def download_stock_data(stock_symbol, record_date, max_retries=5):
retries = 0
while retries < max_retries:
try:
stock_data = yf.download(stock_symbol, start=record_date, interval="1h", progress=False)
if not stock_data.empty:
return stock_data
except Exception as e:
retries += 1
return None
def calculate_heiken_ashi(stock_data, record_date, row):
ha_open = pd.Series(index=stock_data.index)
ha_high = pd.Series(index=stock_data.index)
ha_low = pd.Series(index=stock_data.index)
ha_close = pd.Series(index=stock_data.index)
record_date_idx = stock_data.index.get_loc(record_date) + 1
ha_open.iloc[record_date_idx] = row['HA_O']
ha_high.iloc[record_date_idx] = row['HA_H']
ha_low.iloc[record_date_idx] = row['HA_L']
ha_close.iloc[record_date_idx] = row['HA_C']

for i in range(record_date_idx + 1, len(stock_data)):
    ha_open.iloc[i] = (ha_open.iloc[i - 1] + ha_close.iloc[i - 1]) / 2
    ha_close.iloc[i] = (stock_data[['Open', 'High', 'Low', 'Close']].iloc[i].sum()) / 4
    ha_high.iloc[i] = max(stock_data['High'].iloc[i], ha_open.iloc[i], ha_close.iloc[i])
    ha_low.iloc[i] = min(stock_data['Low'].iloc[i], ha_open.iloc[i], ha_close.iloc[i])

return ha_open, ha_high, ha_low, ha_close

def calculate_chandelier_exit_signals(stock_data, atr_period, atr_multiplier, record_date, record_date_2, row):
ha_open, ha_high, ha_low, ha_close = calculate_heiken_ashi(stock_data, record_date, row)
ha_high_prev = ha_high.shift(1)
ha_low_prev = ha_low.shift(1)
ha_close_prev = ha_close.shift(1)
ha_high_low = ha_high - ha_low
ha_high_close_prev = np.abs(ha_high - ha_close_prev)
ha_low_close_prev = np.abs(ha_low - ha_close_prev)
ha_true_range = np.maximum.reduce([ha_high_low, ha_high_close_prev, ha_low_close_prev])

ha_true_range_series = pd.Series(ha_true_range, index=stock_data.index)

atr_values = []
atr_prev = row['ATR_prev']
idx_record_date_2_next = stock_data.index.get_loc(record_date_2) + 1

for i in range(idx_record_date_2_next, len(stock_data)):
    atr_next = ((atr_prev * (atr_period - 1)) + ha_true_range_series.iloc[i]) / atr_period
    atr_values.append(atr_next)
    atr_prev = atr_next

atr_series = pd.Series(atr_values, index=stock_data.index[idx_record_date_2_next:len(stock_data)])

long_stop = pd.Series(index=stock_data.index)
short_stop = pd.Series(index=stock_data.index)
dir_signal = pd.Series(index=stock_data.index)
buy_signal = pd.Series(index=stock_data.index)

long_stop.iloc[idx_record_date_2_next] = row['Long Stop']
short_stop.iloc[idx_record_date_2_next] = row['Short Stop']
dir_signal.iloc[idx_record_date_2_next] = row['dir']

highest_ha_close = ha_close.rolling(window=atr_period).max()
lowest_ha_close = ha_close.rolling(window=atr_period).min()

for i in range(idx_record_date_2_next + 1, len(stock_data)):
    current_date = stock_data.index[i]

    long_stop_candidate = highest_ha_close.iloc[i] - (atr_series.iloc[i - idx_record_date_2_next] * atr_multiplier)
    short_stop_candidate = lowest_ha_close.iloc[i] + (atr_series.iloc[i - idx_record_date_2_next] * atr_multiplier)

    if ha_close.iloc[i - 1] > long_stop.iloc[i - 1]:
        long_stop.iloc[i] = max(long_stop_candidate, long_stop.iloc[i - 1])
    else:
        long_stop.iloc[i] = long_stop_candidate

    if ha_close.iloc[i - 1] < short_stop.iloc[i - 1]:
        short_stop.iloc[i] = min(short_stop_candidate, short_stop.iloc[i - 1])
    else:
        short_stop.iloc[i] = short_stop_candidate

    if ha_close.iloc[i] > short_stop.iloc[i - 1]:
        dir_signal.iloc[i] = 1
    elif ha_close.iloc[i] < long_stop.iloc[i - 1]:
        dir_signal.iloc[i] = -1
    else:
        dir_signal.iloc[i] = dir_signal.iloc[i - 1]

    if dir_signal.iloc[i] == 1 and dir_signal.iloc[i - 1] == -1:
        buy_signal.iloc[i] = True
    else:
        buy_signal.iloc[i] = False

# Debug DataFrame to store the values
debug_df = pd.DataFrame({
    'Date': stock_data.index[idx_record_date_2_next:],
    'HA_O': ha_open.iloc[idx_record_date_2_next:],
    'HA_H': ha_high.iloc[idx_record_date_2_next:],
    'HA_L': ha_low.iloc[idx_record_date_2_next:],
    'HA_C': ha_close.iloc[idx_record_date_2_next:],
    'Long Stop': long_stop.iloc[idx_record_date_2_next:],
    'Short Stop': short_stop.iloc[idx_record_date_2_next:],
    'dir': dir_signal.iloc[idx_record_date_2_next:],
    'ATR_prev': atr_series
})

# Debug: Print the DataFrame with Heiken Ashi and Chandelier Exit values
print(debug_df)

return buy_signal, long_stop, short_stop, dir_signal

def process_stock(row):
tz = pytz.timezone('Asia/Kolkata')
record_date = pd.to_datetime(row['record_date']).tz_localize(tz)
record_date_2 = pd.to_datetime(row['Record_date2']).tz_localize(tz)

try:
    initial_long_stop = row['Long Stop']
    initial_short_stop = row['Short Stop']
    initial_dir = row['dir']
except KeyError:
    return None

stock_data = download_stock_data(row['Stock'], record_date)

if stock_data is not None:
    buy_signal, long_stop, short_stop, dir_signal = calculate_chandelier_exit_signals(
        stock_data, atr_period=5, atr_multiplier=2, record_date=record_date, record_date_2=record_date_2, row=row
    )

    # Focus on the current (latest) candle only
    current_candle = stock_data.index[-1]

    # Check for buy signals for the last 4 candles
    last_days = stock_data.index[-4:]
    result = []
    for day in last_days:
        if buy_signal.loc[day]:
            result.append((row['Stock'], day, stock_data.loc[day]['Close']))

    return result  # Only return buy signals

return None

def main():
file_path = '/content/drive/My Drive/5-2_1h.xlsx'
try:
    df = pd.read_excel(file_path)
except FileNotFoundError:
    return []

buy_signals = []
processed_stocks = set()

total_stocks = len(df)

for index, row in tqdm(df.iterrows(), total=total_stocks, desc="Processing stocks", unit="stock"):
    stock_symbol = row['Stock']
    if stock_symbol not in processed_stocks:
        result = process_stock(row)
        if result:
            buy_signals.extend(result)
        processed_stocks.add(stock_symbol)

return buy_signals

if name == "main":
print("\nRunning the main analysis once...\n")
buy_signals = main()
# Print only the buy signal stocks
if buy_signals:
    print("\nBuy signal stocks from Chandelier Exit:")
    for stock_symbol, date, close in buy_signals:
        print(f"Stock: {stock_symbol}, Date: {date}, Close Price: {close}")
else:
    print("No stocks generated a buy signal.")

this used to run just fine in 0.2.44 and bellow 2.46 and above versions the code is giving error
Running the main analysis once...
Processing stocks:   0%|          | 0/132 [00:00<?, ?stock/s]
ValueError                                Traceback (most recent call last)
 in <cell line: 185>()
185 if name == "main":
186     print("\nRunning the main analysis once...\n")
--> 187     buy_signals = main()
188
189     # Print only the buy signal stocks
4 frames
/usr/local/lib/python3.10/dist-packages/pandas/core/generic.py in nonzero(self)
1575     @final
1576     def nonzero(self) -> NoReturn:
-> 1577         raise ValueError(
1578             f"The truth value of a {type(self).name} is ambiguous. "
1579             "Use a.empty, a.bool(), a.item(), a.any() or a.all()."
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
I have tried everything converting the downloaded stock data to UTC, Asia/Kolkata, none,     but nothing works

That isn't obviously a yfinance error. Comprehend what Pandas is saying.

Ok fixed. thanks

Ok fixed. thanks. If possible please remove default time zones for future versions. like 1h time frame has UTC time zone. and all other time frame dont have any default time zones. Its hard for me to adjust my code for every versions released.

This isn't fixed. My last message referred to a different error that you deleted.


What ember versions are supported?

Would this work on the latest LTS? What about 2.13?
Don't think I'm not sad my team is on 2.13, ok, cause I am lol

I published v0.2.0 of this addon today and it's compatible with ember-cli & ember v3.0
The example app below for anyone curious about version support :)
https://github.com/toranb/ember-3.0-hot-reloaded
@devinrhode2  what version of ember is your team using? Are you having any issues with hot reload and your version of ember?

Hey! sorry I never saw these! we are using 2.13. I will try and test it out when I have time!
This maybe the wrong perspective, since this addon should (rather quickly) save me the small amount of time it takes to setup.. but I'll want to have the will power on hand to resolve any issues and write some nice messages to ensure my team fully buys into it.

Today ember v3.1 is also supported w/ the very latest release :)
example app for reference https://github.com/toranb/hot-reload-working-ember-three-one


DEV-1422-linea-sepolia-deployment

@Sidheartx , please see why the github actions failed

@uri-lightblocks I have resolved lint and PR name issue, will squash and merge for now. there a branch naming issue, fixing that will close the PR so will remember to follow next time


Error: spawn cucumber-json-formatter ENOENT

Current behavior

An error was thrown in your plugins file while executing the handler for the after:run event.
The error we received was:
Error: spawn cucumber-json-formatter ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Desired behavior
I want to generate cucumber html report

Test code to reproduce

my index.js file includes following:
///
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
/**

@type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
//module.exports = (on, config) => {
// on is used to hook into various events Cypress emits
// config is the resolved Cypress config
// return config;
//}

//const xlsx_methods = require("@emodal/cypress/common/xlsx-methods")
const cucumber = require('cypress-cucumber-preprocessor').default
const fs = require('fs');
module.exports = (on, config) => {
on('file:preprocessor', cucumber()),
on('after:run', (results) => {
if (results) {
fs.mkdirSync("cypress/.run", { recursive: true });
fs.writeFile("cypress/.run/results.json", JSON.stringify(results));
}
})
}
Versions

Cypress version: 10.11.0

Preprocessor version: 4.3.1

Node version: v18.13.0

Checklist

[x] I've read the FAQ.
[x] I've read instructions for logging issues.
[ ] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

The package has moved to @badeball/cypress-cucumber-preprocessor, read more about the transfer here, IE. you're not using the most recent version, but you should.

@badeball ok thanks for the sharing the info. let me update and if i require any help i will log the issue again.

This is not a support forum.


segfaults on matrix operations for matrices filled with nan

I'm a bit illiterate with low level math libs, but stumbled across a bug, which I initially had thought to be a numpy bug and filed it there https://github.com/numpy/numpy/issues/5802 . Trying to invert a nan-filled matrix with certain sizes segfaulted there. This also affected other maxtrix operations for numpy, namely linalg.cond and linalg.solve. I also managed to reproduce the segfault using armadillo and openblas, so I suppose openblas is the actual source of the problem and this should be the right place to file the bug.
Unfortunately I have no clue how to reproduce it with low level cblas functions, but this is how to reproduce the segfault:
First option, using numpy (1.9.2, linux):
python -c "import numpy as np; np.linalg.inv(np.ones((8,8)) * np.nan)"
Second, the following lines in C++, using recent ubuntu armadillo and openblas packages:
// g++ test_matrix_pseudoinverse.cpp -o test_matrix_pseudoinverse -L/usr/lib/openblas-base -larmadillo -lopenblas

#include <cstdio>
#include <math.h>
#include <armadillo>

using namespace std;

int main()
{
    for(int M=1; M <= 15; M++) { // dimension
        arma::mat _A(M,M);
        arma::mat _B(M,M);

        for(int i=0; i < M; i++) {
            for(int j=0; j < M; j++) {
                //_A(i,j) = rand()/(1.0 + RAND_MAX);
                _A(i,j) = NAN;
            }
        }
        _B = arma::inv(_A);
        cout << M << " ";
    }
    cout << endl;
    return 0;
}

The latter one counts up to 9 and then crashes. Having random numbers in there, everything works fine. On numpy reproducibly any edge length with a multiple of 8 segfaulted. A dump of the numpy segfault is here: http://pastebin.com/A8RuGpjn If you need further information for debugging, I'll try my best to provide them.

Sorry for the double poste. Somehow the report got replicated on edit.


Fix | Fix random test issues with BVT Test

Codecov Report

Merging #994 into dev will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #994      +/-   ##
============================================
- Coverage     50.19%   50.16%   -0.03%
+ Complexity     2885     2882       -3
============================================
  Files           120      120
  Lines         27989    27989
  Branches       4677     4677
============================================
- Hits          14050    14042       -8
- Misses        11684    11688       +4
- Partials       2255     2259       +4

Flag
Coverage Δ
Complexity Δ

#JDBC42
49.72% <ø> (-0.05%)
2841 <ø> (-5)

#JDBC43
50.05% <ø> (-0.12%)
2879 <ø> (-5)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
52.23% <0%> (-1.5%)
11% <0%> (-1%)

...a/com/microsoft/sqlserver/jdbc/PLPInputStream.java
59.76% <0%> (-1.19%)
34% <0%> (-1%)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
43.86% <0%> (-0.2%)
318% <0%> (-2%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
55.55% <0%> (-0.17%)
0% <0%> (ø)

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
68.41% <0%> (-0.06%)
0% <0%> (ø)

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
39% <0%> (+0.43%)
43% <0%> (ø)
:arrow_down:

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
62.93% <0%> (+0.43%)
92% <0%> (+1%)
:arrow_up:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
47.94% <0%> (+0.64%)
112% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Permission error of accessing S3 data

I have tried to run How_to_Direct_S3_Access.ipynb and got an error for the part of opening s3 url:
# Open s3 url
fp = fs_s3.open(s3_url, mode='rb')
# Open dataset with xarray
ds = xr.open_dataset(fp) #Note this only opens the root group (reflectance)
ds

---------------------------------------------------------------------------
ClientError                               Traceback (most recent call last)
File [~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/s3fs/core.py:113](https://file+.vscode-resource.vscode-cdn.net/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/s3fs/core.py:113), in _error_wrapper(func, args, kwargs, retries)
    112 try:
--> 113     return await func(*args, **kwargs)
    114 except S3_RETRYABLE_ERRORS as e:

File [~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/aiobotocore/client.py:383](https://file+.vscode-resource.vscode-cdn.net/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/aiobotocore/client.py:383), in AioBaseClient._make_api_call(self, operation_name, api_params)
    382     error_class = self.exceptions.from_code(error_code)
--> 383     raise error_class(parsed_response, operation_name)
    384 else:

ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

The above exception was the direct cause of the following exception:

PermissionError                           Traceback (most recent call last)
[/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb) Cell 16 line 2
      [1](vscode-notebook-cell:/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb#X21sZmlsZQ%3D%3D?line=0) # Open s3 url
----> [2](vscode-notebook-cell:/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb#X21sZmlsZQ%3D%3D?line=1) fp = fs_s3.open(s3_url, mode='rb')
      [3](vscode-notebook-cell:/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb#X21sZmlsZQ%3D%3D?line=2) # Open dataset with xarray
      [4](vscode-notebook-cell:/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/How_to_Direct_S3_Access.ipynb#X21sZmlsZQ%3D%3D?line=3) ds = xr.open_dataset(fp) #Note this only opens the root group (reflectance)

File [~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/fsspec/spec.py:1309](https://file+.vscode-resource.vscode-cdn.net/Users/xinz/Documents/github/EMIT-Data-Resources/python/how-tos/~/miniconda3/envs/emit_tutorials/lib/python3.9/site-packages/fsspec/spec.py:1309), in AbstractFileSystem.open(self, path, mode, block_size, cache_options, compression, **kwargs)
   1307 else:
...
    138         err = e
    139 err = translate_boto_error(err)
--> 140 raise err

PermissionError: Forbidden

Thanks a lot for your reply. Because I'm interested in processing L1 data by myself, it sounds better to download it using the Earth Search web tool or script.


Support vararg for Engine classes

Vararg methods cannot be called with Ptr calls in Godot, and attempting to get them returns a null address for the function (which obviously crashes).
This should work okay for Engine classes which are already not using ptr calls, but the generated code have the funcitons take a List as their paraemter list, defaulted to [], and make sure this is passed as the arguments to the vararg function

Done


Unable to sign airgrab nebulatokenn

Tried to claim the nebulatokenn airgrab. Using Watch wallet the airgrab was signed. On the cold wallet it loaded the unsigned transaction but when I click the "Sign this Transaction" it does nothing. Using EOS-voter 0.7.8 on both computers.

This looks to be related to issue #382, but sadly the fix for the hot/ledger wallets doesn't seem to work with cold wallets and offline signing. The reason it's not working is the offline wallet is expecting a "symbol" (as defined in the ABI), but the smart contract itself is trying to treat it as an "asset".
We will dig into the airgrab tool and see if we can fix this issue, so that the offline signer can accept and sign the transaction.

Discussed this and upgrading to eosjs v2 will probably fix this, but will leave the issue opened for now.

冷钱包较热钱包，冷钱包更加的安全，除非人为的泄露，其它基本无丢失的可能性，热钱包拥有冷钱包的功能却不是很安全，存在被窃取的风险。对于交易所这种业务型系统，选择钱包的时候需要考虑的问题，应该是安全的同时也需要快速的业务对接。在业务上常见的难点有：安全、跨链整合、庞大的数据量、还有其他的业务需求比如生成地址、地址管理、资金管理、交易记录管理、充提币及回调等等。以优盾钱包这个数字资产的管理系统冷热钱包相结合为例，以上的难点都得到了解决，且业务上有主流语言的SDK可实现快速的对接： ①Java版 https://github.com/uduncloud/udun-sdk-java ②.Net版 https://github.com/uduncloud/udun-sdk-csharp ③Php版 https://github.com/uduncloud/udun-sdk-php 就安全而言，提供了Client-Gateway Solution（CGS）、Hareware-Gateway Solution（HGS）两套解决方案。


Command line arguments with spaces within double quote aren't being passed to LabVIEW

Example:
"c:\Program Files (x86)\Wiresmith Technology\LabVIEW CLI\labview-cli.exe" "C:\Documents\GitHub\LabVIEW-CLI\LabVIEW Source\CLI Demo.vi" -- "This is a test"
This doesn't pass "This is a test" as a single argument. Instead, it passes each word as a separate argument.

The v1.1.0-beta release should fix this issue. You only need to update the C# app for this to work.
Thanks for the report!


Extract CFFParser and Type1Parser from fonts.js

Re: #6777.
I've tried to come up with a solution to the SEAC_ANALYSIS_ENABLED mess in the font_spec.js tests.
Unfortunately GitHub chokes on the diff sizes, but I'm not sure how to divide the first patch into smaller chunks unless we put various CFF... classes into separate files!?
Edit: Perhaps it would help if CFFCompiler is separate, but I'm not sure that would be enough to fit within the limits (https://help.github.com/articles/what-are-the-limits-for-viewing-content-and-diffs-in-my-repository/#diff-limits).

This change is

/botio-linux preview

/botio test

Can you add extra commit with asserts or if/throw to check seacAnalysisEnabled !== undefined in the CFFParser and Type1Parser? We will remove that after at least one testing was run.

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

src/core/type1_parser.js, line 98 [r2] (raw file):
make seacAnalysisEnabled as argument of convert

Comments from the review on Reviewable.io

Done, and thanks for the review comments both here and on IRC!

Review status: all files reviewed at latest revision, 1 unresolved discussion.

src/core/type1_parser.js, line 98 [r2] (raw file):
Done.

Comments from the review on Reviewable.io

/botio test

(asserts can be removed)

The asserts were removed.
/botio test

Thank you for the patch.


extend-select = ["I"] from pyproject.toml not honored for tests in very specific circumstances

We've observed an odd behavior where the extend-select = ["I"] is not honored for code in tests/ when a very specific set of circumstances occur. I'm not even sure I have the minimum reproduction steps completely down, but I can very consistently reproduce the situation.

The tests import items from specific module mod1
The python code structure starts at src instead of the repo root
A directory mod1 exists at the repo root. This directory can be empty
This is the most bizarre part: This depends on the contents of the test files tests/test_mod1.py. Modifying the file contents can in some cases cause extend-select from pyproject.toml to be respected. Some of these are very insignificant changes, like insertion of a comment between imports, removal of a blank line between imports, etc.
Run ruff check --no-cache and observe that tests/test_mod1.py is not checked for I001 as requested in pyproject.toml. Be sure to use --no-cache during tests because some actions will not invalidate the cache that otherwise would, like creating/removing the top-level mod1 directory.

The minimum reproduction is below, but is also available as a git repository https://github.com/jamesharr/ruff-issue-12453
This bug was initially spotted due to a dirty working directory, and we eventually narrowed it down to an empty to-level folder that matches one of the modules a test imports. Of course git ignores empty directories, so we were chasing our tails on this one for a few days.
Ruff version: ruff 0.5.4 on macOS 14.5, though we've also seen it with 0.5.2 and 0.5.3
Command: ruff check --no-cache .
Directory structure:
% tree .
.
├── README.md
├── mod1                   # Empty directory required for bug reproduction
├── pyproject.toml         # Sets "extend-select" to "I"
├── src
│   └── mod1
│       └── __init__.py
└── tests
    └── test_mod1.py       # File is not always check

5 directories, 4 files

Contents of pyproject.toml
[tool.poetry]
name = "ruff-bug"
version = "0.0.0"
description = "Ruff bug demo project"
authors = []
readme = "README.md"
packages = [
    { include = "mod1", from = "src" },
]

[tool.ruff.lint]
extend-select = ["I"]

Contents of tests/test_mod1.py
def test_bug1():
    # For the bug to occur:
    # - [repo-root]/mod1 must exist as a directory; contents of directory do not seem to matter
    # - There must be an empty line after the first import import
    # - It cannot be two blank lines
    # - It cannot be line with a comment
    # - It can be a line consisting of only tabs/whitespaces
    # - All 3 imports must exist and in this order
    # - All 3 imports must exist within the function
    #
    # When the above conditions are met, then tests/* are NOT checked for I001 (unsorted imports)
    # as requested in pyproject.toml.
    #
    # Files in src/* are checked for I001 as requested in pyproject.toml, regardless of the contents
    # of this file.

    from external_lib import qux

    from mod1 import foo
    from mod1.bar import baz

    # I think the code below is only important because it uses the above imports
    print(qux)
    print(foo)
    print(baz)

% cat src/mod1/__init__.py
# The contents of this file seem to have no bearing bug reproduction
# - I001 seems to always be checked for this file, as specified in pyproject.toml
#
# You can illustrate this by re-ordering these imports
import os
import sys

# The following code only exists to use the imports and avoid F401 (imported but unused)
print(os)
print(sys)

A few quick comments:

If you have src and tests, then imports from src won't be considered first-party unless you add the following to your pyproject.toml:

[tool.ruff]
src = ["src"]  # The default here is `src = ["."]`

The presence of the mod at the top-level is likely causing you to treat imports of mod as first-party, because the default for src is ["."] - -so it's finding mod at the root of your project.

Do you want imports of src modules in tests to be considered first-party or third-party?

I believe I'm asking for src to be considered first-party (code that this repo owns). I'll try playing around with it and update the ticket appropriately. It makes sense to list that explicitly instead of relying on implicit detection.
There might still something bizarre going on here, because doing certain things to tests/ can cause I001 to be checked, like messing with empty lines, moving imports up to the top-level.

Are you sure that I001 isn't being checked? My guess is that it is being checked, it's just not having any effect in your MRE because it considers the imports to be sorted already.

You know what, I think you might be right. I001 is being checked and this all is starting to make sense. The existence of that top-level directory is affecting the detection of the src setting, which is affecting what's being treated as a first/third-party import... Which is probably what you were getting at first.
What does MRE mean?

Apologies, MRE is "minimal reproducible example".

So with my new found understanding, I'm trying to figure out if there's an issue worth keeping around or not, even if it's not this specific issue. I'm leaning towards "no", but I want to run my thoughts by you regardless:

Ultimately my tail-chasing revolves around me not understanding that I'm triggering an implicit behavior. I think there's value in that implicit behavior (so you don't need to specify the src directory every time), but I also wasn't aware that the first-party/third-party was changing.
a. Is it worth detecting/notifying the user if there's ambiguity in first/third-party import detection?
b. Is it worth adding src as part of the implicit first/third-party import detection?
More pragmatically, creation/deletion of mod1 does not invalidate the cache. When I created mod1, if the previous ruff check passed, then it would report no issues even though it should if run without caching.

If any of these are worth keeping around, I can file a separate issue. If not, I'll close this ticket after I give my coworkers some time to skim over.

Well put!
I've been wanting to add "src" to the default src for a while now (which would've fixed this) -- but it's a breaking change, so it will need to be in the next minor. I'll create an issue for it now.

More pragmatically, creation/deletion of mod1 does not invalidate the cache. When I created mod1, if the previous ruff check passed, then it would report no issues even though it should if run without caching.

Yeah this is a legitimate bug / footgun, I believe it's covered here: https://github.com/astral-sh/ruff/issues/10519.

I'm going to close out in favor of those other issues (e.g., https://github.com/astral-sh/ruff/issues/12454), thanks for taking the time to dig into this and for your thoughts.

Thank you for taking the time to interact & help me understand, I appreciate the project's helpfulness


chore(toolbar): combine imports from same file

Moves two separated imports to one single import statement.

LGTM


Update the release automation for 1.8

This PR will make the following changes:

Remove the logic of running the bundle tests before publishing a bundle
Update the scripts under scripts/ to handle the 1.8 release
Copy the tests-bundle/1.7 folder to tests-bundle/1.8 folder

The reason, to our current understanding, that the tests are broken is because of https://github.com/canonical/oidc-gatekeeper-operator/issues/112. Once we fix that we should enable back the tests, that at least will verify that all components in the bundle become active

Note, my editor auto-updated the lint on the scripts/get_releases_affected.py file. That's why it shows it has many changes

@DnPlas thanks for the review! I addressed your comments


Wrong longitude

When I move the map to the left or to the right, the longitude keeps growing, and that's not correct.
This can be seen here:
http://openlayers.org/en/v3.15.1/examples/mouse-position.html?q=position

Duplicate of #3899


Leverage NamedTuple and TypedDict for type hinting

https://docs.python.org/3/library/typing.html#typing.NamedTuple
https://docs.python.org/3/library/typing.html#typing.TypedDict
We can use both to avoid schema inference in APIs such as DataFrame.transform. This looks added from Python 3.6. Koalas supports Python 3.5 yet. So we should wait for now.

cc @thunterdb


Can't compile library

Hi i'm trying to include openpose in my project in C# and i found your helpful OpenPoseDotNet wrapper project.
I dowloaded the repository and tried to follow compile instructions but i receive an error that says:       "Error: This plaform is not support".
I don't understand why i receive this error and how i can resolve the problem in order to use your library.
My software working set is:  Windows 10 OS and i use VS2017 with Cuda version 10.0. My hardware is  NVIDIA GTX950M and CPU is i7 6700HQ.
Following your instruction i wrote the command < Build.ps1 Debug cuda 64 desktop 2017 100 >  but i get the error.

I also tried different version of Cuda  such as 90 101.
Do you have any suggestion?
Thanks in advance!

@giubri91
OK. You must use PowerShell Core rather than built in powershell.
Built in powershell could be not support $global:IsWindows

thanks for you reply! following your suggestion i installed and used PowerShell Core and started the built process, but after some steps it returns some errors of missing cpp files that i think are related to openpose

I tried several attempts to make it works , including :

do the command:  git submodule update --init --recursive
i copied the directory openpose from the openpose original project, but it does not work. Maybe i made mistakes about the right dir where to put the file?

thanks for you help!

@giubri91
I tried to build from the beginning.
$ git clone https://github.com/takuya-takeuchi/OpenPoseDotNet
$ cd OpenPoseDotNet
$ cd src\OpenPoseDotNet.Native
// It get to be failed of build
$ pwsh Build.ps1 Debug cuda 64 desktop 2017 100
$ git submodule update --init --recursive
$ pwsh Build.ps1 Debug cuda 64 desktop 2017 100

But it works fine.

Maybe i made mistakes about the right dir where to put the file?

No, You need not to do.
Could you tell me the following things?

Is there src\openpose\3rdparty\windows\opencv\include\opencv2\opencv.hpp?
 So Please show the last error message.
Could you try to remove src\OpenPoseDotNet.Native\build_win_desktop_cuda_x64_d?

CMake cache may occur build fails.

thanks @takuya-takeuchi , following exactly the steps you wrote in the previous post, I was finally able to compile without error.

@giubri91
I tried to build from the beginning.
$ git clone https://github.com/takuya-takeuchi/OpenPoseDotNet
$ cd OpenPoseDotNet
$ cd src\OpenPoseDotNet.Native
// It get to be failed of build
$ pwsh Build.ps1 Debug cuda 64 desktop 2017 100
$ git submodule update --init --recursive
$ pwsh Build.ps1 Debug cuda 64 desktop 2017 100

But it works fine.

Maybe i made mistakes about the right dir where to put the file?

No, You need not to do.
Could you tell me the following things?

Is there src\openpose\3rdparty\windows\opencv\include\opencv2\opencv.hpp?

 So Please show the last error message.

Could you try to remove src\OpenPoseDotNet.Native\build_win_desktop_cuda_x64_d?

CMake cache may occur build fails.

after the build i wanted to try the example following your guide https://github.com/takuya-takeuchi/OpenPoseDotNet#2-try-tutorial
but after the command
dotnet run -c Release  -i "examples\media\COCO_val2014_000000000192.jpg"
the terminal does not do anything.

I wonder what could be causing that.
I don't have understand how to include and use it in my Visual Studio project. Can you give me some tips?
Many thanks for your help!

I also have this problem. I can configure and generate project successfully, but I cannot run examples. Once they ran, they exit quickly without producing any results. HELP WANTED!!(T_T)

@AmazingRachel

Once they ran, they exit quickly without producing any results. HELP WANTED!!(T_T)
You can check event viewer or attache to debugger to catch exception.
I guess

all library is not deployed to application directory

especially, cudnn libs if you compile with enabling CUDA

You should use dependencies to check library.
https://github.com/lucasg/Dependencies


Add the dependency ceres-solver in the .rosinstall file.

This commit fixes #44.
Change-Id: Idfb989aa23df74a37ddbe800e01ea366a0215b91
Signed-off-by: Wei Ren<EMAIL_ADDRESS>

I signed it!
On Fri, Feb 17, 2017 at 11:41 AM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlecartographer/cartographer_turtlebot/pull/45#issuecomment-280746956,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALL2My9hhES0exia2ykCKf5SdymgMc5Eks5rdffdgaJpZM4MEqut
.

@renweizhukov Our CLA database does not contain your github user name. Did you use the same email address that you used for the github commit to sign the CLA?

Sorry, my bad. I accidentally used a different email address in the github commit. I have fixed it and created a new pull request #46. Thanks.


make a new DEFLATE dictionary taking advantage of the official samples and dictator

Not currently planning on using dictator.


Add option to remove leading zeroes from ghost tags

Fully addresses #58:

Added SP_TA_RULE_GHOST_TAG_CONTENT_TIME_NOLEADING to describe a ghost finish time without leading zeroes.
Added a "Shortened Time" option to the UI to select SP_TA_RULE_GHOST_TAG_CONTENT_TIME_NOLEADING.

Screenshots:

Admittedly "Shortened Time" isn't the best name, but we're very constrained as to what can fit in the UI slot.

Thanks 😃 I've pushed a fix to everything you've brought up.

Can you rebase (and optionally squash)?


Background in /i18n

If you have a page with a lot of strings to translate, background fill (texture?) doen't cover all page.
If you scroll down you'll see this

Fixed by 5e80bb6.

Really? O_o
No new line crashes output css?


Node.js reading and writing into YAML file located into external url (http url)

I'm using Node.js and I'm having trouble figuring out how could I read external http url which has data (a YAML file) , replace a value in it, and write the updated value to the YAML file located in the external URL .
But unfortunately fs module read/write only on local paths.
Any idea about how to resolve this issue?
Thanks!
const yaml = require('js-yaml');
const fs = require('fs')
let doc = yaml.safeLoad(fs.readFileSync('http://xxx', 'utf8'));
doc.General.Greeting = newGreet;
fs.writeFile('http://xxx', yaml.safeDump(doc), (err) => {
if (err) {
console.log(err);
}
});

Hi! Looks like you're looking for help. The best place to open an issue for this would be https://github.com/nodejs/help 👍🏽


Cleanup and simplify the typical interaction pipeline and outputs

[x] single entry-point that takes a structure and returns: annotation_df (NOT annotation object), protein_structure, annotation_structure (all bts.AtomArrays)
[x] convenience wrapper for above that loads a PDB and then runs
[x] cleaning should no longer return REMARKS, these aren't that useful now that everything is working, should just return the structure
[x] annotation should return a nice dataframe, not the annotation object itself (utils.make_annotation_dataframe), or at least this intermediate should be with-held from the end-user, even if they are doing things step-wise
[x] above also means that no annotation remarks will be generated
[x] change tests as a result of above change
[x] annotation spheres should initially be returned as a bts.AtomArray object, which would later be converted to pdb just as the prepared structure is
[x] rename pdb.structure_to_lines as pdb.structure_to_pdb
[x] pdb.make_voxel_lines and pdb.points_to_pdb should be removed once annotation is being make into a bts.AtomArray
[x] remove pdb.generate_rotation_translation_remarks since we no longer will use remarks
[x] remove pdb.generate_volume_remarks since we no longer will use remarks
[x] remove pdb.generate_resolution_remarks
[x] with removal of all remarks, the combination of the prepared and annotated structures into a single PDB can have fewer options (pdb.merge_pdb_lines) and should instead just generate the intended lines with "END" between them unless specified (e.g. have a deliminator argument that could be "END", "TER", or nothing
[x] allow use of raw coordinate input by converting to all carbon atom structure using the same routine as being used for conversion of the annotation to a structure
[x] Optional: use the biotite np.array coordinates directly along with the element field rather than building a dataframe first
[x] Address performance TODO in voxel.build_planar_voxel_coordinate_arrays
[x] Address performance TODO in voxel.compute_voxel_indices

The suggestion for voxel.build_planar_voxel_coordinate_arrays did not yield a performance boost and was less easy to understand, so was scraped as a suggestion.
However, in examining the function further it became clear that a small optimization was possible because the occluding list of voxel coordinates was always in order, so list[0] and list[-1] were functionally equivalent to min(list) and max(list) but more performant (observed difference was minimal for the small test structures, but presumably would be meaningful for much larger structures or at higher resolution where there are more protein voxels to consider for occlusion.

biotite coordinates are still converted to a dataframe, because it turns out this is needed for PyntCloud.


Add special case for __toString(), fixes #61

Fixes #61

I've added your requested change @Nyholm.

Anything else you need @Nyholm ?


Bug in rendering nested selections

I created a repo that demonstrates a bug that I cannot figure out. I'm reasonably confident the issue isn't with my code, but maybe I just don't understand the library.
Repo: https://github.com/matthewcrews/AvaloniaUIBug/tree/main
The UI is rendering a CheckBox as checked when it should not be.

Hey @matthewcrews, thanks for the great repro - made it easy to test.
When you pass an onClick handler to a control that captures/has state you need to tell FuncUI when to patch it. This can be done by providing SubPatchOptions to the onClick attribute.
https://github.com/fsprojects/Avalonia.FuncUI/blob/e4b5503559908d18ddc5cac28a87741dea35c3fd/src/Avalonia.FuncUI/Builder.fs#L5-L11
You can avoid dealing with this mostly by creating a structure that aligns with view identity. View identity is determined by a few things (structure, type, key). I recommend checking out this and this.
View.withKey works well when things get complicated otherwise. (that's how I fixed it to ensure FuncUI behaves correctly)
Let me know if you have further questions / if something is unclear.

Basically write code more that's like this:
let scenarioPickerView (state: IWritable<State>) =
    Component.create ("scenario", fun ctx ->
        let state = ctx.usePassed state

        StackPanel.create [
            StackPanel.spacing 10.0
            StackPanel.verticalAlignment VerticalAlignment.Top
            StackPanel.horizontalAlignment HorizontalAlignment.Left
            StackPanel.children [

                TextBlock.create [
                    TextBlock.text "Scenario Selection"
                ]

                CheckBox.create [
                    CheckBox.content "Baseline"
                    CheckBox.isChecked (state.Current.Scenario = Scenario.Baseline)
                    CheckBox.onClick (fun _ ->
                        state.Set  { state.Current with Scenario = Scenario.Baseline }
                    )
                ]

                CheckBox.create [
                    CheckBox.content "Expand"
                    CheckBox.isChecked (
                        match state.Current.Scenario with
                        | Scenario.Expand _ -> true
                        | _ -> false
                    )
                    CheckBox.onClick (fun _ ->
                        state.Set { state.Current with Scenario = Scenario.Expand (None, []) }
                    )
                ]

            ]
        ]
    )

How does that interact with the Window type, though? This example is leaving out the thing that is hard which is passing the reference to the Window type so I can get a Select File dialog. I'm also unsure of how to connect this new view function to the MainWindow?

Also, the example provided looks like a sibling component per this doc:
https://github.com/AvaloniaCommunity/Avalonia.FuncUI.Docs/blob/master/src/guides/Hooks.md
That's not the scenario I'm dealing with, so I'm struggling to figure out how to hook this up.
Am I supposed to wrap this component in another component? It seems like that should be unnecessary, yes?

I tried using the Component.create function and embedding that in another Component and adding SubPatchOption.Always to every onClick function, but I still got the same result. I'm missing something really important because when I debug, the state variable has the right values, but the render is wrong.
Branch: https://github.com/matthewcrews/AvaloniaUIBug/tree/subpatchoption-everything

I tried using the Component.create function and embedding that in another Component and adding SubPatchOption.Always to every onClick function, but I still got the same result. I'm missing something really important because when I debug, the state variable has the right values, but the render is wrong.
Branch: https://github.com/matthewcrews/AvaloniaUIBug/tree/subpatchoption-everything

I think I was a bit unclear about how I'd fix it. SubPatchOptions are an option, but not the one I'd pick as it's more complicated than just that in your case.
State can get mixed up by side effects if you don't account for them
FuncUI can only manage state to a certain level. If a CheckBox is checked and you don't mirror that action in your state you get detached from reality. FuncUI only diffs its previous state with the current one, but it does not actually compare what is set on a control.
A CheckBox sets it's internal state to checked/unchecked automatically when you click it. It's a side effect of the control. This is fine, but you need to mirror it in your state (onChecked & onUnchecked).
    let view () =
        Component (fun ctx ->
            let state = ctx.useState false

            DockPanel.create [
                DockPanel.children [
                    CheckBox.create [
                        CheckBox.isChecked state.Current
                        CheckBox.content "Checkbox A"
                        CheckBox.onChecked (fun _ -> state.Set true)
                        CheckBox.onUnchecked (fun _ -> state.Set false)
                    ]

                    CheckBox.create [
                        CheckBox.isChecked state.Current
                        CheckBox.content "Checkbox B"
                    ]
                ]
            ]
        )

Backing controls get reused, which makes it even worse
    [<Preview>]
    let view () =
        Component (fun ctx ->
            let showOptionB = ctx.useState false

            StackPanel.create [
                StackPanel.margin 10
                StackPanel.children [

                    CheckBox.create [
                        CheckBox.isChecked showOptionB.Current
                        CheckBox.content "Show option 'B'"
                        CheckBox.onChecked (fun _ -> showOptionB.Set true)
                        CheckBox.onUnchecked (fun _ -> showOptionB.Set false)
                    ]

                    CheckBox.create [
                        CheckBox.content "Checkbox A"
                    ]

                    if showOptionB.Current then
                        CheckBox.create [
                            CheckBox.content "Checkbox B"
                        ]

                    CheckBox.create [
                        CheckBox.content "Checkbox C"
                    ]
                ]
            ]
        )

So how do we fix this?
Option 1: Don't change the structure or your view hierarchy. If you need to hide a view do it with isVisible:
CheckBox.create [
    CheckBox.isVisible showOptionB.Current
    CheckBox.content "Checkbox B"
]

Option 2: Explicitly state view identity using View.withKey/View.createWithKey:
CheckBox.create [
    CheckBox.isChecked showOptionB.Current
    CheckBox.content "Show option 'B'"
    CheckBox.onChecked (fun _ -> showOptionB.Set true)
    CheckBox.onUnchecked (fun _ -> showOptionB.Set false)
]

View.createWithKey "A" CheckBox.create [
    CheckBox.content "Checkbox A"
    CheckBox.onClick (fun _ -> printfn "clicked on Checkbox A")
]

if showOptionB.Current then
    View.createWithKey "B" CheckBox.create [
        CheckBox.content "Checkbox B"
        CheckBox.onClick (fun _ -> printfn "clicked on Checkbox B")
    ]

View.createWithKey "C" CheckBox.create [
    CheckBox.content "Checkbox C"
    CheckBox.onClick (fun _ -> printfn "clicked on Checkbox C")
]

Also, the example provided looks like a sibling component per this doc: https://github.com/AvaloniaCommunity/Avalonia.FuncUI.Docs/blob/master/src/guides/Hooks.md
That's not the scenario I'm dealing with, so I'm struggling to figure out how to hook this up.
Am I supposed to wrap this component in another component? It seems like that should be unnecessary, yes?

From the previouse comment above you might already guess it. I recommend to do this for structure / view hierarchy.

There should be better / more documentation on this, but it's hard to explain in text. I guess a short video would make a big difference.

This whole thread is worth to copy into documentation

@matthewcrews is you issue resolved? / can I close this?

Yes, thank you.


Maybe change processors entry in input dict from pure str to list[str].

Considering the new interactive json schema format of the input it would probably be beneficial to change the input for the "processors" key from string of form "proc1, proc2, ... " to a list of strings. This would allow to set it as a predefined array in the json schema where the user could then just add processors from a predefined list. For a minimal example see the flair "job" key.

Probably not worth the trouble as this would make the jsonschema needlessly complicated for the sake of a small visual improvement.


Add a Code Style guide

Add a STYLE.md document with a detailed coding style guide and reference it from the CONTRIBUTING.md guide.

I think this is unnecessary, no? The cookiecutter should not be too opinionated on this, anything that conforms to pep8 should be acceptable

The idea is to try to have a consistent coding style across the different DAI-Lab projects.
So yes, actually being a bit more opinionated than pep8, and also include things that fall outsite its scope, like project structure, some generic best practices, docstrings and documentation format guidelines, etc.
But it would also not be something as detailed and rigid as the Google Python Style Guide, it would be something between the two.

This is simply too opinionated for a project template. Otherwise you and I will end up arguing about the contents of the STYLE file ad nauseam.
You should feel free to write up your style recommendations in a blog post or similar. If you are maintaining a project, you can request people review your preferred style. You are not the only user of the cookiecutter :)


[pgadmin4] Add ServiceAccount

What this PR does / why we need it:
Adds a ServiceAccount resource.
Needed for using service communication ACLs. (e.g. Consul ACL)
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [pgadmin4])

Apologies for the many remarks, but I was about to implement serviceAccounts myself - haha.

Thanks a lot for your remarks. Those are all very reasonable.
I've adjusted my pull request with your remarks.


github rate-limiting

According to the doc (https://developer.github.com/v3/#rate-limiting), one can only access github api 60 times per hour without auth. Do you think it is a problem?

I remember coming across that in the docs and I thought the same thing...although the CMS.js demo site received over 10k sessions last Tuesday at one point getting 1000 requests per hour (which I'm sure was over 60 unique IPs) without any rate lock downs. Although, this may have been skewed because of Github users being logged in. I think if this does become an issue, we either possibly integrate Auth or I'll add some notes in the README about limiting and offer suggestion to move to self host.

If I get you right, you have some misunderstanding of rate-limiting.
Rate-limiting says that one IP can only access github api 60 times per hour, It's not about IP number accessing the same content.

Oh right, I get what your are saying. My misunderstanding. Yeah, then I definitely think we should be alright. 60 times/hour per IP is plenty of room. If the site becomes that big, I'm sure moving to self hosted is a much better option anyway. I'll definitely add a note in the README or wiki about rate-limiting using Github.

Information might be useful:
While requesting files, your can use this url: https://raw.githubusercontent.com, for example:
https://raw.githubusercontent.com/cdmedia/cms.js/master/pages/about.md
This way, user only request github api for dirs, And 60 times/hour will be enough(I think).
ref:
https://developer.github.com/changes/2014-04-25-user-content-security/

Oh, sorry for not reading your code more careful, reader access the files by the download_url. This won't count. Github api is accessed only for retrieving folders. Then the problem is not so big as I thought.

I'll close this for now unless this becomes an issue in the future.


Added a forgotten Plan/Version increment.

This is a backport of a bug fix which was done in devel.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/9948/

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr-linux/11718/

Tests blue.


Remove version: Panic.PlaydateSDK version 2.0.0-beta.4

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://beta.panic.com/playdate/2.0.0-beta.4/PlaydateSDK-2.0.0-beta.4.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 871)


chore: Migrate the project openchallenges-app to Ng standalone components

Closes #1992
Changelog

Step 1: Convert all components, directives and pipes to standalone
vscode@34f14f659357:/workspaces/sage-monorepo$ nx generate @angular/core:standalone openchallenges-app

>  NX  Generating @angular/core:standalone-migration

✔ Choose the type of migration: · convert-to-standalone
✔ Which path in your project should be migrated? · ./
    🎉 Automated migration step has finished! 🎉
    IMPORTANT! Please verify manually that your application builds and behaves as expected.
    See https://angular.io/guide/standalone-migration for more information.
UPDATE apps/admin/src/app/nx-welcome.component.ts
UPDATE apps/admin/src/app/app.module.ts
UPDATE libs/shared/typescript/util/src/lib/directives/app-shell-render.directive.ts
UPDATE libs/shared/typescript/util/src/lib/directives/app-shell-no-render.directive.ts
UPDATE libs/shared/typescript/util/src/lib/shared-util.module.ts
UPDATE apps/schematic/app/src/app/nx-welcome.component.ts
UPDATE apps/schematic/app/src/app/app.module.ts

Step 2
Skipped
Step 3: Bootstrap the project using standalone APIs
$ nx generate @angular/core:standalone openchallenges-app

>  NX  Generating @angular/core:standalone-migration

✔ Choose the type of migration: · standalone-bootstrap
✔ Which path in your project should be migrated? · ./apps/openchallenges/app
    🎉 Automated migration step has finished! 🎉
    IMPORTANT! Please verify manually that your application builds and behaves as expected.
    See https://angular.io/guide/standalone-migration for more information.
DELETE apps/openchallenges/app/src/app/app.module.ts
UPDATE apps/openchallenges/app/src/main.ts
UPDATE apps/openchallenges/app/src/app/app.component.ts


SELECT INTO doesn't return error with unsupported value [backport to 1.8]

Backport https://github.com/influxdata/influxdb/issues/20426 to 1.8

Closed by https://github.com/influxdata/influxdb/pull/20432


Allow Bulk.Client conf to set endpoint on login

Fixes issue #45.

@mmrobins Thanks Matt! We miss you ❤


timestamps again

tldr; This removes the timestamps entirely from the store and instead does it during rendering time

Ok, so
I wanted to investigate this as I was worried this was a list-rendering problem with the recent react-virtualized changes. It wasn't but I was thinking i'd spend < 1 hr on changing how this works.
I think this is simpler and better.
Instead of injecting this (in 3 places) into the store, we instead just defer this until we draw. The Message wrappers already get the previous message to do things like the avatar rendering , so instead of just checking that we also check the timestamp of the item its rendering ahead of this.
This is advantageous as its 1:1 connected to what we're drawing which is something we mostly had to keep in sync by checking the types (filtering out invisible messages to ignore in our calculations).
Additionally this handles when we load up and discover that the timestamp we previously put in there actually needs to be moved up further (like the top most message really was like 3 seconds after the new incoming messages we just loaded).
This also exposed a problem with clearing out a cache for cell heights on the desktop side, likely fixing some other 'gap' drawing issues.

@keybase/react-hackers


Disable tests with security for knn in 2.7.0

Description
We need to disable tests with security for knn in 2.7.0 release.
Plugin tests need special adjustments for checks that security plugin start enforcing. Team has been working on solution from 2.6 (https://github.com/opensearch-project/security/issues/2265), but this requires more effort/time. This is to unblock pipeline for other plugins/components.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi @martin-gaievski ,
These tests are not blocker for any other components. each component runs independently and on separate server. Its fine if they fail. We want to keep track of what is failing and what is fixed. Adding @bbarani!

Yes, build failures are blocker but integration test failures are specific to your component and doesn't affect other components.

Closing the PR as we want to track the tests for k-NN at distribution level


Watch-Only Addresses do not Show Stake and Total Correctly

Watch only addresses using the importaddress command do not show the correct Stake and Total values (on Qtum-Qt). The Stake value only seems to sum the values in later outputs of the coinstake, not the first two (or one) outputs which hold the stake. Issue seen on Qtum-Qt, although Qtumd also shows a low wallet balance and a slightly higher (but incorrect) stake.
For example, in transaction b3edc08beb2f8c9fc8487adb7831b56fcbfa7829db6fabc6281e6fecae3561c4 Watch-only would include the stake for 0.40176836, but not the previous two outputs.

Issue seen on Mainnet and Testnet, for different wallet sizes.
Expected values would be identical to the wallet address on qtum.info.

importaddress is working correctly, it can only show PTPKH transactions. importpubkey will show both PTPKH and PTPK (initial stake) transactions.

importaddress is working correctly, it can only show P2PKH transactions. importpubkey will show both P2PKH and P2PK (initial stake) transactions.


Allow a notebook controller to hide the variable viewer

If a notebook controller doesn't currently support the .ipynb variable viewer, it would be beneficial for that controller to be able to hide that functionality.
E.g., the .NET Interactive extension is currently not supported by the variable viewer and if the "Variables" button at the top of the notebook could be hidden, that would help clear a lot of confusion.

Totally agree, it isn't good to have a useless button there. We're currently discussing moving variable fetching functions into part of the controller API (so signaling support could easily be a part of that as well). In the short term I feel like we could also do something better here. Would be quick to check for Jupyter extension provided controllers and only enable the variable view button / commands for those controllers.

This is a dupe of another bug already in the September milestone. Perhaps this can be a quick fix just until a better solution is hammered out.

Dupe of #6543


[roi] Fix HandleBasedROI with PySide2

This PR fixes issue #3043
In some circumstances with PySide2, the use of self.sender() returns None.

It looks like it is the case for some private methods
Maybe only for signals without values

Closes #3043

I tried to reproduce the problem with a small example

with/without async signal,
with/without private callback
with/without signal argument

Everything is working well. I can't reproduce the issue.

It looks like PySide2 fail if the signal uses a private callback and this callback is part of the inherited classes.

Thank you for the fix. I will be able to test it tomorrow.

It works on my system (PySide2-<IP_ADDRESS>)

Does the full test suite segfault on your side?


Register with Selenium Grid?

Loving this! Is there any way to register the appium-for-mac server with selenium grid?

I want use Appium-for-mac with Selenium Grid and trying to register a node on Selenium Grid using Appium for Mac server, but unable to register in Selenium Grid using below command
/Applications/AppiumForMac.app/Contents/MacOS/AppiumForMac -p 4622 --nodeconfig /Users/SR40038645/mac.json

Appium for Mac Server is Running but node is not configured on the Grid.

Is there a way or any specific command to register a node on Grid for Appium-for-Mac?


Add MyNode.load classmethod

In addition to MyNode(load=True) the prefered method will be MyNode.load(name=<...>) which can be inherited from TypeHintParent
TODOs

[ ] Tests
[ ] rename TypeHintParent
[ ] update docs
[ ] MyNode.load(name, rev=<..>) Allow for revision or experiment name or so to be loaded from! This could break dvc.deps

Will be implemented in #176


useLocation() may be used only in the context of a  component.

Hi,
I just updated the plugin to 4.0.1, and now using the following setup:

backstage 1.10.0
@immobiliarelabs/backstage-plugin-gitlab-backend 4.0.1
@immobiliarelabs/backstage-plugin-gitlab 4.0.1

Unfortunately I'm getting the following error now:
Error: useLocation() may be used only in the context of a <Router> component.
    at l (webpack-internal:///../../node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:30:286)
    at H (webpack-internal:///../../node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:39:299)
    at G (webpack-internal:///../../node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:43:33)
    at E (webpack-internal:///../../node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:38:870)
    at renderWithHooks (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
    at mountIndeterminateComponent (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
    at beginWork (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
    at HTMLUnknownElement.callCallback (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
    at Object.invokeGuardedCallbackDev (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
    at invokeGuardedCallback (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)

Already tried to completely remove & readd the plugin, to ensure I have everything set up as described in the README

From which version are you coming? You seem to be using the old loblaw  version from logs. In this case, you have to follow the migration guide


error on build wih idf.py

idf.py build output -
Compilation failed because wsl_bypasser.h (in "wsl_bypasser" component) includes esp_wifi_types.h, provided by esp_wifi component(s).
However, esp_wifi component(s) is not in the requirements list of "wsl_bypasser".
To fix this, add esp_wifi to REQUIRES list of idf_component_register call in /home/user/Desktop/esp32-wifi-penetration-tool/components/wsl_bypasser/CMakeLists.txt.
please help

idf_component_register(
    SRCS "wsl_bypasser.c"
    INCLUDE_DIRS "interface"
    REQUIRES "esp_event" "esp_wifi"
)
target_link_libraries(${COMPONENT_LIB} -Wl,-zmuldefs)

https://github.com/risinek/esp32-wifi-penetration-tool/pull/61/files


Fix issue where generic models couldn't be parametrized with BaseModel

Closes https://github.com/pydantic/pydantic/issues/6931

please review


Don't fail when a builder or stack image cannot be pulled

No Remote Builder Image
Given I have run pack build --builder <builder-image> without the --no-pull flag
Given there is a local version of the builder image
When pack attempts to pull the image and the registry returns any error
Then pack should continue executing without error
No Remote Builder Image and No Local Builder Image
Given I have run pack build --builder <builder-image> without the --no-pull flag
Given there is not a local version of the builder image
When pack attempts to pull the image and the registry returns any error
Then pack should error out
*The fix for this will involve changes to the image package in buildpacks/lifecycle
PM Acceptance Criteria
Case #1
When I build an image with pack build my-image
And A remote copy of:

The builder or
The associated run image
is not available
And A local copy of the image is available
Then The local copy is silently used for the build

Case #2
When I build an image with pack build my-image
And A remote copy of:

The builder or
The associated run image
is available
And A local copy of the image is available
Then The remote copy of the image is pulled and used for the build

Notes

Let PM know if there's a class of errors for retrieving the remote image that you think we should fail on

This story passes acceptance.


Mid-2014 MBP Retina running OS X 10.9.5 fails, version "too old"

My enterprise is preventing upgrade to Yosemite, and I'm stuck on 10.9.5 with a brand-new 15" MBP Retina. When I run the activation tool, it fails when verifying OS X version: "NOT OK. Your OS X version is too old to work with this hack. Aborting."
Unfortunately, I'm also a Mac newbie. Any suggestions?

 After he does it for you, you do not need the activation tool. Your mac is capable of doing all these great things by it self! Good luck

To be compleet: Airdrop OSX and iOS is a new feature in Yosemite so is Handoff. These features a Yosemite only.

Yep, I know all problems are solved by upgrading to Yosemite ;) Actually I even did the upgrade, confirmed it all worked, but then realized I broke McAfee security, which I cannot update because it's remotely administered. So I had to restore the previous OS via Time Machine.
Now I'm just trying to get the phone integration (call alerts, click-to-call, etc.) and Handoff functionality. The way I understand it, that's what this hack does. I just don't understand why it's seeing OS X 10.9 as "too old"...

Oh, wait. Starting to think this hack bridges the hardware gap only...still requires Yosemite. Works great for old hardware running new software, but not the other way around. Is that it? No way to get the phone integration on Mavericks then?

The features you want are yosemite features only! CAT was designed to make Mac's running yosemite with a new bt 4.0 airport card or BT 4.0 dongle use these new features. All these new features require BT 4.0. Basically CAT Tells to your Mac that you use a BT 4.0 dongle or card. As default your MBP already has this hardware, and does not need this hack. On this moment there is no way known to get these features to older OS X Versions.

When OS X Yosemite is installing it reads your Hardware info, even MBA 2011 with OEM BT 4.0 card where not Handoff / Continuity / Airdrop iOSand OSX supported.
This hack tells Yosemite to enable the features when you have a BT 4.0 card or dongle installed.

Yeah, what I was afraid of. Oh, well. Thanks for confirming!


HEADWAY_FORCE_BBOX

I tried HEADWAY_FORCE_BBOX="-74.051971 40.622813 -73.893013 40.751418" and it still does not work

I can't do anything with this bug report. Please give me more information....

I reopened the #86 closed bug, as you had requested

I'm going to make an issue template, but in general bug reports need at least the following to be reproduced and fixed:

What you did
What you expected to happen
What happened
Logs

For 4, specifically in the case of headway that's everything in the browser developer console when you load the app, and everything in docker-compose logs when you bring up the stack.
For build errors, I'll need the full output of make CityName


Serializer

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

224 of 356 (62.92%)  changed or added relevant lines in 34 files are covered.
17 unchanged lines in 7 files lost coverage.
Overall coverage increased (+1.1%) to 59.734%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/encryption/encryption.go
15
16
93.75%

extensions/encryption/state.go
12
13
92.31%

router/router.go
1
2
50.0%

serialize/to_bytes.go
4
5
80.0%

testing/must.go
2
3
66.67%

testing/tx.go
0
1
0.0%

examples/erc20/erc20_ops.go
15
17
88.24%

serialize/from_bytes.go
3
5
60.0%

state/mapping/event_mapping.go
3
5
60.0%

extensions/encryption/serializer.go
8
12
66.67%

Files with Coverage Reduction
New Missed Lines
%

extensions/encryption/state.go
1
69.86%

state/mapping/event.go
1
41.67%

router/context.go
2
20.66%

state/state.go
2
57.25%

gateway/chaincode_instance_service.go
3
65.38%

gateway/opt.go
4
72.13%

testing/mocked_peer.go
4
64.17%

Totals

Change from base Build<PHONE_NUMBER>:
1.1%

Covered Lines:
3504

Relevant Lines:
5866

💛  - Coveralls


Use govuk-eleventy-plugin

Switch to using the GOVUK Eleventy Plugin (for easier upgrades).

This doesn't yet work, for reasons I've not been able to figure out yet. Something to do with the navigation plugin and the breadcrumbs... 😬  @paulrobertlloyd any idea?

Ok got this working. Had to move a bunch of things around. It's not perfect, but I think it's good enough to merge, and then future PRs can tweak.


Implement GC for packages

Packages either need to be refcounted properly (i.e., we need to make sure our behavior is consistent with ACPICA) or garbage-collected.

This has been fixed for quite some time now.


RDK-46725 Enable RDKServices L2 Testing Framework for RDK-V

RDK-46725 Enable RDKServices L2 Testing Framework for RDK-V
Adding L2 framework and refactoring changes to RDK-V

Changes look good. What is reason for changing NiceMocks from objects to pointers (Ex: p_iarmBusImplMock)?

Changing NiceMocks to pointers to better align with Singleton implentation.
Singletons use static pointers to keep track of their one instance


pod install failed after adding SwiftMatrixSDK to Podfile

Hello everyone,
i just added the line
pod 'SwiftMatrixSDK'

to the Podfile and then i do
pod install

then i get the following error
The following Swift pods cannot yet be integrated as static libraries:

The Swift pod `SwiftMatrixSDK` depends upon `AFNetworking`, `GZIP`, `OLMKit`, `Realm`, and `libbase58`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

I tried to add 'use_modular_headers!' to the Podfile then 'pod install' works but i get multiple errors while compiling the app
The following build commands failed:
	CompileC ... /ios/Pods/Folly/folly/Unicode.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

My workaround is to set use_modular_headers!globally in my Podfile and setting every other Pod to :modular_headers => false.
Just setting pod 'SwiftMatrixSDK', :modular_headers => true didn't worked.
Super confused 😅

Found a better workaround. I just learned that the Podspec file is just there to declare what it depends on, the "how" to include these dependencies is dependent on the project importing that pod. Thus we can define modular headers for all dependencies in our Podfile:
  pod 'AFNetworking', :modular_headers => true
  pod 'GZIP', :modular_headers => true
  pod 'OLMKit', :modular_headers => true
  pod 'Realm', :modular_headers => true
  pod 'libbase58', :modular_headers => true
  pod 'SwiftMatrixSDK', :modular_headers => true

thanks, that worked for me


Strongswan version 5.8.0

There are changes to Strongswan which means this configuration no longer works.
install these only: apt install strongswan strongswan-pki libstrongswan-extra-plugins
Generate the client certificate but specify --size 4096
#ipsec pki --gen --size 4096 --outform pem > "${USERNAME}Key.pem"
copy the certificates in to the folders like this: (variations breaks the authentication)
#/etc/ipsec.d/certs - clientCert.pem
#/etc/ipsec.d/private - clientKey.pem & client.p12
#/etc/ipsec.d/cacerts - VpnServerRoot.cer
remove 'leftauth=eap-tls' from /etc/ipsec.conf

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

ID: 0d5150fc-9936-07cf-dce7-44d0ec114cd0
Version Independent ID: 8b627174-56cd-a81e-a687-34ba66d33550
Content: Create and install P2S VPN client configuration files for Azure certificate authentication: Azure
Content Source: articles/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@evilsi Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@anzaman

#reassign: anzaman

Those guides really need an update. I've spent two evenings now trying to setup up an azure vpn using either OpenVPN or Strongswan and connect to it using any guides I have come across, and I have yet to successfully authenticate even once.

I am in the same situation. @TethysSvensson did you find a method that worked?

No. We gave up and my friend had to switch to windows.

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Week of 9/26

javascript
fibonacci loops
design overview

2.7/3
Interesting project idea, could've spent more time explaining Fibo and detailing how you created it. Javascript planner page looks interesting

2.7/3
Good idea for design (Social networking and mental health assistance). Sponsor with a staff member. Fibonacci was good. Everyone seems really interested and active in the design idea. Javascript relates to the project.

Great implementation of Fibonacci learning
Wireframes look good
Project idea is interesting
HTML Table works well

2.7/3

Score for all members: 2.7/3
-Team showcased implementation of Fibonacci, along with usage of HTML and JavaScript.
-Plan and idea for project was introduced with sponsor ideas and development plans
-Team seems to be collaborative
-Some members of the group were to quite to hear from a long distance

Saumya talked on making Mental Health site.  Wire frames and description look very nice.   They have a sponsor.  Serafina talked about mission statement on stress, pressure.  Support each other features.  Chat room will need lots of research for capability.
Prisha shared some original code.  A little practice shown on JS.
Serafina shared Java Script table to add list.
Armaan shared lots of CSS and Table. Hoping the events will be considered on backend.   Lots of work started.   Update Fibo code to new format.  Needs to add super.
2.7 for everyone

good fibo and js, and a really in-depth plan for the website with a lot of details and a heavy focus on the sponsor project.


Remove max-width and add hide text overflow

Closes https://github.com/go-gitea/gitea/issues/27358
I'm happy for someone else to take this over if there is a more desirable solution, but this seemed like the simplest fix to me.
Before:

After:

could you apply the elipsis ... for description.

I have one more suggestion:
Add tooltip, this will retain the full name on hover.

Yes, ... ellipsis should be visible. The fact that it's not indicated there is something wrong with the styling.

Yes, ... ellipsis should be visible. The fact that it's not indicated there is something wrong with the styling.

style was not applied

@puni9869 @silverwind should be all set now.
Added tooltips. They are a bit off in terms of styling, which bugs me, but is out of the scope of this PR.


Implement Authentication in Api

Api project should be implemented using Identity and IdentityDbContext for authentication.
It must be disable unauthorized users to access data in database.

Need to set System Environment Variable named SECRET.


build: fix compilation on macOS 32-bit architectures

In #2639 we added a defined(TARGET_OS_IPHONE) preprocessor condition, but TARGET_OS_IPHONE is always defined on Apple to either 0 or 1.  On 32-bit macOS architectures this leads to an undefined symbol reference to _close$NOCANCEL.  Fix the preprocessor condition to use just TARGET_OS_IPHONE.

I just saw that @kencu pointed this out in https://github.com/libuv/libuv/pull/2639#issuecomment-598589104.

thanks. got bogged down

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1853/ ✔

Landed in https://github.com/libuv/libuv/commit/815b0766eddf1ef6ebc9481c432b59d0477eb74d. Thanks!


Auto run commands?

Question for the community. The repost headless is awesome! How would you auto run the commands when the computer starts?

I created batch files to repost ads. While using the schedule tasks in windows to set specific times to run these ads.

Ah yes, windows task scheduler is a good idea!
How did you do the batch files?

This is the batch file I create. This script works if set in the parent folder, such that all the configuration files are also in this folder. For  example my file/folder layout is:
Main Folder
|->shoes.yml
|-> (... other kijjji add configurations ending with .yml)
|-> post_all_adds.bat (this is my batch file containing the script below)
|-> kijijiPoster
|-> This folder contains the repo itself
The following is my batch script:
REM Script by TorqueNoFriction
REM Last Updated: 08/09/2018
REM Based of https://github.com/ArthurG/Kijiji-Repost-Headless

@echo off
set mypath=%~dp0

echo Executing %mypath%kijijiPoster git pull ...

echo Executing %mypath%kijijiPoster\kijiji_repost_headless repost ...

for /R %mypath% %%f in (*.yml) do (
echo %%f
python %mypath%kijijiPoster\kijiji_repost_headless repost %%f
)

The batch script didn't work for me 😞  I think it might be because I didn't set the path correctly.
My folder structure is a bit different:
Kijiji-Repost-Headless
       |-> Rental1
                 |-> rental1.yaml
                 |-> photo1.jpg
                 |-> photo2.jpg
       |-> Rental2
                 |-> rental2.yaml
                 |-> photo1.jpg
                 |-> photo2.jpg
       |-> kijiji_repost_headless
                 |-> __main__.py
                 |-> _all the other python scripts from repo_
       |-> repost_all_ads.bat

I don't have the .yml configurations (I don't know why but mine is .yaml) in the parent folder because I have a bunch of photos for each ad. So having its separate folder seems more organized.
How do I adjust the batch code to reflect the correct path?

Hi Sorry it took me a while to reply here is the bat i use.
cd C:\Python35
python kijiji_repost_headless -u<EMAIL_ADDRESS>-p password repost KijijiADs\CompanyAD1\CompanyAD1.yaml

Thank you Torque and Jester!! I got the batch file is working! Jester's was simple enough for me to edit with my beginner level coding skills LOL.
Follow up question: I recently noticed that my listings on Facebook Marketplace seem to get more hits than Kijiji. What do you guys use to auto-list on Facebook?


chore: add config and code run/monitor just-nuts @W-8969970@

What does this PR do?
Adds automation for running NUTs across plugins
What issues does this PR fix or reference?

Is it possible to add testing steps to the description?

Is it possible to add testing steps to the description?

@RodEsp Going to need to test this during a release.


1.77.0-insider work fail

Get package failed, please run "pip list --format json" or "pip3 list --format json" check pip support json format
版本: 1.77.0-insider
提交: fa13bf16fd237afef07f4df0648da026f43e3963
日期: 2023-03-20T05:25:30.711Z
浏览器: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.77.0-insider Chrome/102.0.5005.196 Electron/19.1.11 Safari/537.36

what's your python version? maybe your python version to low

#20

#20

It's not python version too low, I use 3.11.3
I think the code parse json has bug.
when I check the extension log, the print pip json log has break line,
but same cmd in terminal is not like this, check below image.
Python 3.11.3
pip 23.1.2

fixed now


[ISSUE #8808] jdk21 Unrecognized VM option 'UseBiasedLocking'

Which Issue(s) This PR Fixes

Fixes #8808
Brief Description

JDK21 Unrecognized VM option 'UseBiasedLocking', ADD -XX:+IgnoreUnrecognizedVMOptions to make JDK21 happy.
How Did You Test This Change?

start mqbroker,it works.

Confirmed to resolve the issue for me.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.41%. Comparing base (e75554d) to head (b4d815e).
Report is 12 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8809      +/-   ##
=============================================
- Coverage      47.46%   47.41%   -0.05%
+ Complexity     11591    11578      -13
=============================================
  Files           1283     1283
  Lines          89903    89903
  Branches       11571    11571
=============================================
- Hits           42669    42629      -40
- Misses         42000    42029      +29
- Partials        5234     5245      +11

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


Enable GitHub Discussions for questions

For now we've been nudging people toward asking questions in GitHub issues or in real-time on Discord. This issue is to track interest in enabling  GitHub Discussions and using that for questions (or possibly more?).

This has been done: https://github.com/orgs/authzed/discussions


[AIR-1380] Fix the customers review recipe

About
When the agent has to reply to a customer's review, it clicks the wrong element. This hot fix describes better the element to avoid this issue.

FYI, going to merge this


Image Analysis Tools

I've synced the forks. I have no idea why my previous data catalogue addition is listed again as a new change? Will correct that if anyone can tell me where I've gone wrong.
I've hit my limit of GitHub lists so will be making greater use of this repo. Adding in image analysis tools (fiftyone - the dominant player, and dendromap - looks very powerful).
Will add links, and try to get round to adding descriptions for data catalogues soon

Hi @GeorgePearse. I wondered if we can condense these at all. Would all the image analysis tools fit under data validation, for example?
I'm not sure whether augmentation fits as an MLOps tool rather than just being an ML tool. That might be splitting hairs though. I think we're best taking those out, because otherwise we end up also listing all kinds of ML frameworks and tools and overloading this repo, if that makes sense.


Could you grant me Admin with publish rights to NPM?

@nickiaconis, I've been working on merging a bunch of PRs for this repo, but do not have Admin, so cannot subsequently setup CI. I also cannot publish to NPM, so cannot release new versions. Can you give me permissions?

cc: @mhluska

@nickiaconis ping

whoops! sorry about that and about the delay @scalvert! I've set you to the owner role on the GitHub org. I've also added you as a maintainer on NPM. hopefully that solves all the issues. 😬


Certificate used for local receipt validation has expired

From https://forums.developer.apple.com/thread/47218
"The issue here is that solution locally validates the Apple signature that is a part of the transactionReceipt. This works so long at the same certificate is used to sign the transactionReceipt. Yesterday, May 16, 2016, the certificate was changed. The signature in the transactionReceipt now fails verification with the hardcoded signature built into the app."

The same issue is raised in https://github.com/mattt/CargoBay/issues/81


Sovle the url that contains suffix("/") can not be match

Sovle the url that contains suffix("/") can not be match.
To fix issue #50

Pull Request Test Coverage Report for Build 208

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 99.331%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

router.go
1
3
33.33%

Totals

Change from base Build 205:
-0.7%

Covered Lines:
297

Relevant Lines:
299

💛  - Coveralls


Does not work in app foreground.

all functionality is proper work but when my app is going to background then after app is come in foreground so passcode does not show so, my app is directly open.

Can you reproduce this bug on the demo project?

It's been almost a month now, I will presume this is no longer valid.


1.9.0: Can't make TMDbClient requests

In the new 1.9.0 release I can't make any request.
Reproduction:
TMDbClient client = new TMDbClient("api_key");
Movie movie = await client.GetMovieAsync(11);

Every request throws a System.ObjectDisposedException.
The TestApplication project also fails.

I also receive a similar message:
Dim T As New TMDbClient("ba238334e47a7cf38fc5d83979dbf84c", True)
Dim res As SearchContainer(Of SearchMovie) = T.SearchMovieAsync("Searchtext").Result

Error-Message:
One or more errors occurred. (Cannot access a disposed object. Object name: 'System.Net.Http.HttpConnectionResponseContent'.)

Well - that was unprofessional...

A last minute using should probably have been tested better. I'm pushing v1.9.1 shortly.

1.9.1 works fine, thanks 👌


Add low power multitasking example. (TZ-918)

Is your feature request related to a problem?
Yes, I was seeing that there are some problems in multitasking (because you have to take the zigbee resources and block them if you want to use them from another task), Also, another example that I could not find is how to manage low consumption in multiple tasks, which is why an example could be made that involves both, this being the typical use case for moderately complex devices.
Describe the solution you'd like.
an example that demonstrates how to use zigbee api calls from another task and keep the low power by sleeping the tasks accordingly. For example, I don't know if it is necessary to call the zigbee sleep function from external tasks, call the default function of the espressif sdk or simply put the task to sleep from a queue.
There being so many different resources to sleep a task, I would like to know which one is correct, this would be evident in the example I requested.
Describe alternatives you've considered.
No response
Additional context.
No response

@diazmanuel You can start from the light sleep example, and add more tasks for any application logic, just pay attention that zigbee-api-lock is required to call Zigbee APIs from other tasks.
The Zigbee sleep mode is controlled by the Zigbee main task (main loop), you don't need to do anything in your application tasks.

hello @chshu ,
thanks for the suggestion


Display search / A-Z buggy in tablet format

Was so for IE, Chrome and Firefox.

Was fixed in this commit: 6901bd5625420b7d27932f40ab5f0cdd3968cbd1


Securing webhook URL in the Jenkinsfile

Does anyone have an idea, how one should protect the webhooks url when using pipelines?
As it is now, anyone could "steal" the URL and abuse that.

You can add webhook URL as a Secret Text credential in jenkins and get it in Jenkinsfile using withCredentials block.
I tested that and can confirm it works.


Remove version: HighPerformanceCoders.SciDAVis version 2.8

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Removal of up-down arrow on the boxes

I want to remove the up-down arrow on the grid inputs so that the user can type the number directly
Also, I would like to show the numbers in a different color if the user doesn't type a number in a specified range

@Anushka-Bhowmick Go for it!

@Anushka-Bhowmick Go for it!


Documentation Issue on the Manual Deployment

I go the next phase from the HOL  and try the Manual Deployment.
I run always in an build error at the src/Website at the npm install task --> 9009
I could fixed the error after I find out, that the npm install command only works with admin rights in the shell.
After I start VS2017 as an admin I was able to run successfully the build solution command and I could publish it to azure.
Please extent the docu with the run as admin VS2017
THX

Thanks for posting, added a step at the start of the manual deployment task to start VS2017 as admin.
Thanks Again,

done! Thx @eamkel


Copy tenenantOut message context's some fields to mainOut message context

fix for JIRA issue https://wso2.org/jira/browse/DS-879

@madhawa-gunasekara : Please send the integration test for this to the kernel and update here with the link of the pull request

@Niranjan-K we can't write integration tests for test tenant services.


increase function calculate duplicate result, but metrics seems not duplicate

Bug Report
Hi, I use mysqld_exporter to collect mysql status.
It works well, but sometimes i find some original metrics seems not to be duplicate.
When I try some aggregate functions, such as increase/rate, the result i get seems
calculate duplicate metric.
I got some metrics original as below

and i got some metrics with increase function as below

here the result with rate function

Environment

System information:
Linux 4.4.0-144-generic x86_64

Prometheus version:
2.7.1

I don't see anything wrong or unusual here.
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Explain in the readme how to build and test libnetwork

Working with libnetwork is not trivial. Please, explain how to build and test libnetwork in the readme file.

@calavera It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926


Implement _match field deletion via modify

Description
The existing lua chunk for deleting the temporary __match_ fields relies on the local match variable being set, otherwise the code flows into the return 0, 0, 0 path which indicates the record hasn't been modified.
return 0, 0, 0 is a nice optimization to have, and I'd rather not remove it just for the sake of having the temp field deletion code be lua, so this commit re-implements it as a plain modify filter.
Open to alternatives; the main point of this is to write a test for the failing use case and propose a fix, which we can iterate on.
Related issue
N/A (todo: make a ticket)
How has this been tested?
Ran the new test offline against an older build of the Ops Agent and it failed as expected:
$ REPO_SUFFIX=20230926-1 ZONES=us-central1-b PLATFORMS=debian-11 PROJECT=stackdriver-kubernetes-1337 go test -v ./integration_test/ops_agent_test.go -test.parallel=1000 -tags=integration_test -timeout=4h -test.run="TestExcludeLogs$/.*"
2023/09/27 17:39:57 exit code: 0
2023/09/27 17:39:57 stdout+stderr: Generating public/private rsa key pair.
Your identification has been saved in /tmp/ssh_keys2641022408/gce_testing_key
Your public key has been saved in /tmp/ssh_keys2641022408/gce_testing_key.pub
The key fingerprint is:
SHA256:3L0Y8aGz4rjmRg9ctDSbodPkxmTzlorJ2ajpMX6guCk test_user
The key's randomart image is:
+---[RSA 3072]----+
|                 |
|        X        |
|       @ O...    |
|      o.X.+= .   |
|     o XSo= o    |
|    . X o  = .   |
| . .o= o. o .    |
|E...oo+o..       |
|+. .o=+..        |
+----[SHA256]-----+
2023/09/27 17:39:57 Detailed logs are in /tmp/3338157909
=== RUN   TestExcludeLogs
=== PAUSE TestExcludeLogs
=== CONT  TestExcludeLogs
=== RUN   TestExcludeLogs/debian-11
=== PAUSE TestExcludeLogs/debian-11
=== CONT  TestExcludeLogs/debian-11
    agents.go:842: Test logs: /tmp/3338157909/TestExcludeLogs_debian-11
    agents.go:842: Instance Log: https://console.cloud.google.com/logs/viewer?resource=gce_instance%2Finstance_id%2F4447671464039620574&project=stackdriver-kubernetes-1337
    ops_agent_test.go:1203: unexpected vestigial field: __match_0_0_1
--- FAIL: TestExcludeLogs (0.00s)
    --- FAIL: TestExcludeLogs/debian-11 (354.46s)
FAIL
FAIL    command-line-arguments  355.340s
FAIL

Will let the PR run the tests against the fixed Ops Agent.
Checklist:

Unit tests

[ ] Unit tests do not apply.
[x] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[x] Integration tests have been added/modified and passed for this PR.

Documentation

[x] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[x] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

ISTR that we found that the added overhead of a separate modify filter was actually larger than the overhead of Lua processing.

I don't completely follow what the optimization is with having return 0, 0, 0 present when the record is not modified. I expect that the added processor (and having the record serialized an deserialized from msgpack) will cut down the benefit here significantly, or maybe to enough of a degree that just returning 2 always is cleaner and simpler to wrap my head around.
Could you elaborate a bit on when this optimization is useful?

Discussed offline, I'll change it to 2,0,record.