text:
Windows: fix vectorize tests

For a = np.array([1, 2, 3, 4]), on Linux a.dtype == np.int64, but on Windows a.dtype == np.int32.

Jenkins, test this please

Jenkins, test this please

Jenkins, test this please

Jenkins CI test (for commit 714c6c6f0ea92282398c848bc4f9093f206e8924, target branch master) succeeded!

test_vectorize.py still have failures on Windows. I think I might have gotten the cause wrong...Will Look into it.

Jenkins, test this please

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

ok it's fixed.

Jenkins, test this please

Jenkins CI test (for commit 078b77fd73bbeb39d5e8916309a78d234dda8d2b, target branch master) succeeded!

Merged with master to bring in #4803.
Jenkins, test this please

Jenkins CI test (for commit 348c0d3464808a8d30b46c05935efe820c8a5aa3, target branch master) succeeded!

This is ready.

Jenkins, test this please

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

Reduced to 1 error:
https://storage.googleapis.com/chainer-artifacts-pfn-public-ci/cupy-ci/69528/cupy_test_log.txt
_________________ TestVectorize.test_vectorize_arithmetic_ops _________________

self = <cupy_tests.functional_tests.test_vectorize.TestVectorize testMethod=test_vectorize_arithmetic_ops>
xp = <module 'numpy' from 'C:\\Development\\Python\\Python37\\lib\\site-packages\\numpy\\__init__.py'>
dtype = <class 'numpy.int8'>

    @testing.for_all_dtypes(no_bool=True)
    @testing.numpy_cupy_allclose(rtol=1e-5)
    def test_vectorize_arithmetic_ops(self, xp, dtype):
        def my_func(x1, x2, x3):
            y = x1 + x2 * x3 ** x1
            x2 = y + x3 * x1
            return x1 + x2 + x3

        f = xp.vectorize(my_func)
        x1 = testing.shaped_random((20, 30), xp, dtype, seed=1)
        x2 = testing.shaped_random((20, 30), xp, dtype, seed=2)
        x3 = testing.shaped_random((20, 30), xp, dtype, seed=3)
>       return f(x1, x2, x3)

tests\cupy_tests\functional_tests\test_vectorize.py:564:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
C:\Development\Python\Python37\lib\site-packages\numpy\lib\function_base.py:2113: in __call__
    return self._vectorize_call(func=func, args=vargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <numpy.vectorize object at 0x000001E9F88CAAC8>
func = <function TestVectorize.test_vectorize_arithmetic_ops.<locals>.my_func at 0x000001EA3EB37378>
args = (array([[4, 7, 0, 3, 1, 0, 1, 3, 3, 5, 4, 6, 2, 8, 0, 6, 4, 5, 1, 1, 8, 9,
        3, 6, 8, 8, 0, 0, 1, 8],
       [0,...      [8, 4, 1, 8, 0, 7, 6, 8, 8, 4, 1, 2, 0, 6, 0, 1, 2, 4, 6, 4, 5, 0,
        3, 2, 7, 0, 6, 6, 5, 0]], dtype=int8))

    def _vectorize_call(self, func, args):
        """Vectorized call to `func` over positional `args`."""
        if self.signature is not None:
            res = self._vectorize_call_with_signature(func, args)
        elif not args:
            res = func()
        else:
            ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)

            # Convert args to object arrays first
            inputs = [array(a, copy=False, subok=True, dtype=object)
                      for a in args]

            outputs = ufunc(*inputs)

            if ufunc.nout == 1:
>               res = array(outputs, copy=False, subok=True, dtype=otypes[0])
E               AssertionError: Only numpy raises error
E
E               Traceback (most recent call last):
E                 File "C:\Windows\TEMP\flexci\run-00143297\work\src\cupy\testing\helper.py", line 47, in _call_func
E                   result = impl(self, *args, **kw)
E                 File "C:\Windows\TEMP\flexci\run-00143297\work\src\tests\cupy_tests\functional_tests\test_vectorize.py", line 564, in test_vectorize_arithmetic_ops
E                   return f(x1, x2, x3)
E                 File "C:\Development\Python\Python37\lib\site-packages\numpy\lib\function_base.py", line 2113, in __call__
E                   return self._vectorize_call(func=func, args=vargs)
E                 File "C:\Development\Python\Python37\lib\site-packages\numpy\lib\function_base.py", line 2200, in _vectorize_call
E                   res = array(outputs, copy=False, subok=True, dtype=otypes[0])
E               OverflowError: Python int too large to convert to C long

C:\Development\Python\Python37\lib\site-packages\numpy\lib\function_base.py:2200: AssertionError
---------------------------- Captured stdout call -----------------------------
dtype is <class 'numpy.int8'>

Jenkins, test this please

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

LGTM! Thanks!

authors: asi1024 chainer-ci leofang


text:
[backport] Filter SQLAlchemy 2.0 warnings raised from Optuna v2

Backport of #7364 by @kmaehashi

/test mini

/test jenkins

source: gharchive/pull-request

authors: chainer-ci emcastillo kmaehashi

repo: cupy/cupy

license: MIT

license_type: permissive

license_source: github-api


text:
Iteration-based scope handler interface

Checklist

[x] Remove getPreferredScope function from ScopeHandler interface
[x] Add isPreferredOver as optional function to ScopeHandler interface
[x] Implement token / char / word preferences
[x] I have added tests
[x] I have updated the docs and cheatsheet

Decided not to do the following in this PR

Implement surrounding pairs
Implement tree-sitter scopes
Implement fallback handler? (just yield everything from first subhandler, then everything from second, etc)

Need to make a few tweaks

ok good to go

General looks really good. Am definitely on board with moving to a single generator function. Are left a few comments about minor stuff.

Ok should be ready now; thanks for the comments.  You may see some weird diffs in the recorded tests; I moved a few tests around and had to do some weird renaming because eg we had a test named clearTwoTokensBackward in two different directories.  Probably should have done that in a separate PR, but noticed that we had a bunch of relative tests in containingScope directory while I was looking for a test and decided to move them to relativeScope

authors: AndreasArvidsson pokey

repo: cursorless-dev/cursorless


text:
TypeError: undefined is not an object (evaluating 'state.state')

Hi there,
Since some weeks I could see this error in my logs
Logger: frontend.js.latest.202010012
Source: components/system_log/__init__.py:193
First occurred: 1:31:43 (5 occurrences)
Last logged: 1:31:43

https://myurl.duckdns.org:****/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:1713 TypeError: undefined is not an object (evaluating 'state.state')

However, as far as I can understand, all my cards that use this custom frontend are working without any issue

I get this too. I can't figure it out. It repeats the error for every sensor card I have on my view.

I get this too. I can't figure it out. It repeats the error for every sensor card I have on my view.

same here. Ha version is 2021.1.5
`Logger: frontend.js.latest.202012291
Source: components/system_log/init.py:193
First occurred: 1:21:37 AM (24 occurrences)
Last logged: 1:11:15 PM
http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:79 Uncaught TypeError: Cannot read property 'state' of undefined
http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:1713 TypeError: undefined is not an object (evaluating 'state.state')`

same here. Ha version is 2021.1.5
`Logger: frontend.js.latest.202012291
Source: components/system_log/init.py:193
First occurred: 1:21:37 AM (24 occurrences)
Last logged: 1:11:15 PM
http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:79 Uncaught TypeError: Cannot read property 'state' of undefined
http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:1713 TypeError: undefined is not an object (evaluating 'state.state')`

same here

same error is occuring on my installation

I can't stop this message
circle-sensor-card/circle-sensor-card.js:95:55 TypeError: undefined is not an object (evaluating 'state.attributes')

source: gharchive/issue

authors: armdan faspina gidadavid haffisi liuk4friends michl270

repo: custom-cards/circle-sensor-card


text:
Getting 403 Forbidden on CAPCHA image

Describe the bug
When trying to configure the component after updating to HA Core 107.5 the CAPCHA image doesn't display. Web Inspector in Safari indicates the image fails to load with a 403 Forbidden response.
To Reproduce
Steps to reproduce the behavior:

Click on Notifications
Click Configure button
Configurator pop-up displays
Image is not shown in the pop-up

Expected behavior
CAPCHA image should display in order to complete configuration
Screenshots

System details

Home-assistant (version): 107.5
Hassio (Yes/No): Yes
alexa_media  (version from const.py or HA startup): v2.5.8

Hit confirm and it'll refresh it. Safari would of course fail because Safari doesn't have the session token. Only the alexa_medium has the appropriate session tokens to show it.

Pressing Confirm just dismissed the pop-up. Clicking Configure again results in the same thing. This happens in Safari, Chrome, and the iOS app.

In the end I had to completely remove the integration

I had the same problem. Hitting CONFIRM did not bring back a new captcha to be resolved.
Restarting Home Assistant did the trick.

authors: aidanblack alandtse jeepotvin


text:
fix: download rich push images from CDN

Closes: https://github.com/customerio/issues/issues/8789

Pull request title looks good 👍!
If this pull request gets merged, it will cause a new release of the software. Example: If this project's latest release version is 1.0.0. If this pull request gets merged in, the next release of this project will be 1.0.1. This pull request is not a breaking change.
All merged pull requests will eventually get deployed. But some types of pull requests will trigger a deployment (such as features and bug fixes) while some pull requests will wait to get deployed until a later time.
To merge this pull request, add the label Ready to merge to this pull request and I'll merge it for you.

This project uses a special format for pull requests titles. Expand this section to learn more (expand by clicking the ᐅ symbol on the left side of this sentence)...

This project uses a special format for pull requests titles. Don't worry, it's easy!
This pull request title should be in this format:
<type>: short description of change being made

If your pull request introduces breaking changes to the code, use this format:
<type>!: short description of breaking change

where <type> is one of the following:

feat: - A feature is being added or modified by this pull request. Use this if you made any changes to any of the features of the project.

fix: - A bug is being fixed by this pull request. Use this if you made any fixes to bugs in the project.

docs: - This pull request is making documentation changes, only.

refactor: - A change was made that doesn't fix a bug or add a feature.

test: - Adds missing tests or fixes broken tests.

style: - Changes that do not effect the code (whitespace, linting, formatting, semi-colons, etc)

perf: - Changes improve performance of the code.

build: - Changes to the build system (maven, npm, gulp, etc)

ci: - Changes to the CI build system (Travis, GitHub Actions, Circle, etc)

chore: - Other changes to project that don't modify source code or test files.

revert: - Reverts a previous commit that was made.

Examples:
feat: edit profile photo
refactor!: remove deprecated v1 endpoints
build: update npm dependencies
style: run formatter

Need more examples? Want to learn more about this format? Check out the official docs.
Note: If your pull request does multiple things such as adding a feature and makes changes to the CI server and fixes some bugs then you might want to consider splitting this pull request up into multiple smaller pull requests.

I performed QA on this.
I was able to consistently see rich push images in app sent from our CDN. API calls to track were not effected. Making me think the function that gets the appropriate URLSession is working as expected.

authors: ami-oss-ci levibostian

repo: customerio/customerio-ios


text:
chore: track metric event using data pipeline

helps: https://github.com/customerio/issues/issues/11609
Changes

Updated DataPipelineImplementation to track metric event for both push and in-app

Merging this as the changes are required on other branches for testing and code changes


text:
[Feature] Allow tagging Tasks and Jobs

My actions before raising this issue

[X] Read/searched the docs
[X] Searched past issues

Add simple tags to tasks and jobs.
They would be very useful for managing and organizing our data.
It should work in the same way like tags for issues in github (tags have short name, color and can have longer description visible when we hover it with mouse)
Expected Behaviour

It would be great if there would be some way of tagging jobs and tasks.
Possible Solution

Things to implement

add list of (marked with colors) tags visible in task/job view
show tags in search list view
add tags to possible values for filtering (for example I would like to see tasks for our trainees, so I should be able to mark filter to show only the ones with tag for trainees)
support Tags in CVAT-SDK (we write some custom scripts for annotating or validaing manual annotations and we could mark jobs verified in this way)

Context

In my organization we have a lot of different jobs and tasks, ti would make organizing them very easy if we could employ tagging for tasks and jobs. Examples of tags we would use:

downloaded from the internet
Sony 4K - to mark which device is source of this footage
for trainees
missing class - old job with missing annotation for one class we introduced recently.

There are many applications for this feature.

I ended up opening another issue related to this subject. When I opened it I hadn't found this issue. https://github.com/opencv/cvat/issues/7349

Excuse me, what's going on here?

@bsekachev
Would you be interested in external Pull Request implementing this feature?

Hello,
If somebody outside is ready to prepare a good pull request, we are ready to review, comment and share our ideas.
I will suggest to split the patch into several, e.g.:

First patch adds project/task tags on the server side, updates REST API endpoints.
The second patch for client that allows to add/remove tags from the user interface.
The third patch allows to search/filter by tags.

authors: bsekachev igorruy pktiuk yannli

repo: cvat-ai/cvat


text:
fix error str path

I encountered the error argument 1 must be str not posixpath and fixed it by casting database_path to str.

Thanks for the feedback. The issue in pipeline_Aachen.ipynb is indeed a typo. Regarding the casting to str: are you using Python3.5?

Thanks for your reply! I'm using python3.6.10 within anaconda.

Thanks, that was indeed only fixed in Python 3.7. Could you please revert your second commit? I already fixed it in https://github.com/cvg/Hierarchical-Localization/pull/2 since that was critical. Then I'll happily merge your fix!

Thanks!

authors: Skydes kxhit

repo: cvg/Hierarchical-Localization


text:
ImportError: No module named 'utilities'

=> pip install --upgrade cvxpy
=> pip install qcqp
download maxcut.py to new directory
=> python maxcut.py
Traceback (most recent call last):
File "maxcut.py", line 4, in
import qcqp
File "/usr/local/google/home/bodonoghue/miniconda2/envs/python35/lib/python3.5/site-packages/qcqp/init.py", line 20, in
from . import qcqp_problem
File "/usr/local/google/home/bodonoghue/miniconda2/envs/python35/lib/python3.5/site-packages/qcqp/qcqp_problem.py", line 30, in
from utilities import *
ImportError: No module named 'utilities'
Running ubuntu, python 3.5.

I'll take a look a this today. Meanwhile, could you tell me if downloading and installing the package directly from the repository also gives the same error?

Works fine when installing from source.

Thanks, just uploaded a new version of the package (0.5) on pip. It should be fixed now.

authors: bodono jaehyunp

repo: cvxgrp/qcqp

license: mit

license_source: bigquery


text:
Add partial trace and partial transpose.

Description
Add the partial trace and partial transpose atoms as discussed in #563.
Type of change

[x] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

For some reason the docs aren't including partial_trace when I build them locally. Not sure what's going on.

Thanks Riley! I'm not going to add anything to the changes section for now, because this hasn't been deployed yet. We need to be careful to save this for 1.2.

@SteveDiamond the source files for web docs have already been updated for 1.2.0: https://github.com/cvxpy/cvxpy/blob/11054f2bca149baaf3a090db6b8595b8721d8916/doc/source/updates/index.rst. We can change the source files and cvxpy.org won't change until we go through documentation deployment procedures.

https://github.com/cvxpy/cvxpy/blob/11054f2bca149baaf3a090db6b8595b8721d8916/doc/source/updates/index.rst

Gotcha, added a line,

Many thanks for this implementation @SteveDiamond. I can finally run a benchmark for quantum process tomography with the proper partial trace constraints. :-)

