text:
Styling does not work

I have tried to update colorlist in global config, but it does not work.
Check stackblitz: https://stackblitz.com/edit/minimal-confirm-box-s13g4b

Same here, doesn't matter what colours I set in app.module, they do not change.
I had to add CSS to my global styles, eg:
.ed-btn-customone {
  background-color: #2d922d; // slightly darker main color green, to override costlypopup CUSTOMONE
}

Sorry for waiting so long, fixed it in 3.1.4 release https://github.com/costlydeveloper/ngx-awesome-popup/releases/tag/3.1.4
https://stackblitz.com/edit/minimal-confirm-box-o6ubr5?file=package.json

authors: costlydeveloper mdudek rmcsharry

repo: costlydeveloper/ngx-awesome-popup


text:
How to disable scroll animation when user tap TOC in a post

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar question on existing issues (including closed ones).
[x] I searched the Internet for related problems, but still couldn't solve it.
[x] My question is based on the latest code of master branch.

Description
If a blog post has a lot of images , when the user clicks TOC, however, it didn't jump to the right position.
The reason for this problem is that the loading of the image changes the frame of the page during the scrolling animation.
This issue can be avoided if the page can jump without animation.
So, here's my question: how to turn off the scrolling animation when user tap TOC ?

Demo post (Using  chirpy theme with scroll animation )：

https://huang-libo.github.io/posts/Objective-C-Runtime-Changes-in-iOS-14/ ,  you can try to recurrence the issue by clicking the last item in the TOC.
On GitHub, there is no animation for the jump inside the page, so you can jump to the exact location, demo ： https://github.com/Huang-Libo/Huang-Libo.github.io/blob/master/_posts/2021-05-17-Objective-C-Runtime-Changes-in-iOS-14.md

Demo post (Using  chirpy theme without scroll animation ):

https://onevcat.com/2019/12/2019-final/

Lastly, thanks for the amazing theme, really appreciate your hard work!

平滑滚动是写在 _javascript/utils/smooth-scroll.js 里的，要禁用该脚本，可以先把 gulpfile.js/tasks/js.js 里
const postJs = () => {
  return concatJs([
    `${JS_SRC}/commons/*.js`,
    `${JS_SRC}/utils/img-extra.js`,
    `${JS_SRC}/utils/timeago.js`,
    `${JS_SRC}/utils/lang-badge.js`,
    `${JS_SRC}/utils/checkbox.js`,
    `${JS_SRC}/utils/copy-link.js`,
    // 'smooth-scroll.js' must be called after ToC is ready
    `${JS_SRC}/utils/smooth-scroll.js`
  ], 'post'
  );
};

的 ${JS_SRC}/utils/smooth-scroll.js 删掉，然后用 npm install -g gulp-cli 安装 gulp.js，使用 gulp 命令重新生成 assets/js/dist 目录下的那几个 *.min.js 文件。

基于 @NichtsHsu  的回答做补充：
如果 theme 是使用 gem 添加的，则先在自己项目的根目录添加 _javascript 和 gulpfile.js 目录，然后修改 gulpfile.js/tasks/js.js，删除 ${JS_SRC}/utils/smooth-scroll.js 这一行。
如果没安装 gulp ，先安装相关 npm 包：
npm install gulp-cli -g
npm install gulp -D
npm install --save-dev gulp-concat
npm install --save-dev  gulp-rename
npm install --save-dev  gulp-uglify
npm install --save-dev  gulp-insert

最后，在项目的根目录执行 gulp 命令，即可重新生成 assets/js/dist 目录下的那几个 *.min.js 文件。

上述方法需要改 theme 源码，有没有什么方法可以把 smooth scroll 设置成可配的呢？
比如在 _config.yml 中通过一个布尔值来设置，不知是否可行？
还有，如果用户真想用 smooth scroll，图片较多时，滚动的位置就不准确，这个 bug 该怎么解呢？

Hi @Huang-Libo, 平滑滚动是可以明显提升用户体验的一个特性，所以不曾想过、当然将来也不会关闭它，假如做为配置项那就是等于开倒车了。。。
滚动位置不准这个是由于图片加载后浏览器会重绘页面元素，导致滚动部分的逻辑计算位置也会跟着出现偏差，目前我已经有思路去改进这个体验了，请关注后续的 commit。

source: gharchive/issue

authors: Huang-Libo NichtsHsu cotes2020

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Mainnet [TezTools] (eu01-node.teztools.net) is down

In 2d9cee9, Mainnet [TezTools] (eu01-node.teztools.net) (https://eu01-node.teztools.net/chains/main/blocks/head/header) was down:

HTTP code: 502
Response time: 563 ms

Resolved: Mainnet [TezTools] (eu01-node.teztools.net) is back up in 74729f2.

repo: cotezos/teznodes


text:
Port iOS's View.updateIndex() - multi-view index update

iOS's View.updateIndex() updates multiple views. This might improve updateIndex() performance.

Dup of #681

authors: hideki zgramana

repo: couchbase/couchbase-lite-java-core


text:
Changes for compatibility with ES 2.x

Changes to make plugin compatible with ES 2.x

Still testing... Please wait until my next comment to merge.

One additional thing that I haven't looked into yet is the compatibility with other ES plugins, namely "marvel".  In my attempts to get the transporter to work with ES 2.0 (note that this PR is actually for ES 2.x), I noted that the ".%DATE%"-type indices created by "marvel" were configured to not allow dynamic mapping, which caused issues when the transporter tried to connect to them (during the couchbaseCheckpoint transport process).
I'm not sure if there are 2.x-compatible versions of the other ES plugins, so I'm not sure if that is an issue for this particular PR.
I would add code to just filter out ES indices that begin with '.', but I'm not sure if that is going to have any repercussions with the XDCR contact, etc.  Any guidance on this issue would be appreciated.

source: gharchive/pull-request


text:
Tests not fully supported on Windows.

Our integration tests rely on starting and stopping a temporary CouchDB server. On Windows there are some problems doing this.
Consequently, the integration test get_view fails.
$ cargo test get_view
     Running target\debug\commands-8c77530f0accee12.exe

running 1 test
test get_view ... FAILED

failures:

---- get_view stdout ----
        thread 'get_view' panicked at 'called `Result::unwrap()` on an `Err` value: InternalServerError { response: ErrorResponse { error: "EXIT", reason: "{{badmatch,{error,{bad_return_value,{os_process_error,{exit_status,4}}}}},\n [{couch_query_servers,new_process,3,\n                       [{file,\"c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_query_servers.erl\"},\n                        {line,477}]},\n  {couch_query_servers,lang_proc,3,\n                       [{file,\"c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_query_servers.erl\"},\n{line,462}]},\n  {couch_query_servers,handle_call,3,\n[{file,\"c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_query_servers.erl\"},\n                        {line,334}]},\n  {gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,585}]},\n  {proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}" } }', ../src/libcore\result.rs:732

failures:
    get_view

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured

thread '<main>' panicked at 'Some tests failed', ../src/libtest/lib.rs:252

Also, the integration tests assume CouchDB is installed in the default path. From src/server.rs:
c.arg("c:/program files (x86)/apache software foundation/couchdb/etc/couchdb/default.ini");
c.arg("c:/program files (x86)/apache software foundation/couchdb/etc/couchdb/local.ini");

Lastly, the tests run slowly, and CPU use for the test executable seems excessive.

The root cause is with how the tests manage the CouchDB server process. More specifically, the Server class spins, reading continually from the server process's stdout stream.
The Server class reads stdout to obtain the server's URI. Then the Server class drains stdout by continually reading line-by-line, ignoring each line. However, on Windows, these read operations return immediately, and the result appears to be the empty string.
Also, on Windows, the CouchDB server process is spamming stdout. Adding -sasl errlog_type error to the command line invocation reduces the output, but it doesn't resolve this issue.

This will be fixed via #21.

repo: couchdb-rs/couchdb

license_source: bigquery


text:
readme

fix the read-me entirely. make sure it is no longer knitted / markdown. also, @ciretje already had some updates with names and stuff it appears lost. maybe you could locate it.
If you want to see the sepearte details (e.g., fix title etc) see recorded video

good work linda. i have finalized your changed


text:
Update jsoniter-scala-core, ... to 2.2.2

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.2.1 to 2.2.2.
GitHub Release Notes - Version Diff
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 = "com.github.plokhotnyuk.jsoniter-scala" } ]

