text:
Which model should I train for applying the hloc on custom dataset?

Hi !
Thanks for your works!
I want to implement this repo on my own dataset.
I'll use superpoint, superglue, netvlad, then which model should I train for applying the hloc on custom dataset?
As I know, above models are all pretrained network, thus I think I should train some models(or not).

If you have regular indoor and outdoor data, using the pretrained models should be fine and you should not need to retrain any of them.

authors: Skydes YanAwithU

repo: cvg/Hierarchical-Localization


text:
convert apostrophe to nothing

Hi! Thanks for a killer package, I really appreciate it.
I'm running into a case where apostrophe's are turning into a dash instead of null.
So,
Project Mc2 Experiments with Adrienne's Lemon Soap
is converting to
project-mc2-experiments-adrienne-s-lemon-soap
whereas I would like it to convert to
project-mc2-experiments-adriennes-lemon-soap
Is this possible to do?

Yup! Add this to your model:
public function customizeSlugEngine(Slugify $engine, $attribute) {
    $engine->addRule('\'', '');
    return $engine;
}

Colin

On Feb 12, 2018, at 5:15 PM, dingman notifications@github.com wrote:
Hi! Thanks for a killer package, I really appreciate it.
I'm running into a case where apostrophe's are turning into a dash instead of null.
So,
Project Mc2 Experiments with Adrienne's Lemon Soap
is converting to
project-mc2-experiments-adrienne-s-lemon-soap
whereas I would like it to convert to
project-mc2-experiments-adriennes-lemon-soap
Is this possible to do?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yup! Add this to your model:
public function customizeSlugEngine(Slugify $engine, $attribute) {
    $engine->addRule('\'', '');
    return $engine;
}

source: gharchive/issue

authors: cviebrock dingman

repo: cviebrock/eloquent-sluggable

license: mit

license_type: permissive

license_source: bigquery


text:
Able to export model to game pipeline?

Awesome work!Due to the high VRAM required,I'm unable to try by myself.Is it able to export the model and using it in other pipelines,like game?

I don't think I understand the question 100%. Can you please elaborate?

license: MIT

license_source: github-api


text:
[docs] update README to include git install instruction

Using go get -u github.com/cweill/gotests/... to install would give following error message.
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Instruction to use go install is added to README for Go version >= 1.17.

@sleroq No worries. It still needs 1 approving review?

@sleroq No worries. It still needs 1 approving review?

Yes, I think, we need a reviewer with write access

source: gharchive/pull-request

authors: Xirui sleroq

repo: cweill/gotests


text:
Injury Status for BoxPlayer is Incorrect

Sport
Football
Summary
The BoxPlayer object holds information about a performance from a player in a week.
It has fields injured and injuryStatus to represent the player's injury status for that week.
These seem to always be: injured=False and injuryStatus='ACTIVE' whether the player was active or not.
Logs/Data
Example:
Derrick Henry for the 2021 season.
DH missed multiple games due to injury in 2021, yet his BoxPlayer objects have the injured and injuryStatus fields showing he was healthy.
This seems to possibly be an issue with the API itself, as I cannot find a call where there is an accurate injury designation.
Example REST Call: https://fantasy.espn.com/apis/v3/games/ffl/seasons/2021/segments/0/leagues/68827904?view=mMatchupScore&view=mScoreboard&scoringPeriodId=7
(search for '"injured": true' in the response) Only Calvin Ridley ?? shows up.

Yeah that is strange because parsing the injury status is pretty simple. I will have to look through the data and see where ESPN's site is getting the injured status.

I think this issue should be closed. At least the information for Brian Robinson in week 1 is correct, i.e. he is injured and is out
Player(Brian Robinson, points:0.0, projected:0.0)
(Pdb) p games_in_week[5].away_lineup[11].injured
True
(Pdb) p games_in_week[5].away_lineup[11].injuryStatus
'OUT'

@joeyagreco
I agree it seems odd that only Calvin Ridley and Elijah Moore was marked as injured in 2021. However, since the 2022 dataset seems to be okay, I assume it is not an error in espn-api. Furthermore, if you look at the Boxscore/Matchup page on https://fantasy.espn.com/football/boxscore?leagueId=INSERTLEAGUEID&matchupPeriodId=3&seasonId=2022&teamId=4 the injury information is not shown.