Thank you very much @SteveDiamond, I know a number of people who are currently running their own (inefficient) versions of the partial trace/transpose in the quantum information community in cvxpy. No doubt this will help them :).

authors: QCmonk SteveDiamond quantshah rileyjmurray

repo: cvxpy/cvxpy


text:
Basketball - Add player and team typehints

Very small PR to just add two type hints to the League and Team objects for usability. Found myself very often having to jump into source code to use the objects instead of just relying on IDE type hints.
AFAIK this is backwards compatible to all python versions but if there are specific tests or something to be shown let me know.

Looks good, thanks for adding!


text:
DATE, TIME and TIMESTAMP rework: move to epoch format & microsecond support

This PR changes the DATE, TIME and TIMESTAMP format internally so that we can support microseconds (#650).
Previously we used MonetDB's format here: dates were days since the year 0, times were ms since 00:00:00, and timestamps were a bitwise combination of the two (i.e. ts = date << 32 & time). This generally works fine but limited us to millisecond precision. It also introduced some problems with interoperability with other libraries, since essentially all other libraries use dates/timestamps since the unix epoch (1970-01-01).
In this PR we switch to this format as well. DATES are now represented as (potentially negative) days since 1970-01-01. TIMES are represented as microseconds since 00:00:00 (and have been upgraded to 64 bit, since the number of microseconds in a single day requires 37 bits to represent). TIMESTAMPS are now represented as (potentially negative) microseconds since 1970-01-01.
Intervals have also been updated so they can work with microsecond precision. In addition, you can now use millisecond/microsecond to construct intervals, e.g.:
SELECT INTERVAL 3 MILLISECONDS;
SELECT INTERVAL 3 MICROSECONDS;

Timestamp rendering has also been changed so that it is similar to Postgres: any trailing zeros are stripped from the microsecond part of a timestamp, i.e.:
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 0 MICROSECONDS;
-- 1992-01-01 12:00:00
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 300000 MICROSECONDS;
-- 1992-01-01 12:00:00.3
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 30000 MICROSECONDS;
-- 1992-01-01 12:00:00.03
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 3000 MICROSECONDS;
-- 1992-01-01 12:00:00.003
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 300 MICROSECONDS;
-- 1992-01-01 12:00:00.0003
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 30 MICROSECONDS;
-- 1992-01-01 12:00:00.00003
SELECT TIMESTAMP '1992-01-01 12:00:00' + INTERVAL 3 MICROSECONDS;
-- 1992-01-01 12:00:00.000003

One side effect of this change is that the year range we can represent has shrunk. Dates and timestamps can now represent years in the range 1970±292471, e.g. from 290308 (BC) to 294247. This is likely irrelevant to everyone.

I guess that was the only piece of MonetDB, right? You can update your FAQ after release if you want! ;-)
DuckDB is a new from-scratch development. There is no connection to MonetDB or MonetDBLite from an architectural perspective. We have borrowed ca. 200 lines of code related to date math however

This is indeed the only piece of MonetDB that we had in our code base, besides a few tests here. I believe they actually rewrote their date/time representation as well some time ago for the exact same reason (microsecond support), so we were actually using an old module of them. However, instead of moving to their new format we opted to move to epoch timestamps for better interoperability with other tools (e.g. arrow, R, Python, Parquet, Pandas, all use epoch timestamps and dates).

Good catch updated the FAQ

authors: Alex-Monahan Mytherin hannesmuehleisen

repo: cwida/duckdb


text:
Return datetime64 in Python

This adds support for correctly returning TIMESTAMP columns as numpy.datetime64 in the Python client.
Sadly the tests fail with
E   AssertionError: DataFrame.iloc[:, 0] are different
E
E   DataFrame.iloc[:, 0] values are different (66.66667 %)
E   [left]:  [1994-11-16T03:10:00.000000000, 2010-01-01T00:16:40.000000000, NaT]
E   [right]: [1992-10-03T18:34:45.000000000, 2010-01-01T00:00:01.000000000, NaT]

Any idea where this timeshift may be introduced?

That is a strange shift, I don't know where it comes from. I will take a look.

Looks like a problem in the epoch implementation, should be fixed in a99754a778d299ec1e59fb56d294a68f733a21c4. Can you check if that fixes the problem?

Yes, the commit fixed the problem and the tests now pass for me locally.

Great, thanks a lot!

authors: Mytherin hannesmuehleisen xhochy


text:
譜面ヘッダで再生速度を指定できるように変更

変更内容
譜面ヘッダで再生速度を指定できるようにしました。
|playbackRate=0.7|

変更理由
難譜面のテストプレイ時に便利だと思います。
その他コメント
多少ずれますが、譜面のタイミングには音声やキー入力の遅延の補正が通常含まれていて、これらの遅延が再生速度に依存しないため、倍率をかけたときにその分ずれるのだと思います。
おそらく環境依存があるので機械的に補正するのは難しそうです。

こういうことができるんですね！　いい機能だと思います。
難譜作成時以外にも、全体的な演出のタイミングを見るのでも使えそうですね。
＞その他コメント
了解です。現状許容できる範囲だと思うので、
ズレの問題は一旦クローズで良いかなと思いました。

ご指摘の箇所(setVal)を修正しました。

確認しました。ありがとうございます。
追加ですみませんが、再生速度が低速・高速にできるようになりましたが、
左上のフレーム数表示と左下の再生時間がずれてしまっています。
（リザルトに飛ばないケースあり）
テスト用の機能なので、そこまで厳密にする必要は無いのかもしれませんが。。。

左上のフレーム数表示と左下の再生時間がずれてしまっています。