labels: library-update, semver-patch

Superseded by https://github.com/coursier/coursier/pull/1709.

authors: alexarchambault scala-steward

repo: coursier/coursier


text:
Add byte-array returning methods

TODO: implement decodeQRDataAsBytes

Will return to this in the future.

repo: cozmo/jsQR


text:
Accept non-ASCII octets in percent-decoding

This PR fixes #118. All unit tests passed.

Removed code that throws when an octet outside ASCII is detected.
Changed a unit test that asserts decoding %80 does not throw.
Added a unit test that asserts decoding some UTF-8 does not throw.

Many thanks for the report and for the PR. I can confirm that the does what it's expected to do.
FYI, I developed a "successor" to this URI implementation, based on the WhatWG spec. The percent encoding implementation there behaves the same way as your fix.

Thanks for merging. I already have an eye on your url project (looks promising), but I cannot switch at the moment since I am using cppnetlib which depends on network::uri.

authors: glynos mtrenkmann

repo: cpp-netlib/uri


text:
News items display

News listings display needs updating.
TBD all changes, but these seem like a reasonable starting point:

Title of item links to news detail page

This is always necessary even for Link types since this is the only page a user can edit/delete from

URL displayed underneath, directly linking to the URL
If content exists, have short preview.  No need for any "Read more" link since the title of the item links to it.
Include the author's name followed by published date after
If an image was added, the image needs to have some styling applied.  Should not be floating extreme right of the item info, if there was no description, the image can appear where the description would have.

@gregnewman I forgot I had assigned this to myself.
I like what you showed me already, but I do think we should have the author's name and the published date displayed.  Along with having the image appear more nicely (or, I'm not opposed to not actually showing the image here either and only having it on the detail page).

@4down this has been merged in PR #830 so if you confirm the work you can close it.

repo: cppalliance/temp-site


text:
数据无法动态显示

按教程成功部署好了，但我发现您给出的 DEMO 上服务器的数据是动态展示的，而我自己部署的却是静态的，要手动刷新页面后，网络等数据才变化。

查看nginx是否做了缓存~ @pkuplus

@cppla
查看了 PHP 确实启用了 Zend Opcache，关闭后可以了。就是刷新频率比较慢，您的刷新间格设置是多久？

默认是1秒，可以自己调。 @pkuplus ，查看演示：https://tz.cloudcpp.com

@cppla  我默认也是1秒，但差不多几十秒才自动刷新一次，而您的演示站刷新频率几乎是时时的。

检查是否开启缓存，反代，正代等。 我这边刷新频率是1s，同时我nginx缓存是1s，其实间隔2s刷新 @pkuplus

@cppla 好的。
我刚用秒表看了下，大概30秒刷一次，我再检查下再回复。

  location ~ [^/]\.php(/|$) {
    #fastcgi_pass remote_php_ip:9000;
    fastcgi_pass unix:/dev/shm/php-cgi.sock;
    fastcgi_index index.php;
    include fastcgi.conf;
  }

  location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
    #expires 30d;
    #access_log off;
    add_header Cache-Control no-cache;
  }
  location ~ .*\.(js|css)?$ {
    #expires 7d;
    #access_log off;
    add_header Cache-Control no-cache;
  }
  location ~ /\.ht {
    deny all;
  }

nginx 中的静态缓存我已经注释掉了，但观察发现刷新是30秒一次，请问我还需要检查哪里？

肯定是你nginx或者apache、tomcat等后端server 的问题， 你这是部分配置把 ？ 检查你的主nginx配置和 ServerStatus 所绑定的nginx配置文件。 和php缓存无关，这个不依赖php。你可以自行检查，f12 chrome调试。https://s1.ax1x.com/2018/03/13/9fbksU.gif

@pkuplus ，其实你可以针对这个Server Status 网站的目录，重写覆盖下nginx配置，既不会影响原有缓存配置，同时该ServerStatus也会是实时更新。nginx 配置本身就是模块化的，可以绑定某virtual host做重载。

#If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
  open_file_cache max=1000 inactive=20s;
  open_file_cache_valid 30s;
  open_file_cache_min_uses 2;
  open_file_cache_errors on;

找到原因了，是 nginx.conf 配置中的 open_file_cache_valid 30s; 的原因。谢谢帮助！@cppla

authors: cppla pkuplus

repo: cppla/ServerStatus


text:
More data

Continuing the experiment to see where it goes.
It works for me, and I think the team will like it.  Plus, cookies...

Not sure about this...  Have you tested it really well?

OK...  I'll go with it this time...


text:
Add FHIR R4 to the translator

Add support for the released FHIR R4 version.

Adressed in 1.3.14


text:
Overflow content choice

Why the scrollbar to manage the overflow content is put in the modal/alert rather than on the windows (with overflow:auto ) ? On Tablet or mobile device, when the scrollbar is attach to the device screen, i think that it's better and simply to scroll content (in the case where the content overflow the height of the screen) ?
Actually :

Can be maybe better ? :

Moreover, i noticed that you have added a new theme. If we want put many text it's not very pretty...

when you think to do this ?

Hello @usb248 Thanks for the suggestion,
I will implement this in the next release.
:)

Ok nice, Why we can't choice the width of alert/confirm/dialog other than by modifying CSS ?

Yes i will be adding choice of width,
https://github.com/craftpip/jquery-confirm/issues/27
bootstrap columns will be provided to set the widths.