@Kjeldgaard
Interesting, If I go to that link you sent but change the year to 2021 I can see the injury designations from that period (example, DeAndre Hopkins is Questionable in 2021 week 3 but has no injury designation in 2020 week 3.
I think I do see the issue... it doesn't seem ESPN stores historical league data for non-starters, which is why in my case, a team played Calvin Ridley that week when they were out but it is very uncommon for a team to start a player that is out.
So I think you are right in that this is an ESPN issue and not the library's fault for returning this data.

Thanks @Kjeldgaard  and @joeyagreco for looking a little deeper into this! I know in the past ESPN has scrubbed some historical data or they don't keep all of it depending on the API you are calling.

authors: Kjeldgaard cwendt94 joeyagreco


text:
Add Transaction Info to Basketball Team

Porting functionality that already exists in football over to basketball.
https://github.com/cwendt94/espn-api/blob/be5e92b8573d126a7231069742aa07798b952938/espn_api/football/team.py#L18-L21

Thanks for adding this!


text:
Extending Zonemaps

This PR features the introduction of  Zonemap Checks. Zonemaps checks are simply between filters used only for segment skipping. Prior to this PR, only filters that could be directly executed on the table scan (i.e.,AND filters with column/constant comparisons were pushed down to the get operator and used on segment skipping.
Optimizations to increase data-skipping opportunities:

In-clause values zonemaps check: (suggested in #1063), in-clauses are checked, and when they constitute a complete range of integers are transformed into a between filter that can be pushed down. Otherwise, zonemaps checks will be created
Transitive Filters: (suggested in #1063) If we have a filter A=6 and B < A, it will be transformed to A=6, B<6. (Only for equality comparisons on column references and constant values), allowing for B to be pushed down and applied on data skipping.
Join Key Filter Duplication: (suggested in #1063) If an inner-join has a comparison filter with a constant, on one of the tables, the filter will be duplicated to the other side as well, allowing data skipping opportunities on both join sides.

Great to see this PR!

able to verify data skipping with consecutive integers.
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
select count() from t where b in (1,2,3) ;                       / now does data skipping */

transitive;  I did not see a change in behavior with this use case:
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
select count() from t where b < 5 and d = 5;     / data skipping occurs /
Run Time: real 0.006 user 0.005948 sys 0.000000
select count() from t where b < d and d = 5;     /* no data skipping */
Run Time: real 0.608 user 0.608141 sys 0.000000

I did not observe data skipping for these 3 cross-join use cases:
select count() from t1 join t2 using (nationkey) where t2.n_name = 'Nation_1';                               / data skipping possible /
Run Time: real 0.657 user 0.657230 sys 0.000000
select count() from t1 join t2 using (nationkey) where t2.n_name in ( 'Nation_1', 'Nation_2');        /* data skipping possible /
Run Time: real 0.736 user 0.736437 sys 0.000089
select count() from t1 join t2 using (nationkey) where t2.nationkey =2 or n_name= 'Nation_2';   /* data skipping possible */
Run Time: real 0.802 user 0.802212 sys 0.000000

set-up for case 3 is here:
create temporary table t1 as select range a, length(range) nationkey from range(100000000);
create table t2 as select range  nationkey, concat('Nation_',range) n_name from range(25);
select count() from t1 join t2 using (nationkey)
where t2.n_name = 'Nation_1' and t1.nationkey =1;    / data skipping occurs /
Run Time: real 0.004 user 0.003875 sys 0.000000
select count() from t1 join t2 using (nationkey)
where t2.n_name = 'Nation_1' and t2.nationkey =1;  /* data skipping occurs with help of transitive behavior */
Run Time: real 0.003 user 0.003339 sys 0.000000

Great to see this PR!

able to verify data skipping with consecutive integers.
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
select count() from t where b in (1,2,3) ;                       / now does data skipping */

transitive;  I did not see a change in behavior with this use case:
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
select count() from t where b < 5 and d = 5;     / data skipping occurs /
Run Time: real 0.006 user 0.005948 sys 0.000000
select count() from t where b < d and d = 5;     /* no data skipping */
Run Time: real 0.608 user 0.608141 sys 0.000000

I did not observe data skipping for these 3 cross-join use cases:
select count() from t1 join t2 using (nationkey) where t2.n_name = 'Nation_1';                               / data skipping possible /
Run Time: real 0.657 user 0.657230 sys 0.000000
select count() from t1 join t2 using (nationkey) where t2.n_name in ( 'Nation_1', 'Nation_2');        /* data skipping possible /
Run Time: real 0.736 user 0.736437 sys 0.000089
select count() from t1 join t2 using (nationkey) where t2.nationkey =2 or n_name= 'Nation_2';   /* data skipping possible */
Run Time: real 0.802 user 0.802212 sys 0.000000

set-up for case 3 is here:
create temporary table t1 as select range a, length(range) nationkey from range(100000000);
create table t2 as select range  nationkey, concat('Nation_',range) n_name from range(25);
select count() from t1 join t2 using (nationkey)
where t2.n_name = 'Nation_1' and t1.nationkey =1;    / data skipping occurs /
Run Time: real 0.004 user 0.003875 sys 0.000000
select count() from t1 join t2 using (nationkey)
where t2.n_name = 'Nation_1' and t2.nationkey =1;  /* data skipping occurs with help of transitive behavior */
Run Time: real 0.003 user 0.003339 sys 0.000000

Can we relax the requirement for consecutive integers?
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
D select count() from t where b in (1,2,3) ;                       / data skipping /
┌──────────────┐
│ count_star() │
├──────────────┤
│ 1000         │
└──────────────┘
Run Time: real 0.004 user 0.003676 sys 0.000000
D select count() from t where b in (1,2,4) ;                       /* no data skipping /
┌──────────────┐
│ count_star() │
├──────────────┤
│ 9100         │
└──────────────┘
Run Time: real 0.836 user 0.836819 sys 0.000000
D select count() from t where b in (1,2,3,4) ;                       /* data skipping */
┌──────────────┐
│ count_star() │
├──────────────┤
│ 10000        │
└──────────────┘
Run Time: real 0.004 user 0.003564 sys 0.000102

Can we relax the requirement for consecutive integers?
create temporary table t as select range a, length(range) b, mod(range,10000) c, 5 d, 10000 e from range(100000000);
D select count() from t where b in (1,2,3) ;                       / data skipping /
┌──────────────┐
│ count_star() │
├──────────────┤
│ 1000         │
└──────────────┘
Run Time: real 0.004 user 0.003676 sys 0.000000
D select count() from t where b in (1,2,4) ;                       /* no data skipping /
┌──────────────┐
│ count_star() │
├──────────────┤
│ 9100         │
└──────────────┘
Run Time: real 0.836 user 0.836819 sys 0.000000
D select count() from t where b in (1,2,3,4) ;                       /* data skipping */
┌──────────────┐
│ count_star() │
├──────────────┤
│ 10000        │
└──────────────┘
Run Time: real 0.004 user 0.003564 sys 0.000102

Hey @jtommaney thanks for checking it so quickly, I'll take a look at your comments and will address them when implementing #1303
Regarding the performance difference from the in clauses, the difference is that the in (1,2,3) can be pushed down as a table scan filter, so there is a bit more going on than just skipping segments, the filter is actually executed during the table scan instead of having a filtering extra step.
When it's not sequential the filter is not pushed down to the scan since the zonemaps only do range checking. One thing that might be beneficial is to actually run the zonemaps checks as a pre-filtering step  (i.e., instead of just skipping the segments, actually filter data out of non-skipped segments while scanning) do reduce the data passed to the filters, even more, I think I'll have a go at that next week as well.
Thanks again for your analysis!

Hey @jtommaney thanks for checking it so quickly, I'll take a look at your comments and will address them when implementing #1303
Regarding the performance difference from the in clauses, the difference is that the in (1,2,3) can be pushed down as a table scan filter, so there is a bit more going on than just skipping segments, the filter is actually executed during the table scan instead of having a filtering extra step.
When it's not sequential the filter is not pushed down to the scan since the zonemaps only do range checking. One thing that might be beneficial is to actually run the zonemaps checks as a pre-filtering step  (i.e., instead of just skipping the segments, actually filter data out of non-skipped segments while scanning) do reduce the data passed to the filters, even more, I think I'll have a go at that next week as well.
Thanks again for your analysis!

authors: jtommaney pdet

repo: cwida/duckdb


text:
再生速度変更時のフェードアウト動作の修正

変更内容
再生速度変更時にフェードアウトが正常に動作しない問題を修正しました。
変更理由
fadeOutFrameにplaybackRateを考慮していませんでした。
また、C_FRM_AFTERFADEにplaybackRateがかかっていました。
その他コメント
何度もすみません…。

お疲れさまです＼(^o^)／
すでにver2.8.0としてmasterアップしてしまったので、ver2.8.1としてマージしますね。

authors: cwtickle suzme

repo: cwtickle/danoniplus


text:
TV: change WS endpoint

Instead of /socket, please use /api/socket, starting from 24/09/16 8AM UTC.
The new endpoint does not require keepalive pings.
Let me know when the change is done, so I can disable the former endpoint.

I took @lakinwecker advice (on slack) and already removed the previous endpoint.

repo: cyanfish/heltour


text:
Update suite.yml for v1.11.1+suite.2 release

What does this PR do?
PR to prep for the January OSS suite release
Outstanding issues/PRs:

[x] cyberark/conjur-oss-helm-chart#60
[x] cyberark/conjur-oss-helm-chart#120
[x] cyberark/conjur-cli#305
[x] cyberark/ansible-conjur-host-identity#45
[x] cyberark/ansible-conjur-collection#53

Release page: https://github.com/cyberark/conjur-oss-suite-release/wiki/v1.11.1-suite.2
Draft release notes: https://gist.github.com/izgeri/2a3e73f6f9b8c3ba9d7aa1233f1fa191
Open questions / issues:

[ ] In the last release we announced we'd be dropping support for OpenShift 3.9 / 3.10 in this release - those changes are not already released in the suite components, so do we still want to announce it here?
[ ] cyberark/conjur-docs#1015 - issue to update the Ansible docs should be completed with this suite release. Updated content has been appended to the issue.

What ticket does this PR close?
Resolves #
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[ ] 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
[ ] 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
[ ] This PR does not require updating any documentation

Release PRs
If you are preparing for a release, are the following items complete?

[x] The PR title / description clearly state the suite release version.
[x] The Jenkins dashboard shows no ongoing
build failures for any included components.
[x] The PR includes a link to a markdown release notes draft - this can be
generated by running:summon -p keyring.py   --yaml 'GITHUB_TOKEN: !var github/api_token' \
  ./parse-changelogs \
  -v v1.11.1+suite.2 \
  -t release
  -o RELEASE_NOTES.md

[ ] The PR includes PM-approved "What's new" text.

Suggested "What's New" content is available in the gist here: https://gist.github.com/izgeri/2a3e73f6f9b8c3ba9d7aa1233f1fa191#whats-new

repo: cyberark/conjur-oss-suite-release


text:
An example of using the service broker with a client library exists

Generally we assume people will use the service broker with the buildpack, which on app start auto-injects the secrets into the app environment.
We need to add an example to the README that uses a client library instead, retrieving the credentials from VCAP_SERVICES and setting up the client library to authenticate to Conjur and retrieve a secret value. For this work, please use the Java client library

This was completed in #129

repo: cyberark/conjur-service-broker


text:
improving ToC and adding documentation section

Following #92 I've added a link to our official docs
While at it, I've added sub sections to our ToC

@Tovli To continue your thread from slack regarding
In addition, each time the master build is green, we push a <version>-<git_version> (i.e. 0.2.0-d9494c1) image to our internal repo

Can you also update this to be to reflect our updated workflow?; pushing to our internal repo during releases.
For each release, we push a <version>-<git_version> (i.e. 0.2.0-d9494c1) image to our internal repository.

@eladkug @orenbm correct me if you believe it should say something else

@Tovli To continue your thread from slack regarding
In addition, each time the master build is green, we push a <version>-<git_version> (i.e. 0.2.0-d9494c1) image to our internal repo

Can you also update this to be to reflect our updated workflow?; pushing to our internal repo during releases.
For each release, we push a <version>-<git_version> (i.e. 0.2.0-d9494c1) image to our internal repository.

@eladkug @orenbm correct me if you believe it should say something else

@sigalsax how is this related to the PR? can you please add it in another one?

LGTM.

authors: Tovli andresguisado orenbm sigalsax


text:
请问Table标签有没有属性可以来作为标记位置

问题描述
请问Table标签有没有属性可以来作为标记位置 比如后端返回的html模板里包含3个table我需要通过标记位来判断哪个table被删除了 我使用id加到table上会被刷掉
wangEditor 版本
最新
是否查阅了文档 ？
是

id 是 wangEditor 内部 vnode diff 更新用的。
自定义插件，在自定义插件的标签里定义一个自定义属性可以实现。

authors: Sole-BadGuy cycleccc

repo: cycleccc/wangEditor-next


text:
Fix wrong VNodeData typings

The same issue as here: https://github.com/snabbdom/snabbdom/pull/296

Thanks @jvanbruegge

authors: jvanbruegge staltz

repo: cyclejs/cyclejs


text:
[建议]能否修改或者增加ssh连接方式使用sshpass命令或者其他基于用户密码认证方式的方案？

作者限制的 ssh public key authentication 认证方式，除非是自己有VPS的情况，才行，而对于普通用户而言，基本上是使用别人分享的SSH资源，而分享的SSH基本上全部都是基于用户密码的认证方式，所以从实际使用情况来说，基于普通的户名密码认证方式应该是占所有SSH使用者80%以上，所以作者的ssh连接功能实际可使用范围就相当小了，所以在此诚恳的建议作者，可否考虑修改，或者增加通过 sshpass 或者 expect (我目前所知的基于用户密码认证的自动化方案就这2种) 来进行ssh连接，sshpass可以通过把密码作为命令参数传递给命令来进行ssh连接，使用比较简单。或者作者有其他更好的用户密码认证自动化方案也行。如果作者不想修改，或者没有时间修改，也请能否详细说明一下应该修改源代码哪个文件的哪段代码，可以实现，本人对GO语言没有任何基础，只会BASH SHELL脚本。总之就是希望作者能增加基于普通用户密码认证方式的SSH连接，非常感谢。

遇到同样的问题，我的解决方案：
.ssh/config
Host cow-hack
	ProxyCommand sshpass -p <your-pass-word> ssh -NT -D %p %r

# machine which need password
Host nickName1
	HostName <real-host>
	User <user-name>

.cow/rc
sshServer = nickName1@cow-hack:7000:7000

repo: cyfdecyf/cow


text:
Why is the Pale Oak Sapling not listed?

Hello,
Your plugin is nice! I read its SpigotMC.org page and noticed, that the Pale Oak saplings aren’t listed there. I wanted to ask you why they aren’t listed and if you can add them. Thanks!
Kind regards,
Atten007 😊

Hello,
thank you for your positive feedback. The plugin is written for version 1.21.3 so far, the Pale Oak sappling was only available experimentally until 1.21.4. Therefore it is not yet available in the plugin. I will update the plugin to 1.21.4 now, the Pale Oak sappling will be available there then
With kind regards
Cyklon


text:
Traffic backend updates

This PR covers a few improvements to the traffic backend, and will be the first of a few smaller PRs referenced in yesterday's comments on #340:

Updated dump1090 to include latest commits to the main dump1090-mutability fork
Add equations.go library for great circle distance / bearing (and eventual use for GPS pseudoattitude / AHRS improvements)
Calculate great circle distance and bearing to traffic targets
Add squawk codes for Mode S targets
Move SQLite logging of the raw port 30006 dump1090 JSON messages to a new table
SQLite logging of dump1090 console only when globalSettings.DEBUG = true and recordLogs = true to save disk space
SQLite logging of decoded traffic information reduced to once per second, when each ti is sent to the GDL90 output. This will cut down on table size.
Improved method for prepending traffic source to callsigns. (TODO: create a new globalSettings variable to separate the callsign tagging from debug logging)
Improvements for demoTraffic debugging routine

This PR also excludes a couple of new features that were included in #340:

CSV output of traffic information. This is redundant now that we have SQLite output
FLARM formatted traffic output (may be included in a separate branch at some point)
XTRAFFIC formatted traffic output for the "ForeFlight AHRS" mode (per @cyoung, mainly a developer tool; may be included in a separate branch at some point)

@cyoung , my rationale for using logESMsg(eslog)  rather than logMsg(thisMsg) is:

Saving a little space in the database (and in the INSERTs) by eliminating overhead involved in writing unused fields (signal strength, tower ID, ADS-B products, etc.)  and
More critically, the sqlTypeMap in datalog.go considers []byte an unsupported type, and therefore msg.Data is not written to the DB.

The latter is more of a general bug in the SQLite logging (i.e. I expect UAT data is affected as well, but I haven't run this code in earshot of a tower to confirm) but I wanted to get your thoughts on whether it's a reasonable approach to separate the raw UAT and ES logs, and whether this approach makes sense.

What are the changes on dump1090?

Added documentation for the Stratux port 30006 output, and brought it up to date with other changes / improvements on the upstream fork.
Here's the diff.
The only change that will affect Stratux is that messages with 2-bit error correction will no longer be sent on the port 30006 output. This will reduce the possibility of bringing in junk data, at the cost of losing a few messages from very weak signals.

Okay, well the version update only shows changes on the mutability branch which I don't care to review now. I'd rather not constantly update to the very latest dump1090 unless there is a real reason to do so. So this will be rolled back after the merge.
Are Age and AgeLastAlt used anywhere? I see they are updated in sendTrafficUpdates() but the values not actually used.

Are Age and AgeLastAlt used anywhere? I see they are updated in sendTrafficUpdates() but the values not actually used.

In the traffic UI, both as an indicator of traffic age for the user, and to time-out and remove stale data from the page: https://github.com/AvSquirrel/stratux/commit/d00ab538cd20c81aed884a9c7bf280277bb6c4c7
(That branch, with a couple of formatting changes, will be the basis of my traffic UI improvements... I'll submit a PR after you close #390)

authors: AvSquirrel cyoung

repo: cyoung/stratux


text:
Added pre-commit to the github workflow

title

Python 3.7 crashes because black==24.2.0 is not available. @cyrraz Do you remember why you chose this version of black? Should we downgrade black or remove the Python3.7 test?

Python 3.7 crashes because black==24.2.0 is not available. @cyrraz Do you remember why you chose this version of black? Should we downgrade black or remove the Python3.7 test?

I think we should still support Python 3.7, version 24.2.0 of black was chosen because it was the latest black version at the time we merged this code. There is an automatic command in precommit to update the repositories to their latest version.
Could we remove only the precommit test for Python 3.7?

repo: cyrraz/plothist


text:
Missing radicle plugin icon from toolbar

Sometimes the radicle icon is missing from the Jetbrains IDE.
While I have various radicle projects I realized that in some projects the radicle icon is missing from the toolbar.
The icon was there but at some point of time it disappeared. I tried reinstalling the plugin and restarting the IDE but nothing changed.
All projects have a rad remote available. This is from a repo that the icon is missing :
radicle-webhooks-adapter (main*) » git remote -v
rad	rad://z2hCUNw2T1qU31LyGy7VPEiS7BkxW (fetch)
rad	rad://z2hCUNw2T1qU31LyGy7VPEiS7BkxW/z6MkkpTPzcq1ybmjQyQpyre15JUeMvZY6toxoZVpLZ8YarsB (push)
z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3	rad://z2hCUNw2T1qU31LyGy7VPEiS7BkxW/z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3 (fetch)
z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3	rad://z2hCUNw2T1qU31LyGy7VPEiS7BkxW/z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3 (push)

Please let me know if I can provide any other details to address this issue.
My setup:
GoLand 2024.1
Build #GO-241.14494.238, built on March 28, 2024
Licensed to Michalis Zampetakis
Runtime version: 17.0.10+8-b1207.12 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  ide.completion.variant.limit=500
  suggest.all.run.configurations.from.context=true
  ide.new.editor.tabs.vertical.borders=true
  ide.animate.toolwindows=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
  com.intellij.javafx (1.0.4)
  String Manipulation (9.12.0)
  com.intellij.mermaid (0.0.21+IJ.232)
  org.toml.lang (241.14494.150)
  com.jetbrains.space (241.14494.150)
  network.radicle.jetbrains (0.9.0)
  com.mallowigi (95.0.0)
  intellij.prettierJS (241.14494.155)
  com.chrisrm.idea.MaterialThemeUI (9.2.1)
  zielu.gittoolbox (500.2.6+233)

@JChrist / @Stelios123 can you please take a look ?

we cannot reliably reproduce this issue, so I'll leave it open but move outside the current milestone.

authors: gsaslis mzampetakis

repo: cytechmobile/radicle-jetbrains-plugin


text:
End-to-end testing pipeline

Resources:

https://code.visualstudio.com/api/extension-guides/testing
https://code.visualstudio.com/api/working-with-extensions/testing-extension
https://github.com/microsoft/vscode-extension-samples/tree/main/helloworld-test-sample

Results:
🤖 CI

e2e: set up new infrastructure and a related CI workflow capable of automated completely end-to-end testing. It uses a real Radicle node, which powers the latest extension build, which is running in an actual VS Code. Tests can assert behavior and state even as deep as extension webviews.

☑ Tests

onboarding: cover various paths of the flow with e2e tests

Screenshots:

Taken from workflow

authors: gsaslis maninak

repo: cytechmobile/radicle-vscode-extension


text:
Cython Invalid types for '>' (float[:, :], float)

Hello everyone, I'm trying to use cython to speed up my code, but this error jumps out while compile:
Invalid types for '>' (float[:, :], float)
and here's my code (the relevant part):
import numpy as np
cdef float[:,:] myarray
a = np.where(myarray>0.05)

Can anybody help me figure this out? Python version 3.6.3, cython version 0.29
Thanks in advance!

A memory view is not a NumPy array and does not support NumPy's broadcasting etc. operations.

authors: scoder xfanak

repo: cython/cython


text:
Website seems to be wrong

Hi There,
the website pronoundb.org seems to have the stylesheet missing. Also, neither clicking "Login" nor clicking "Create Account" does anything.

I just rolled out an update to the website, so it's possible that you had a bad timing and loaded the website during the rollout. Is the website still broken on your end?

authors: cyyynthia muluffel


text:
Adaptive sync interval

Find a way to gradually slow down the sync interval when we're approaching the GitHub rate limit. So the sync interval set by the user is the minimum time between two syncs, but not the maximum - we might slow down to not hit the rate limit before the hour is over. Will become more important with multi syncer support and branch tracking, but would be good to know Builda is never blocked by just plain waiting for the rate limit to catch up.

Hopefully won't be necessary after #62 is done.


text:
触摸板不能使用

触摸板不工作。
usb共享网络无反应。
其余功能正常。
谢谢大佬分享！
10.15.7  19H15

10.15.7 19H15

把触摸驱动重新放进了clover
用了通用的intel的wifi和蓝牙驱动
基本完美了
不知道big sur能不能这么搞

目前我还没升级，cv应该生不了，你可以直接OTG升级试试，记得做好备份

目前我还没升级，cv应该生不了，你可以直接OTG升级试试，记得做好备份

直接关闭盖子后里屏幕就不亮了，有啥办法吗


text:
Comments on project

You folks look to be in good shape in many ways. You have excellent design documentation, and substantial code. My main concern is the absence of tests, unless I missed where you put them. If you don't have tests yet, START NOW. You'll need to do this anyway, and you'll save yourself a lot of problems with bugs.

Tests accumulating now, along with Travis CI. Fixed with 846c781

authors: d-diaz joseph-hellerstein


text:
SDL2 audio device wrapper

Added lightweight wrapping of SDL2 audio devices as per #151.
Also added a small example that opens the first audio device.

Thanks!
I think it will need wrapper functions for

play
pause
lock
unlock

I think it will need wrapper functions

Inside the class or as free functions?

repo: d-gamedev-team/gfm

license: unlicense


text:
Why it's much faster in XE7+ versions?

Hello,
Out of curiosity - why it's much faster in XE7+ versions? Because this library utilize the new features only available in XE7+ versions, or because the System.Generics inXE7**+** is implemented worse than XE7**-** systems?

Hello,
In XE7+ there are inline functions GetTypeKind, IsManagedType and HasWeakRef, which allow to execute type-specific code, such as inline hash function and comparer in TRapidDictionary, for example.

authors: d-mozulyov edwinyzh


text:
Update dynamodb to 2.17.105

Updates software.amazon.awssdk:dynamodb from 2.17.102 to 2.17.105.
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, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #192.


text:
iterator performance

Currently for-in statement is implemented by unpacking it into regular for statement and a hidden value :it (here). It works correctly, but, one problem with this approach is that we do lots of type assertions (to Iterator) during the iterations: OpIteratorNext, OpIteratorKey, OpIteratorValue. We can improve the running performance by either implementing for-in statement completely differently, or, somehow removing Iterator type assertions. (We may be able to merge Iterable interface to Object, but, it doesn't feel quite right to merge Iterator and Object interface.)

I have a idea that implementing for-in using a Iterator Stack. It allows us only type assert to Iterator in OpIteratorInit and remove the hidden value:it.


text:
is_undefined does not worked for compiled scripts?

I am using is_undefined and when I compile the script, it errors out with Compile Error: unresolved reference 'globalState'
Tengo Script
fmt := import ("fmt")
times := import ("times")
rl := import ("rl")

if is_undefined(globalState) {
	fmt.println("globalState undefined")
	globalState := {}
}

Compile Script
script := tengo.NewScript([]byte(codeStr))

//-- Load Modules
mods := tengo.NewModuleMap()
mods.AddMap(stdlib.GetModuleMap(stdlib.AllModuleNames()...))
script.SetImports(mods)
//-- Adding this lets the script compile, but the state keeps resetting.
//script.Add("globalState", globalState)

//-- Compile Script
log.Println("compiling " + assetType.Path)
compiledScript, err := script.Compile()

Clone and Run Script
script := compiledScript.Clone()
if err := script.Set("globalState", globalState); err != nil {
	//panic(err)
	log.Println(err)
}
if err := script.Run(); err != nil {
	//panic(err)
	log.Println(err)
}

All I am trying to do here is create a global state that can live between script runs. So I wanted to pass SET a variable that the tengo scripts can read and change. If I ADD the variable when compiled the variable is reset every time its cloned. So this is where I was looking at is_undefined but that create a compile error.

You need to first define the variable "globalState". Something like this:
script := tengo.NewScript([]byte(codeStr))
script.Add("globalState", nil)

Ah, I didn't read the part about you trying Add. When you say the variable is reset every time it's cloned, do you mean in the new instance, or in the previous cloned instances?

At the end of your script run you can do this:
globalState = script.Get("globalState")
What you've done with Set is fine, but neither Add not Set transfer the state back into your original variable at the end of the script run. You need to use Add before you compile and Set as you do now, and then use a Get to update the original variable that you're using as your global state.

@geseq I was looking at the wrong call stack so, it does look like the data is carried over, as long as I pull it out and add it back.
I guess I was expecting is_undefined to work variables that don't exist in the VM, rather than variables that exist but are nil. Looking over the test cases, it does not seem like it was designed that way and instead only used to check the variable's type to see if its nil rather than if its undefined. is_nil would have been a better name for it.

The Undefined type is is more than just nil. For instance array index/map key access on Undefined returns another Undefined.

authors: geseq joseph-montanez


text:
query string ref error

query string에 ref를 주면 애러가 발생하네요
activity component에서 query string을 props로 받으면서 문제가 발생하는 것 같아요.
e.g) http://localhost:3000/#/?ref=not_working
Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref
ref query는 기존에 쓰이고있던거라 해결이 필요해보여요

ㅘㅜ....

ReactComponent 타입에서 ref props를 못받는거라면 다른 커스텀 컴포넌트 타입이나 래핑한 타입을 만들어보면 어떨까요?

@Ha-Young 네넵~ 오전에 스크럼때는 넘어오는 props들을 params={activity.params}같이 한번 더 감싸서 제공하는 것도 러프하게 얘기가 나왔어요

아하 아니면 query로 받는것은 아예 query property로 조정해도 될 것 같아요

TMI: 스택플로우는 기본적으로 URL에 대한 관심사를 격리해서 관리하고 있어요 ㅎㅎ 따라서 코드 내에서 path, query 등등의 키워드를 쓰는걸 권장하지 않고 있고, 프레임워크 단에서 제공하지 않을 예정이에요.

authors: Ha-Young ginger-kang tonyfromundefined

repo: daangn/stackflow


text:
named parameter plan

After some thought, my plan for named parameters is:

names are optional for callers-- but once you give a name, all subsequent parameters must be named
named parameters are still ordered, and the ordering must match the declaration
we give a lint if the value for an anonymous parameter is "named" x (see below) but there is some other parameter (not y) named x

(we don't currently have defaulted parameters, but if we do, labels will be mandatory, and they will be unordered, which permits one to add new options anywhere in the list)
Implementation steps

[ ] modify interpreter to require values to be provided in order
[ ] implement the lint and issue warnings -- uh, during interpretation I guess, that means we need a way to do that

What does it mean for an expr to be "named" x?
The intent of the lint is to warn for code like
fn foo(x: String, y: String) { }

fn main() {
    var x = "x"
    var y = "y"
    foo(y, x) // warning!
}

To fix this, users can change to either foo(x, y) or foo(x: y, y: x) (i.e., give explicit names).
I would say that an expression is "named" x if...

it is a local variable or parameter named x
if it a field named x (i.e., blah.blah.x is "named" x)

This should be a warning, and we might consider extending the pattern in the future (e.g. maybe x.y should be "named" both x and y).

I couldn't help myself. I'm fixing this this morning.

done-ish

repo: dada-lang/dada


text:
🐞 cannot diff with different relative paths

What is the issue?
When performing a diff between a host sub-directory and a client Directory sub-directory, the following error is encountered: TODO: cannot diff with different relative paths: "bin" != ""
Example:
hostBin := client.Host().Directory("bin") // bin/ already exists on the host

artifacts := client.Directory()
// ... write files to the bin/ directory in artifacts
artifactsBin := artifacts.Directory("bin")

diff := artifactsBin.Diff(hostBin) // will fail
diffs, err := diff.Entries(ctx) // error

Relevant source: https://github.com/dagger/dagger/blob/51f6dd9c5c2e64e55ff497a48ce1886bbca77103/core/directory.go#L431
Log output
directory.withDirectory.withDirectory.withDirectory.withFile.withFile.withFile.withFile.withFile
.withFile.withFile.withFile.withFile.directory.diff TODO: cannot diff with different relative paths: "bin" != ""

Steps to reproduce
No response
SDK version
Go sdk v0.6.1
OS version
Linux srv1 6.1.27-2-MANJARO #1 SMP PREEMPT_DYNAMIC Thu May  4 06:46:21 UTC 2023 x86_64 GNU/Linux

I cannot repro this error with dagger v0.8.4.
@kralicky do you still have this issue?

Nope, this is no longer an issue.

Good, I'm closing it then 🚀

authors: TomChv kralicky

repo: dagger/dagger


text:
Update searchbar.dart

Fix grammar lol

DuckDuckGo is the name, what you changed makes no sense

repo: dahlia-os/pangolin-desktop


text:
alternative API for mutate

https://twitter.com/dai_shi/status/1639937951596703745

This is a breaking change, but release as a patch, considering an API design bug fix.

repo: dai-shi/wakuwork


text:
Remove error json on readme

It's for remove red errors:

@Zefling thanks for the pull request!

authors: Zefling daidodo

repo: daidodo/tsimportsorter


text:
Release 0.10

To work with jdk9, https://github.com/dain/leveldb/commit/39b6e0c38045281fba5f6532c52dc06905890cad is needed, but AFAICS there is no release yet that contains that commit.

@dain anything I can do to help? :)

Anything we can do to help this get released? :)

authors: ktoso raboof

repo: dain/leveldb


text:
angular-bootstrap-datepicker hours is LT

Hello, I have a problem, when the display hour, the show into LT, hoping to get your help, it can not find the solution.

Please create a fiddle, jsbin, or plunker that replicates the problem.

Sorry, I will not with the tools, my question is in the local environment is perfectly normal running, but grunt packaged uploaded to the production environment, 'hour' this column and 'minutes' this column into Lt.         Thank you

                                     <input id="interviewDate" name="interviewDate" type="text" class="time_name" data-ng-model="interview.interviewDate" placeholder="请输入时间"                                         required readonly>

                                             请输入时间

                                 <datetimepicker id="timepicker1" data-ng-model="interview.interviewDate" data-datetimepicker-config="{dropdownSelector: '#dropdown1', minView:'minute', modelType:'YYYY-MM-DD HH:mm'}"                                 />

Sorry, I really need a working example online that I look at in order to help.

If you have a difference between local and deployed code, the problem is  not in this directive.

Hello, I have solved this problem, because of the local environment and on my colleague's computer lacks some of the components, so in the process of packing will appear this' LT ', thank you very much for your patience to answer. Have a nice day at work！

authors: dalelotts hakunamatatawang


text:
README Fix: Unwrapping nil in websocketDidDisconnect

The README describes how one might use the websocketDidDisconnect required delegate method as:
websocketDidDisconnect
websocketDidDisconnect is called as soon as the client is disconnected from the server.

func websocketDidDisconnect(socket: WebSocket, error: NSError?) {
    println("websocket is disconnected: \(error!.localizedDescription)")
}

The issue with this, however, is that the value might be nil, in the case that the server doesn't send back an error(timeout/stale client is disconnected by server), force unwrapping the nil value will cause an exception, and crash the application.
Although this is just a minor fix, its probably worth the time just to take a second to update the documentation so new people like myself don't accidentally cause application crashes while using the library.

Good point, nice catch. Addressed #79.

authors: AndrewZurn daltoniam

repo: daltoniam/Starscream


text:
Emit warning on exception during sentry initialization

Quick fix for #29.

:+1: Thanks for PR

Closes #29

authors: damiencaselli kkumler

repo: damiencaselli/ember-cli-sentry


text:
Bug Unknown 'X'

https://github.com/danKHUU/bitcoin-co-id/blob/1c632e7e93eb4597501aeb859223ec35de6e5b68/index.js#L65
Hi there, please fix the bug caused by this code. You should change it both 'x' to 'key'.

Hey Fixed. Thanks

authors: antoniridzki danKHUU

repo: danKHUU/bitcoin-co-id


text:
Fix the image builder

The image builder still depends on Glide, but I switched to Go modules. Oops. Need to fix that.

Just FYI I tried to build the docker image today, obviously failed. :) But just wanted to let you know I did try to use it. Thanks for the software. :)

@danderson can this issue be closed now that the dockerfile is working?

Sure.

authors: ccollicutt danderson realtime-neil

repo: danderson/netboot


text:
add doi generation on publish

we need to mint dois on publish. @yarikoptic has infromation about a test server that we can use to set this up.

indeed, now that we have new metadata schema formalizing up, time to start working on that.

indeed, now that we have new metadata schema formalizing up, time to start working on that.

i believe this is done, please reopen if needed

authors: djarecka satra yarikoptic

repo: dandi/dandiarchive


text:
Remove remaining DJANGO_API feature toggle code

First step towards removing all leftover Girder 3 code from the web client. This PR just removes the DJANGO_API feature toggle and all conditional code related it.

Looks like there's some linting errors I didn't catch so I'll mark as draft until I fix those.


text:
<meta name=...> and <meta property=...> used inconsistently

I stumbled upon this because I have a regex that parses HTML (yes I know), probably low-priority since other people use real parsers.
Example:
<meta name="og:image" content="https://pbs.twimg.com/media/FUBKu4QXoAAqMIL.jpg"/>
[...] <meta content="jack (@jack)" property="og:title"/>

Mozilla documentation suggests only name is valid while the Opengraph spec consistently uses property.
I'd suggest consistently using the latter.

Yeah I've been meaning to make those consistent but I just didn't get around to it as yeah it didn't really affect very many people. So I will fix that.
I will note that if you're trying to only parse FixTweet responses and are not just making a general purpose embed tool I would suggest looking at FixTweet's status Fetch API which returns the same data we use to make embeds but in an easily parseable JSON form. Basically you can get it by using api.fxtwitter.con instead of fxtwitter.com on links.
https://github.com/dangeredwolf/FixTweet/wiki/Status-Fetch-API

repo: dangeredwolf/FixTweet


text:
Dot notation saved twice

When using the model directive using dot notation:
.html
ng-file-select ng-model="foo.bar.baz"
.js
var foo = {bar:{baz:[{}]}};
The file is uploaded into two locations, one location is the variable in the js, the other is in a variable that is the string 'foo.bar.baz'. Now if I try to clear the form by setting foo = {bar:{baz:[{}]}} again, the form does not clear, because it is looking at the newly created variable 'foo.bar.baz' rather than at the foo object. This seems like unexpected behavior, it is correctly modeling the file into the created object, and yet it is showing the form based off a non-object variable.

fixed in version 3.0.5

authors: ValentineHypothesis danialfarid

repo: danialfarid/angular-file-upload


text:
Revert "Another User's Change"

@Reverts danicrosby/merge-conflicts#2

LG

LG

thumbs up

thumbs up

repo: danicrosby/merge-conflicts


text:
seekIndex fails silently without error message

When I call seekIndex,after a playlist has been loaded into the AudioPlayer, the seekIndex function fails silently without error message.
try{     seekIndex(index);      }on ErrorHint catch(e){      player.seekIndex(index);      }finally{         play(localSongsPlaylist);      }
Is there a reason why it always skips the try clause?
Any help appreciated.

Hi Johnny, first of all, to play playlist you need to call playAll() method, second of all, to seek specific index in the playlist before the player has started playing you need to just pass the index of the song you want to start with to the playAll method.

      final Result result = await _audioPlayer.playAll(         urls,         index: 1,         audioNotifications: audioNotifications,       );


text:
Fix IRC Framework plugin

The IRC Framework plugin is not working. This needs to be examined and fixed.

Plugins have been improved and fixed here: 07fa75a

repo: danielbrendel/dnyAquaShell


text:
swift demo...

Thanks for the port.
Any way to get a swift demo?
Thanks again!

There's no point in a Swift demo, as if you are writing in Swift you know Swift and can initialize a class instance.... And the API is the same in ObjC and Swift.
The ObjC demonstrates the charts as well as how to mix Swift and ObjC - that's why it's in ObjC

authors: danielgindi sirvon

repo: danielgindi/ios-charts


text:
Using .vue instead of .md for blog posts

Im somewhat new to Nuxtjs, but i was wondering if it is possible to use .vue files for the blog posts instead of .md files?

Vue files would not be supported. Netlify CMS has to be able to read your content files, therefore the content files must be in one of the formats supported by Netlify CMS: https://www.netlifycms.org/docs/configuration-options/#collections
Depending on your use case however, you might be able to make a custom widget or custom editor component in netlify cms that can output a view component of your choice.
https://www.netlifycms.org/docs/custom-widgets/

authors: danielkellyio hurnhu

repo: danielkellyio/awake-template


text:
Crashing along and AimBot not working at all

Basically Aim Bot does not work at all no matter the settings enabled or disabled, I've tried with lock and without lock and if you enable trigger bot and join a game you will crash or if your in a game and you go to enable trigger bot you will crash.

u have the latest update for entity?

u have the latest update for entity?

how to update? im new here;/

download git for windows if you do not have it already
run git clone https://danielkrupinski/Osiris.git
a folder named Osiris will be created where ever you ran it.

I'm using the latest version and these errors still occur.

attach a debugger and tell us where it crashes.

attach a debugger and tell us where it crashes.

I dont really code c / c++ so how would I add a debug for a module

congratulations. debugging isn't a c++ thing, its a VS2019 thing.
Menu bar > Debug > Attack debugger to process > select csgo.exe
when it crashes vs2019 will pop up and say where it crashed.
you will need to inject a debug build

It works fine, make sure you're using the latest version.

repo: danielkrupinski/Osiris


text:
Inventory Changer

Please add [StatTrak, Seed, Wear] Option to InventoryChanger
Modify the cfg is troublesome

I want this feature as well


text:
Add OMSAgent to LFI

Hi! Little collection of paths for the linux OMS agent which can be useful in LFIs.
Paths just taken from docs at time of writing - might add manual
https://github.com/nekonugget/lfi-stuff/blob/main/OMI-Agent-Linux.txt

Sounds good - please do open a pull request !

Done!

repo: danielmiessler/SecLists


text:
Create setup_fabric.bat, a batch script to automate setup and running…

What this Pull Request (PR) does
Automates setup and usage of fabric in really user friendly way in one command.
-It does the following:

Checks for administrator privileges.
Installs Chocolatey (a package manager for Windows) if it's not already installed.
Uses Chocolatey to install Go and Git if they're not already installed.
Installs Fabric and the yt helper using go install.
Runs Fabric setup.
Prompts the user for YouTube and OpenAI API keys and adds them to the Fabric configuration.
Provides a menu-driven interface to:
Run Fabric with custom options
-List patterns
-List models
-Update patterns
-Exit the script

Just open cmd as an administrator run setup_fabric.bat (move to folder where it is saved first) and done it will do everything and ask for all the required info from users.

We need some folks with Windows experience to comment on whether this is a good approach for assisting Windows installs.

We need some folks with Windows experience to comment on whether this is a good approach for assisting Windows installs.

I have no coding knowledge but with this bat file I was able to install Fibre for windows faster with some assistance from chatgpt. So yes, this approach is a blessing for noobs who have no idea what is going on with the setup.
I am still wondering how to use the new GUI, using the right sequence of pattern prompts/commands, how to integrate Fibre with Crewai and Agent-Zero. I am learning VScode and Python so I can better understand and use it.

authors: Thepathakarpit danielmiessler phil9

repo: danielmiessler/fabric


text:
RSSI HM-ES-TX-WM

DONT'T DELETE THIS.
Language: german
custom_component/hahomematic version (if applicable):
1.12.3
Home Assistant version (if applicable):
2022.7.5
CCU version:

CCU3
Original
Version: 3.65.6

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)? hmip, bidcos, groups
Describe the bug
Ich muss doch nochmal auf die RSSI-Werte vom RSSI HM-ES-TX-WM zurückkommen. Kann mir auch vorstellen, dass es auch bei anderen HM-Geräten so ist, kann das aber nicht sagen.
Wie schon im Diskussionsforum beschrieben bekommt ds Gerät seit den letzten Änderungen (zufällig oder damit verbunden) keine RSSI-Werte mehr, wo sich bei der Core-Integration schon Werteänderungen ergeben. Hier mal zwei Snapshots:

Dennoch sind de rssi-Entitäten hier in der Integration stets und immer unknown.

Wenn die alte diese nicht dann und wann pollt (wovon ich nicht ausgehen), müssen sie ja zumindest dann und wann über die Events kommen, hier aber nie ankommen oder nie verwerted werden.
Vielleicht kommmen sie nur über einen bestimmen Kanal? Wobei die Werte im Core in jeder Entität sind, d.h. auch in lowbat, energy_counter, usw.
Nicht dringend, aber evtl. auch für anderen HM-Geräte relevant.

Initial werden für alle Geräte Werte geladen, sofern sich diese seit dem Neustart der CCU geändert haben.
Danach wird auf Events der CCU gewartet. Ein weiteres Polling erfolgt nicht.
Das Vorgehen sollte zur PyHomematic Integration identisch sein. @danielperna84
Das Vorgehen ist für alle Geräte identisch, d.h. es gibt keine Gerätespezifische Sonderbehandlung.
Wenn ein Gerät bzw. die CCU keine Events sendet kommen also auch keine geänderten Werte in HA an.
Mangels geeigneter Geräte kann ich das auch nicht nachvollziehen, bzw. konnte bisher nur sehen das keine Events durch die CCU generiert wurden.

Da es schon so ewig her ist weiß ich nichts mehr genau wie das war. Aber bei pyhomematic ist die Kette get_rssi -> getAttributeData -> _getNoteData, und dort wird dann ein vollwertiges getValue gemacht. Vielleicht macht das den Unterschied aus?

getValue greift teilweise auf das Gerät durch und lässt so den DutyCycle steigen.
Ist alles in #328 gut dargestellt. Daher verwenden wir das ReGaScript fetch_all_device_data.fn das alle Daten aus der CCU holt ohne auf die Geräte durchzugreifen und den DutyCycle zu steigern.
Das ganze wurde auch schon mal hier diskutiert ohne eine wirkliche Lösung zu finden.
Das ist aber alles nur für das initiale Laden der Daten relevant!
Danach senden einige HM Geräte keine Events mehr, so das der initiale Wert dauerhaft stehen bleibt.
Das scheint sich aber im wesentlichen auf den Kanal 0 zu beschränken, in dem auch die RSSI-Werte liegen.
Eine Lösung hab ich derzeit nicht.

Das ist mir klar. Ich wollte nur den Unterschied zwischen pyhomematic und hahomematic an dieser Stelle hervorheben, und weshalb pyhomematic hier auf den ersten Blick besser (und ineffizienter) zu funktionieren scheint. Interessant wäre es mal die RSSI-Werte bei der pyhomematic variante zu loggen. Wäre ja durchaus möglich, dass man dort die ganze Zeit die Werte behält, die initial mit dem getValue geladen wurde, und es dadurch nur wirkt als würde es besser funktionieren.

Man kann leider keine Diagramme für RSSI in der CCU aufzeichnen.
In HA steht der RSSI-Device seit einer Woche konstant auf -67 dBm, was auch der CCU Anzeige entspricht.
Ich dachte mal das ich hier eine Änderung gesehen hätte, aber vielleicht hab ich mich da auch getäuscht.

Wäre ja durchaus möglich, dass man dort die ganze Zeit die Werte behält, die initial mit dem getValue geladen wurde, und es dadurch nur wirkt als würde es besser funktionieren.

Was meinst Du hier mit Initial? Nach Reboot von HA oder nach Einrichtung der Integration? Nur letzters kann nicht sien. Siehe Ausgangspost. Da sind zwei Screenshots. die _2 Entitäten sind aus der Core-Integration. Und da gab es schon zwischendurch ein Update der RSSI-Attribute.

Was ich meine ist, dass bei pyhomematic beim (Home Assistant) Start ein getValue gemacht wird. Da wird das Gerät also aktiv abgefragt, inkl. dem Nachteil von dem dadurch resultierenden RF-Traffic. Das passiert bei hahomematic nicht.
Es wäre ja möglich, dass der HM-ES-TX-WM selten bis nie Events bzgl. RSSI verschickt, und diese nur auf Anfrage (getValue) bereitstellt. Das würde ja dazu passen, dass die Core-Integration hierfür einen Wert anzeigt, die neue Integration hingegen nicht. Denn die macht ja kein getValue. Und wenn die CCU zu dem Zeitpunkt (neue Integration laden) auch keinen Wert im Cache hat, dann bleibt das ewig bei None hängen.
Nur so eine Theorie.

Hatte ich verstanden. Meinte nur Dein konkretes "initial" im Post davor.
Aktives periodisches lesen oder Ausnahmeliste (außer es betrifft alle HM-Geräte) für ein Lesen beim Booten fände ich auch too much.
Aber ein Service, mit dem ich das per Automatisierung in den vorhandenen/generierten Sensor pollen könnte, das fände ich gut. Dann kann sich ja jeder dann einbauen, wenn wer möchte. Oder habe ich etwas übersehen und das gibt es schon?

Geht es hier immer noch NUR um den RSSI Wert?

Aber ein Service, mit dem ich das per Automatisierung in den vorhandenen/generierten Sensor pollen könnte, das fände ich gut.

Ein Service der eigentlich nie geänderte Daten lädt, aber zumindest bei den nicht-batterie betriebenen Geräten auch direkt auf das Gerät zugreift, und damit den DutyCyle erhöht, halte ich ich für keine gute Idee.

Im konkreten Fall ja, nur RSSI-Wert. Aber ich habe auch nur das eine H.Gerät. Weiß also nicht, ob und bei welchen Parametern sich bei anderen HM die Logik ähnlich tickt.

Ein Service der eigentlich nie geänderte Daten lädt, aber zumindest bei den nicht-batterie betriebenen Geräten auch direkt auf das Gerät zugreift, und damit den DutyCyle erhöht, halte ich ich für keine gute Idee.

Hm. Verstehe ich nicht. Wie nie geänderte Daten? Das ist doch das Thema. Der Wert änder sich ja und wird auch im WebUI andauern anders angezeigt, Die, die es nicht interessiert, haben die Entität Parameter ja auf deaktiviert. Oder sieist nicht aktiviert und hat den Status unknown. Und die, die dort einen validen Wert erwarten/haben wollen, planen sich per Automatisierung den Pull-Service ein. Klär erhöhrt dws den Duty-Cacyle. Aber das ist ja eine bewusste Entscheidung deren wie ich, die sich den Service als Automatisierung einrichten. Jedes Drücken einen Schalters erhöht auch den Duty Cycle. Oder das gleiche Gerät sendet auch alle x Minuten seine anderen Werte. Dann kann ich doch auch alle 3-6 Stunden mal den RSSI-Wert pollen.

Nur für RSSI macht das keinen Sinn für mich (@danielperna84 ?).
Bei meinen HM Geräten wird auch nur der RSSI Wert nicht aktualisiert, wobei ich LOWBAT nicht testen konnte.

Also ich habe grundsätzlich nix gegen einen hahomematic.update_entity Service dem man eine Entity ID gibt, und im Hintergrund wird dann der zum Parameter passende getValue ausgeführt. Muss man ja nicht machen wenn's einem egal ist. Und wer unbedingt manuell pollen möchte hat hiermit die Möglichkeit dazu.

So meinte ich das. Das wäre prima!

super genereller Workaround, falls es mehr solcher Edge-Cases gäbe

Ich denke das sagt Alles.
Ich bau den Service ein, aber ich schreibe dazu keine Doku.

Wofür braucht man diesen Service
Wofür braucht man diesen Service nicht.
Was ist bei batteriebetrieben Geräten zu beachten
Wie garantiert sind die Werte? ( siehe Punkt batteriebetriebene Geräte)
Was sind die Folgen der Servicenutzung? Dutycycle bei exzessiver Nutzung.

Der Service heißt homematicip_local.update_entity Und erwartet als einzigen Parameter eine entity_id.
Eine Entität kann höchstens alle 60 Sekunden abgefragt werden.

Da sich wohl niemand bereit erklärt mit entsprechender Doku zu unterstützten sollten wir diesen Service lieber lassen oder?

Ich habe das von Dir tatsächlich anders verstanden. Nämlich, dass es dazu keine Doku geben wird/soll und es nur hidden ausgeliefert wird.
Ich schreib' gern ein Passage, wenn gewünscht. Zu einigen Puntken von oben müsste ich es aber erst mal probieren, (wie garantiert, ...) um das Verhalten testen und dann beschreiebn zu können.

War wohl missverständlich, aber die Doku ist für mich Voraussetzung diesen Service überhaupt einzubauen, da es hidden Services nicht gibt.
Die für mich relevanten Punkte hatte ich mal aufgezählt. Wäre gut wenn Du, soweit wie möglich, etwas dazu schreiben könntest.
Es gibt in custom_homematic einen Branch force_update für den Du einen PR für die Readme einstellen kannst.
Zu testen ist das ganze über Version 1.12.6.beta1.
Wenn das logging geändert wird (custom_components.homematicip_local.services: info) kannst Du auch sehen ob der Wert geändert wurde. Das funktioniert aber nur bei generischen Entitäten (binary_sensor, sensor, number,...)
Das Mindestabfrage Interval beträgt 60 Sekunden.
Vielen Dank für deine Unterstützung.

Zu testen ist das ganze über Version 1.12.6.beta1.

Ich probiere mal weiter. Erste Info: Die rssi-Werte wurden erfolgreich von der CCU gelesen. Werde nun noch warten, bis sie sich verändern und mit dem Manager vergleichen, usw. Danach schreibe ich was dazu. Kann ein paar Tage dauern, da aktuell im Urlaub mit wenig Rechnerzugriff, aber kommt.

Kein Problem.

Ich denke das Ticket kann erst mal beschlossen werden.

Wobei ihr mir vielleicht doch noch kurz auf die Sprünge helfen könntet. Wenn ich im Manager im Value-Paraemset das hier aufrufe und sehe

Ist das dann ein wie auch immer zur CCU gekommener letzter Wert der CCU. Oder ein durch ein getvalue direkt vom Gerät geholter Wert (der dann ggf. auch in der CCU aktualisiert  wird, wenn überhaupt).

Schau mehr hier https://github.com/SukramJ/hahomematic/blob/devel/docs/rssi_fix.md

Nein, das wusste ich. Ich meine auch nicht die Werte an sich oben. Ich meinte, kommen die in dem Moment, wenn ich sie mir im Manager angucke (d.h. Value-Paramset angucke) (nur) aus dem Speicher der CCU oder werden vom Gerät geholt und dann angezeigt.
Nur damit ich hier nicht Äpfel mit Birnen vergleiche.
Denn hier wiederum mit homematicip_local.update_entity hatte ich es so verstanden, dass vom Gerät aus geholt/aktualisiert werden würde.

Nein, das wusste ich. Ich meine auch nicht die Werte an sich oben. Ich meinte, kommen die in dem Moment, wenn ich sie mir im Manager angucke (d.h. Value-Paramset angucke) (nur) aus dem Speicher der CCU oder werden vom Gerät geholt und dann angezeigt.

?? Gute Frage, ich würde vom Cache ausgehen (Batterie) oder laden beim Öffnen beim Rest.

Denn hier wiederum mit homematicip_local.update_entity hatte ich es so verstanden, dass vom Gerät aus geholt/aktualisiert werden würde.

Der da hinter steckende Befehl getValue greift bei batteriebetriebenen Geräten nicht auf das Gerät zu.

Danke Dir. Alles sehr suspekt. Dann würde es ja doch nur (wieder) daran liegen, dass e13 warum auch immer was in Events packt und was nicht. Dann würde aber auch das homematicip_local.update_entity den Dutycyle nicht beeinflussen bei den Batteriegeräten.
Egal für jetzt und das Thema, aber @jens-maus kann Du mit Deinem HM-Allwissen noch etwas beisteuern, da es mich wirklich interessiert.

Ist das so, dass das getValue bei allen Batteriegeräten nur auf den CCU-Cache geht? Wenn ja, dann würde ich wie hier beim HM-ES-TX-WM auch nicht verstehen, warum in der alten getValue-Startvariante der Core-Integration mein HmIP-SLO Außenhelligkeitssensor (recht weit weg platziert) nach HA Neustart oft keine Wert hat, einhergehend mit gestörter Kommunikation? Wenn nur Cache abgefragt werden würde, dürfte das ja nicht passieren, wie ich das bislang verstanden habe.

Und im Falle HM-ES-TX-WM sendet das Gerät dann periodisch an die CCU in den Cache und es fehlt quasi nur warum auch immer das packen in die Events (obwohl geänderte Werte vorhanden) und getValue lädt dann hier und im HomematicManager nur die Werte aus dem Cache? Komich komich die Leerer.

Es  gibt einen HA Service update_entity der, wie ich das sehe die gleiche Funktionalität hat wie der unsere.
@emufan Kannst Du dir das auch mal anschauen?
Ich werde daher den homematicip_local service wieder entfernen.

Nein, der hat bei mir nichts gemacht. Wie soll er auch? Wenn der notwendige Callback in der Integration gar nicht definiert ist/war?

Wenn der notwendige Callback per explizitem getValue in der Integration dafür gar nicht definiert ist/war?

Meinst Du ich würde Fragen wenn ich nicht vorher kurz selber getestet hätte?

Sprechen wir von jetzt oder bevor Du den 'getValue' Service eingebaut hattest?

Jetzt.
Und für den update_entity service musste ich auch keinen getValue Service einbauen.

Der HA service homeassistant.update_entity hätte auch funktioniert, ohne das ich homematicip_local.update_entity eingebaut hätte.

Dann verstehe ich das Problem vorher nicht. Du hattest vorher - so wie ich es verstanden hatte - kein getValue genutzt, d.h. keine Calls zur direkten Abfrage (mehr) von Werten in der CCU genutzt, der direkt auf die Geäte zugreift, sondern nur die "anderen" Interfaces und Events genutzt.
Und dann kann HA per homeassistant.update_entity das einfach so, d.h. weiß wie man auf die CCU callen muss, damit diese Werte direkt vom Gerät liefert, wenn das ansonsten von der Integration gar nicht gemacht wird? Nee, das verstehe ich noch nicht.
Hab' es gerade mal probiert. Und ja, geht. Hatte es vor der Diskussion aber auch probiert und wie gesagt, ging damals nicht. Der besagte Problemfall blieb immer unknown.

Den Service kannte ich und den nutze ich (soll man nutzen), wenn man andere Updateintervalle braucht als default. Früher konnte man die Update-Frequenzen in den yaml-Configs ja für die Integrationen einstellen, Das gibt es nicht mehr. Nun soll man dann Auto-Update im Config-Flow ausmachen und sich dann eine passende Automatisierung bauen.

Dann verstehe ich das Problem vorher nicht. Du hattest vorher - so wie ich es verstanden hatte - kein getValue genutzt, d.h. keine Calls zur direkten Abfrage (mehr) von Werten in der CCU genutzt, der direkt auf die Geäte zugreift, sondern nur die "anderen" Interfaces und Events genutzt.

Danach habe ich jetzt doch gar nicht gefragt, bzw. darüber müssen wir jetzt auch nicht wieder diskutieren.
Der Service geht. Gut, dann wird er andere entfernt.

Und dass ich es gern verstehen würde, warum es funktioniert, wenn doch eigentlich kein direkes LEsen vom Gerät implementiert ist, zählt nicht? Nun gut.
Zum "Service geht". Konnte nur Batterie-Geräte testen. Ob es er auch einen Direktcall zu einem nicht-Batterie-Gerät macht, konnte ich nicht testen.
Ebenso nicht, ob sich der Service im HA anders verhält, wenn das Gerät gerade "unavailable" ist.

Begriffe wie getValue, [fetch_all_device_data.fn] und Duty Cycle (https://github.com/danielperna84/hahomematic/blob/devel/hahomematic/rega_scripts/fetch_all_device_data.fn) sind bei meiner heutigen Frage irrelevant, weil diese Themen gar nicht geändert, angefasst oder in Frage gestellt werden.
Notwendige Änderungen im Backend (hahomematic 2022.7.14) wurde mit der CC Version 1.13.1 eingeführt.
Die Services homeassistant.update_entity und  homematicip_local.update_entity rufen den gleichen Code in einer Entität im Backend (hahomematic) auf, und daher kann der eigene Service weg.
Wenn homeassistant.update_entity früher andere Ergebnisse geliefert hat, dann liegt das schlicht daran, das vor hahomematic 2022.7.14 der notwendige Code im anders implementiert war.
Ich hoffe das war zur Einordnung verständlich genug.

authors: SukramJ danielperna84 emufan


text:
homematic Störung

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

Raspberrymatic HA-Addon ..3.65.6.20220723):
Version: .3.65.6.20220723

Problem-relevant configuration:
Do you use tls? nein
Do you use callback? kann ich nicht beantworten
Do you use username and password? ja
Which interfaces do you use (hmip/bidcos/wired)? hmip bidcos
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Screenshots (if applicable)

CCU firewall später
integrations view später
device view später
enity view

Relevant HA log entries (full log)
  File "/config/custom_components/homematicip_local/control_unit.py", line 724, in _async_fetch_data
    await self._hm_hub.fetch_sysvar_data()
  File "/usr/local/lib/python3.10/site-packages/hahomematic/hub.py", line 83, in fetch_sysvar_data
    def unit(self) -> str | None:
  File "/usr/local/lib/python3.10/site-packages/hahomematic/hub.py", line 146, in _update_sysvar_entities
    unique_id = generate_unique_id(
  File "/usr/local/lib/python3.10/site-packages/hahomematic/central_unit.py", line 671, in get_all_system_variables
  File "/usr/local/lib/python3.10/site-packages/hahomematic/client.py", line 685, in get_all_system_variables
  File "/usr/local/lib/python3.10/site-packages/hahomematic/json_rpc_client.py", line 459, in get_all_system_variables
  File "/usr/local/lib/python3.10/site-packages/hahomematic/json_rpc_client.py", line 526, in _get_system_variables_ext_markers
  File "/usr/local/lib/python3.10/site-packages/hahomematic/json_rpc_client.py", line 235, in _post_script
    }
  File "/usr/local/lib/python3.10/pathlib.py", line 1134, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/usr/local/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/site-packages/hahomematic/rega_scripts/get_system_variables_ext_marker.fn'

Diagnostic Information (available on every device)
bei Raspi läuft alles

Expected behavior
A clear and concise description of what you expected to happen.
wenn möglich hilfe
Additional context
Add any other context about the problem here.
alles läuft normal ohne fehler nach ca. 24h tritt das auf immer wenn ein Befehl ausgefürt wird kommt danach diese Meldung
z.b. thermostat von 20 auf 21 der Befehl wird ausgeführt kann man am Display sehen

custom_component version (if applicable):
letzte version

Damit kann ich nichts anfangen! Allein heute gab es mehrere Updates.

Der _async_fetch_data(und folge Befehle) wird alle 30s ausgeführt.
Wenn der Fehler nur alle 24h auftritt kann es nicht an einer fehlenden get_system_variables_ext_marker Datei liegen.
Ich würde erst mal einen Fehler in der Integration ausschliessen.
Kann es sein das das die SD-Card etwas älter ist und eventuell verschliessen?
Schau die mal die anderen Logs in HA an ob da noch was zu finden ist, aber ich denke das das Ticket hier geschlossen werden kann.

Version 1.14.0 reduziert das Lesen der Scripte, aber ich denke das dein System eher ein Problem mit der SD-Karte hat, oder mit der Auslastung

hallo
danke für die Antwort ist ein x86 system mit emmc 64 gb

Emmc sollte eigentlich keine Problem sein.
Versuche mal die 1.14.0.

Hallo
Werde ich machen habe aktuell 1.13.3
Was ist immer mit bump to gemeint sorry wenn ich so was frage
Muss mann vorher auch erst ein update machen Core oder nicht
Danke für die hilfe
Gruß
Sven
Von: SukramJ @.>
Gesendet: Donnerstag, 11. August 2022 22:41
An: danielperna84/hahomematic @.>
Cc: sven34466 @.>; Author @.>
Betreff: Re: [danielperna84/hahomematic] homematic Störung (Issue #583)
Emmc sollte eigentlich keine Problem sein.
Versuche mal die 1.14.0.
—
Reply to this email directly, view it on GitHub https://github.com/danielperna84/hahomematic/issues/583#issuecomment-1212472324 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AXW5JKBTGJQFQSUOVY3KFJTVYVQONANCNFSM56I77ADA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AXW5JKEV4UI56IY6RIVYXW3VYVQONA5CNFSM56I77ADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJBCNYBA.gif Message ID: @.*** @.***> >

Was ist immer mit bump to gemeint sorry wenn ich so was frage

Das Anheben der Version.

Muss mann vorher auch erst ein update machen Core oder nicht

Eine Custom Component kann unabhängig von Core aktualisiert werden.

Emmc sollte eigentlich keine Problem sein.

Trotzdem mal die Host Logs kontrollieren.

Wollte emmc in ssd noch ändern verschliessen zeigt 30 % an kann man das machen mit Datenträger verschieben oder besser über Backup?
Im host steht nur was von der WLAN Schnittstelle hatte ich am Anfang benutzt jetzt Kabel

Ich mach hier keinen HA Support, aber ich würde über Backup gehen.


text:
Custom exceptions

Modules using pyhomematic may expect that we raise custom exceptions.

Closing this issue as hahomematic is where future development should be done.


text:
Recording does not work on Chrome M71

New Autoplay policy, prevents recording as AudioContext goes to suspended state.

I can confirm this is an issue, and that @Jaikant's proposed fix does indeed solve the problem.
I am not much of a JavaScript expert but I believe that audioContext.resume() is an asynchronous function and should be called like this:
this.context.resume().then(function() {
  /* proceed */
});

It might also be good to check the state of the audioContext prior to resuming it, like this:
if (this.context.state === 'suspended') {
  this.context.resume().then(function() {
    /* proceed */
  });
}

However, I have spent some time trying to implement that in WebAudioTrack and haven't had any luck.  So, I am just going to implement the change as @Jaikant submitted it, as that seems to be working in 100% of cases for me.

repo: danielstorey/WebAudioTrack


text:
Add --s3-use-sigv4 and --s3-endpoint options

Fixes #101
I had a look into the source code and what I needed didn't look to hard to implement, so I went ahead and did it myself.
Any suggestions are welcome. As I said I haven't got any experience with Python, please be forgiving :wink:.

@danilop have you had a chance to take a look at this yet? Thanks.

Please please release it to pip repository. At the moment sig v4 is required in eu-central-1 and we can't use it without without this feature.
It would be also nice to have default value for s3 endpoint set to 's3.amazonaws.com' - but it's nice to have. But this PR is very very important to be released :)

@padde please update the README for these new options

@bitsofinfo yeah that would be a good idea, I'll make a PR. Honestly with this PR I first wanted to see if I'm heading in the right direction, didn't think it would be merged as is.

Please release it as 2.3.3 and push to the pip repository.
We would like to use it, but we cannot relay on the master branch and  have to install it from pip with fixed version.

authors: bitsofinfo dzinek marek-obuchowicz padde


text:
Long loaded icons

I have a lot of 9000+ icons and they take a very long time to load.

@indigomadina You discussed with him?

Yes

Update: i think problem fixed since i am using latest Android Studio and gradle 3.3.0

I also use gradle 3.3.0 and the latest stable version of Android Studio but it doesn't help.
Too bad that he no longer want to work on this dashboard...

I have an issur can u plz help me
I have added premium req but its not loading. Donations r working properly but PR not working.
Added product id & enabled the PR still not working.

@srohit619 and google play published? the version published in the Google playlist and the version on which you check must match

@NikiHard published bro. But how to check plz let me know. If u have telegram then i can send u images of android studio

@NikiHard now its working bro.
I think we have to wait for sometime to use it
Ntw thankyou for reply mate.

@srohit619 i don't have telegram

authors: NikiHard Primokorn indigomadina srohit619

repo: danimahardhika/candybar-library


text:
Assignment

Summary Self Paced Learning :

[ ] HTML dan CSS Dasar
[ ] Hasil Maksimal, Usaha Minimal dengan ES6
[ ] Styling Komponen React
[ ] Membuat Sistem Login dengan React

Summary Live Session :

[ ] Sesi 1 - Pengenalan Modern Javascript, Variable Declaration, Array
[ ] Sesi 2 - Destructuring Object, This Keyword, Arrow Function, Functional Javascript
[ ] Sesi 3 - Class in ES6, Javascript Modules, Promise, Exercise Promise, Exercise ES6 Class
[ ] Sesi 4 - Pengenalan React, Mindset Component, Aliran Data Satu Arah, First React Component, Our First React App
[ ] Sesi 5 - Data Flow di React, PropTypes, Atomic Design
[ ] Sesi 6 - Statefull & Stateless Component, Hooks Concept, Exercise
[ ] Sesi 7 - Component Lifecycle, Fetch Data dengan React, Exercise: Getting Data from Cloud
[ ] Sesi 8 - Styling Component, UI Frameworks, Styling App
[ ] Sesi 9 - Single Page App with React Router, Qtemu with single app
[ ] Sesi 10 - State Management with redux, Connect React with redux, Exercise Qtemu with redux
[ ] Sesi 11 - Redux Middleware, Qtemu Async Redux
[ ] Sesi 12 - Server Side Rendering Concept
[ ] Sesi 13 - Testing ReactJS, Deploying React App, Deploy Qtemu App
[ ] Sesi 14 - Perkenalan React Native, React and React Native
[ ] Sesi 15 - Styling and Layouting React Native, Persiapan Final Project


text:
Remove the use of innerHTML

The slider-label makes use of element.innerHTML which means that sites that make use of a content security policy throw exceptions. This PR gets around the problem by simply using the .text property instead of .innerHTML.
There is an open issue 324 on the parent project which details this well which I have simply copied here:

Our CSP is configured as per Angular's recommendation:
trusted-types angular angular#bundler; require-trusted-types-for 'script'; default-src 'self'; script-src 'self' 'unsafe-hashes' 'sha256-MhtPZXr7+LpJUY5qtMutB+qWfQtMaPccfe7QXtCcEYc='; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self'; font-src 'self' https://fonts.gstatic.com; frame-src 'self' ; img-src 'self' blob: data:; manifest-src 'self'; media-src 'self'; frame-ancestors 'none'; form-action 'self
Even adding angular#unsafe-bypass as trusted-type doesn't work. This is a security concern

This would be a breaking change because you can set the label value as HTML like in this example: https://angular-slider.github.io/ngx-slider/demos#custom-html-display-function-slider
Maybe there could be a option between using .text for safety or .innerhtml for customizability

I could try and make it an option that we could enable / disable the use of unsafe HTML? Would you rather it remain defaulting to innerHTML without the override being set?

Implemented in 16.0.2/15.0.5/14.0.5


text:
fix(changelog): improve changelog generation

Updates release flow and cleans blank entries.

:tada: This PR is included in version 1.0.26 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: dankreiger/tiny-either


text:
Fix account-manager & kanban, update kanban pdf

fix account-manager username validation
fix kanban-manager createIndexes typo
update add material construction in kanban pdf

Changes Unknown when pulling 89c5bc7e5fcd6a3a04424d6be14733eaed020897 on vfenk:dev into ** on danliris:dev**.

authors: coveralls vfenk

repo: danliris/dl-module


text:
Added the colon shorthand so you won't have to look it up

Makes it a lot easier for me to refer/use this sheet

Duplicate of https://github.com/dannyfritz/commit-message-emoji/pull/23

For future markdown endeavors though, surround it with backticks
`:bug:`

makes :bug:

@dannyfritz thanks, well even though you disagree on using the colon version, it'd still be helpful for people that do like to use it, right? Maybe just put that you suggest copy+pasting the character since it doesn't render all the time?

There is some discussion of it here: https://github.com/dannyfritz/commit-message-emoji/issues/4
All in all, my thoughts are that Unicode is a well supported standard and basecamp codes are not. The other thing is there are basecamp codes that don't have Unicode emojis.

True, and I agree, but I hate cut+pasting for a git commit message, while typing the colon codes is easy, and I don't really care what shows up in terminal in most of our projects, all of our coordination is in GH, and I think that goes for others as well.  I'd rather use your readme as a reference than keep this fork.

@dannyfritz how about we agree to disagree and I add something like this
install emojify
brew install emojify

add this line to your .bashrc or .zshrc
gc() { git commit -am "$(emojify "$*")" }

This will let you write in colon and translate it into unicode

Yeah, absolutely in adding it as an integration.

authors: acidjazz dannyfritz

repo: dannyfritz/commit-message-emoji


text:
Typo in the daphne/doc/GettingStarted.md file

Fixed path to the hello-world.daph file

LGTM - Thanks for your contribution!
I changed the link to be a "real" clickable link while merging this in.

authors: corepointer matejmoravec

repo: daphne-eu/daphne


text:
Add AWS Kinesis input/output bindings to dapr loader

Description
Add AWS Kinesis input/output bindings to dapr loader
Fixes https://github.com/dapr/dapr/issues/368
Issue reference
https://github.com/dapr/components-contrib/issues/272
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[x] Extended the documentation
[ ] Specification has been updated
[ ] Provided sample for the feature

/ok-to-test

/ok-to-test

/ok-to-test

authors: ksivamuthu yaron2 youngbupark

repo: dapr/dapr


text:
Add documentation for nats jetstream based state store

What content needs to be created or modified?
Add documentation for jetstream based state store
The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos
https://github.com/dapr/components-contrib/pull/1501
Additional context

!assign

resolved

authors: Gehhilfe msfussell

repo: dapr/docs


text:
Update Setup Redis doc to have instructions to enable TLS

Describe the proposal
Update the Setup Redis doc to have instructions on how to enable TLS. This is related to the changes made as part of this issue

cc @msfussell

Updating the doc for pubsub.redis component in this same PR as both are related


text:
onMapReady failed

after running tns run android --emulator // or device it does'nt matter
got error
calling js method onMapReady failed

Hopefully you resolved this by now, if not reopen the issue. If you have sample code that reproduces this, that would be helpful.

authors: bbetter dapriett

repo: dapriett/nativescript-google-maps-sdk


text:
Add support for saving all layers of an OpenEXR

Currently, the tlIO/*Write api saves only one layer.  I modified the OpenEXRWrite.cpp code to save multipart images to support all pixel types and the fisplay, but it is limited to a single part (ie. one layer).
It would be great if we could iterate through all the layers and have the image saved with all layers, like I could do with mrViewer.
The API for sequence saving should be split into something like:
void
writeOpen(const std::string fileName, const RationalTime time, int numLayers=1)
{
  _headers.resize(numLayers);
  _outputFile = new Imf::MultiPartOutputFile(fileName, &_headers[0], numLayers);
   // fill tags
}

void
setLayerInfo(Player player, int layerId = 0)
{
   player->setLayer(layerId);
   auto info = player->getIoInfo();
   // Fill _headers[layerId] with information from info.video[0]
   // (channels, data and display window, pixel type, compression, etc).
}

void
writeLayer(const std::shared_ptr<image::Image>& image, int layerId = 0)
{
      const uint8_t channelCount = getChannelCount(_pixelType);
      const uint8_t bitDepth = getBitDepth(_pixelType) / 8;

      Imf::OutputPart out(_outputFile, layerId);
      const Imf::Header& header = _outputFile.header(layerId);
      const Imath::Box2i& daw = header.dataWindow();

      const size_t width   = (daw.max.x - daw.min.x);
      const size_t height  = (daw.max.y - daw.min.y) + 1;
      const size_t xStride = bitDepth * channelCount;
      const size_t yStride = bitDepth * channelCount * width;

      char* base = const_cast<char*>(reinterpret_cast<const char*>(image->getData()));
      char* flip = new char[height * yStride];
      flipImageY(flip, base, height, yStride);

      Imf::FrameBuffer fb;
      auto ci = header.channels().begin();
      auto ce = header.channels().end();
      for (int k = 3; ci != ce; ++ci)
      {
          const std::string& name = ci.name();
          char* buf = flip + k-- * bitDepth;
          fb.insert(
                   name,
                   Imf::Slice(toImf(_pixelType), buf, xStride, yStride));
      }

      out.setFrameBuffer(fb);
      out.writePixels(height);
      delete flip;
}

void
writeClose()
{
  delete _outputFile;
}

I'm not sure what the use case for this would be? I have had a number of requests for converting .exr or other rendered files to movies, but not for writing out new .exr files.

The main use is converting old v1 multichannel OpenEXRs to v2 multipart OpenEXRs.  But I also admit it is not needed as OpenEXR now ships with the "exrmultipart" command which, I think, can do the same.  I am closing this request.

repo: darbyjohnston/tlRender


text:
Firebase Dynamic Link continued obtaining the last deep link

URL: https://pub.dartlang.org/packages/firebase_dynamic_links
Problem 1
If our widget was already started, if you open the dynamic link again, it will never go through the initState() method again, so we will never get the deep link.
But it has solution,  WidgetsBindingObserver, by using which we can call link on app resumed.
Problem 2
In iOS, the AppLifecycleState.resume is called before the plugin gets the Deep Link. So link is not available by first time, and when we open app again we have link.
But we found solution for this by using some delay (Timer).
Problem 3
Major critical problem (No solution found).
In iOS, once we open the app, and get the deep Link using FirebaseDynamicLinks.instance.retrieveDynamicLink(), when we call it again, we continue obtaining the last deep Link, that is, since the call will be executed every time the widget enters the state of AppLifecycleState.resumed, and it happens, when the application is opened, either from a dynamic link or manually by the user, in iOS I had no way of knowing from where it was opened, because after getting a deep link, the method would bring back the same value even if it came out and entered the app manually.
As I observe the variable holding the deep link retained the old value, there must be need to clear that each time link is clicked.

This issue was moved to flutter/flutter#20944

authors: debutdeveloper isoos

repo: dart-lang/pub-dartlang-dart


text:
shelf_io shouldn't gzip by default

Shelf shouldn't require its adapters to implement gzipping by default. Given that, in the interest of consistency and providing a good example, shelf_io shouldn't implement gzipping by default either.

This issue has been moved to dart-lang/shelf#30.

repo: dart-lang/sdk


text:
intl.NumberFormat does not support percent/permille formats with positive and negative variations

This issue was originally filed by ochafik@google.com

Hello,
I'm trying to define a "delta percent" format (+7% / -7%).

The following just fails in Dart:
(FormatException: Too many percent/permill)
  print(new NumberFormat("+#,##0%;-#,##0%").format(-0.07));
But its equivalent works in Java:
  new DecimalFormat("+#,##0%;-#,##0%").format(-0.07)
  // Gives "-7%"
Is there any workaround / could you guys have a look please?
(note: the "+#,##0%;-#" syntax doesn't work in Java nor in Dart as it does for decimal patterns: it does repeat the settings of the positive pattern, but not the percent sign)

This issue has been moved to dart-lang/intl#65.


text:
Exception: Already registered (Polymer) prototype for element x

This issue was originally filed by def...@gmail.com

I've two polymer elements that share the same dart file. In the dart file I declare both the PolymerElement classes.
Until polymer 0.15.0+1 it was working fine. I've updated the project to polymer 0.15.1 and now I get this exception:
    Exception: Already registered (Polymer) prototype for element my-polymer-a
Where my-polymer-a is the first declared polymer.
I think the polymer transformer is trying to register it two times, the first scanning the my-polymer-a html file, the second when scanning the my-polymer-b html file.
This issues breaks our current use of polymer elements and we're forced to refactor a _large_ codebase towards many finer-grained libs we don't really need and will find difficult to move about as we refactor.
Here the code:
mypolymerA.html
<link rel="import" href="packages/polymer/polymer.html">
<polymer-element name="my-polymer-a">
    <template>

Hello I'm A

    </template>

</polymer-element>
mypolymerB.html
<link rel="import" href="packages/polymer/polymer.html">
<polymer-element name="my-polymer-b">
    <template>

Hello I'm B

    </template>

</polymer-element>
mypolymers.dart
import 'package:polymer/polymer.dart';
@CustomTag('my-polymer-a')
class MyPolymerA extends PolymerElement {

  MyPolymerA.created() : super.created();

}
@CustomTag('my-polymer-b')
class MyPolymerB extends PolymerElement {

  MyPolymerB.created() : super.created();

}

This issue has been moved to dart-lang/polymer-dart#323.


text:
No way to catch error thrown by WebSocket.addError()

Consider the following simple usage of the dart:io WebSocket class:
import 'dart:async';
import 'dart:io';

main() async {
  // Connect to a web socket.
  WebSocket socket = await WebSocket.connect('ws://echo.websocket.org');

  // Setup listening.
  Completer done = new Completer();
  socket.listen((message) {
    print('message: $message');
  }, onError: (error) {
    print('error: $error');
  }, onDone: () {
    print('socket closed.');
    done.complete();
  }, cancelOnError: true);

  // Add message, and then an error.
  socket.add('echo!');
  socket.addError(new Exception('error!'));

  // Wait for the socket to close.
  await done.future;
}

When you add an error to the websocket sink, it eventually gets added to the StreamConsumer tied to the underlying socket, which results in a completer being completed with the error. This happens in an async zone, and the exception is thrown, but cannot be caught.
On one hand, this is fine, because calling addError on a WebSocket instance should result in some sort of exception, but it makes it impossible (from what I can tell?) to wrap the WebSocket class and handle that error. I'm attempting to do so currently, and would like to be able to catch that error for testing purposes. Should this be possible?

@lrhn
You can use the done future on the WebSocket object to get that error, e.g.:
import 'dart:async';
import 'dart:io';

main() async {
  // Connect to a web socket.
  WebSocket socket = await WebSocket.connect('ws://echo.websocket.org');

  // Setup listening.
  socket.listen((message) {
    print('message: $message');
  }, onError: (error) {
    print('error: $error');
  }, onDone: () {
    print('socket closed.');
  }, cancelOnError: true);

  // Add message, and then an error.
  socket.add('echo!');
  socket.addError(new Exception('error!'));

  // Wait for the socket to close.
  try {
    await socket.done;
    print('WebSocket donw');
  } catch (error) {
    print('WebScoket done with error $error');
  }
}

However there was still a bug causing the subscription not to cancel. I have a fix for that in https://codereview.chromium.org/1304243005.

Great! I guess that makes sense since done is tied to the WebSocket's sink. And thanks for the quick fix on the other part!

Fixed in 373dd4b33c1efd52ef0dc0ad2a5249263b6b506d

authors: evanweible-wf sgjesse


text:
F bounded quantification bug

from @vsmenon, moved from https://github.com/dart-lang/dev_compiler/issues/357

From f_bounded_quantification2_test.dart:
class Entities<T extends ConceptEntity<T>> implements EntitiesApi<T> { }

class ConceptEntity<T extends ConceptEntity<T>> implements EntityApi { }

abstract class EntityApi<T extends EntityApi<T>> { }

abstract class EntitiesApi<T extends EntityApi<T>> { }

class Concept extends ConceptEntity<Concept> { }

main() {
  new ConceptEntity<Concept>();
  new ConceptEntity<ConceptEntity>();
}

is triggering the following errors - newly in the task model strong mode:
severe: [AnalyzerMessage] 'T' does not extend 'EntityApi<T>' (test/codegen/language/f_bounded_quantification2_test.dart, line 7, col 67)
severe: [AnalyzerMessage] 'ConceptEntity' does not extend 'ConceptEntity<ConceptEntity>' (test/codegen/language/f_bounded_quantification2_test.dart, line 19, col 21)

This particular test isn't strictly blocking - we don't support this pattern yet in codegen, but it is a regression.

I believe this is the issue I'm hitting now. I've spent the last day or so moving projects to strong mode, adding generic method parameters and getting rid of analyser warnings.
But when I go to run the unit tests pretty much everything blows up now like

  'package:frentity/src/model/entity/state.dart': malbounded type: line 12 pos 31: type parameter 'S' of class 'ComponentState' must extend bound 'ComponentState<S>', but type argument 'AddIssueSourceMember' is not a subtype of 'ComponentState<AddIssueSourceMember>'

  abstract class ComponentState<S extends ComponentState<S>> {
                                ^
  'package:gissue_client_models/src/client/model/repos/add_issue_source_list_editor.dart': malbounded type: line 181 pos 51: type 'AddIssueSourceMember' has an out of bound type argument
  class AddIssueSourceMember extends RepoListMember<AddIssueSourceMember> {
                                                    ^
  'file:///Users/blah/dart/backlogio_acdart/gitbacklog_root/gissue_root/gissue_client_models/test/client/model/repos/add_issue_source_list_editor_test.dart': malbounded type: line 30 pos 3: type 'AddIssueSourceListEditor' has an out of bound type argument
    AddIssueSourceListEditor editor;
    ^

Looking at the classes referenced here I believe the analyser is correct and the problem is at runtime.
class AddIssueSourceMember extends RepoListMember<AddIssueSourceMember> {}

class RepoListMember<M extends RepoListMember<M>>
    extends AbstractListMember<GitRepo, M> {}

abstract class AbstractListMember<E, M extends AbstractListMember<E, M>>
    extends ComponentState<M> {}

abstract class ComponentState<S extends ComponentState<S>> {}

class AddIssueSourceListEditor extends RepoListEditor<IssueSourceState,
    IssueSourceEntity, AddIssueSourceMember, AddIssueSourceListState> {
}

Any suggestions on a workaround? This is breaking many of my tests

Do you have a self contained set of classes that exhibit the problem?  What did the original code look like?

I'll work on a repro. I might wait till https://github.com/dart-lang/sdk/issues/25568 is fixed on the odd chance that it is in some way related as it relates to similar classes

This version doesn't have any strong mode errors in the latest build:
class Entities<T extends ConceptEntity<T>> implements EntitiesApi<T> { }
class ConceptEntity<T extends ConceptEntity<T>> implements EntityApi<T> { }
abstract class EntityApi<T extends EntityApi<T>> { }
abstract class EntitiesApi<T extends EntityApi<T>> { }
class Concept extends ConceptEntity<Concept> { }

main() {
  new ConceptEntity<Concept>();
}

... so it may be possible to use this now.

thanks to @zoechi for pointing this out :)

@jmesserly I'm not aware I was involved

this test is no longer marked failing.

authors: Andersmholmgren jmesserly vsmenon zoechi