再生速度1倍相当の値(playbackRate=0.5なら実時間2秒ごとに1秒・60フレーム加算される)が表示されるべき、ということでしょうか？

（リザルトに飛ばないケースあり）

playbackRate=100、fadein 99%で飛ばなくなるのを確認しました。
他にも飛ばないケースがあれば教えてください。

再生速度1倍相当の値(playbackRate=0.5なら実時間2秒ごとに1秒・60フレーム加算される)が表示されるべき、ということでしょうか？
そうですー

playbackRate=0.5、fadein=51%以降でも飛ばないと思います。
例えば2分の曲だと、0.5倍速再生なら4分かかりますが、
playbackRate=0.5、fadein=51%で設定すると、曲表示部分が「 2:05 / 2:00 」と表示されます。
経過時間（2:05）がプレイ長（2:00）を超えると、リザルトに飛びません。
対応方法としては、

再生速度相当に変換する

上記の例では、「 1:02 / 2:05 」となるように時間経過部分を変える

プレイ長を実際にかかる時間に変換する

上記の例では、「 2:05 / 4:00 」となるようにプレイ長を変える

（続き）
設定が簡単なのは後者です。
前者を対応する場合、frameNumとは別に「画面表示上の」frameNumを用意した方が、
修正する手間は少ないと思います。

終了時間は変換しています(4706行目)し、手元ではそのように動作しているのですが…。
どのような場合に本来の曲時間が表示されてしまいますか？

playbackRate=100、fadein 99%などで終了時間を貫通してもリザルトに飛ぶように修正しました。

すみません、こちらのソースの書き換え忘れかもしれません m(_ _)m
変更内容で一度確認してみます。

参考に上げてみました。
http://cw7.sakura.ne.jp/danoni/2016/0280_SouthernCross2011_test.html
Fadein 50%で動かしてみてください。
おそらく譜面側は問題なく、経過時間の計算方法だけの問題と推測します。
現行