So, cool ! I wait your release ;).
An other improvement which can be very nice. Adding hash tracking by manupulating browser history (by adding #hash... ) like this similar plugin http://vodkabears.github.io/remodal/.

Hello @usb248 The overflow feature you said is added in the new release,
Other feature about tracking with #hash, what is a practical usage with this?
Thanks

When we press back/next button (on some the mouse, or browser windows to navigate in the browser history), the alert/confirm/dialog come back
When we refresh the page, the alert/confirm/dialog don't disappear, it remains displayed.

repo: craftpip/jquery-confirm


text:
Organize unit tests

This is a first in a series of PRs that will update our testing infrastructure.
This PR organizes test files into appropriate subdirectories.
Next PR will update qunit version and all unit tests that run in browser in node:

All test commands are no longer available on global scope, but rather on QUnit itself.
Assertion methods are called on an argument passed into the test functions.

Looks good to me -- I confirmed that the tests still ran from the grunt commands and index.html, and that the number of tests matched between this branch and develop.

authors: mucaho starwed

repo: craftyjs/Crafty

license: mit


text:
Updates for most recent versions of node+packages

I tried updating to the most recent versions of node and all the various packages.
I ran into some sort of issue with node-qunit, where it complained about being unable to find lib/log.js.  I don't know if this is a problem with my install, or the package itself.  grunt-node-qunit looks to be about 3 years old, so that might be the root of the issue.
I'd assume we should try to resolve that issue one way or the other before merging this.
(e: Forgot to bump the version of .travis.yml.)

I would changing node version to latest LTS, that's 4.2.2.
node-qunit is a fantastic node module - I'm currently implementing visual regression tests (#950, current progress see webdriver branch) and I'm heavily relying on it.

I would change node version to latest LTS, that's 4.2.2.
node-qunit is a fantastic node module - I'm currently implementing visual regression tests (#950, current progress see webdriver branch, see crafty distro gh-pages branch for preliminary screenshots) and I'm heavily relying on it.

Downgraded to 4.2.2, and that seemed to solve the issue with grunt-node-qunit.  I suspect that the issue is in the grunt wrapper, since it hasn't been upgraded in so long.  As long as we rely on it, it'll block us from upgrading node.  (That said, I bet it'd be pretty easy to fix/fork the grun wrapper.)

I see that you actually just had a PR merged into that grunt-node-qunit, so good to know the maintainer is still around.

@mucaho  Not sure if it's related to the changes in this PR, but there seems to be some issue where the sauce-labs task has hung.

As long as we rely on it, it'll block us from upgrading node ...
... good to know the maintainer is still around.

Yeah let's cross that bridge when we come to it :)

there seems to be some issue where the sauce-labs task has hung

Happened to me too on occasion, I think their servers get overloaded from time to time, I usually fixed it by triggering a rebuild on Travis' website. (It also doesn't help that I have been stressing their servers a bit lately until I can get the configuration fine-tuned).

Ah yes, would you try adding ^ in front of every dependency, so we can depend on "semantically similar" versions.

Ah yes, would you try adding ^ in front of every dependency, so we can depend on "semantically similar" versions.

Sure, I was lazy and just used npm-check-updates to updated package.json -- I think it kept the prefixing the same, but obviously we should be consistent unless there are specific issues.

Added the ^ qualifier to each dependency.

The open-sauce tests don't run on PRs, they just run after something is merged into a Crafty repo branch (limitation described in PR).
However, I don't fully grasp why the Open-Sauce connect plugin (that one that gave you the error) started and failed in the first place in your previous build (the required open sauce credentials should only be available when running a build for craftyjs/Crafty).
Either way, I think it's best to change it so that the cloud tests are performed when it matters - only on the testing branch before release. We have tested it now that Crafty's JS side works on different browser, they just add too much delay and unpredictability for the day-to-day builds. This will be in the upcoming PR I'm finishing.

Going to go ahead and merge this.


text:
remove unnessesay firewall-config package

Can somebody explain the need for firewall-config?

It provides a GUI AFAIK, we can probably drop it as a default

:+1:

Probably better as an optional parameter defaulting to false....

Added to 2.2.0

authors: crayfishx helge000 pioto

repo: crayfishx/puppet-firewalld


text:
Test won't work for Puppet 4.0.0

As rspec-puppet breaks with puppet 4.0.0 (see rodjek/rspec-puppet#663),
I propose to drop tests and support for puppet 4.0.0

The module still works, if its just the rspec that fails I think it would make more sense to just pin rpsec-puppet to 2.6.9, or whichever last known good version works for puppet 4.0.0

see #179

Thanks for that @jfroche - thats merged - I'm re-running the other tests and will try and get the remainng PR's (most of them yours! :-)) merged shortly and 3.5.0 relased. Thanks for all the contributions!

authors: crayfishx jfroche


text:
Delete key fails when you use set a subkey for the fingerprint input

Behaviour
If you use the input fingerprint with the fingerprint of the subkey, the Post import GPG key step tried to delete the key using the fingerprint of the subkey. I suppose you have to use the KeyID (fingerprint of the primary key).
Steps to reproduce this issue
They were described in this PR.
Expected behaviour
I should delete the key.
Actual behaviour
It does not delete the key and it was correctly imported into the keyring.
Configuration

Repository URL (if public): https://github.com/Nautilus-Cyberneering/chinese-ideographs-website
Build error URL (if public): https://github.com/Nautilus-Cyberneering/chinese-ideographs-website/runs/5336399157?check_suite_focus=true#step:21:3

Logs

I am experiencing this in v5 of the action when passing & loading only a signing subkey. It tries to delete using the fingerprint of the pubkey which is discovered via the subkey.
t3chguy@Michael-t3chguy-MBP ~> gpg --list-keys --with-subkey-fingerprints D7B0B66941D01538
pub   rsa4096 2019-04-15 [SC] [expires: 2024-04-13]
      12D4CD600C2240A9F4A82071D7B0B66941D01538
uid           [ unknown] riot.im packages <packages@riot.im>
sub   rsa3072 2019-04-15 [S] [expires: 2023-04-15]
      75741890063E5E9A46135D01C2850B265AC085BD

repo: crazy-max/ghaction-import-gpg


text:
Improve protocol documentation

Do you think there is a way to disable automatic build just for this PR? Maybe we can cancel it early or something since it does not make sense to increment version number just for documentation changes.

Version number only increments when a release is manually made

oh then awesome


text:
Staging Site Settings for IPN Testing

This relates to #27691 in Redmine and the Recurring Contributions Extension testing:
Here's the staging site for the new Creative Commons Gravity Forms donation page:
https://staging.creativecommons.org/donate/
September 16th we started discussing with Affinity Bridge how we would handle the IPN messages from PayPal after a transaction occurs. We said that the Civi extension we are writing needs IPN messages in order to create a new Civi contribution when a recurring contribution occurs. It doesn't look like Paypal IPN messages can be sent to multiple urls, so all the messages need to go to a single url and we need to figure out how to get both platforms the info they need.
Affinity Bridge said that they do not need the IPN messages. To that end, we agreed that CiviCRM will maintain donation tracking.
CiviCRM can get all the information it needs to track the user and transaction records through the IPN. If the relevant IPN message contains a unique GF_entry_ID that we can use to relate the IPN message back to the Gravity Forms entry, that would be great. So, since everyone agrees that Gravity Forms doesn't need to receive any IPN messages from Paypal, it would be fine to point the IPN to CiviCRM when we launch the CiviCRM part of this project.
NOTE: We said that we would not want to update the notify_url before the CiviCRM part of this project launches, because then any interim notification messages would not be recorded or processed by anyone.
Robin from Affinity Bridge said:

CiviCRM is the authority on donation tracking (one-time and recurring). Gravity Forms (GF) does not need to host an authoritative copy of the transactional data (ie. records of PayPal Transaction ID or subsequent recurring payment records). Gravity Forms is currently doing this but does not necessarily need to.

CiviCRM can get all the information it needs to track the user and transaction records though the IPN (or some other mechanism, like GF API callbacks).

Can you confirm these assumption are correct?
Our team did some testing with the PayPal sandbox settings on the stage server. If we do not point the IPN on PayPal back to Gravity Forms we still can offer the person making the donation the same user experience; we simply do not get the PayPal transaction id pushed back to Gravity Forms.
So if our assumptions are correct we might just wish to point the IPN to CiviCRM. It is good to also note that the IPN response includes a custom field with a value for GF_entry_ID which maps to the entry in Gravity Forms (good for tracking from Civi to GF).
If our assumptions are incorrect, then we should discuss the development of the IPN broadcasters as you suggested below. My feeling is that your team is in the best position to develop this piece.

Given that, on October 4th we asked Creative Commons to help us set up their staging site to use our test PayPal account, and to stop setting an IPN endpoint in your PayPal requests. That way we would be able to control the IPN endpoint via our test PayPal account and then have any IPN messages sent to our developer. The end goal is to be able to make and track test payments on the CC staging site (only) through PayPal.
The settings for the test Paypal account we are using are as follows:

Merchant Account Email: jliu@giantrabbit.com
Site URL + Recurring Payments URL: https://www.sandbox.paypal.com/

After some setup with Rob, it appeared that the notify_url in the PayPal link was still set to the staging site url instead of being left blank:
https://www.sandbox.paypal.com/cgi-bin/webscr/?notify_url=https%3A%2F%2Fstaging.creativecommons.org%2F%3Fpage%3Dgf_paypal_ipn&charset=UTF-8&currency_code=USD&business=jliu%40giantrabbit.com&custom=74356|a26e8869a48ade3dbe6c76b27169af32&first_name=Giant&last_name=Rabbit&email=jliu%2Bdonate%40giantrabbit.com&address1=2748+Adeline+St.%2C+Suite+A&city=Berkeley&state=CA&zip=94703&country=US&cbt=Click here to continue&no_note=1&no_shipping=1&return=https%3A%2F%2Fstaging.creativecommons.org%2Fdonate%2F%3Fgf_paypal_return%3DaWRzPTN8NzQzNTYmaGFzaD04NjkzZGU2ZmY4NmY3ZWEzNTdkNThlYWRmOTBlMGRmMA%3D&rm=2&cmd=_xclick-subscriptions&item_name=Amount&a3=15&p3=1&t3=M&src=1&sra=0&bn=Rocketgenius_SP#gf_3
On October 6th, Floyd from Affinity Bridge said:

Yes, it looks like the GravityForms PayPal plugin hardcodes that parameter in the query string.
https://github.com/creativecommons/new-creativecommons.org/blob/master/plugins/gravityformspaypal/class-gf-paypal.php#L607-L613
It could be patched to not include that parameter.

We are currently discussing with Affinity Bridge if the sandbox testing from September 20th is representative of what is currently on the staging site, in which case the patch should probably be applied or if the staging site settings have changed since Robin tested not pointing the IPN back to Gravity Forms and we can simply reapply his settings.

@robmyers a pull request for removing the IPN from the GF requests has been submitted in the new site repos.
https://github.com/creativecommons/new-creativecommons.org/pull/30

It looks like we are now able to receive PayPal IPN messages for test donations to our development environment:

authors: alkrieger fmann


text:
[Feature Request] Guide to update for react 17?

What is your enhancement?
is there any guidance on how to update this package to reactjs 17?
I've been trying to figure it out but I'm still not sure how to do it, anyway this is a really great template!

Hello, @ahmadxgani ! Thanks for using our products! The product already is at React v17! If you are using v16, there are no breaking changes while migrating.
Regards, Vlad.

authors: ahmadxgani simmmpleweb


text:
Install FindSecBugs

...and suppress false positives.  (No actual issues found)
Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 94.007%. Remained the same when pulling 2e2ba8cc41ed9fae9c52025cc9981fb07e80e24c on sec into 0e1dd5b0b668d66f7b33bba1b43871929a211563 on main.

authors: big-andy-coates coveralls

repo: creek-service/creek-json-schema


text:
Imbalanced learning simple solution

It would be nice to see if we could implement something simple to handle imbalanced learning. This could be part of a new sub-module called imblearn in reference to the imbalanced-learn  library.

I'm on it and I'm proposing two things:

Weighted cross-entropy
The focal loss

You can add a weight parameter to LogLoss too, no?

Yes :)

We'll need to find a dataset and do a comparison with and without the new losses.

Credit Card Fraud Detection the dataset is high imbalanced, with only 0.17% of transactions being classified as fraudulent

It seems like a good data set.

Yep it's perfect! Let's add it to the datasets module.

@AdilZouitine I added weight parameters to losses.Log and losses.CrossEntropy. Once we add losses.Focal we can close this issue :)

authors: AdilZouitine MaxHalford

repo: creme-ml/creme


text:
FIX: Intermittent spec failure

First run, all pass
> rspec
............................................................................................................................................................................................

Finished in 12.18 seconds (files took 2.8 seconds to load)
188 examples, 0 failures

Second run, several fail
> rspec
WARN: Unresolved specs during Gem::Specification.reset:
      diff-lcs (< 2.0, >= 1.2.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
...................................................FFF....................................................................................................................FFFFFFFFFF..F.....

Failures:

  1) Setting and changing an articles published_at date updating an existing article
     Failure/Error: expect(page).to have_content 'Logged in!'
       expected to find text "Logged in!" in "Retry later"
     # ./spec/spec_helper.rb:31:in `login_user'
     # ./spec/features/article_datetime_settings_spec.rb:38:in `block (2 levels) in <top (required)>'

  2) Setting and changing an articles published_at date Saving an article without entering publication date info
     Failure/Error:
       within('main') do
         fill_in 'username', with: 'user1'
         fill_in 'password', with: 'c'*31
       end

     Capybara::ElementNotFound:
       Unable to find visible css "main"
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:313:in `block in synced_resolve'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/base.rb:85:in `synchronize'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:302:in `synced_resolve'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:37:in `find'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/session.rb:776:in `block (2 levels) in <class:Session>'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/session.rb:333:in `within'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/dsl.rb:50:in `block (2 levels) in <module:DSL>'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/rspec/matcher_proxies.rb:14:in `within'
     # ./spec/spec_helper.rb:26:in `login_user'
     # ./spec/features/article_datetime_settings_spec.rb:62:in `block (2 levels) in <top (required)>'

  3) Setting and changing an articles published_at date Using 'PUBLISH NOW' feature
     Failure/Error:
       within('main') do
         fill_in 'username', with: 'user1'
         fill_in 'password', with: 'c'*31
       end

     Capybara::ElementNotFound:
       Unable to find visible css "main"
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:313:in `block in synced_resolve'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/base.rb:85:in `synchronize'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:302:in `synced_resolve'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/node/finders.rb:37:in `find'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/session.rb:776:in `block (2 levels) in <class:Session>'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/session.rb:333:in `within'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/dsl.rb:50:in `block (2 levels) in <module:DSL>'
     # /Users/s/.gem/ruby/2.4.1/gems/capybara-2.15.1/lib/capybara/rspec/matcher_proxies.rb:14:in `within'
     # ./spec/spec_helper.rb:26:in `login_user'
     # ./spec/features/article_datetime_settings_spec.rb:81:in `block (2 levels) in <top (required)>'

  4) Pagination Redirects archives redirects on page 1
     Failure/Error: expect(response).to redirect_to("/2017/01/01/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:8:in `block (3 levels) in <top (required)>'

  5) Pagination Redirects archives redirects when no page number given
     Failure/Error: expect(response).to redirect_to("/2017/01/01/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:14:in `block (3 levels) in <top (required)>'

  6) Pagination Redirects categories redirects on page 1
     Failure/Error: expect(response).to redirect_to("/categories/slug/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:22:in `block (3 levels) in <top (required)>'

  7) Pagination Redirects categories redirects when no page number given
     Failure/Error: expect(response).to redirect_to("/categories/slug/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:28:in `block (3 levels) in <top (required)>'

  8) Pagination Redirects tags redirects on page 1
     Failure/Error: expect(response).to redirect_to("/tags/slug/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:36:in `block (3 levels) in <top (required)>'

  9) Pagination Redirects tags redirects when no page number given
     Failure/Error: expect(response).to redirect_to("/tags/slug/")

       Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
       Response body: Retry later
     # ./spec/requests/paginations_spec.rb:42:in `block (3 levels) in <top (required)>'

  10) Pagination Redirects videos redirects on page 1
      Failure/Error: expect(response).to redirect_to("/videos/")

        Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
        Response body: Retry later
      # ./spec/requests/paginations_spec.rb:50:in `block (3 levels) in <top (required)>'

  11) Pagination Redirects videos redirects when no page number given
      Failure/Error: expect(response).to redirect_to("/videos/")

        Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
        Response body: Retry later
      # ./spec/requests/paginations_spec.rb:56:in `block (3 levels) in <top (required)>'

  12) Pagination Redirects admin redirects on page 1
      Failure/Error: expect(response).to redirect_to("/admin/videos/")

        Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
        Response body: Retry later
      # ./spec/requests/paginations_spec.rb:64:in `block (3 levels) in <top (required)>'

  13) Pagination Redirects admin redirects when no page number given
      Failure/Error: expect(response).to redirect_to("/admin/videos/")

        Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>
        Response body: Retry later
      # ./spec/requests/paginations_spec.rb:70:in `block (3 levels) in <top (required)>'

  14) Rack::Redirect doesn't redirect when not found
      Failure/Error: expect(response.status).to eq(200)

        expected: 200
             got: 429

        (compared using ==)
      # ./spec/requests/redirects_spec.rb:19:in `block (2 levels) in <top (required)>'

Finished in 8.15 seconds (files took 2.95 seconds to load)
188 examples, 14 failures

Failed examples:

rspec ./spec/features/article_datetime_settings_spec.rb:33 # Setting and changing an articles published_at date updating an existing article
rspec ./spec/features/article_datetime_settings_spec.rb:61 # Setting and changing an articles published_at date Saving an article without entering publication date info
rspec ./spec/features/article_datetime_settings_spec.rb:75 # Setting and changing an articles published_at date Using 'PUBLISH NOW' feature
rspec ./spec/requests/paginations_spec.rb:5 # Pagination Redirects archives redirects on page 1
rspec ./spec/requests/paginations_spec.rb:11 # Pagination Redirects archives redirects when no page number given
rspec ./spec/requests/paginations_spec.rb:19 # Pagination Redirects categories redirects on page 1
rspec ./spec/requests/paginations_spec.rb:25 # Pagination Redirects categories redirects when no page number given
rspec ./spec/requests/paginations_spec.rb:33 # Pagination Redirects tags redirects on page 1
rspec ./spec/requests/paginations_spec.rb:39 # Pagination Redirects tags redirects when no page number given
rspec ./spec/requests/paginations_spec.rb:47 # Pagination Redirects videos redirects on page 1
rspec ./spec/requests/paginations_spec.rb:53 # Pagination Redirects videos redirects when no page number given
rspec ./spec/requests/paginations_spec.rb:61 # Pagination Redirects admin redirects on page 1
rspec ./spec/requests/paginations_spec.rb:67 # Pagination Redirects admin redirects when no page number given
rspec ./spec/requests/redirects_spec.rb:16 # Rack::Redirect doesn't redirect when not found

Not sure if this is just me or if I did something to cause it. Or if it's intermittent for everyone.

This may be obvious, but have you tried bundle exec rspec ? If it's selecting wrong gems, you can also remove non relevant gems with bundle install --clean

I got this too after 4-5 repeated runs (@shushugah, even with bundle exec rspec)
@veganstraightedge if you look at the failed specs they are all something like:
Expected response to be a <3XX: redirect>, but was a <429: Too Many Requests>

pretty sure this is rack-attack detecting the test suite as a ddos.
Will look into how to disable rack-attack in test

repo: crimethinc/website


text:
2024-01-06

:loud_sound:Crisp Weekly 2024-01-06 is now in collecting.

/post

Sampling with SQL
https://blog.moertel.com/posts/2024-08-23-sampling-with-sql.html

/post

Vector Databases Are the Wrong Abstraction
https://www.timescale.com/blog/vector-databases-are-the-wrong-abstraction/

/post

HTML Form Validation is heavily underused
https://expressionstatement.com/html-form-validation-is-heavily-underused

/post

On Typesetting Engines: A Programmer's Perspective
https://blog.ppresume.com/posts/on-typesetting-engines

/post

On Good Software Engineers
https://candost.blog/on-good-software-engineers/

/post

Optimize your shell experience
https://thoughtbot.com/blog/optimize-your-shell-experience

/post

Errors, Errors Everywhere: How We Centralized and Structured Error Handling
https://olivernguyen.io/w/namespace.error/

/post

Constraints in Go
https://bitfieldconsulting.com/posts/constraints

repo: crispgm/weekly


text:
Add basic support for refutable if-let statements

TODO:

[x] handle array patterns
[x] don't destructure variables for refutable parts of a pattern

Codecov Report

Merging #125 (4a811bd) into main (208bacc) will increase coverage by 0.01%.
The diff coverage is 89.06%.

@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
+ Coverage   91.07%   91.08%   +0.01%
==========================================
  Files          29       29
  Lines        2789     2962     +173
==========================================
+ Hits         2540     2698     +158
- Misses        249      264      +15

Impacted Files
Coverage Δ

src/codegen/d_ts.rs
83.73% <0.00%> (+2.52%)
:arrow_up:

src/types.rs
75.73% <62.50%> (-2.84%)
:arrow_down:

src/ast/pattern.rs
71.42% <73.33%> (+4.76%)
:arrow_up:

src/infer/infer_pattern.rs
80.00% <80.00%> (-1.25%)
:arrow_down:

src/codegen/js.rs
87.67% <91.36%> (+1.70%)
:arrow_up:

src/infer/infer_expr.rs
99.31% <100.00%> (ø)

src/parser/mod.rs
98.26% <100.00%> (+0.03%)
:arrow_up:

src/parser/pattern.rs
100.00% <100.00%> (ø)

tests/integration_test.rs
98.91% <100.00%> (+0.06%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

authors: codecov-commenter kevinbarabash

repo: crochet-lang/crochet


text:
Fix Ped.CanBeKnockedOffBike

This fixes Ped.CanBeKnockedOffBike by inverting the value passed to that native. The underlying native in this function uses an enum rather than a bool, but the first two values in the enum are '0' for the default ped behavior of being able to be knocked off, and '1' for a ped never being able to be knocked off. Thus, by inverting the bool passed to this function, we can achieve the intended behavior without further changes.

There are 4 possible values according to the native doc in alloc8or's (and that leaked scripting source repo), but this change makes sense since the value type is bool.

authors: kagikn nomakewan

repo: crosire/scripthookvdotnet

license: Zlib


text:
add readme

Description of your changes
A rough readme to get something up and running. There are still things that are unclear but it'd give people an idea about what it does and how they can get started if they feel adventurous.
We'll need to do another pass in the coming weeks.
Fixes https://github.com/crossplane-contrib/terrajet/issues/32
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[x] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested
N/A

@luebken I've removed all the instructions since they are still changing fast, left only the description parts.

Added https://github.com/crossplane-contrib/terrajet/issues/75 for the instructions.

authors: luebken muvaf

repo: crossplane-contrib/terrajet


text:
Template Stacks UX: overall experience; modeling, design thinking; UX;

part of #853

What problem are you facing?

How could Crossplane help solve your problem?

I am working on this in a repository with code examples. I plan to try to create a design document to complement the code examples and Marques's design document, though there is already a chunk of design type discussion in the readme in the examples repo.

I've added an example of a resource pack which shows how one might create a resource pack to set up the baseline GCP Network resources needed to run Wordpress in GCP. Now that this example is in the repo, I'm going to switch over to getting this into a reviewable format. I expect that will be ready some time on Monday. Interested parties can already begin reviewing by taking a look at the repository though.

I've opened a pull request with a design document which refers back to the code examples in #956

As mentioned in #1011, I will be updating the design to incorporate some feedback.

I've updated the design based on some feedback - see #956

authors: prasek suskin

repo: crossplaneio/crossplane


text:
[stability][xwalk-3585] Add testapp source code for fuzz

Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Android
Android test result summary: Pass 0, Fail 1, Block 0

Fail bugId: xwalk-3575

Let's hold on this for license clarify

authors: cicili wanghongjuan

repo: crosswalk-project/crosswalk-test-suite


text:
[usecase-apptools] Add tests to test signing release for android apptools usecase

Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 1, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-5436

LGTM

authors: Honry yunxliu


text:
Add support for new parameters

Opening this PR to add support for new parameters and functions that were not in previous versions.
Majority of video functions, amp functions, all tone functions and listening modes will be added. Below is a check list that I need to work through to get all the responses decoded, then I will work through this list again to implement any functions that currently are not implemented. This is all taken from official Pioneer documentation
I have loads more changes for ha-pioneer_async lined up to include support for all of this.

[x] Power
[x] Volume
[x] Mute
[x] Input
[x] Tone Control
[x] Listening Modes
[x] DSP
[x] Channel Levels
[x] AMP
[x] Key Lock
[x] Video
[x] Zone Power
[x] Zone Input
[x] Zone Volume
[x] Zone Mute
[x] Zone Channel Level
[x] Zone Tone
[x] Information Requests
[x] Tuner
[x] iPod Operation
[ ] NETWORK Operation
[ ] ADAPTER PORT Operation
[ ] MHL Device Operation
[ ] Cursor Operation

Looking and sounding great. I got the basic functionality (on/off, input switching, volume) that I needed working and unfortunately everything else went on the backlog. The next items on my list was decoding the audio and video parameters to be able to detect stereo vs multichannel audio, and being able to tune the radio frequency - both of which are already on your list :)