function flowTimeline() {
		lblframe.innerHTML = g_scoreObj.frameNum;

		// (中略)

		// タイマー、曲終了判定
		if (g_scoreObj.frameNum % 60 === 0) {
			const currentSecond = Math.ceil(g_scoreObj.frameNum / 60);
			const currentMin = Math.floor(g_scoreObj.frameNum / 3600);
			const currentSec = `00${(g_scoreObj.frameNum / 60) % 60}`.slice(-2);
			const currentTime = `${currentMin}:${currentSec}`;
			lblTime1.innerHTML = currentTime;

変更案（未検証）

// 1秒当たりの経過フレーム
// 小数になってしまうと全体的にずれる懸念あり
g_scoreObj.fpsView = Math.floor(60 / g_headerObj.playbackRate);

		// (中略)

function flowTimeline() {

		// 見た目のフレーム数
		g_scoreObj.frameNumView = g_scoreObj.frameNum / g_headerObj.playbackRate;
		lblframe.innerHTML = g_scoreObj.frameNumView;

		// (中略)

		// タイマー、曲終了判定
		if (g_scoreObj.frameNum % g_scoreObj.fpsView === 0) {
			const currentSecond = Math.ceil(g_scoreObj.frameNum / g_scoreObj.fpsView);
			const currentMin = Math.floor(g_scoreObj.frameNum / g_scoreObj.fpsView / 60);
			const currentSec = `00${(g_scoreObj.frameNum / g_scoreObj.fpsView) % 60}`.slice(-2);
			const currentTime = `${currentMin}:${currentSec}`;
			lblTime1.innerHTML = currentTime;

上記（変更案（全体未検証））だと、playbackRate=0.7のような端数（2進数で表せない数）のときに
フレーム数表示がおかしくなりますね。。。
タイマー、曲終了判定は多分これで良いかと思います。
フェードアウトなどのところが見れてないですが、、

すみません、終了時間変換の処理がフェードアウト・終了時間指定のほうに入っていませんでした。
修正しました。

ありがとうございます m(_ _)m　確認しました。
大丈夫だと思いますので、この内容でマージします。

authors: cwtickle suzme

repo: cwtickle/danoniplus


text:
[Pre-release/v13] v13.0.0 の変更内容反映

変更内容

矢印塗りつぶし部分の初期色拡張 ( #626 )
フリーズアロー初期色が未定義の場合の処理を追加 ( #633 )

変更理由
その他コメント

塗りつぶし部分の色変化対応が残ですが、
その実装まで行うと規模が大きくなるため、このタイミングでマージします。


text:
Lonewolf: Registration

The registration form should be modified for non-team seasons. Probably the easiest way to do this would be to separate the Registration model into team/lone versions.

Implemented. I kept the model the same, just customized the form since they're very similar.

repo: cyanfish/heltour


text:
Openshift password should be given/pulled from summon

The script asks few times for OpenShift password. In order to make it run automatically from start to end it needs to pull the password from summon or receive  it as a parameter

Hi @tzheleznyak. It should already do this if you're using summon, see https://github.com/cyberark/kubernetes-conjur-deploy/blob/master/secrets.yml#L13. Alternatively you could export the environment variable OPENSHIFT_PASSWORD before running the script.
It's possible that I'm misunderstanding when exactly this happens. If so, please provide details for how we can replicate the issue you're facing.

Do i need to launch the ./script using summon. It not happens in the script?

@tzheleznyak Yes you'll have to run the script using summon.

authors: doodlesbykumbi tzheleznyak

repo: cyberark/kubernetes-conjur-deploy


text:
Bump go version to 1.15

What does this PR do?
Bump go version to 1.15
What ticket does this PR close?
Resolves #278
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[X] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[X] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[X] This PR does not require updating any documentation

@BradleyBoutcher what's the motivation for this change?

@orenbm we're standardizing all of our Go projects on the latest Go version 1.12 and 1.13 are already technically end of life.

@orenbm There's a ticket you filed, #278

@orenbm There's a ticket you filed, #278

I always trust Oren of the Past :)
Thanks!

@BradleyBoutcher I am just seeing that the Dockerfiles have go versions that are still stuck at 1.13 - can you please put up a follow-up PR to resolve this?

authors: BradleyBoutcher izgeri orenbm


text:
Add Conjur OSS information to README

Connected to cyberark/conjur-oss-suite-release#45

Closing; it doesn't make sense to add this to this project

authors: BradleyBoutcher izgeri

repo: cyberark/summon-keyring


text:
Update p2000.py

Adjusted line 449;
otherwise in messages like: FLEX|2021-07-28 20:16:35|1600/2/K/A|04.028|002029568 001503900 001503331|ALN|P 1 BDH-02 OMS brandmelding Motel De Nachtegaal N208 - Heereweg LISSE 161130
It would detect BDH as city name.... Addres will be like: "address": "1 Bdh"

Thanks


text:
Update to TypeScript 2.2.1

Pending on https://github.com/monounity/karma-typescript/issues/92 for @cycle/history using Karma.

Done, and released these packages:

run https://github.com/cyclejs/cyclejs/blob/master/run/CHANGELOG.md#200-2017-03-05
rxjs-run https://github.com/cyclejs/cyclejs/blob/master/rxjs-run/CHANGELOG.md#500-2017-03-05
most-run https://github.com/cyclejs/cyclejs/blob/master/most-run/CHANGELOG.md#600-2017-03-05

repo: cyclejs/cyclejs


text:
Issues with V3 SDR

Stratux version:1.5b2

Stratux config:
SDR

[ ] single
-[ x] dual

GPS

[X ] yes
[ ] no
type:

AHRS

[X ] yes
[ ] no

power source:
usb cable:

EFB app and version: Foreflight 11.7.1
EFB platform: (e.g., iOS 12.4.1)
EFB hardware: (e.g., iPad Mini 3)

Description of your issue:
I just installed a new UAT SDR V3 and noticed two things.
It does not report tower signal levels as the older version did and also it comes online just after the Stratux had finished booting not waiting the 1:30 that the previous version did.

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://192.168.10.1/logs/stratux/ and http://192.168.10.1/logs/stratux.log.

Known bug. RSSI values are sent from the radio now, they need to be interpreted properly in processRadioMessage().
https://github.com/cyoung/stratux/blob/master/main/lowpower_uat.go#L117-L121
There's no startup delay on the UATRadio because it isn't a large power consumer like the other SDRs.

Thank you for the reply.
I am not quite up to speed how to alter the code. Will there be a published updated code out soon?
Thanks again,Tom
-----Original Message-----
From: cyoung notifications@github.com
To: cyoung/stratux stratux@noreply.github.com
Cc: 185Tom tom3holer@aol.com; Author author@noreply.github.com
Sent: Fri, Sep 13, 2019 10:24 am
Subject: Re: [cyoung/stratux] Issues with V3 SDR (#791)
Known bug. RSSI values are sent from the radio now, they need to be interpreted properly in processRadioMessage().https://github.com/cyoung/stratux/blob/master/main/lowpower_uat.go#L117-L121There's no startup delay on the UATRadio because it isn't a large power consumer like the other SDRs.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Is there a website I can go too get up to speed a bit on modifying the code?
Thanks for any help,
Tom

repo: cyoung/stratux


text:
typeid failed on fused types

# cython: language=c++
# cython: language_level=3str
from libcpp.typeinfo cimport type_info
from cython.operator cimport typeid
cdef fused C:
   int
   object
cdef const type_info* i32 = &typeid(int)
cdef f(C x):
    cdef const type_info* a = &typeid(C)
    return a  == i32

def g(x):
   return (x, f(x))

It's generally helpful in bug reports to also show the error message that results, as well as other relevant information, such as the code that was generated. Providing this information reduces the time that others need to plan to invest in order to investigate the issue. Basically, when I have limited time and an issue seems more costly to look into than what I currently can (or want to) invest, I look at other issues first.

Okay, will do this

authors: scoder thautwarm

repo: cython/cython


text:
qualify use of tp_pypy_flags and tp_vectorcall on PyPy

The release of Cython 0.29.26 exposed a problem with the way PyPy3.8 defined PyTypeObject: PyPy is missing the tp_vectorcall slot. See PyPy issue 3618. The reason this only came up after the release of Cython 0.29.26 is that release 0.29.26 backported the code from commit b0d8de7928019372ebd5fb81e027529e79aa922e to the 0.29 release branch. Before that commit, the last few fields of the PyTypeObject in Cython were

For Python3.8:

Cython<0.29.26 initializes a struct with the last fields tp_finalize, tp_vectorcall, tp_print
Cython>=0.29.26 initializes a struct with the last fields tp_finalize, tp_vectorcall, tp_print, tp_pypy_flags

For Python3.9:

Cython<0.29.26 initializes a struct with the last fields tp_finalize, tp_vectorcall
Cython>=0.29.26 initializes a struct with the last fields tp_finalize, tp_vectorcall, tp_pypy_flags

For PyPy3.8 (the current release is 7.3.7)

PyPy<7.3.8 declares a struct with the last fields tp_finalize, tp_print, tp_pypy_flags
PyPy>=7.3.8 will declares a struct with the last fields tp_finalize, tp_vectorcall, tp_print

There are only 3 PyPy 3.8 slots, and Cython 0.29.26 tries to fill 4 slots, causing a compiler error (on MSVC).
PyPy3.9 (not yet released) will declare a struct with the last fields tp_finalize, tp_vectorcall, tp_pypy_flags
The reason PyPy chose to still have 3 fields for PyPy3.8 is to not break ABI compatibility (under the assumptions that (1) no-one uses tp_print nor tp_vectorcall and (2) tp_pypy_flags is an internal private field and (3) for PyPy>=7.3.8, there is a work-around for removing tp_pypy_flags).
So this PR proposes to codify the situation:

like pre-0.29.26, do not emit tp_pypy_flags for PyPy<3.8. This will cause compilation to emit a compiler warning but not an error.
only emit a tp_vectorcall slot for upcoming PyPy releases (reflecting reality)

Sorry for the mess.

Lots of CI failures, but that seems to be across the last few PRs :(. This seems to be the last CI run of all green, the next merge to master has failures (by looking at "Actions" and rows that have "master" as the target). It seems 7fca8c861c9bc509869a48871 is the cause?

Or maybe 7fca8c8 turned already-occurring crashes into failures?

It seems 7fca8c8 is the cause?

No, it's not that easy. I investigated this for some time yesterday and couldn't reproduce it locally. It seems more related to the recent pyximport changes in https://github.com/cython/cython/pull/4339, but the failures only started a couple of days after merging that, with the completely innocent looking change that you mentioned above. Can't say why. Might be a change in test dependencies or the parallel execution relation. Or cosmic radiation leading to predictable failures for once. I even fixed several surrounding issues along the way, but none of them changed the situation. It seems indicative that it only fails in Py3.7+, though.

Comparing the build logs from the ci (ubuntu-18.04, c, 3.7) build in the two runs, the older one builds Cython with
gcc -pthread -shared -Wl,... -lpython3.7m -o ...

and the new one without -pthread and without -lpython3.7m
gcc -shared -Wl, ... -o ...

This might be due to differences from using setuptools-59.7.0 wheel-0.37.0 vs. setuptools-60.0.0 wheel-0.37.0. I think v60 started using the internal setuptools.distutils instead of the stdlib one. It might be worth trying to pin setuptools to the older version? There are more differences, grepping on "Successfully installed" and massaging the complete diff I get

old
new

setuptools-59.7.0
setuptools-60.0.0

numpy-1.21.4
numpy-1.21.5

importlib-metadata-4.9.0
importlib-metadata-4.10.0

Triggering clean CI build.

Picked over to 0.29.x in https://github.com/cython/cython/commit/af5b1ce600f096bffda790c75b89a99e55b78522

authors: mattip scoder


text:
Disable DuckDB progress bars

Description
This PR disables DuckDB progress bars from appearing. I noticed these periodically could show up within Jupyter notebooks, which I believe was a result of DuckDB being run in "interactive mode" (which changes default behaviors).
Closes #226
What is the nature of your change?

[ ] Bug fix (fixes an issue).
[x] Enhancement (adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] This change requires a documentation update.

Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.

[x] I have read the CONTRIBUTING.md guidelines.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] New and existing unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have deleted all non-relevant text in this pull request template.

Thanks @gwaybio and @falquaddoomi ! Merging this in.

repo: cytomining/CytoTable


text:
Login page incorrect icons and text for options

Steps to replicate:

Go into incognitio mode Firefox
Go to https://pronoundb.org/login
You should see a list of options icons and text matching correctly.
What you get is incorrect icon for Github and incorrect text for Twitch and Twitter.

After a quick check this seems to be an issue that only occurs when rendered by the server (when arriving on the page, or refreshing), but when rendered by the client (during navigation) there seem to be no issues, which is rather weird considering both run exactly the same code. It happens on the register and link page too (which makes sense as it's internally the same page with different text). I'll give that a look soon.

Yeah, I had a quick look and was confused how it'd be broken.

This has been fixed in 939e616. Both the server and the client rendered the correct icons and labels, but due to the website being aware of the presence of the extension or not, the state for the Facebook login button differed causing vdom trees not to match.

authors: cyyynthia zactopus


text:
Basler boost boA5328-100cm device adaptors

Is your feature request related to a problem? Please describe.
We are interested in operating multi Basler camera (in our case, 4 cameras) and streaming all the cameras at maximum frame rate.
Describe the solution you'd like
We should be able to configure the exposure and method of the triggering the camera, and which cameras are acquiring the same time

We can start think about moving this forward @jamesliu1990 , feel free to invite other related individuals to this issue if there is any need for discussion before starting the implementation of the basler device adaptor. If not feel free to start your implementation and open your PR, we can discuss on the implementation and get it merge within 0.0.1 milestone.

FWIW pyCameras has some support for Basler cameras. py_basler.py might provide a good starting point.
@emilyhuynh98 @Axel-Jacobsen do you know what basler models this has been developed against?

yep, we developed py_basler.py for Basler dart daA1600-60um, but it is just a convenient wrapper function for pypylon so it should be generalizable to other models

repo: czbiohub/coPylot


text:
background estimator 'underfits' background on negative contrast images

Background estimation by fitting a surface 'underfits' the background on negative contrast images.
Following is the result of drawing a line profile along horizontal at y=400. This problem is easily solved by inverting the input image.
Image

Profile

Even after inverting images, the surface fit approach does not report accurate background distribution.
Image

Background

Line profiles

Did you try use higher order function? get_background has a fit_order parameter for this. I haven't tuned it yet

Same issue at higher orders too:
Image

background with order 3:

background with order 4:

Looks like the fit is biased by the spots. I'll try robust fit or top-hat to fix this

Looks like sampling less pixels from the image for fitting is a quick fix:
Sample with grid size 32

Sample with grid size 128

authors: mattersoflight smguo


text:
Unclosed ifdef causes panic in CC

Hi! It's not a bug, rather my typo that looks like this:
#ifdef __cplusplus
extern "C";

EOF

Not a big deal, but CC crashes with a weird panic that doesn't contribute to finding the root cause.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x10 pc=0x1ba214]

goroutine 18 [running]:
panic(0x3a8cc0, 0xc820010110)
	/usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/cznic/cc.(*pp).preprocessingFile(0xc82020a140, 0x0)
	/Users/xlab/Documents/dev/go/src/github.com/cznic/cc/cpp.go:982 +0x44
github.com/cznic/cc.Parse.func1(0xc820394120, 0xc82038c5a0, 0xc820390860, 0x68e520, 0xc820075770, 0xc820385ae0, 0xc820396200, 0xc820099780, 0x3, 0x4, ...)
	/Users/xlab/Documents/dev/go/src/github.com/cznic/cc/cc.go:472 +0x350
created by github.com/cznic/cc.Parse
	/Users/xlab/Documents/dev/go/src/github.com/cznic/cc/cc.go:474 +0xa47
make: *** [all] Error 2

Thank you for the report.

authors: cznic xlab

repo: cznic/cc


text:
Progaurd issue

Spots are not being displayed when minify is enabled in progaurd for Release build. It works again if minify is enabled.

Hello!
Yes, this issue is known. Just add these lines into your proguard config file:
-keep class dmax.dialog.** {
    *;
}

authors: d-max vinaychandra

repo: d-max/spots-dialog


text:
🛑 Staging Risk Evaluation Web is down

In aae98f4, Staging Risk Evaluation Web ($STAGING_EVALUATION) was down:

HTTP code: 503
Response time: 322 ms

Resolved: Staging Risk Evaluation Web is back up in 1933195.


text:
🛑 Staging Homologation API is down

In e44b3d0, Staging Homologation API ($STAGING_HOMOLOGATION_API) was down:

HTTP code: 503
Response time: 917 ms

Resolved: Staging Homologation API is back up in b28fe88.


text:
Update dynamodb to 2.16.89

Updates software.amazon.awssdk:dynamodb from 2.16.72 to 2.16.89.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk", artifactId = "dynamodb" } ]

labels: library-update, semver-patch

Superseded by #141.


text:
Select brushX or brushY based on mouse direction ?

In v4, I am trying to implement brush (to zoom selected area) for a line chart. I want the brush in X or Y direction to be selected based on the direction the mouse moves first.
If the mouse moves to left or right, brushX needs to be invoked and if mouse moves first in top or bottom direction, brushY needs to be invoked.
Is there a way to implement this?

This is essentially what happens when you hold down Shift; the brush sets the internal lockX or lockY flag based on the subsequent movement of the mouse.
https://github.com/d3/d3-brush/blob/c8fe9fa8e3d88c22f1527a833279102522fd65db/src/brush.js#L361-L364
I can’t think of an obvious way of triggering this behavior programmatically (meaning without requiring Shift to be held down), but, maybe it’s possible? I think the ideal would be some way of overriding the logic that determines which mode the brush is in during interaction. But there are a lot of different modes, so I’m not sure how to do that elegantly. The quickest path to implementing this is probably to fork the code and modify the internal logic.

@mbostock Thank you for getting back to me. I implemented single directional zoom based on mouse direction. This works perfect for my requirement, Here is the Gist https://gist.github.com/Shravya-Siluveru/d958edfcbd6333e1a07054c15060ebd9

authors: Shravya-Siluveru mbostock

license: ISC


text:
Suggestion: pack() layouts with deterministic outputs

Currently the circle packing layouts calculated by pack() are not deterministic. (Possibly because of the Math.random() call in shuffle)? It would be helpful if we had an option to ensure consistent outputs given the same input data.
Simple example showing two different outputs with the same data:

Can you share the actual numbers used? I made this notebook (from Mike's pack-o-matic) to try and reproduce
https://observablehq.com/@fil/pack-189

Yes, we should make it deterministic. We can use a LCG like we did for d3-force.
https://github.com/d3/d3-force/commit/1e3db41373c00e0aac68984fb52dbf0b115c5bcb

Can you share the actual numbers used? I made this notebook (from Mike's pack-o-matic) to try and reproduce https://observablehq.com/@fil/pack-189

Yes, here is an notebook that should reproduce it. https://observablehq.com/d/6df5cd39d11c9dfa
(Apologies that I didn't show the leaf nodes in the original screenshots, I realize now that was probably confusing.)

@Fil thank you for the fix! Please push the new version to npm

FYI I published the forked package. It doesn't have any changes except package name change and patch version. https://www.npmjs.com/package/d3-hierarchy-with-deterministic-pack
I hope everything is OK with the authors

authors: Fil dimitriylol jessihamel mbostock

license: isc


text:
The ending value may not be exact due to floating point arithmetic.

In many cases in this library we use the interpolated value
a + (b - a) * t

This can return a value not equal to b when t = 1. If we want to guarantee that the exact value b is returned for t = 1, we should instead use the formula
a * (1 - t) + b * t

@fil Should we take a crack at this?

I was under the impression that this was a kind of optimisation (doing substractions once—probably ultra negligible). Also, the substraction was a nuisance when working with Uint32 numbers…
In any case, I think having exact ends is desirable.

authors: Fil mbostock


text:
🛑 Ortopedizone is down

In a508237, Ortopedizone (https://ortopedizone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ortopedizone is back up in 5a8aa5c after 1 hour, 46 minutes.


text:
Make installation easier!

Pls don't forget to release new version 1.0.1 and fix Readme.md with updated version link!


text:
inconsistent design language

Raised by Corey:
In the Home tab, you have white labels with green values, and in the Proposals tab it's the other way around.

fixed with new design. Changes are up in prod

authors: EightRice fabiolalombardim

repo: dOrgTech/homebase-app


text:
Is it possible to delete the whole mention when backspace is pressed and a character is removed?

I wanted to fulfill the use case of removing the whole mention when backspace is pressed on a mention input, for eg: Hey @Mary How are you? -> when pressed backspace on y of Mary,
we get Hey How are you? instead of Hey @Mar How are you?

That's a good suggestion for library enhancement, but for now, unfortunately I don't have a quick solution for this. I hope it's not critical for you and can wait until next release.

Any update on this enhancement ?

Hi Everyone , any updates please about this topic ?

@Sumit2202 @dabakovich @yaminichhabra @yessinej  - Here is a PR for this functionality - https://github.com/dabakovich/react-native-controlled-mentions/pull/133

authors: Sumit2202 dabakovich thejogsa yaminichhabra yessinej


text:
Use a logger

Our loggers are currently fmt and panic. Dagger uses zerolog, so unless we have reason to not want to use it again (cc @aluzzardi), we should configure it in cloak too. At the very minimum it would be nice to start writing informational+debug logs.

This is being tracked here now https://github.com/dagger/dagger/issues/3587

repo: dagger/dagger


text:
fix: use sdkVersion when loading aliased sdk

while working on a different issue, I found what seems like we are not using sdkVersion when loading aliased sdk.

the .next currently refers to v0.12.7? should I change that to v0.13.0 (as you added milestone as v0.13.0)

See the instructions in CONTRIBUTING.md to see how to add a changelog - you need changie installed, you don't need to manually edit .next.

authors: jedevc rajatjindal


text:
Obtain real-time asset pricing from off-chain primary source

A user shall view an asset price based on the value provided by the ChainLink price oracle implemented for a given currency pair. The following currency pairs shall be considered for implementation:

[ ] dUSD/USDC
[ ] dUSD/USDT

[ ] dCOP/USDC
[ ] dMXN/USDC
[ ] dEUR/USDC
[ ] dCAD/USDC
[ ] dCHF/USDC
[ ] dAUD/USDC
[ ] dNZD/USDC
[ ] dCNY/USDC
[ ] dBTC/USDC
[ ] dETH/USDC

??

Qué pasó con este proyecto y con daily cop ????

repo: dailyprotocol/dprotocol


text:
File size restriction

First of all, thanks a lot for this library, I've been using it with great pleasure!
One issue I have run into is the maximal file size: I see that in Table.java, there is a precondition check on the file size, see here.
Is this actually needed? I have a file that is larger than this limit and cannot open it.

I've removed the check in question and could load a large SSTable using the FileChannelTable class. So it looks like this check is needed for memapping, i.e., for the MMapTable class.

I've submitted a PR for this: https://github.com/dain/leveldb/pull/54

repo: dain/leveldb


text:
option to pre-process :query-params

When making API calls to an external provider, we need to have the query parameters in camelCase rather than our beloved kebab-case 😢
To achieve this we have a small function which, as you can imagine, works fine.
(def kebab->camel (partial cske/transform-keys csk/->camelCaseString))

(let [api-query-params (kebab->camel query-params)
       request-opts (assoc arguments :query-params api-query-params)
       results (client request-opts)]
...

It would be nice if there was an option to automate this on the client since I imagine that this is a fairly common requirement.
Would you accept a PR?
Must the PR avoid the extra dependency on camel-snake-kebab?

Maybe this could be done through middleware? And added to the list of contributed middleware in this repo.

I had a similar need but for :body.
query-string mw definitely is a bit mouthful as :query-string field contains value as string e.g. if {:query-params {:user-id 1 :teaId 2}} then :query-string is "user-id=1&teaId=2".
(require '[clj-http.client :as clj-http] '[camel-snake-kebab.core :as csk] '[camel-snake-kebab.extras :as cske])

;; a lengthy yet trivial middleware
(defn- encode-qs-mw
  "a Middleware for encoding query params."
  [client]
  (let [qs-kebab->camel
        (fn [req]
          (if-let [qs (:query-string req)]
            (assoc req :query-string (->> (str/split qs #"&")
                                          (map (comp
                                                 (partial str/join "=")
                                                 (juxt (comp csk/->camelCaseString first) second)
                                                 #(str/split % #"=")))
                                          (str/join "&")))
            req))]
    (fn
      ([req]
       (client (qs-kebab->camel req)))
      ([req respond raise]
       (client (qs-kebab->camel req)
               respond
               raise)))))

In action:
(clj-http/with-additional-middleware
  [encode-qs-mw]
  (clj-http/get "https://jsonplaceholder.typicode.com/posts"
                {:debug true
                 :query-params {:user-id 1}}))

;;=>
;; Request logs

;; Request: nil
;;{:user-info nil,
;; :use-header-maps-in-response? true,
;; :body-type nil,
;; :debug true,
;; :headers {"accept-encoding" "gzip, deflate"},
;; :server-port nil,
;; :url "https://jsonplaceholder.typicode.com/posts",
;; :flatten-nested-keys (:query-params),
;; :uri "/posts",
;; :server-name "jsonplaceholder.typicode.com",
;; :query-string "userId=1&teaId=2",   ;; <<-- what was intended
;; :body nil,
;; :scheme :https,
;; :request-method :get}
;;HttpRequest:
;;{:config nil,
;; :method "GET",
;; :requestLine
;; #object[org.apache.http.message.BasicRequestLine 0x6a9ff8e9 "GET https://jsonplaceholder.typicode.com/posts?userId=1&teaId=2 HTTP/1.1"],
;; :aborted false,
;; :params
;; #object[org.apache.http.params.BasicHttpParams 0x74f2986c "[parameters={}]"],
;; :protocolVersion
;; #object[org.apache.http.HttpVersion 0x7aa51a2a "HTTP/1.1"],
;; :URI
;; #object[java.net.URI 0x6d630e1f "https://jsonplaceholder.typicode.com/posts?userId=1&teaId=2"],
;; :class org.apache.http.client.methods.HttpGet,
;; :allHeaders
;; [#object[org.apache.http.message.BasicHeader 0x1b574644 "Connection: close"],
;;  #object[org.apache.http.message.BasicHeader 0x29c2be0d "accept-encoding: gzip, deflate"]]}

authors: fr33m0nk kpassapk raymcdermott

repo: dakrone/clj-http


text:
Allow printing to stderr instead of stdout

This should fix #12 in at least a pretty bare form by allowing consumers to select a non-default feature (to prevent breakage in existing setups) that makes all print statements output to stderr instead.
I wish we could conditionally compile in single lines; I opted for duplicating at the block level because the alternative requires formatting before output selection and then formatting again when writing output.
The only other change I made was to silence a rustc warning about unused imports in the example

Thank you for your contribution.
How about the following implementation to avoid the block duplication?
let mut lock = if cfg!(feature = "stderr") {
    Box::new(std::io::stderr().lock()) as Box<dyn Write>
} else {
    Box::new(std::io::stdout().lock()) as Box<dyn Write>
};

writeln!(
    lock,
    "\n{:<parser$} | {:<bar$} | {}",
    "parser",
    title,
    "count",
    parser = max_parser_len,
    bar = bar_length,
)
.unwrap();

Looks clean, I like it. Will implement it as soon as I can

That should fix this PR as far as defaulting to stderr is concerned. As for customizing where writes go, that may be a different beast. The original issue asks

and maybe a method could be added to choose where to print to. (It would be interesting to be able to write to arbitrary dyn Write or impl Writes but that might be a bit tricky due to the general requirement that TracableInfo implements Clone.

I think this would be possible in either one of two ways without breaking the existing API. The least work is mirroring the functions with _with_writer (name is an example) functions that the existing functions would call with the current configured output to keep API compatibility and ease of use for end users. The other way would be to store a reference to the preferred output in a Cell<T>-like type that allows for interior mutability and exposing a function to swap it out. We could then get the reference and lock() that when printing, which allows for moving the cfg! checks to just one for initialization.
CC @sunshowers for opionions as that was part of your feature request issue.

I like the current PR a lot, thanks for doing it! I don't have a strong preference for with_writer and honestly don't even have that much of a need for it, so maybe that work can just be deferred if no one else needs it either.

The current implementation seems to be good.
So I'll merge this, and release new version.

authors: RivenSkaye dalance sunshowers

repo: dalance/nom-tracable


text:
metacello.st and metacello.json should be relocated

Right now those two files are expected to be in repository/metacello// directory but that doesn't seem to be easily accessible ...
Perhaps configuration// would be a better place ...

It seems that the mardowner ate some content:
repository/metacello// should be repository/metacello/<project name>/ directory
and
configuration// should be configuration/<project name>
That's what I get for not using preview

repo: dalehenrich/metacello


text:
Hide white screen doesn't work at all

Tried to uninstall and reinstall runelite and it's not working any possible fix to this?

I'm having the same issue.

Fix for the problem > uninstall ToB Light Up plugin and reset runelite

authors: Jamdampam evaan

repo: damencs/tob-qol


text:
[FR] Rotatable Titlebar Header

It would be great if the titlebar for a note could be rotated, just like it can be with the sliding panes plugin.

Hi @DxYz1,
With Obsidian 1.0.0 there is now a Stack Tabs feature which is a native implementation of the Sliding Panes Plugin. The latest 3.0.0 version of Prism supports it.
https://help.obsidian.md/User+interface/Stacked+tabs
Let me know if that would satisfy this feature request or if you mean something else.

repo: damiankorcz/Prism-Theme


text:
Shluflix

Addon Manifest URL
https://shluflix.elfhosted.com/manifest.json
Addon Description
Very simple addon that return a single http stream you can watch!
The addons wraps the npm package created and used by movie-web https://github.com/movie-web/providers and return the result it gives.
Language of Content
Multilingual (Default)
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[X] http streams
[ ] live tv
[ ] metadata
[ ] misc
[X] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[X] tv shows
[ ] video games

I'd love for this to report the streams as highest to lowest quality.

Version 1.1.1 doesn't work and only shows one source without details: goojara.
Now that movie-web's repo is gone, will this plugin still get updated or are any hopes for working HTPP streams on Stremio dead ?

authors: brianamit2017 megadrive realgooseman

repo: danamag/stremio-addons-list


text:
Add support for illumos target

As part of the preparation for rust-lang/rust#55553, add support for the Solaris-like illumos target.

You probably wants to handle the flock() case at lines 50 and 57 too.  Thanks.

It has been 3 Years almost to a day and this has not been merged.
I hit this now again because I wanted to install Plume. Can I get an update or merge?

@Toasterson see my comment here, tl;dr: I think you may have an easier time upstreaming patches to fs4 than to fs2.

authors: Toasterson mtelka pfmooney ryanavella


text:
List View doesn't seem to have a property 'scrollEnabled'

When you set
scrollEnabled={this.state.scrollEnabled}
Looking at the RN docs and code, there doesnt seem to be any hook for a scrollEnabled property on a list view to lock scrolling. Am I missing something? Did you extend the ListView component?

Hey @evanmrose,
I didn't extend ListView, but ListView extends ScrollView props by default: React Native Docs - ListView
Also, if you've haven't seen the wiki, I recommend it for some useful info relating to locking scroll.
It explains how Swipeout prop scroll  returns false when swipeout is opening, which is then passed to a function that sets the state of scrollEnabled, allowing you to lock the scroll. react-native-swipeout wiki: Scrolling

Thanks for the quick response!
On Tue, Jun 30, 2015 at 11:38 PM Dan Cormier notifications@github.com
wrote:

Hey @evanmrose https://github.com/evanmrose,
I didn't extend ListView, but ListView extends ScrollView props by
default: React Native Docs - ListView
https://facebook.github.io/react-native/docs/listview.html#props
Also, if you've haven't seen the wiki, I recommend it for some useful info
relating to locking scroll.
It explains how Swipeout prop scroll returns false when swipeout is
opening, which is then passed to a function that sets the state of
scrollEnabled, allowing you to lock the scroll. react-native-swipeout
wiki: Scrolling
https://github.com/dancormier/react-native-swipeout/wiki/Scrolling
—
Reply to this email directly or view it on GitHub
https://github.com/dancormier/react-native-swipeout/issues/27#issuecomment-117426247
.

My pleasure :+1:

authors: dancormier evanmrose

repo: dancormier/react-native-swipeout


text:
Better exception classes

I had some difficulty parsing the exceptions being thrown now that I need to differentiate between pydantic and jsonschema validation errors. This PR should mitigate that pain a bit.
Not a blocker, but nice to have in the future.

thank you @dchiquito , looks kosher to me, so let's proceed... and let's release right away

authors: dchiquito yarikoptic

repo: dandi/dandischema


text:
kryo 序列化bug

问题描述:我是在测试kryo对集合的支持情况下,遇到以下问题,参数类型是List,Map<Long,Building>,List,dubbox出现bug,使用dubbo序列化没有此类问题

接口:List getBuildingByList(List buildings);

代码调用:
List list = new ArrayList();
list.add(getBuilding());
List result = restService.getBuildingByList(list);

异常堆栈:
Caused by: com.esotericsoftware.kryo.KryoException: Unable to find class: test
at com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:156) ~[kryo-3.0.3.jar:na]
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:133) ~[kryo-3.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:670) ~[kryo-3.0.3.jar:na]
at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:781) ~[kryo-3.0.3.jar:na]
at com.alibaba.dubbo.common.serialize.support.kryo.KryoObjectInput.readObject(KryoObjectInput.java:125) ~[dubbo-2.8.4.jar:2.8.4]

接口:Map<Long,Building> getBuildingMapByListIds(List ids)

代码调用:
List ids = new ArrayList<>();
ids.add(1l);
Map<Long,Building> result = restService.getBuildingMapByListIds(ids);

客户端异常堆栈:
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getBuildingMapByListIds in the service boot.dubbo.api.RestService. Tried 3 times of the providers [10.6.244.205:20880] (1/1) from the registry localhost:2181 on the consumer 10.6.244.205 using the dubbo version 2.8.4. Last error is: Failed to invoke remote method: getBuildingMapByListIds, provider: dubbo://10.6.244.205:20880/boot.dubbo.api.RestService?anyhost=true&application=demo-web&check=false&dubbo=2.8.4&generic=false&interface=boot.dubbo.api.RestService&logger=slf4j&methods=getBuildingMapByListIds,createBuilding,getUser,getBuildingsByMap,update,getBuildingsByListIds,getBuildingByList,getOne,deleteUser,create,getBuilding&owner=william&pid=1666&serialization=kryo&side=consumer&timestamp=1449743217114, cause: Fail to decode request due to: RpcInvocation [methodName=getBuildingMapByListIds, parameterTypes=[], arguments=null, attachments={path=boot.dubbo.api.RestService, input=176, dubbo=2.8.4, version=0.0.0}]
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:108)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy1.getBuildingMapByListIds(proxy1.java)
at boot.dubbo.simple.client.TestRestServieUsing.testGetBuildingMap(TestRestServieUsing.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:254)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: com.alibaba.dubbo.remoting.RemotingException: Fail to decode request due to: RpcInvocation [methodName=getBuildingMapByListIds, parameterTypes=[], arguments=null, attachments={path=boot.dubbo.api.RestService, input=176, dubbo=2.8.4, version=0.0.0}]
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:190)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:110)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:96)
at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144)
at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:77)
... 37 more

服务端异常:
2015-12-10 19:07:05.653  WARN 1150 --- [w I/O worker #5] c.a.d.r.p.dubbo.DecodeableRpcInvocation  :  [DUBBO] Decode rpc invocation failed: java.lang.String cannot be cast to java.util.Map, dubbo version: 2.8.4, current host: 10.6.244.205

java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:150) ~[dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:74) ~[dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:138) [dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:134) [dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:95) [dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:46) [dubbo-2.8.4.jar:2.8.4]
at com.alibaba.dubbo.remoting.transport.netty.NettyCodecAdapter$InternalDecoder.messageReceived(NettyCodecAdapter.java:134) [dubbo-2.8.4.jar:2.8.4]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [netty-3.7.0.Final.jar:na]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [netty-3.7.0.Final.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]

遇到同样的问题，不知道楼主怎么解决的？

dubbox已经修复这个bug了,拉取master分支,重新打个包就可以了,已经验证过了.
2015-12-29 16:09 GMT+08:00 李志威 notifications@github.com:

遇到同样的问题，不知道楼主怎么解决的？
—
Reply to this email directly or view it on GitHub
https://github.com/dangdangdotcom/dubbox/issues/67#issuecomment-167742615
.

authors: GuangShengLiang wzlee

repo: dangdangdotcom/dubbox


text:
Can you make the default-data-source not need included in the data-sources？

Can you make the default-data-source not need included in the data-sources？

设计问题，目前暂时不考虑

repo: dangdangdotcom/sharding-jdbc


text:
Prepare for release

///3🚫3////5🚫5///2🚫2/////////⚡/////////////////// 🚢

OK

Lets see if Chandler does it's stuff

repo: danger/danger


text:
Algum backlog maneiro de exemplo

Lista de coisas para se fazer nessa tarefa

Estou tendo uma dificuldade papapa

Estou desenvolvendo uma paradinha aqui.

repo: danicaus/hcdesafiofinal-aws


text:
🛑 WA is down

In f7ce2a9, WA (http://178.128.124.119:1680/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WA is back up in f84ac59.

repo: danichrisd/up


text:
🛑 Ramen Katsu is down

In 6e47dd8, Ramen Katsu (https://systemalpha.net/ramenkatsu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ramen Katsu is back up in d09c9a6 after 8 minutes.


text:
Error processing method: 'System.Void DLToolkit.Forms.Controls.FlowListViewInternalCell::AddTapGestureToView(Xamarin.Forms.View)

Hi,
First of all thank you for your work.
I'm trying to use your listview and i get into this error on Android
minimal android Version 4.1
Target version Oreo
do you have any idea ?
Mono.Linker.MarkException: Error processing method: 'System.Void DLToolkit.Forms.Controls.FlowListViewInternalCell::AddTapGestureToView(Xamarin.Forms.View)' in assembly: 'DLToolkit.Forms.Controls.FlowListView.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Forms.ClickGestureRecognizer::.ctor()
à Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
à Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
à Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
à Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
à Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
à Mono.Linker.Steps.MarkStep.ProcessQueue()
--- Fin de la trace de la pile d'exception interne ---
à Mono.Linker.Steps.MarkStep.ProcessQueue()
à Mono.Linker.Steps.MarkStep.ProcessEntireQueue()
à Mono.Linker.Steps.MarkStep.Process()
à Mono.Linker.Steps.MarkStep.Process(LinkContext context)
à Mono.Linker.Pipeline.Process(LinkContext context)
à MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
à Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
à Xamarin.Android.Tasks.LinkAssemblies.Execute()
à Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
à Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()	MyKone.Droid	C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets	1748	Build

I am also getting this issue.
Min Android version - 4.4
Target Android version - 8.0

authors: AlexDarbyFujitsuGmail LiamReynaud


text:
Possible to detect changes in sub folders?

Changes in sub folders are not detected.
What would it take to detect sub folder detection?

You have to recurse and add all the paths (including subfolders), that you want handled. You can do this with https://developer.apple.com/documentation/foundation/filemanager/directoryenumerator

authors: daniel-pedersen kamleshgk

repo: daniel-pedersen/SKQueue


text:
Request for nodes to repeal each other

Is there anyway, the nodes can repeal each other so they won't overlay and labels could be read better ?  I've done this on vis.js, they have as physics inside options.
See example here

I think d3-force has real potential when it comes to that kind of implementation, we could explore this sample implementation and fine-tune d3 implementation within rd3g to have this behavior, what do you think @corganfuzz ?

I think that's exactly what I need.

authors: corganfuzz danielcaldas


text:
[BUG] _yAxis.entries will not be cleaned up in computeAxisValues in radar chart

I have seen this bug in radar chart, but not sure if applicable to other charts.
Due to the nature of adaptive calculating for the intervals,
var rawInterval = range / Double(labelCount);

will have different range, so sometimes, the actual n value in
            for (f = first; f <= last; f += interval)
            {
                ++n;
            }

will have different values. if we change the data, n can be 4 or 5. so the _yAxis.entries can be messed up.
For example,first time:
(lldb) po _yAxis.entries
[0.0, 400.0, 800.0, 1200.0]

when I change the data:
(lldb) po _yAxis.entries
[0.0, 100.0, 200.0, 300.0, 400.0, 500.0]

Seems good hah? But if I change the data back to the first one:
(lldb) po _yAxis.entries
[0.0, 400.0, 800.0, 1200.0, 400.0, 500.0]

The trick is the second data will have 6 elements, while the first only has 3. This will cause the _yAxis.axisRange to a wrong value, and chart.factor, and the rendering then.
I have fixed this in https://github.com/liuxuan30/ios-charts/commit/48d08049892a2e0f91164eef9e1020132f51eca3
However, I don't know how to separate different commit to different pull request. GitHub just merged all my commits into one.

close this as it has been merged

repo: danielgindi/ios-charts


text:
Crash game after load cfg

Hi, what can crash configs made a month ago after csa update and crashes again.

Make new config

That's all I know but I would like to know what caused that now it crashes again not to create the whole again but to change the given value in cfg to make it work again.

Colors are now objects, before they was float arrays. Crash is caused because JSON tries to read an object from config, but in old config it's an array. To fix old config remove Esp and Glow objects from config file.

authors: danielkrupinski djborek sonicrules11

repo: danielkrupinski/Osiris


text:
Mispelling in linuix command - Quickstart - [Bug]:

What happened?
Tried to install with Linux command and noticed spelling mistake in command
sudo apt intall pipx
Should be - sudo apt install pipx
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

Thanks! good looking out. fixed

authors: TheArkifane xssdoctor

repo: danielmiessler/fabric


text:
HOMEMATICIP_LOCAL-XmlRPC-Server received no events.

DONT'T DELETE THIS.
Please answer all questions as good as possible.
Language: english/german
Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic.
Make sure you have read the release notes at https://github.com/danielperna84/custom_homematic/releases.
Make sure you are running the latest version of the custom_component (and Home Assistant) before reporting an issue.
custom_component version (if applicable):
1.17.0
known last working custom_component version (if applicable):
1.x.x
Home Assistant version (if applicable):
2022.9.6
CCU version:

OS: RaspberryMatic
Version: 3.65.8.20220831

Problem-relevant configuration:
Do you use tls?
no
Do you use callback?
no
Do you use username and password?
yes
Which interfaces do you use (hmip/bidcos/wired)?
bidcos
Describe the bug
I get multiple times a day this HA notification:
HOMEMATICIP_LOCAL-XmlRPC-Server received no events.
What triggers this notification?
How to disable it?
To Reproduce
Steps to reproduce the behavior:

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

Screenshots (if applicable)

CCU firewall
integrations view
device view
enity view

Relevant HA log entries (full log)

Diagnostic Information (available on every device)

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Please add the log entry (full log)

What triggers this notification?
We EXPECT Events from CCU within 5 minutes. If this is missing, we create a message.

How to disable it?

Restart CCU?
Restart HA?

Please add the log entry (full log)

What triggers this notification?
We EXPECT Events from CCU within 5 minutes. If this is missing, we create a message.

How to disable it?

Restart CCU? Restart HA?

Restart of neither CCU nor HA doesn‘t help

Please add the log entry (full log) !!!

Please add the log entry (full log) !!!

ok,
hopefully you can find something?
Homematic_Log.txt

Looks like HA does not receive events (Updates) from CCU for  the HmIP Interface.
Check the logs on your CCU.
Are the devices accessible(controllable) from CCU WebUI?

I think it's a missconfiguration from my side. I do not have HmIP devices. I've reconfigured the HA Integration and checked only the box for port 2001 Bidcos-RF and not for HmIP.
Maybe this solves the issue?
Devices can be controlled from HA and CCU WebUI.

Yes

authors: SukramJ smartmatic


text:
HmIP-eTRV shows Heating while Off

I have noticed a small display error if i turn off the heating. In the old integration lovelace shows off, here it stays on Heating.

Also, i have noticed, that if the window is opened, I have to press off two times to really turn off the thermostat. After the first time, it goes from Automatic 12°C to Heating 12°C. If I press off another time, it works and turns to 4,5°C. But thats the same with the old integration, so maybe it's a CCU limitation.

Good Point.

Turn off issue should be fixed with latest release.

Yes, now it is showing the state correctly.  Thanks

authors: Lemocin SukramJ


text:
Adding OPERATING VOLTAGE Helper and use it for IPShutterContact

HMIP-SWDO-I has voltage attribute.

Since the other PR has been merged, this one now has a conflict. But before continuing work on this: what exactly is the benefit of adding the operating voltage? Isn't this value rather constant? And what type of automation would you trigger with this? Even though it's a valid parameter for some devices, adding ones that are not useful would just bloat this library.


text:
Copyright on data

In the current text, the section 'Software is a creative work, scientific data are facts or observations.' indicates 'scientific data is frequently considered outside the domain of copyright as it is comprised of contextual facts about the world (you cannot copyright the height of Mt. Everest.)'.
While I understand that this is correct and frequently data is factual, there are cases where data can be copyrighted, e.g. recordings of an interview in interview data (see evidence here: https://www.liverpool.ac.uk/csd/research-data-management/sharing/copyright/)
Other resources:

UK Data Service: "Many kinds of data created as part of a research project are subject to the same rights as literary or artistic work."
Copyright and research data - describes the issues around data and copyright

I think that it would be useful in this comparison to take into account the cases where data can be considered a creative work, even though in most cases it would be representing facts about the world. I could suggest text changes if there is consensus about this addition.
Also, the text refers to 'scientific data' and the resources I included refer to 'research data' but I guess that the comparison should be about data in general? Thanks.

The text used to say "Software is a creative work, data are facts or observations."
"Data" was changed to "scientific data"  - see https://github.com/danielskatz/software-vs-data/pull/35 - so that we didn't have to get into general data and could focus on scientific data.
If you a specific suggestion that you think would make things more clear and not more complex, please let me know.

authors: agbeltran danielskatz

repo: danielskatz/software-vs-data


text:
Updated documentation.

Fixed presumed typos.

Thanks!

No problems, have a good day!

authors: danielstjules tomeh

repo: danielstjules/Stringy


text:
Two questions about the paper

Hi @danijar,
Thank you for the great work of DreamerV2 and for sharing the code. It's great news that DreamerV2 achieves SOTA performance on Atari games. But I have two questions about the paper, hoping you can help me clarify them.

On page 6 Actor loss function. You mentioned that Reinforce is unbiased. To my best knowledge Reinforce is unbiased only when it's used with Monte Carlo returns. In the case of DreamerV2, which uses TD(𝝀) to approximate the return, biases should be introduced because of the error introduced by the function approximator. Am I right? Furthermore, I have a conjecture about why maximizing TD(𝝀) performs worse than Reinforce: when maximizing TD(𝝀), the gradients were first flowed through the world model $p(s'|s,a)$ then the policy model. This could possibly causes two problems: 1) the error of the world model may be propagated to the policy model, resulting in inaccurate gradient estimates. 2) the vanishing/exploding gradient problem may occur as now the predition graph becomes very deep and there is no mechanism such as skip connection to deal with the problem. I acknowledge that the second problem may be partially addressed by the intermediate policy losses at each imagine step but I'd like to bring it up here for discussion. What do you think about my conjecture?
On page 9 when discussing the potential advantage of categorical latents, you mention: "a term that would otherwise scale the gradient." Which term do you suggest? Is it $\epsilon$ used in reparameterization?

You're right that learning a policy in imagination always comes with bias from using the model rather than the actual environment. Reinforce is unbiased for the imagination MDP, not the actual environment. The return estimate (e.g. TD-lambda, Monte Carlo returns) is independent of the gradient estimator (e.g. Reinforce, straight-through). DreamerV2 uses TD-lambda returns and optimizes them via Reinforce. I'm sorry but I don't have time to discuss open research questions or hypotheses in detail here.
Regarding your second question, I'm not very confident that this is actually what's going on, but the idea is that the chain rule goes grad_params objective = grad_sample objective * grad_suffstats sample * grad_params suffstats. For Gaussian latents, the grad_suffstats sample term would be grad_{mean,stddev} (stddev * epsilon + mean). For categorical variables, we can't compute that term which is why reparameterization isn't possible. Straight-through gradients just ignore the term. Because the term would be either smaller or larger than 1, it would scale the gradient and potentially contribute vanishing or exploding gradients.

From the paper:

Reinforce gradients and straight-through gradients, which backpropagate directly through the learned dynamics. Intuitively, the low-variance but biased dynamics backpropagation could learn faster initially and the unbiased but high-variance could to converge to a better solution.

Is the bias (with respect to the imagined mdp) a property of straight-through gradients? So would reparameterization such as in DreamerV1 also be unbiased (with respect to the imagined mdp)?
Best,
Tim

Yes, that's right. But reparameterization only works for continuous latent variables and actions, not for categoricals.

authors: danijar mctigger xlnwel


text:
🖌 style: UI update

Summary
updated the color scheme to resemble that of ChatGPT and addressed several UI bugs
added new tooltips

Change Type

[x] Bug fix
[x] Style update

Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[x] Any changes dependent on mine have been merged and published in downstream modules.

@Berry-13 So with these corrections, my PR #1751 would no longer be necessary. Do you think it would be interesting to add the event of showing the Rename and Delete icons when hovering the mouse?

@Berry-13 So with these corrections, my PR #1751 would no longer be necessary. Do you think it would be interesting to add the event of showing the Rename and Delete icons when hovering the mouse?

yeah, it's likely no longer necessary. I also want to add only one button with the three dots, similar to ChatGPT

Thanks! Btw I might make this part of the next tag/release. What were the bugs fixed?

Thanks! Btw I might make this part of the next tag/release. What were the bugs fixed?

sorry, they were not bugs, but rather a result of the wrong style. This includes the style of the conversation (such as the right corners) and the style of the buttons in the preset selection

I'm thinking of squashing all of your commits to see if it makes the merge simpler. would love to be able to cycle themes from the current (old) with the new since most of is just color palette.

To be honest Idk if I like the new dark theme 🤷♂ it’s too dark

Same. Would it be possible to retain the "old" dark theme and not a complete replacement? Perhaps, giving the users the control to choose a "theme"?

To be honest Idk if I like the new dark theme 🤷♂ it’s too dark

Same. Would it be possible to retain the "old" dark theme and not a complete replacement? Perhaps, giving the users the control to choose a "theme"?

yes, I thought I had already written it, but instead, I was mistaken. Anyway, yes, I will try to add the possibility to change many more themes and maybe even to create them

Mind fixing this merge conflicts? Looking to test and merge. Also, was it necessary to change every file's tailwind class? I feel it's a missed opportunity to use tailwind themes and match the classes where applicable.

see https://github.com/L-Blondy/tw-colors

I feel it's a missed opportunity to use tailwind themes and match the classes where applicable.

Sure, I can make a new PR about that. This is just a UI update. Thanks for sharing the "tw-colors". I'll integrate it in a next PR, since it will take a lot more time to merge this then

I feel it's a missed opportunity to use tailwind themes and match the classes where applicable.

Sure, I can make a new PR about that. This is just a UI update. Thanks for sharing the "tw-colors". I'll integrate it in a next PR, since it will take a lot more time to merge this then

I may accept this PR first but I believe it will be harder to integrate the old style that is being replaced once it's gone. You can always use this PR for reference at least.

@Berry-13 bg-gray-800 was much darker for us (which is what I think ChatGPT had it originally as) so I updated since ChatGPT was noticably lighter which I liked. Also updated styling some other areas.

@Berry-13 bg-gray-800 was much darker for us (which is what I think ChatGPT had it originally as) so I updated since ChatGPT was noticably lighter which I liked. Also updated styling some other areas.

ok, thanks

Feedback from my users (mostly family and inside my office) is that the old style from last year up till a few weeks ago was much loved - the new style is too dark and although it might match OpenAI better - the general consensus is that the old one is significantly better to look at. It would be hugely popular if there was a way to keep the old theme, or at least allow the background colour to be set. I thought about trying to hack a solution but thought I'd mention it as it seems like others agree.

Feedback from my users (mostly family and inside my office) is that the old style from last year up till a few weeks ago was much loved - the new style is too dark and although it might match OpenAI better - the general consensus is that the old one is significantly better to look at. It would be hugely popular if there was a way to keep the old theme, or at least allow the background colour to be set. I thought about trying to hack a solution but thought I'd mention it as it seems like others agree.

sure, I'm already working on a theme option. Right now, my goal is to add the old style and also give the user the option to customize themes directly from the UI

authors: Berry-13 danny-avila itzraiss olinorwell peterhoang

repo: danny-avila/LibreChat


text:
refine type with constructor

This feature let a constructor c of data type T has type c : T[c] <: T, where <: is subtyping.
This ability helps us to form the shape of our final term from inductive type.
Example
An integer definition without infinite many zero
data Int : Type where
  | zero
  | pos Int[zero, pos]
  | neg Int[zero, neg]

Staged term
data Tm : Type where
  | int Int
  | var String
  | add Atom Atom
  | let String Tm Tm
and Atom => Tm[int, var]

With this definition, we can ensure we indeed have no let constructor occurs in add constructor.

https://github.com/dannypsnl/headvariant as an implementation reference.

moved

repo: dannypsnl/violet


text:
Error on gapps push

I get the following error when trying to gapps push:
> gapps push
Pushing back up to Google Drive...

/usr/local/lib/node_modules/node-google-apps-script/lib/util.js:18
        file = path.parse(filename);
                    ^
TypeError: Object #<Object> has no method 'parse'
    at /usr/local/lib/node_modules/node-google-apps-script/lib/util.js:18:21
    at /usr/local/lib/node_modules/node-google-apps-script/node_modules/node-dir/lib/readfiles.js:110:34
    at fs.js:272:14
    at Object.oncomplete (fs.js:108:15)

Never mind. Saw this address in a closed ticket.

repo: danthareja/node-google-apps-script


text:
Play-specific metadata

https://github.com/dapperlabs/nba-smart-contracts/blob/8762d9cbfcb8117516a032e5fee7ac51e51bb619/lib/go/templates/data/play_metadata.go#L6-L32
Hi @joshuahannan and co! Great work so far on bringing crypto to the masses with TopShot!
I'm curious if there's any conversation around metadata that better identifies the actual play on the blockchain. Not that we don't want Dapper to exist forever and hope it will, but I think there's some (perhaps wise) reluctance to latch onto NFTs in general but specifically TS due to the reliance on the website to give real identifying information to the play (in addition to or even instead of things like the player's Draft Class, Birthplace, and other easily retrievable and super-duplicated-on-the-chain data). Ideally, data similar to the dataset on BigDataball but given the cost of putting too much data on the chain, I wonder if a helpful improvement might just be something like...
type PlayMetadata struct {
    ...
    HomeTeamScoreBeforePlay        *int32 `json:",string"`
    AwayTeamScoreBeforePlay        *int32 `json:",string"`
    HomeTeamScoreAfterPlay        *int32 `json:",string"`
    AwayTeamScoreAfterPlay        *int32 `json:",string"`
}

or
type PlayMetadata struct {
    ...
    QuarterAtPlayStart         *int32 `json:",string"`
    GameClockAtPlayStart         string
}

or at the very least, the lowest-hanging fruit since it already exists...
type PlayMetadata struct {
    ...
    Description         string
}

Not trying to be a pest, but did want to point to two plays that are indistinguishable from one another on the blockchain... playID 440 & 620 have the exact same metadata on the chain because they're the same player and the same game. But they're different plays!

Hey @sreyemnayr, sorry for the late response. I think this is a great idea and a really well written proposal, and we might be able to include it some time in the future. I brought it up to the team a couple weeks ago and I think there is interest, but there are a ton of things on the priority list, so it is hard to say when we would be able to get to it.

Totally understandable! Y'all are rocking it considering the influx of users (some of whom appear to be very special in their unreasonable demands). I've been doing a little reading about Web3 Oracles that also may be worth a look. Some happy balance of enough-to-distinguish-but-not-so-much-that-it-can't-be-built-upon on the blockchain makes a lot of sense (at least to me). Some source of truth that could provide additional play data would be really cool.

authors: joshuahannan sreyemnayr

repo: dapperlabs/nba-smart-contracts

license: Unlicense


text:
Fill in collection identifier

In step 5 of the wizard we are asked to fill inn the collection identifier. Since we have already submitted an NFT that has a collectionDisplay view, can we prefil in the value from the name there? The intent when that view was created was that the name should be an url safe identifier and the description a long form one. (Atleast that was my intent)

Agreed, this should be helpful for most cases and the collection owner can manually change it if the prefill isn't right, made a PR here: https://github.com/dapperlabs/nft-catalog/pull/27

authors: aishairzay bjartek

repo: dapperlabs/nft-catalog


text:
Revert "Set graffiti to max 32 characters"

Reverts dappnode/DAppNodePackage-lighthouse#17

But why?

But why?

It's a network wide limit and the container will fail and go into s restart loop if it's exceeded so we have to limit it. The limit was first set in a bypasssble way a long time ago. Then support cases roll in or people with looping clients and all were graffiti being over the limit. Truncated it and it works.

repo: dappnode/DAppNodePackage-lighthouse


text:
Improve error handling for AKV secret store component with Managed Identity

I would like to suggest improving the error handling for the AKV (Azure Key Vault) secret store component when using Managed Identity.
Managed Identity uses AAD Pod Identity to authenticate against the AKV. To do so you will need to map the Selector from the AzureIdentityBindings resources within the Deployment/Pod you would like to use it.
apiVersion: aadpodidentity.k8s.io/v1
kind: AzureIdentityBinding
metadata:
  name: test-identity-binding
spec:
  azureIdentity: test-identity
  selector: test-identity

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: test-app
  name: test-app
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-app
  template:
    metadata:
      annotations:
        dapr.io/app-id: test-app
        dapr.io/enabled: "true"
      creationTimestamp: null
      labels:
        aadpodidbinding: test-identity
        app: test-app
    spec:
      containers:
      ....

If the selector "test-identity" from the Binding does not match the "aadpodidbinding" label in the deployment AAD Pod Identity will not work.
In case of wrong mapping, the Dapr sidecar will successfully start, the component will be loaded and no errors are displayed within the logs (with debugging enabled). Of course, you will be unable to retrieve any secrets. The request gets no response and runs into a timeout.
I tested this via curl: curl http://localhost:3500/v1.0/secrets/<akv>/bulk with Dapr 1.2
I suggest implementing better error handling and output to allow easier debugging.

@nmeisenzahl do you have any suggestions how this should be done?
I want to defer the MSI logic to the standard Azure Go SDK and there simply would be no way to check your intention to use pod identity.
The Azure Go SDK (which we don't use for KV auth right now) does this:
// NewAuthorizerFromEnvironment creates a keyvault dataplane Authorizer configured from environment variables in the order:
// 1. Client credentials
// 2. Client certificate
// 3. Username password
// 4. MSI

For 1, 2 and 3 I believe it examines environment variables.
I would argue that pod identity deployment and labeling should be handled in CI/CD. But either way, perhaps you could raise this issue on the AAD pod identity repo https://github.com/Azure/aad-pod-identity? This to me sounds like something that should live within the pod identity logs.

@berndverst you’re right. I guess it is something AAD Pod Identity should fix.
But maybe (and if it’s possible at all) some debugging output might be helpful for easier debugging. Not sure whether users will review AAD Pod Identity logs to analyse such issues.

@nmeisenzahl maybe some sort of global debug / print option for the sidecar that could check for a pod identity and print the ID of the identity if it found one into the Dapr logs.
This wouldn't be Key Vault specific as every service using MSI could benefit from this.
Could you update this issue to something like the following?
"Enable logging of AAD pod identity for Azure component authentication"

@berndverst Yes, this would be great. I just updated the title to "Enable logging of AAD pod identity for Azure component authentication".

authors: berndverst nmeisenzahl

repo: dapr/components-contrib