Thanks, the biggest one for me was the listening modes, the remote for my AVR doesn't work very well anymore (despite replacing batteries) and the iControl app has completely stopped working on my phone, while I was at it I thought to myself "well, some other features in the app are quite useful" so decided to just go through all the docs and serial commands / responses.
I've just finished audio / video information decoding but I need some help as at the moment it is only able to if we sent ?AST or ?VST, which I need to send every time we receive input changes or power state changes.
Other solution to this (maybe) is that at least on my AVR I get a response starting with AUA / AUB when the source changes but I've found no documentation on what that actually is yet.

Sending another command when the parser (run from the connection listener task) detects a state change is a little tricky - you need to schedule a separate task to call send_command() to avoid blocking the connection listener task. This is currently done in _connection_listener() to schedule bounce_volume() when AVR power-on is detected if PARAM_POWER_ON_VOLUME_BOUNCE is enabled, you should be able to do something similar when an input or power state change is detected.

Using inspiration from the bounce_volume() functions and how that's scheduled in, I've added a command queue, which can be used to schedule in commands to run after processing the response by adding commands_to_queue.add("COMMAND HERE") in the _parse_response() function.
I don't think AST / VST will be sent in the serial session if that state changes on the AVR itself (IE, HDMI input goes from stereo to multi channel etc.)
Tuner functions complete, a few actions I haven't added as other functions take care of what they would do, list below:

TUNER PRESET (DIGIT key) - set_tuner_preset() takes care of this, but combines the class and preset digit together
TUNER CLASS change - Same as above
TUNER PRESET INCREMENT - Same as above
TUNER PRESET DECREMENT - Same as above
DIRECT ACCESS (tuner) - This sets frequency directly, but responses are more complicated to implement, for now the loop in set_tuner_frequency() takes care of this

No specific iPod functionality added, apart from just mapping the commands and being able to send those commands, might be useful in HA where we can have play/pause buttons etc. I'm not able to test this though as I don't own an iPod.

I think this is ready now, there a probably some places that could be improved on, happy to change where needed.
These two commands have been added now:
TUNER PRESET INCREMENT
TUNER PRESET DECREMENT
They are used as previous and next commands for the media controls...
I need a place to document the media controls though, would you be happy to enable to wiki feature in this repo and that could then be used to store the Python API docs perhaps? Currently it doesn't return playback information, however I do have the docs for that but I'm not sure if the AVRs will automatically send playback info when that state changes or if I'll have to schedule more frequent updates for those.

I enabled the wiki, but I think you need to first have submitted to this repo in order for you to update the wiki.
I started reviewing the PR, it works with my VSX-930 so that's a great start :) I have a few initial general comments and will add additional comments to the code as I go (may take a while, there's a lot to digest):

There's an unfortunate clash of terminology here as I've used "parameter" to refer to operational attributes that could differ between different AVR models, such as maximum possible volume or a flag for a feature that exists only for some AVR models. But I note that Pioneer also uses "parameter" to refer to command and response arguments (as well as audio/video parameter!). I guess this might be the rationale for the naming of PARAM_MEDIA_CONTROL_SOURCES, PARAM_MEDIA_CONTROL_COMMANDS, etc? To avoid conflation between these two uses, I'd suggest just dropping the PARAM_ prefix for these, they seem to me to just be dicts used to translate response values to something more meaningful.
It would be good for those dicts to be moved to a separate file, eg. const.py. This could be a good future home for PIONEER_COMMANDS to reduce pioneer_avr.py by ~700 lines, down from 3200+ lines (a bit long I think!) though let's leave that change for a separate PR.
A full update takes about 5 seconds on my AVR as it queries a lot of attributes now. It may be worth gating the updates behind parameters for some high level categories (eg.  tone, amp, tuner, channel_level, dsp, video, audio) that can be turned off by default and turned on only for specific models via model specific default parameters or user level parameter overrides. This would minimise backwards compatibility and reduce impact to AVRs that may not have such features or be able to handle all the new queries.
These groups would probably also be useful when exposing the attributes to HA, as I'd ideally prefer to avoid having to update the HA integration whenever more attributes are added.
note to self: will need to refactor bounce_task to use the command queue, on my AVR that is running in parallel to the full update that is triggered at AVR power on.

I've also updated cli.py to add a few commands that dump the various new attributes, and will submit that to your fork shortly.

There's an unfortunate clash of terminology here as I've used "parameter" to refer to operational attributes that could differ between different AVR models, such as maximum possible volume or a flag for a feature that exists only for some AVR models. But I note that Pioneer also uses "parameter" to refer to command and response arguments (as well as audio/video parameter!). I guess this might be the rationale for the naming of PARAM_MEDIA_CONTROL_SOURCES, PARAM_MEDIA_CONTROL_COMMANDS, etc?
To avoid conflation between these two uses, I'd suggest just dropping the PARAM_ prefix for these, they seem to me to just be dicts used to translate response values to something more meaningful.
It would be good for those dicts to be moved to a separate file, eg. const.py. This could be a good future home for PIONEER_COMMANDS to reduce pioneer_avr.py by ~700 lines, down from 3200+ lines (a bit long I think!) though let's leave that change for a separate PR.

Agree with all of this, I've updated now and dropped PARAM, we can move a lot out to a const.py file as suggested later on.

A full update takes about 5 seconds on my AVR as it queries a lot of attributes now. It may be worth gating the updates behind parameters for some high level categories (eg. tone, amp, tuner, channel_level, dsp, video, audio) that can be turned off by default and turned on only for specific models via model specific default parameters or user level parameter overrides. This would minimise backwards compatibility and reduce impact to AVRs that may not have such features or be able to handle all the new queries.
These groups would probably also be useful when exposing the attributes to HA, as I'd ideally prefer to avoid having to update the HA integration whenever more attributes are added.

Noted, I've updated now and added the following user configurable parameters:
PARAM_DISABLE_AUTO_QUERY - disables all queries when _update_zone is called.
PARAM_ENABLED_FUNCTIONS - provides the ability to only query certain "functions", in future we can use this against some of the set commands, but for now it splits the PIONEER_COMMAND key on an underscore, and checks if the second item in that array is in PARAM_ENABLED_FUNCTIONS.
Currently the following is supported for PARAM_ENABLED_FUNCTIONS:

amp
dsp
tuner
tone
channels
video
system
audio

I made some changes to the command queue functions to minimise repeated commands being sent to the AVR, and also migrated the volume bouncer to use the command queue instead, can you see if either of these impact your changes.
I haven't tested the new set_* functions yet, they can be tested later. VScode/pylint is also complaining about a few other issues but I think these can also be addressed later on.
The above notwithstanding I think this PR is pretty much ready to merge, after which I can push a beta release to PyPi and test further within my prod environment, and also work on the HA integration to expose the additional AVR info and functions to HA. Thanks again @11harveyj for your efforts

Ok, great. I'll test these changes later on and feedback :)

Everything is still working ok for me, my HA instance is pending an update so when I update that I'll test those changes in HA too (changed the manifest.json to point to my fork).

repo: crowbarz/aiopioneer


text:
Reset button not working in email

Reset button in 'Reset Crownstone password' email with Outlook client is broken.
Issue
-Webviewer outlook email contains in plain text: "[cloud.crownstone.rocks/reset-password?access_token='...']Reset"
-Mobile outlook viewer shows button but doesn't respond to click.

Do you only accept plain text? It is html.

What should be changed in https://github.com/crownstone/crownstone-cloud/blob/master/server/emails/passwordResetEmail.html for this?

Apparently to solve this a proprietary VML markup for Outlook needs to be used. See for example https://litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design

authors: alexderidder mrquincle

repo: crownstone/crownstone-cloud


text:
test issue for webhook

ignore

repo: crowplexus/hscript-iris


text:
Status bar text ( center aligned) doesn't show up in iPhone X

Hi Guys, i've encountered an issue with the CRToastTypeStatusBar. The texts which are aligned center in the status bar presenter are not showing up in iPhone X. I am attaching the screenshot as well. Could you please let me know if there is any alternative for this behavior or are you guys updating the library any where soon?

Above red marked area is where i have my text. I really appreciate your work with CRToast. Thanks.

Came exactly for the same issue. Is there any chance to show the notification under the navigation bar?

Hey mavris, as far as i know, you can show it as a navigationBar. But under the navigation bar, i am not sure.

It seems the library needs to be updated to take into account the new "Safe Area" released in iOS 11. Not sure how that would work on an iPhone X running iOS 10 (if that's even possible). Love CRToast – please make this happen!

Same to me, part of the Title text got covered by the motion detector area(top centre). Stupid iPhone X design.

My recommendation would to be stop using the status bar for toasts.
You could detect the device and change to navigation bar toasts - or move to navigation bar toasts entirely.

Can you move the toast to a custom location? If yes, how? Documentation is terrible

@Ashton-W Even I change to navigation bar toasts, part of the text still got covered by the area.

Try not using over status bar too, we would need to add code to be aware of safe area to fix it otherwise

⚠ Warning ⚠: This is not well tested
You can apply a really dirty hack to shift the text down only on the iPhone X.
In CRToast.m -layoutSubviews add a check to see if the status bar frame is taller than 20. Again, this is hardly tested so it may totally fall over in some circumstances but it at least works in the demo app
If someone has the time to properly test this a build out a better solution please do - I unfortunately do not have the time but just found this kind of worked or at least was a starting point.

Screen Shot & git diff here

diff --git a/CRToast/CRToastView.m b/CRToast/CRToastView.m
index 8a9518d..ce2d2c4 100644
--- a/CRToast/CRToastView.m
+++ b/CRToast/CRToastView.m
@@ -132,6 +132,9 @@ static CGFloat CRCenterXForActivityIndicatorWithAlignment(CRToastAccessoryViewAl
     CGFloat preferredPadding = self.toast.preferredPadding;

     CGFloat statusBarYOffset = self.toast.displayUnderStatusBar ? (CRGetStatusBarHeight()+CRStatusBarViewUnderStatusBarYOffsetAdjustment) : 0;
+    if (CRGetStatusBarHeight() > 20) {
+        statusBarYOffset += 24;
+    }
     contentFrame.size.height = CGRectGetHeight(contentFrame) - statusBarYOffset;

authors: Ashton-W chessboy dmiedema mavris quhaoran007 vamshikpadala

repo: cruffenach/CRToast


text:
UI

" he can take a look at perfect viewer and see how that works, with different spots on the screen doing different things"

Use exhentais colors for backgrounds so it looks more like the actual page

license: WTFPL


text:
Update attachment card implementations

Updates all currently implemented attachments
Converts implementations to use the cost and/or target API.
Makes sure the ability can only trigger or initiate if it would change the game state
Standardises action labels, prompt titles and chat messages.
Changes actions to use a handler instead of method, where needed.
Fixes canAttach() methods to match the card limitations.
Changes var into let where possible.
Invokes game.transferGold() instead of two times invoking game.addGold().

I'll merge for now, but definitely need to revisit handlers setting instance variables.

authors: DukeTax ystros

repo: cryogen/throneteki


text:
refactor: Switch tests to ava.

$ npm run test

@mohanson
现在全部测试都能跑过了，之前跑不过的原因是字符串里有 \n，eval 会解析成 "";。。 奇葩

repo: cryptape/minits


text:
add docker, drop MetaData and optional for blocks

optional for blocks
drop MetaData
add docker for deploy

Codecov Report

Merging #11 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   99.06%   99.08%   +0.01%
==========================================
  Files          41       42       +1
  Lines         966      986      +20
==========================================
+ Hits          957      977      +20
  Misses          9        9

Impacted Files
Coverage Δ

app/controllers/concerns/split_requests_concern.rb
100% <ø> (ø)
:arrow_up:

app/controllers/concerns/local_infos_concern.rb
100% <ø> (ø)
:arrow_up:

spec/controllers/api/statistics_controller_spec.rb
100% <ø> (ø)
:arrow_up:

...c/controllers/concerns/local_infos_concern_spec.rb
100% <ø> (ø)
:arrow_up:

app/models/transaction.rb
100% <100%> (ø)
:arrow_up:

spec/models/cita_sync/persist_spec.rb
100% <100%> (ø)
:arrow_up:

app/models/cita_sync/persist.rb
96.15% <100%> (+0.26%)
:arrow_up:

app/models/sync_info.rb
100% <100%> (ø)

app/controllers/api/statistics_controller.rb
100% <100%> (ø)
:arrow_up:

...ontrollers/concerns/split_requests_concern_spec.rb
100% <100%> (ø)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

Sorry for deleting the develop branch...

I didn't protect this branch.....🤣 now I know protect branch is important....

authors: classicalliu codecov-io yatef

repo: cryptape/re-birth


text:
Autopublish + Artefacts on Error

New Features

Autopublish artefacts
When test pipeline fails, due to failing tests, artefacts are still generated
Workflow now uses local action for easier testing
Added test for upload-artifact: false

Changes

Bash cleanup
.NET 6.0

Notes
My thoughts are people integrating this will already need to checkout and configure .NET to build their project - so I removed this todo from the code, but still exists in the README should you consider it necessary. Personally, while not tested,  I think it would run the steps twice and eat up build time.

This is an excellent simplification of bash arguments and clean implementation of automatic artifact uploading.  The changes are well-tested through github workflows.  Expect a 1.3.0 release soon!

authors: awgeorge cryptic-wizard

repo: cryptic-wizard/run-specflow-tests


text:
Timeout's not properly caught by poller

raises the following traceback:
Traceback (most recent call last):
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/hourglass_naglitejs/cache.py", line 100, in get
    response = yield from session.get(url)
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/aiohttp/client.py", line 529, in __iter__
    resp = yield from self._coro
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/aiohttp/client.py", line 183, in _request
    conn = yield from self._connector.connect(req)
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/aiohttp/connector.py", line 310, in connect
    transport, proto = yield from self._create_connection(req)
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/aiohttp/connector.py", line 581, in _create_connection
    local_addr=self._local_addr)
  File "/usr/lib/python3.4/asyncio/base_events.py", line 524, in create_connection
    yield from tasks.wait(fs, loop=self)
  File "/usr/lib/python3.4/asyncio/tasks.py", line 331, in wait
    return (yield from _wait(fs, timeout, return_when, loop))
  File "/usr/lib/python3.4/asyncio/tasks.py", line 410, in _wait
    yield from waiter
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 269, in result
    raise CancelledError
concurrent.futures._base.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "contrib/uwsgi/scheduler.py", line 10, in <module>
    scheduler.run_tasks()
  File "./hourglass/scheduler.py", line 46, in run_tasks
    results = self.loop.run_until_complete(asyncio.gather(*tasks))
  File "/usr/lib/python3.4/asyncio/base_events.py", line 276, in run_until_complete
    return future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/hourglass_naglitejs/cache.py", line 111, in update_objects
    results = yield from self.get(session, url)
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/hourglass_naglitejs/cache.py", line 101, in get
    return (yield from response.json())
  File "/opt/hourglass/.virtualenvs/hourglass/lib/python3.4/site-packages/aiohttp/helpers.py", line 488, in __exit__
    raise asyncio.TimeoutError
concurrent.futures._base.TimeoutError

FWIW, this was not experienced on the latest version, so I am unsure if this issue has been addressed already or not

This has been fixed. Closing this out.

authors: cryptk testeddoughnut

repo: cryptk/opsy


text:
trade history page

closes #320
there's no trade history page for desktop, so i'm adding trade history page for both desktop and mobile via this PR

I think hover effect on dropdown items should cover the top and bottom space and no radius in between.

it's seems to be that way on all dropdowns, should probably be fixed as it's own issue

repo: crypto-power/cryptopower

license: ISC


text:
Add operator validao cosmoshub-osmosis.json

Add ValiDAO details
Relayer Operator Onboarding
Thank you for your IBC relaying efforts for the Cosmos Hub. This pull request template is for onboarding new operators.
Instructions
Add your account addresses and contact information in the correct format to the specified JSON file(s) in the _IBC folder. Ensure that your submission follows the provided format. If you have opened this pull request through a related issue, please link the issue number below:
Closes #44
Checklist

[x] I have read the onboarding documentation and contribution guidelines.
[x] I have added my Account Addresses and Operator Information to the correct path file in the _IBC folder.
[x] I have ensured my changes follow the required format.
[x] I have linked the related onboarding issue (if one was created).

Thank you for your contribution! Your feegrant allowance will be added at the next scheduled review meeting. Please frequently check the Operators table in the README to stay informed about your allowance status and spend limit.

authors: clemensgg murakamikaze


text:
crystal-1.5.1-1-darwin-universal.tar.gz is broken

Bug Report
Seems like tar archive generation for darwin is broken: v1.5.1 archive release is only 118Kb (versus 44Mb for v1.5.0).
As result, some CICD pipeines is broken: https://github.com/evgkrsk/reqs-up/runs/8263698759

I uploaded the correct package.
Something must have gone wrong while uploading the package to GitHub. The crystal-1.5.1-1-darwin-universal.tar.gz was only 118kb, and the full archive was instead named crystal-1.5.1-1-darwin-universal.tar.gz.1.
/cc @beta-ziliani Did you use the automation script https://github.com/crystal-lang/distribution-scripts/blob/master/processes/scripts/publish-crystal-packages-on-github.sh for that? If so, can you retrace what might've gone wrong?

Thanks!

@straight-shoota I did. Unfortunately I don't have the history of the session nor the tmp files to track what happened.

authors: beta-ziliani evgkrsk straight-shoota

repo: crystal-lang/crystal


text:
JSON::Any.nil? returns false

Hopefully a simple one, the work around is simple enough but thought it worth making an issue
require "json"

test = JSON.parse("null")
test.nil?   # => false
test == nil # => true
nil.nil?    # => true

Maybe a special case of .nil? needs to be created for JSON::Any?

Try json.raw.nil?

You're definitely right, raw.nil? is the way this should be checked.


text:
[WASM] add missing __powisf2 and __powidf2 compiler-rt functions

Functions __powisf2 and __powidf2 from compiler-rt are called from the wasm32 codegen and must be provided. This happens whenever float exponentiation is used.
wasm-ld: error: F-loat64.wasm: undefined symbol: __powidf2

Implementation source:

https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/powidf2.c
https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/powisf2.c

CI failure is unrelated.


text:
Using Scala classes

I've got octobot all up and running, but I'm having a hard time getting it to load my tasks. Specifically, they're Scala classes... am I missing something? I've got them packaged up in a jar as described by the docs, but they don't seem to be getting picked up. Are there more steps involved if I want to use Scala tasks?

I realize this is an old discussion, but I ran into the same issue (Octobot is unable to find tasks when using octobot-jar) and I figured someone else may find this useful.  The solution I came up with is to modify the manifest in build.xml to specify the class path:
<manifest file="MANIFEST.MF">
    <attribute name="Built-By" value="${user.name}"/>
    <attribute name="Class-Path" value="../tasks.jar" />
    <attribute name="Main-Class" value="com.urbanairship.octobot.Octobot"/>
</manifest>

Apparently, passing the -cp parameter to the java command when launching a self-executing jar is not enough.  I'm not really a Java programmer and I could be totally wrong about that.  Anyway, this works for me.
P.S. Thanks for creating Octobot... it looks pretty awesome.

authors: eatenbyagrue matthiase

repo: cscotta/Octobot


text:
Text editor only changes the subtitles of one of the dates

Bug unable to be recreated as of now. Refreshing fixed it.

There is no screenshot / recording of this bug since this was discovered in the lab computer.
Details: somehow editing any of the text boxes will change the subtitles of only one (the first of the list). Like the title suggested, refreshing the page cleared this bug.
As of now, there is no solution thought of yet since the bug hasn't been able to be remade.

Subtitles no longer exist

The issue now exists but only for the title.

authors: BernicoJC michaelcheungkm


text:
Different type of infrastructures: how to identify them?

When an application has to be submitted to the infrastructure there is not a parameter to clarify what kind of infrastructure is and which adaptor should be used.

The distinction of the different infrastructure is made using the parameter jobservice which has URI format. The protocol allow to distinguish among different kind of infrastructures and according to the protocol it is possible to select different adaptors.

repo: csgf/csgf-api


text:
Daten konnten nicht geladen werden

Hi,
ich habe das Problem, dass ich die app nicht u laufen bekomme mit folgender Fehlermeldung:
"Daten konnten nicht geladen werden" als admin/user.
ich kann aktuell keine Pläne anlegen, Typen erzeugen etc.
Muss ich hier irgendwas noch anpassen?
nc-version: 22.2.3
nextcloud-log:
{"reqId":"v3bdQKLDEP5ZGnBa1xOp","level":3,"time":"2022-01-01T09:47:52+00:00","remoteAddr":"192.168.1.140","user":"admin","app":"index","method":"GET","url":"/index.php/apps/shifts/getAllAnalysts","message":"Call to a member function getUsers() on null","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","version":"22.2.3.0","exception":{"Exception":"Exception","Message":"Call to a member function getUsers() on null","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":158,"Previous":{"Exception":"Error","Message":"Call to a member function getUsers() on null","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"getAllAnalysts","class":"OCA\\Shifts\\Controller\\ShiftController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/shifts/lib/Controller/ShiftController.php","Line":154},"CustomMessage":"--"}}

sorry, already mentioned
https://github.com/csoc-de/Shifts/issues/16

sorry, already mentioned
https://github.com/csoc-de/Shifts/issues/16

repo: csoc-de/Shifts


text:
kairos-cli: implement call to deposit endpoint and integration test

Things done

Moved all code except cli parsing to kairos_cli::run
Introduced new kairos-server-address option, that defaults a value if not set
Implemented a client function that will submit a transaction to the kairos-server, this client function introduces a KairosClientError enum type that could be used for better error handling
implemented the mapping from cli arguments for a deposit -> deposit payload, signing and submitting of a deposit
Updated the integration test to actually spawn a kairos-server
Updated the ne2e-test

Overview
#92
Motivation

I'm a little confused as to why you're spawning a tokio runtime to use reqwests async API in a CLI application when reqwest has a blocking API and the nature of a CLI is generally synchronous.
Let's merge it, just leaving this comment here for future reference and to make everyone aware of reqwests blocking API.

I'm a little confused as to why you're spawning a tokio runtime to use reqwests async API in a CLI application when reqwest has a blocking API and the nature of a CLI is generally synchronous.
Let's merge it, just leaving this comment here for future reference and to make everyone aware of reqwests blocking API.

@Rom3dius that's right! CLI client (replaced with Rust SDK in the future) should be synchronous, not only for simplicity, but there is no advantage of having async there. @marijanp could you use reqwest::blocking?

@Rom3dius @koxu1996 I began writing the client with potentially factoring it out in a separate crate, so I decided to make it async as they usually  don't block but do so in our CLI. But it might just be premature optimization. so I will make this blocking.

repo: cspr-rad/kairos


text:
Exporting the generated QR code as image

Would it be possible to get the image of the QR code as a usable image, like base64? Is that something we can already access or is an additional method in the component needed?
The library works perfect also in Expo.

I wanna to have a photograph enlarged，how to do?

I wanna to have a photo enlarged,how to do?

I wanna to have a photo enlarged,how to do?

@lucfranken did you work out a solution to this?  I'm also wanting to do the same.

We moved to generating the a PDF (for which we needed the image) and used PDFMake which can internally generate a QR code.

你好，不知道你的问题解决了没有，我们也有同样的需求，需要将生成的QR code图片保存到本地 @lucfranken

Hi!, Is there going to be any solution for this ?

I would also like to know about this.

authors: Cariss kylanhurt lucfranken nianxiaoning omoprodigi sigmazen xiaomuxi

repo: cssivision/react-native-qrcode