text:
Remove ConcurrentVector from DataTable

tbb sucks. As noted before, their ConcurrentVector is not safe to traverse with concurrent inserts, thus we need to switch to a different data structure if we want to support sequential scans. I did a simple performance evaluation for the following implementations:
tbb::concurrent_vector + std::atomic insertion head (master):
------------------------------------------------------------------------------------------------------
Benchmark                                                               Time           CPU Iterations
------------------------------------------------------------------------------------------------------
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1120 ms       1116 ms          1   8.51257M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   681 ms        679 ms          1   14.0089M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   685 ms        684 ms          1   13.9185M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   699 ms        690 ms          1   13.6497M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   688 ms        685 ms          1   13.8587M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_mean              775 ms        771 ms          1   12.7897M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_median            688 ms        685 ms          1   13.8587M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_stddev            193 ms        193 ms          1   2.39462M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               942 ms          0 ms          1   10.1228M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               797 ms          0 ms          1   11.9619M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               791 ms          0 ms          1   12.0639M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               800 ms          0 ms          1   11.9266M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               804 ms          0 ms          1   11.8679M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_mean          827 ms          0 ms          1   11.5886M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_median        800 ms          0 ms          1   11.9266M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_stddev         65 ms          0 ms          1   842.248k items/s

std::vector + spin_latch + std::atomic insertion head (PR):
------------------------------------------------------------------------------------------------------
Benchmark                                                               Time           CPU Iterations
------------------------------------------------------------------------------------------------------
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1109 ms       1105 ms          1    8.6018M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   674 ms        672 ms          1   14.1499M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   671 ms        669 ms          1   14.2176M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   679 ms        676 ms          1   14.0474M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   671 ms        669 ms          1   14.2125M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_mean              761 ms        758 ms          1   13.0458M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_median            674 ms        672 ms          1   14.1499M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_stddev            195 ms        194 ms          1   2.48524M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1112 ms          0 ms          1   8.57817M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               827 ms          0 ms          1   11.5353M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               844 ms          0 ms          1   11.3039M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               812 ms          0 ms          1   11.7504M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               801 ms          0 ms          1   11.9028M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_mean          879 ms          0 ms          1   11.0141M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_median        827 ms          0 ms          1   11.5353M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_stddev        131 ms          0 ms          1   1.38034M items/s

std::vector + spin_rw_mutex (not used):
------------------------------------------------------------------------------------------------------
Benchmark                                                               Time           CPU Iterations
------------------------------------------------------------------------------------------------------
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1294 ms       1289 ms          1   7.36875M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   844 ms        842 ms          1   11.3023M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   844 ms        841 ms          1    11.302M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   847 ms        843 ms          1   11.2598M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   842 ms        840 ms          1   11.3254M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_mean              934 ms        931 ms          1   10.5117M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_median            844 ms        842 ms          1    11.302M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_stddev            201 ms        200 ms          1    1.7571M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1292 ms          1 ms          1   7.38261M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               995 ms          0 ms          1    9.5852M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               939 ms          0 ms          1   10.1574M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               935 ms          0 ms          1   10.1975M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               914 ms          0 ms          1   10.4295M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_mean         1015 ms          0 ms          1   9.55043M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_median        939 ms          0 ms          1   10.1574M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_stddev        158 ms          0 ms          1   1.25104M items/s

std::vector + reader_writer_mutex (not used):
------------------------------------------------------------------------------------------------------
Benchmark                                                               Time           CPU Iterations
------------------------------------------------------------------------------------------------------
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1334 ms       1321 ms          1   7.14635M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                   888 ms        885 ms          1   10.7442M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1511 ms       1012 ms          1   6.31361M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1835 ms       1112 ms          1    5.1967M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time                  1000 ms        909 ms          1   9.54149M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_mean             1313 ms       1048 ms          1   7.78847M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_median           1334 ms       1012 ms          1   7.14635M items/s
DataTableBenchmark/SimpleInsert/repeats:5/real_time_stddev            384 ms        177 ms          1   2.29751M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1574 ms          0 ms          1   6.06054M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1170 ms          0 ms          1   8.14889M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1021 ms          0 ms          1   9.34303M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time              1122 ms          0 ms          1   8.50253M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time               999 ms          0 ms          1   9.54915M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_mean         1177 ms          0 ms          1   8.32083M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_median       1122 ms          0 ms          1   8.50253M items/s
DataTableBenchmark/ConcurrentInsert/repeats:5/real_time_stddev        233 ms          0 ms          1   1.38971M items/s

What we got made sense, since we have contentions rather infrequently and can afford to be optimistic. Paying the lock-free overhead or the latch overhead on every read is not cost-effective. Although I can't scale well on my laptop and the concurrent insert numbers will be flaky, this should be pretty reasonable.
The other take away is that tbb is not magic. In fact it is pretty crap for most use cases in the storage layer so far. Maybe we should make a rule to discourage their use without backing benchmark numbers.

Coverage decreased (-0.03%) to 98.129% when pulling ea17608794da5674f06aff5cbe89189b65adfb6f on tli2:tianyu-col-access into aeb7ee30e80f0ce5c8479746a18a611030713d92 on cmu-db:master.

I'm okay with removing TBB

authors: apavlo coveralls tli2

repo: cmu-db/terrier


text:
http caching for metadata

allow and enable HTTP caching of metadata endpoint via "Cache-Control" header++
see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
this means clients dont have to keep making requests for the metadata when its not going to change.
the R lib doesnt seem to consider the "Age" header, but appears it will use the date instead, so it might sometimes use metadata that might be a smidge stale which shouldnt be a big deal.

much of this changeset is really just about piping http headers values through from the core endpoint work to where the Response object is created.
as is the case with a lot of the api server code, what was there already was kinda gnarly...  i tried to improve much of it without breaking the evaluation order and operational flow (by improving variable names and reducing the scope of the generator to something more minimal), but it can still be improved a bunch more (particularly the logic in the generator method).

PTAL, added some wiggle room into the cacheability window that may assuage your concerns without compromising too much on behaving like a proper cache.

@dsweber2 and i successfully tested this PR and https://github.com/cmu-delphi/covidcast/pull/645 together in our dev environments -- the R client does not make a new request on subsequent calls to covidcast_meta() when the Cache-Control header is provided by the api server.

source: gharchive/pull-request

repo: cmu-delphi/delphi-epidata

license: MIT

license_type: permissive

license_source: github-api


text:
Wab widgets won’t load

Hi,
I’m having trouble getting any wab widgets to load in CMV (I am using the latest version). They appear in the title pane but when  I open them they just stay with the loading dots and never open. I am getting no errors appear anywhere, they just never load. I have tried multiple widgets in the wab repo and it’s the same with all of them. I have a feeling it maybe related to the wabapp-config.js. Was I meant to edit the itemid and portalUrl if my system is completely offline/stand-alone?
Any help you could provide would be hugely appreciated

@JMaps88 Does the demo code in this repo work for you without changing any code/config? I'd start there then add your layers, then any additional WAB widgets.

All standard cmv widgets still work fine. I’ll try the demo code when I go into work and let you know. Cheers

So I got it working on a test version that is available to the internet, however I still can not configure it work offline/stand-alone. Can you confirm that the wab repo can be configured to work offline that same regular CMV widgets can be? The only difference I can see is the wab repo demo references js api 3.24 where as our version is 3.21 hosted locally

I have used the WAB widgets within CMV with a locally installed version of the JS API. There may be specific requirements for a specific version of WAB requiring a specific version of the JS API. This table shows the corresponding versions. I do not know if those are hard and fast requirements or merely guidelines.

So there’s no requirement to change the wabapp-config.js to reference a local map or change the portal URL? (Not that I’m using portal)

Could the problem be that we are using Arc Server 10.2.2 and if so is there a way to solve the issue without updated to a newer version?

I am not aware of any requirement to change anything in wabapp-config.js.  No portal is required. The existing portalURL is there to follow WAB standards but to my knowledge is not required at all. I commented out the itemID and portalURL and everything still worked. My test did not reference a local copy of the JS API but would not expect that to matter at all.
The older version of ArcGIS Server could be a problem. You can see if the chart that the first version of WAB was released supporting 10.3. As is often the case, there were many changes from 10.2.x to 10.3.x.
You've not mentioned which version of WAB are you using. Please provide that. This repo is using version 2.8. Version 2.9 of WAB has been released but is untested.
Also, what version of CMV are you using? The code in this repo uses the most recent CMV release v2.0.0-beta.2 and has not been tested with the current develop branch.

I have tested it with all three versions of WAB provided in the repo (2.6, 2.7 and 2.8) with no difference seen between the three. I am also using the most recent cmv release 2.0.0-beta2. It’s looking more and more likely that my problem stems from WAB not playing working with server 10.2.2. I will have to move away from using WAB widgets and find a way to use just CMV based widgets

WAB work with 10.02

@GilbertLasnier According to the chart I linked to above, versions less than 10.3 are not supported by Esri.

source: gharchive/issue

repo: cmv/cmv-wab-widgets


text:
[bug] 修改博文设置后图片丢失

问题描述
打开已上传的博文md文件，右键->博文设置，修改任何设置后点击确定。前往博客园网页查看博文，发现图片丢失。
复现问题
复现问题的步骤:

上传博文
修改博文设置
博文内的图片丢失

期望的结果
博文内的图片正常显示。
问题截图
如果可能的话, 提供下遇到问题时的截图以便排查
环境信息:

操作系统: [Windows 10 专业版 22H2 19045.3803]
VSCode版本 [1.85.1]
博客园扩展版本 [1.8.52]

任何其他有助于排查问题的信息
扩展设置：

Auto Extract Images ：“自动提取本地图片”
Apply Auto Extract Image To Local ：未勾选

您好，为了便于排查问题，麻烦您提供一下出现这个问题的博文地址

https://www.cnblogs.com/snoopy1866/p/17646918.html

您好，我们根据您的操作步骤与帮我内容，未能重现问题，请问出现问题时图片标签被替换成了什么内容？

被替换成了 img

我尝试重新上传博文，发现图片地址有变化。
step1. 第一次上传博文：https://img2023.cnblogs.com/blog/2482936/202401/2482936-20240107084145823-1272872757.png
step2. 修改博文设置
step3. 第二次上传博文：https://img2023.cnblogs.com/blog/2482936/202401/2482936-20240107084111719-1557214565.png
按 F12 发现 step2 这一步会将图片地址替换为本地路径：

您好，感谢您的耐心反馈，问题的原因已定位，修改博文设置上传博文时没有进行图片的自动提取

您好，已在 1.8.53 中修复，抱歉，给您带来麻烦了。

感谢，问题已解决。👍

repo: cnblogs/vscode-cnb


text:
Add inovex (KCSP)

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 744f4f4b523d71de6fa98eb82e5b7a8674163896
https://deploy-preview-1276--landscape.netlify.com

LGTM

authors: CNCF-Bot taylorwaggoner

repo: cncf/landscape


text:
Add youki to sandbox

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you added your SVG to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?

https://github.com/cncf/sandbox/issues/297


text:
Fix typo in governance-maintainer.md

Hi, @jberkus, @geekygirldawn , Firstly thank you for building and maintaining the templates, that really helpful!
I just built a Governance for the Karmada project.  During the process, I found a typo that I think I should contribute to the upstream.

@amye or @thefoxatwork - can one of you merge this PR with a typo fix?

authors: RainbowMango geekygirldawn

repo: cncf/project-template


text:
FIX a drawing defect and use Geometric scheme

Fix a drawing defect

Also, note some reversible changes in the geometry of the list scheme (header 20 not 24, etc.)

I added this in the constructor of my form and got a costumized listbox.
         SeqExpl::SeqExpl              (ThDyNanaForm& tdForm)
    {
		auto& sch = _list.scheme();
		sch.header_height = 20;
		sch.ext_w         = 2;
		sch.item_height_ex= 1;  ///< Set !=0 !!!!  def=6. item_height = text_height + item_height_ex
		sch.item_height   = sch.text_height + sch.item_height_ex;
		sch.header_mouse_spliter_area_before = 4;
		sch.header_mouse_spliter_area_after = 4 ;

Hi,
I'm using this ... is OK.
But I wanted to do the same with the treebox, but there you have already some type of geometrical scheme.. I need to understand that first..

repo: cnjinhao/nana


text:
Initialise everything to make sure accel_key is constexpr.

Need to initialise everything to make sure classes are usable in a constexpr context.
This is useful for my helper make_accel_key() function which I will share shortly.

Thank you a lot for this PR

authors: KingDuckZ cnjinhao


text:
[Enhancement] Update cloud providers' CCM and add-on components

These components need to be updated.

[x] alibaba/ccm v1.9.3.239-g40d97e1-aliyun -> v2.4.0
[x] tencent/ccm v1.0.1 -> v1.0.1
[x] google/ccm v4.10.0 -> v4.12.0
[x] aws/ccm v1.19.0-alpha.1 -> multi-version

Tested:

alibaba provider
google provider

Tested:

aws provider
tencent cloud provider

authors: Jason-ZW orangedeng


text:
dataset download

Do you know how to download the dataset for this article, and may I ask what the derivative of the python command is when downloading abide? Thank you

@natlank The link to download the data has been given in the original article, and the corresponding websites have detailed instructions.

abide数据下载下来是这样的吗？参数是CPAC, filt_noglobal, rois_ho，一共111个不同脑区，完整的数据就这些吧

 abide数据下载下来是这样的吗？参数是CPAC, filt_noglobal, rois_ho，一共111个不同脑区，完整的数据就这些吧

请问您使用什么命令下载的

刚看到，代码我有些忘了，明天有空可以聊聊，我邮箱generalzx10@aliyun.com

authors: cnuzh natlank sws827767542

repo: cnuzh/LG-GNN


text:
Document known issues when running on Ubuntu 14.04 on EC2

In a privately reported issue, we've seen problems with Cockroach running on Ubuntu 14.04 on EC2 with Xen Networking enabled. The problem materialized with TCP network connections that would get stuck when sending and block for 15 mintues. This is a known issue with Ubuntu 14.04 in this configuration:

https://blog.stathat.com/2014/12/22/fix_ec2_network_issue_skb_rides_the_rocket.html
http://www.brendangregg.com/blog/2014-09-11/perf-kernel-line-tracing.html
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1317811
https://forums.aws.amazon.com/thread.jspa?threadID=161807

We found that the recommended fix for this was to disable TSO scatter-gather on each machine using the following command:
sudo ethtool -K eth0 sg off

We should find a place to document this so that we have somewhere to point users. This would probably be similar in spirit to https://github.com/cockroachdb/docs/issues/1356.

We have closed this issue because it is more than 3 years
old. If this issue is still relevant, please add a comment and reopen
the issue. Thank you for your contribution to CockroachDB docs!

authors: jseldess nvanbenschoten

repo: cockroachdb/docs


text:
[Docs] MovR Tutorial for PonyORM

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/recMmUqtH5ZZ1GEWT
Description: CockroachDB now provides application code and documentation for using MovR with PonyORM
Each ORM has a simple getting started guide. This is great to unblock basic usage by doesn't provide extensive guidance to application developers for how to use CockroachDB with a robust application.
Team: Andrew Woods, Rafi Shamim, Eric Harmeling
Github Tracking Issue:

This isn't happening for 20.1.
Note We have a a separate issue for the general "Build an App" tutorial for this ORM.

authors: ericharmeling jseldess


text:
Document new approach to locking and queueing in the key value layer

We need to update the architecture documentation to discuss the new approach to locking and queuing in the key-value layer.
AFAICT this new approach is enabled by the new concurrency control package/lock table referred to by this PR (and this one, and probably others).
Estimated scope of work:

[ ] Update the architecture docs (probably the storage layer) to describe the new concurrency manager / how locking and queuing works

[ ] Review other areas of the architecture docs to ensure they reference (or do not reference) this new layer, as appropriate

Thanks for being proactive here, @rmloveland. Is this not reflected on the KV product roadmap? I'm surprised we don't already have a docs issue for it.

Is this not reflected on the KV product roadmap?

I did some searching in AT but was not able to find anything beyond the SQL-level description of the work.

authors: jseldess rmloveland


text:
Add userfile examples to IMPORT INTO

userfile is an option for imports, but not mentioned in IMPORT INTO

Can I get more details on this issue?

authors: UdokaVrede shermanCRL


text:
Correct canonical url for non-versioned docs pages

On current site, non-versioned docs pages have incorrect canonical url resulting in 404s.

This change is

authors: cockroach-teamcity jseldess


text:
DOC-9773 Update Observability docs for Cloud 2.0 - Third-Party

Fixes DOC-9773
(1) In monitor-cockroachdb-with-prometheus.md, (a) added/modified tip for CockroachDB Cloud integration with Prometheus with links to Export Metrics Standard and Advanced.
(2) In export-metrics.md, (a) replaced standard with cloud in Datadog link.
(3) In export-metrics-advanced.md, (a) replaced advanced with cloud in Datadog link, (b) simplified Datadog intro sentences to remove redundancy.
(4) In datadog.md, replaced dedicated with cloud and fixed link format.
(5) In kibana.md, replaced dedicated with standard/advanced and fixed link format.
(6) In v23.1/differences-in-metrics-between-third-party-monitoring-integrations-and-db-console.md, replaced dedicated with standard/advanced and fixed link format.
(7) In third-party-monitoring-tools.md, (a) replaced dedicated rows with standard/advanced rows, (b) fixed link format, (c) removed CockroachDB in CockroachDB Deployment column, (d) added rows for Prometheus Platform for standard, advanced, and self-hosted deployments, (e) re-organized with availability matrix and platform sections, (f) added section for GCP Logging Platform.

@kevin-v-ngo On the Third-Party Monitoring tools page, should I add 2 additional lines (for Standard and Advanced) in the table for Prometheus, similar to Cloudwatch and Datadog?

@kevin-v-ngo On the Third-Party Monitoring tools page, should I add 2 additional lines (for Standard and Advanced) in the table for Prometheus, similar to Cloudwatch and Datadog?

Yeah we should. Since not all integrations will be available across the tiers. Is that also the best way to represent this info? We can also do a matrix similar to here: https://docs.google.com/document/d/1PHXAazIgSzNW-RMEV1eXd0UGAQKEBJiX9ulnEiMMQbM/edit#heading=h.lwue2o24rfv
I'll defer to you though.

@kevin-v-ngo and @rmloveland: Please review Third-Party Monitoring Integrations. I made the following changes:

(e) re-organized with availability matrix and platform sections, (f) added section for GCP Logging Platform.

The link for Standard for GCP Logging and AWS CloudWatch logs incorrectly go to the Dedicated/Advanced page. I will update the links when I document Export Logs for Standard Clusters in DOC-8581

I reviewed Third-Party Monitoring Integrations with @kevin-v-ngo and he approved.

authors: florence-crl kevin-v-ngo


text:
Node Map: Related changes

@jseldess I opened this separate PR for the structural changes related to the Node Map. (Not many content changes from v1.1)

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/

Also looks like there are some links to fix:
[17:41:18][Step 1/1] 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-access-and-navigate.html
[17:41:18][Step 1/1]   target does not exist --- 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-access-and-navigate.html --> admin-ui-access-and-navigate.htmll#events-panel
[17:41:18][Step 1/1]   target does not exist --- 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-access-and-navigate.html --> /13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/images/admin_ui_overview.gif
[17:41:18][Step 1/1]   target does not exist --- 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-access-and-navigate.html --> /13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/images/admin_ui_summary_panel.png
[17:41:18][Step 1/1] 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-overview.html
[17:41:18][Step 1/1]   target does not exist --- 13ca5e1dd51f7156ef6f159f5ec9f768e411d5b1/v2.0/admin-ui-overview.html --> admin-ui-node-map.html

@jseldess About images and navigation changes, I am planning to open a separate PR just for the bulk changes (screenshots and navigation). Wanted to get the content/structural changes done to get them reviewed.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ac48ff14102dd2d5485d734d9e9227a5a610c5d6/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/eea07c4792322911ba6923e8d03815fdbe4dc5d2/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/178ff911ec0349efd849d527f50c14345aefc2da/

@jseldess Fixed the links and images

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/efa59f721724a757ace17fd74c1b24ad2c7b1059/

@jseldess Done.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/92ee9aa6e638c6cee0575d44d9a576ea7d4bd168/

Thanks, @Amruta-Ranade!


text:
Add constraint diagrams to constraints.md

These diagrams had previously been generated and added to the CREATE TABLE syntax. Now adding them to the Constraints page as well.

This change is

LGTM. Thanks, @uptimeDBA.

authors: jseldess uptimeDBA


text:
added a warning for cc-faq to not change cluster settings for enterpr…

references https://github.com/cockroachdb/docs/issues/6136

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/31df01868c9e53b55d7a8480857075b187295856/
Edited pages:

v19.2/cockroachcloud-frequently-asked-questions.md

authors: cockroach-teamcity mattcrdb


text:
Force chrony to synchronize

This change is

Unfortunately, this doesn't seem to work properly. After the chronyc -a makestep, the clocks are still not synchronized for a bit. Sending this out in the hopes that it nerd snipes one of you into tracking down why.

I don't see ntp being disabled anywhere. Isn't it installed by default?

@mberhault:
~ ps axuww | grep ntp
ubuntu    3632  0.0  0.0  12944   968 pts/0    S+   13:51   0:00 grep --color=auto ntp

I think this is working now. The key was the use of waitsync. The output from that indicates that chronyd is often taking a few seconds to perform the synchronization.

Ping. I'd like to merge this before tonight's nightly roachtest run.

authors: mberhault petermattis

repo: cockroachdb/roachprod


text:
Read scaffolding config from yaml file

Things done:

Integrated command line parser library into tool
Added library for parsing yaml files
Scaffolding configuration is now specified in yaml file

LGTM

repo: codaxy/conductor-sharp


text:
Bad Request - SessionError: No sessions

Sometimes some instances start to return this error:
{
"status": 400,
"error": "Bad Request",
"message": [
"SessionError: No sessions"
]
}
And I am forced to restart the api. Is there any way to definitively resolve this?
Version: 1.2.8
env.yml:
# Choose the server type for the application
SERVER:
  TYPE: http # https
  PORT: 443 # 443

CORS:
  ORIGIN:
    - '*'
    # - yourdomain.com
  METHODS:
    - POST
    - GET
    - PUT
    - DELETE
  CREDENTIALS: true

# Install ssl certificate and replace string <domain> with domain name
# Access: https://certbot.eff.org/instructions?ws=other&os=ubuntufocal
SSL_CONF:
  PRIVKEY: /etc/letsencrypt/live/<domain>/privkey.pem
  FULLCHAIN: /etc/letsencrypt/live/<domain>/fullchain.pem

# Determine the logs to be displayed
LOG:
  LEVEL:
    - ERROR
    - WARN
    - DEBUG
    - INFO
    - LOG
    - VERBOSE
    - DARK
  COLOR: true

# Determine how long the instance should be deleted from memory in case of no connection.
# Default time: 5 minutes
# If you don't even want an expiration, enter the value false
DEL_INSTANCE: 5 # or false

# Temporary data storage
STORE:
  CLEANING_INTERVAL: 7200 # seconds === 2h
  MESSAGE: true
  CONTACTS: false
  CHATS: false

# Permanent data storage
DATABASE:
  ENABLED: false
  CONNECTION:
    URI: 'mongodb://<USER>:<PASSWORD>@<HOST>/?authSource=admin&readPreference=primary&ssl=false&directConnection=true'
    DB_PREFIX_NAME: codechat
  # Choose the data you want to save in the application's database or store
  SAVE_DATA:
    INSTANCE: false
    OLD_MESSAGE: false
    NEW_MESSAGE: true
    MESSAGE_UPDATE: true
    CONTACTS: true
    CHATS: true

REDIS:
  ENABLED: false
  URI: 'redis://<HOST>'
  PREFIX_KEY: 'codechat'

# Webhook Settings
WEBHOOK:
  # Define a global webhook that will listen for enabled events from all instances
  GLOBAL:
    URL: <url>
    ENABLED: false
  # Automatically maps webhook paths
  # Set the events you want to hear
  EVENTS:
    QRCODE_UPDATED: true
    MESSAGES_SET: true
    MESSAGES_UPSERT: true
    MESSAGES_UPDATE: true
    SEND_MESSAGE: true
    CONTACTS_SET: true
    CONTACTS_UPSERT: true
    CONTACTS_UPDATE: true
    PRESENCE_UPDATE: true
    CHATS_SET: true
    CHATS_UPSERT: true
    CHATS_UPDATE: true
    CHATS_DELETE: true
    GROUPS_UPSERT: true
    GROUP_UPDATE: true
    GROUP_PARTICIPANTS_UPDATE: true
    CONNECTION_UPDATE: true
    # This event fires every time a new token is requested via the refresh route
    NEW_JWT_TOKEN: true

CONFIG_SESSION_PHONE:
  # Name that will be displayed on smartphone connection
  CLIENT: GPrado
  NAME: Chrome # firefox | edge | opera | safari

# Set qrcode display limit
QRCODE:
  LIMIT: 6

# Defines an authentication type for the api
AUTHENTICATION:
  TYPE: apikey # or apikey->(deprecated)
  # Define a global apikey to access all instances
  # OBS: This key must be inserted in the request header to create an instance.
  API_KEY: ******
  # Set the secret key to encrypt and decrypt your token and its expiration time.
  JWT:
    EXPIRIN_IN: 0 # seconds - 3600s === 1h | zero (0) - never expires
    SECRET: ******

SESSION_SECRET: ******`

i can't send message :(

I started to recieve Bad Request.
400 - "{\"status\":400,\"error\":\"Bad Request\",\"message\":[\"The \\\"f6a22162-263b-45d1-99e3-84876afc6103\\\" instance does not exist or is not connected\"]}"
in production, but locally works

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart"0 */6 * * *"

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart"0 */6 * * *"

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart="0 */6 * * *"

authors: GabriellPrado gutodiasdev mdestafadilah

repo: code-chat-br/whatsapp-api


text:
Make the bot POTD statement more fun by randomizing the daily message

The discord bot that publishes the daily Leetcode problem publishes the link and an additional message per difficulty in https://github.com/code-chronicles-code/leetcode-curriculum/blob/main/workspaces/post-leetcode-potd-to-discord/src/getPotdMessage.ts.
We can make the message more fun by having more random messages for each difficulty level.

Releasing this for now, @volkmchl feel free to reclaim it if you plan to work on it.

authors: miorel volkmchl


text:
how to make scan continues without refresing the page..

hello, can u help me to make this scan qrcode continously without refresh ?
i try to call the scan(); after app_dialog close. its not working...

@didikurnia Not sure why it is not working for you. I tested this scenario and its working fine for me. Give us some more inputs on how to re-produce this. Thanks

authors: didikurnia gokulkrishh

repo: code-kotis/barcode-scanner

license: mit

license_source: bigquery


text:
[BUG] crc start and stop operations are very slow

General information

OS: Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? Yes

CRC version
PS C:\Users\Erik> crc version
version: 1.0.0-beta.5+f2aa58c
OpenShift version: 4.1.14 (embedded in binary)

CRC status
PS C:\Users\Erik> crc status
CRC VM:          Running
OpenShift:       Running (v4.x)
Disk Usage:      11.12GB of 16.09GB (Inside the CRC VM)
Cache Usage:     11.23GB
Cache Directory: C:\Users\Erik\.crc\cache

CRC config
# Put `crc config view` output here

Host Operating System
PS C:\Users\Erik> systeminfo

Host Name:                 MSI
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.18362 N/A Build 18362
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows-användare
Registered Organization:
Product ID:                00330-80000-00000-AA556
Original Install Date:     2019-06-25, 21:01:37
System Boot Time:          2019-09-19, 19:45:03
System Manufacturer:       MICRO-STAR INTERNATIONAL CO., LTD
System Model:              MS-ACB311
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 60 Stepping 3 GenuineIntel ~2801 Mhz
BIOS Version:              American Megatrends Inc. EACB3IMS V8.1, 2014-07-10
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume4
System Locale:             sv;Svenska
Input Locale:              sv;Svenska
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
Total Physical Memory:     16 306 MB
Available Physical Memory: 746 MB
Virtual Memory: Max Size:  23 084 MB
Virtual Memory: Available: 2 909 MB
Virtual Memory: In Use:    20 175 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\MSI
Hotfix(s):                 8 Hotfix(s) Installed.
                           [01]: KB4514359
                           [02]: KB4498523
                           [03]: KB4503308
                           [04]: KB4508433
                           [05]: KB4509096
                           [06]: KB4515383
                           [07]: KB4516115
                           [08]: KB4515384
Network Card(s):           4 NIC(s) Installed.
                           [01]: Killer E2200 Gigabit Ethernet Controller
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [02]: Intel(R) Dual Band Wireless-AC 3160
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.0.1
                                 IP address(es)
                                 [01]: 192.168.0.107
                                 [02]: fe80::50f3:1c42:65dd:dce5
                           [03]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth-nätverksanslutning 2
                                 Status:          Media disconnected
                           [04]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.17.197.129
                                 [02]: fe80::4c2d:6160:f2bc:d8ac
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

Expected
It takes less than a minute to start and less than ten seconds to stop.
Actual
It takes close to ten minutes to start and close to two minutes to stop.
Logs
You can start crc with crc start --log-level debug to collect logs.
Please consider posting this on http://gist.github.com/ and post the link in the issue.
PS C:\Users\Erik> Measure-Command { crc setup | Out-Host } | Select-Object -Property TotalSeconds
INFO Checking if running as normal user
INFO Caching oc binary
INFO Unpacking bundle from the CRC binary
INFO Check Windows 10 release
INFO Hyper-V installed
INFO Is user a member of the Hyper-V Administrators group
INFO Does the Hyper-V virtual switch exist
Setup is complete, you can now run 'crc start' to start a CodeReady Containers instance

TotalSeconds
------------
   2,6055306

PS C:\Users\Erik> Measure-Command { crc start --pull-secret-file .\Downloads\pull-secret | Out-Host } | Select-Object -Property TotalSeconds
INFO Checking if running as normal user
INFO Checking if oc binary is cached
INFO Check Windows 10 release
INFO Hyper-V installed and operational
INFO Is user a member of the Hyper-V Administrators group
INFO Does the Hyper-V virtual switch exist
INFO Loading bundle: crc_hyperv_4.1.14.crcbundle ...
INFO Creating VM ...
INFO Verifying validity of the cluster certificates ...
INFO Will run as admin: add dns server address to interface vEthernet (Default Switch)
INFO Check internal and public dns query ...
WARN Failed Public dns query: ssh command error:
command : host -R 3 quay.io
err     : Process exited with status 1
output  : ;; connection timed out; no servers could be reached
 :
INFO Copying kubeconfig file to instance dir ...
INFO Adding user's pull secret and cluster ID ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p developer https://api.crc.testing:6443'
INFO To login as an admin, username is 'kubeadmin' and password is XXXXX-XXXXX-XXXXX-XXXXX
INFO
INFO These credentials can also be used to access the OpenShift web console at https://console-openshift-console.apps-crc.testing
CodeReady Containers instance is running

TotalSeconds
------------
 515,5249251

PS C:\Users\Erik> Measure-Command { crc stop | Out-Host } | Select-Object -Property TotalSeconds
Stopping CodeReady Containers instance... this may take a few minutes
CodeReady Containers instance stopped

TotalSeconds
------------
 103,9279981

PS C:\Users\Erik> Measure-Command { crc delete | Out-Host } | Select-Object -Property TotalSeconds
CodeReady Containers instance deleted

TotalSeconds
------------
   1,7423171

It takes close to ten minutes to start and close to two minutes to stop.

This is not an issue, but known behaviour. You start a full (production-like) cluster on your host, with almost all operators enabled as like on a cloud deployment. The sttart copies the disk image, which dependent on your machine can take a few seconds to several minutes (9GB of data). after which the machine gets started (about 10secs to 2 minutes depending on your performance) and then it needs to change/inject the pull-secret (about 1 to 2 mins) followed by actually starting the cluster abd operators (about 3 mins or more). This is really dependent on the machines performance. I can start the cluster within less than 5 minutes, while on a laptop (i7, 32GB it can take longer as it does not use an SSD)
The same for stop; we are sendin ga graceful shutdown (ACPI call), which causes the cluster to shutdown, and again this depends on your performance. It takes less than 20 secs on my machine, but when actively used (many containers in running state) it could take longer.
OpenShift will in later iterations look at optimizing some of these points and so will we, but at the moment this is not the highest priority.
Will close and mark this as invalid (known) issue.

I have a fresh windows 10 install on a Ryzen 3600, 32gb ram, and a 1tb samsung nvme drive on an ASRock Phantom Gaming 4 and it has been a few hours at this state:
PS C:\> .\crc.exe setup
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if goodhosts binary is cached
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking minimum RAM requirements                                                                                INFO Checking if running as normal user                                                                                INFO Checking Windows 10 release                                                                                INFO Checking Windows edition                                                                                INFO Checking if Hyper-V is installed and operational                                                                                INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
Setup is complete, you can now run 'crc start' to start the OpenShift cluster
PS C:\> .\crc.exe start --log-level debug
DEBU CodeReady Containers version: 1.16.0+004e857
DEBU OpenShift version: 4.5.0-0.okd-2020-10-15-235428 (embedded in binary)
DEBU Total memory of system is 34290573312 bytes
WARN A new version (1.18.0) has been published on https://cloud.redhat.com/openshift/install/crc/installer-provisioned
INFO Checking if oc binary is cached
DEBU Running 'C:\Users\michael\.crc\bin\oc\oc.exe version --client'
DEBU Found oc.exe version 4.5.0-0.okd-2020-10-15-235428
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU Currently podman remote is not supported
INFO Checking if goodhosts binary is cached
DEBU goodhost binary already cached
INFO Checking minimum RAM requirements
DEBU Total memory of system is 34290573312 bytes
INFO Checking if running as normal user
INFO Checking Windows 10 release
INFO Checking Windows edition
DEBU Running on Windows Professional edition
INFO Checking if Hyper-V is installed and operational
INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
? Image pull secret [? for help] *******************************************

INFO Loading bundle: crc_hyperv_4.5.0-0.okd-2020-10-15-235428.crcbundle ...
INFO Checking size of the disk image C:\Users\michael\.crc\cache\crc_hyperv_4.5.0-0.okd-2020-10-15-235428\crc.vhdx ...
INFO Creating CodeReady Containers VM for OpenShift 4.5.0-0.okd-2020-10-15-235428...

No further logs and no progress thus far, is this possibly something different than expectation management?

Please file a new issue as you need to provide the requested info. Also note that this issue has been closed for over a year.

authors: gbraad neodingo tofflos

repo: code-ready/crc


text:
feature: Favicon

Is your feature request related to a problem? Please describe.
Since most users prefer dark themes in their browsers they might have some dark readers/Themes for their Chrome, this resolves the problem with favicons having white backgrounds, which can be disturbing.
This is a good to have feature as it even does not interrupt the users who do not have any dark reader and helps the people with dark reader/Theme.
Describe the solution you'd like
Remove the white background in favicon
Describe alternatives you've considered
removing it helps to extract the white part and just keeps @hkirat 's image.
Sample ScreenShot

@hkirat Can you look at this


text:
fieldy 绑定同一个字段，逻辑编排的 merge 节点逻辑错误

需要更新新的fieldy

authors: codebdy wulucxy

repo: codebdy/rxdrag


text:
SvgLogo background in release 1.4.2

When using the new SvgLogo prop on the pre-release build 1.4.2 for SVG output, the background area of the logo should be cleared before the logo is rendered otherwise the logo will be obscured by erroneous data.
A workaround to this is to add a white fill in the SVG logo used.
This is not a problem with bitmap logos.

Working on this a little more, the resulting SVG has some strange characteristics.  In the attached example (which had to be zipped but was created with QRCoder), you can see it renders fine in browsers, but if you import it into an app (like Inkscape, Canva, Boxy or Illustrator) the icon is lost or ignored or there are security warnings.  Note: this icon was created with a white fill to avoid the problem originally highlighted in this issue.
google.zip
,

Hi @btmi , I could test only Boxy and Inkscape. Boxy showed the logo off canvas/misplaced. Inkscape didn't show it at all. It seems like those applications (in opposite to webbrowsers) don't like relative placement of the image tag.
QRCoder places the image with relative position:
<svg width="100%" height="100%" version="1.1"
        xmlns = "http://www.w3.org/2000/svg">
        <image x="43%" y="43%" width="15%" height="15%" href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0i...z4K" />
    </svg>

If I fix this manually to absolute positions, like below, it seems to work:
<svg width="100%" height="100%" version="1.1"
    xmlns="http://www.w3.org/2000/svg">
    <image x="552.767" y="640.709" width="516" height="216" xlink:href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0i...z4K"/>
  </svg>

So I guess we have to rewrite the logo functionality to use fixed positions instead of relative ones.
The following .zip contains a manually patched SVG. Can you try if this works in Illustrator and Canva, too?
google_test.zip

Yes - that change seems to fix most of the issues I have witnessed.  Canva was perfect, and Illustrator was able to load the file  (my version of Illustrator is old and it did not include the icon but I am sure that is a version issue).  Also the previews were correct as well.  In Inkscape I notice that the image loads as a bitmap and so is not scaled, but I read that this was the case somewhere.
So this is the best solution for the bitmaps.
For SVGs though, I have another solution that changes the height. width, x, y coordinates and adds a viewport of the main svg node to get the scaling right.  See my attached example, which also includes a fix for the white space as well (the line immediately before the added svg).  The values were obtained by using the same co-ordinates as the barcode - relative values did not work.  By doing it this way, you also can then (optionally) change the background and fill color of SVG should so desire.  Please note, that I am not an svg or qrcode expert and I have made some assumptions (like the placement of the whitespace), but all of my tests so far have worked.   If you want me to do the coding to put this theory in practice, I am happy to give it a go.
google_test3.zip
o.

Hi Peter,
Thanks for the feedback. I already started the implementation. You can find the current progress in this branch: https://github.com/codebude/QRCoder/tree/bugfix/343-svglogo-background-and-positioning
This implementation is working with absolute positions, but it seems to work/scale fine for me. Instead of painting the area behind the logo in the light color, I calculate if a dark module shall be painted or if it would overlap with a logo. I think this is a more elegant solution, because when the user gives a logo size that would partly overlap some of the module/blocks we would end up with "half" modules at the logo's edges. That would look somehow "wrong". So my approach to clean the background behind the logo, is to just paint not data modules behind it.
I'll merge this branch on Monday. (I have to write some more tests, before I merge it, but I'm on the road this weekend...) So either wait for the CI build/GitHub package or feel free to checkout the branch and compile it yourself. (If you want to test it now.) :-)

My personal view is that rendering the logo as a SVG via a viewport is a better option than converting it to an image if the source is a SVG as it will make the resulting QRCode completely scalable (which for my mind is the goal of SVG output) and also removes all rendering issues on all platforms (the image tag is ignored by some).  I do understand your approach though and when you have finished making your changes I will try this out on my fork and share with you the results when I am done.  Have a great weekend.

Hi @btmi ,
I finalized the changes, merged them and created a CI-version. (You can find the package including all changes here: https://github.com/codebude/QRCoder/packages/1072246)
After your last feedback I also re-wrote the rendering for logos of SVG-type. They will be rendered as "native" SVG instead of -tag.
Feel free to re-open this (or a new) issue, in case you find any problems with the current state of the implementation.

Looks good.
I took a slightly different approach by adding a bool to the SvgLogo definition to set whether or not it is embedded or rendered.  Can I also suggest you add the Attribute shape-rendering="geometricPrecision" to the sub svg node to counteract the "crispEdges" in the main svg.
My version is here https://github.com/btmi/QRCoder/blob/78b9680e9bdc37330d84c014ff720191c71db6e5/QRCoder/SvgQRCode.cs, but I will play with yours when it is released.

authors: btmi codebude

repo: codebude/QRCoder


text:
Problem German Umlaute

Problem with
123456789äüß will return
123456789???
But
Ä123456789äüß returns
Right
Please correct

Hello @jhillmannco ,
this isn't really a bug by QRCoder but rather a bug by yours and some other QRCode readers. QRCoder generates valid QR codes. Just try the QR code in the following QR decoder and you'll see that everything is fine:http://qrlogo.kaarposoft.dk/qrdecode.html
How it has to be done
The problem's source lies in the QR code standard (ISO/IEC 18004). There you can read in chapter 5:

"[...] byte data (default: ISO/IEC 8859-1; or other sets as otherwise defined (see 6.3.4));"

and in chapter 6.3.4

"In closed-system national or application-specific implementations of QR Code 2005, an alternative 8-bit character set, for example as defined in an appropriate part of ISO/IEC 8859, may be specified for Byte mode. When an alternative character set is specified, however, the parties intending to read the QR Code 2005 symbols require to be notified of the applicable character set in the application specification or by bilateral agreement."

What QRCoder does
So this is exactly what QRCoder does. If a payload has to be encoded in Byte-Mode, QRCoder checks if the string can be encoded in ISO-8859-1. If so, it uses ISO-8859-1 encoding, because of the QR code ISO standard. If the payload for example contains asian characters, which can't be encoded in ISO-8859-1, it automatically switches to Utf-8.
What your QR code app does
Your QRCode app doesn't show the umlauts. In most cases this happens, when QR code readers expect Utf-8 in every case. Hardly spoken, this is the result when somebody implements an app which doesn't observes the standard.
How I "solved" it
To help you with your trouble, I added an additional parameter on the CreateQrCode-method in QRCodeGenerator-class with this commit: https://github.com/codebude/QRCoder/commit/e47361081f97002a9853dc05d40139d89a775dca .
So by setting the parameter "forceUtf8" to true, you can tell the QRCoder to encode Byte-mode payloads in Utf8 anytime. Thereby your non-standard QR code reader should be able to read the code.
But please take note, that you're leaving the standard path, too, by setting this parameter. Also most QRCode readers should be able to handle this mode, because Utf-8 encoded payloads are marked as such, so most readers should be able to detect the forced Utf-8.

Perfect Solution !

Very Good Library now im gonna replace Fuckuchi LibQrencode with this awesome QRCoder

May I ask you, in what project you use the library? If you don't want, no problem, but I'm always interested to see where and how it helps other developers.

Hallo
Benutze es es für einen Girocode damit Rechnungen per App damit bezahlt
werden können
Lg
Jürgen
Am 07.07.2016 16:44 schrieb "Raffael Herrmann" notifications@github.com:

May I ask you, in what project you use the library? If you don't want, no
problem, but I'm always interested to see where and how it helps other
developers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codebude/QRCoder/issues/43#issuecomment-231099420,
or mute the thread
https://github.com/notifications/unsubscribe/ATY87JlIqpsiTL7nql2aWud-gYVhGL2Gks5qTRDdgaJpZM4JGuyp
.

authors: codebude jhillmannco


text:
DataTooLongException: Generating QR Code for URL Payload with fixed version

Type of issue
[x ] Bug
[ ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement
Expected Behavior
I'm trying to generate a version 8 QR Code to share an URL, and I thought it would simply generate it with the specified parameters
Current Behavior
However, it throws the following exception:
QRCoder.Exceptions.DataTooLongException: 'The given payload exceeds the maximum size of the QR code standard. The maximum size allowed for the chosen parameters (ECC level=M, EncodingMode=Byte, FixedVersion=8) is 152 bytes.'
Possible Solution (optional)
I noticed that the encoding mode selected for the text is Byte even though the text is Alphanumeric. I took a look at the code and found out that this is the method used to assign the EncodingMode, and the highlighted . According to qrcode.com, the maximum byte size for a version 8 QR Code with an alphanumeric encoding and an ECC-level M is 221, which would fit my URL, an alphanumeric text.

Steps to Reproduce (for bugs)

QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(new PayloadGenerator.Url("https://www.walmart.com/search?q=oatmeal&max_price=7&catId=976759&facet=flavor%3AUnflavored%7C%7Ccustomer_rating%3A4+-+5+Stars%7C%7Ccontainer_type%3ABag%7C%7Cdietary_need%3AOrganic%7C%7Cretailer_type%3AWalmart")
    .ToString(), QRCodeGenerator.ECCLevel.M, requestedVersion: 8);
AsciiQRCode qrCode = new AsciiQRCode(qrCodeData);
string qrCodeAsAsciiArt = qrCode.GetGraphicSmall(drawQuietZones: false);

Your Environment

Version used:  QRCoder.1.60
Compiled from source or NuGet package?:  NuGet package
Payload/Encoded text:  new PayloadGenerator.Url("https://www.walmart.com/search?q=oatmeal&max_price=7&catId=976759&facet=flavor%3AUnflavored||customer_rating%3A4+-+5+Stars||container_type%3ABag||dietary_need%3AOrganic||retailer_type%3AWalmart")
Used payload generator:  Url
Used ECC-level:  M
Used renderer class:  AsciiQrCode
Environment (.NET 3.5, .NET 4.X, .NETCore, ...):  .NET 8

Alphanumeric only contains uppercase characters. Convert your url completely to uppercase and it will select the alphanumeric encoding mode automatically.

Alphanumeric only contains uppercase characters. Convert your url completely to uppercase and it will select the alphanumeric encoding mode automatically.

I understand. What should I do in the case that a query parameter in my URL is case sensitive and requires I send lowercase characters as well to get the results?

Any lowercase characters will require the byte character mode. I think QR codes can switch modes mid-stream but I don’t think the QRCoder library contains logic to do so. (?) The easy answer of course is to use a larger QR code or generate shortened urls somehow (e.g. private or third party server). Note that most servers have case-sensitive paths, so switching to uppercase would only work if it is known that the server is case insensitive. Often this is the case with Windows-based servers.

Depending on your requirements maybe some parameters can be eliminated.
The following is an Amazon example of two urls which point to the same location:
https://www.amazon.com/DEWALT-DWST17806-TSTAK-Deep-Box/dp/B00CBY2EIO/ref=mp_s_a_1_3?crid=28F7T8LUWN9FL&dib=eyJ2IjoiMSJ9.gyMaH3ynQrp3V2plH6aplXgrWdeE6qfdJaaiHydy2W7UI3naE13H6mDFUfDwqEkHOBFNmSqZy03SYVlRsbscZ866iF1YF69w9SE9Y9761ztajCQoQBRHEx3ZV_iLXeswgsAwVZ_hPmQQRmxzHnql2enZrcN0SGrcPgBqwB3Rn1GMfhM0rgv5YouEx10zAtilccCvaHSw1T1zBU1__qtyfA.ni80X4w-k4hgXQUrZTJaBEhRF_gIvUfUqlq-jUimw1A&dib_tag=se&keywords=tool+box&qid=1731510697&sprefix=tool+box%2Caps%2C90&sr=8-3
https://www.amazon.com/dp/B00CBY2EIO

Thank you for the suggestions. I ran some tests, including converting the mandatory lowercase letters to its hexadecimal value. However, it continues to choose the byte encoding mode because of the following characters: ?, &, and =. I just wanted to know if shortening the URL or choosing a larger QR version are still the only options for me at the moment. Are those characters not considered alphanumeric? I appreciate your assistance.

please see https://en.wikipedia.org/wiki/QR_code under  which describes the exact characters available for each encoding mode


text:
Include Haddock documentation in generated types

In some cases it'd be really useful to include Haddock documentation in generated types. As of TemplateHaskell 2.18 (GHC 9.2), there's a getDoc function which allows you to obtain Haddock docs inside the Q monad for a given Name, which means that we can call it inside deriveTypeScript. This functionality has been implemented in the Moat library (which generates Kotlin and Swift types from Haskell type definitions in a similar way; see https://github.com/MercuryTechnologies/moat/pull/56) already, so I think it ought to be possible here too.
I think we'd want to make this configurable, since it's possible that some people have setups where the Haddock documentation contains information that they wouldn't want to expose to whoever is consuming the TypeScript types.
I'd suggest going about it as follows:

Add a generateDocComments :: Bool field to ExtraTypeScriptOptions which determines whether to attempt to pull doc comments when generating TypeScript types.
Add Maybe fields to the appropriate TypeScript AST types - TSDeclaration etc - to hold doc comments. We'd set these fields to Nothing if generateDocComments is set to False, if TemplateHaskell is not at least at version 2.18, or if the type isn't documented.
Alter formatTSDeclaration etc to render those doc comments alongside the type if present.

Does this sound like something you'd be interested in merging if I were to send a PR?

I just realised that this already exists in 0.5.0.0!

repo: codedownio/aeson-typescript


text:
fixed header width

The navigation bar of the close menu is not the right width

The navigation bar of the close menu is not the right width

This happens when the sidebar shrinks


text:
Fix tif isues

Co-authored-by: Bethany Seeger bseeger@codeforamerica.org
[#183995116]

@bseeger take two! moved this to the library, merge if it looks good!

repo: codeforamerica/form-flow


text:
Avoiding Travis cache issues - options

The Travis folks got back to me about avoiding this in the future. We can either to get rid of cache in the config or, when we edit something related to Travis, we manually go to https://travis-ci.org/codeforboston/cliff-effects/caches and delete our current cache archives.
The first would be automatic, which is a plus, but which would probably mean a longer wait time for the tests to run. The second is more knowledge that would have to be spread around, but the tests would probably be faster. Unsurprisingly to the folks who know me, I'm in favor of the first option - getting rid of the cache entirely. We could probably get rid of the comment I added at that point, and not have to add a new comment about caches!
Thoughts?

Group decision: remove cache.

authors: Butterwell knod

repo: codeforboston/cliff-effects


text:
Return IconColorRGB in /api/v1/Trolleys/Running

It would simplify some of the front-end logic if we return the IconColorRGB in the 'Running' endpoint. That way I don't have to download the entire list of trolleys and loop through them to find the color of the running trolleys!

I've tried to minimize the size of communications with both the beacons and clients in the Running endpoint, including stripping off cookies.   There's a good chance that we'll have to move to Azure in the future, where bandwidth will be part of the direct cost.
Since there are only a few trolleys, can the trolley information be downloaded once and cached?

Ah, I see. If that's the case, then I certainly can cache trolley data! No problem.

authors: ajhodges bikeoid


text:
add logo images

@Nekoya3 画像忘れてた

がばがばreviewごめん

repo: codeforjapan/StudyAtHome-LP


text:
UX Enhancement - New Iconography For Buses & Streetcars

User Story
As a user, I would like the ability to quickly and visually identify streetcar routes from bus routes from the map view.
### Tasks
- [ ] Design / Create assets
- [ ] Conditionally append icons to map markers

Hey @AndrewLeach94, any progress on this?
I couldn't find anywhere in the codebase where we actually differentiate between streetcars and buses, but vehicle type data is extremely easy to obtain via scraping, so I've done that. Made a little Go script to retrieve the data in this shape:
lookup by route
{
  "3": { "type": "bus", "name": "3 Tulane - Elmwood" },
  "8": { "type": "bus", "name": "8 St. Claude - Arabi" },
  "12": { "type": "streetcar", "name": "12 St. Charles Streetcar" },
  "46": { "type": "streetcar", "name": "46 Rampart-Loyola Streetcar" },
}

(Annoyingly, not all of the streetcar route names contain the substring "Streetcar.")
I also noticed the route select/dropdown doesn't show route names. I think this data structure would be helpful for the frontend to provide names and vehicle types in the dropdown, as well as during the process of generating the markers for each vehicle.

I'm starting to think about this and I realized why we're currently using arrows.
The icon component we're using is a rotating icon. The arrow, having no inherent orientation, allows us to simply rotate it to show bearing.
If we were to use a picture of a bus or streetcar, which has an inherent orientation (the img must be oriented so the top of the vehicle is at the top), we can't simply use rotation anymore.
This is the best I could come up with while effin around in the codebase. The icons are wrong -- I'm using a bus for everything as I experiment.

There's a great designer who's interested in contributing, so I was thinking he could design the icons. @HauntedHamburger (Phillip B.)
And I'm basically half way there with this issue, so I guess I'll just finish, @AndrewLeach94, if you're still cool with that.
I also want to ask the group:
Where should we mix in the vehicle type data? The backend makes sense, generally speaking (keep work on the server ethos), but I wonder if that would reduce consistency, given the current state of things. Looking at the React app, it feels like we should keep the backend as is, and do this in the frontend.
What do we think? A or B?

A) Keep it consistent by including data/vehicle_types.json (doesn't yet exist) in the frontend, and query that object for the route type when we need vehicle type data
B) Mix vehicle type data into BustimeData in the backend before sending to frontend?

@its-all-waves I vote to keep things consistent by handling vehicle types in the FE.

repo: codefornola/nola-transit-map


text:
Add a heading "Download the app from Appstore(s)" before the store links on homepage - For OSDW 2017

Add a heading "Download the app from Appstore(s)" before the store links on homepage

Kindly unsubscribe me
Thanks
Sent from my iPhone
On 28 Jan 2017, at 10:46 am, Kashif Zaidi <notifications@github.commailto:notifications@github.com> wrote:
Add a heading "Download the app from Appstore(s) before the store links on homepage"

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/codeforpakistan/Messiah-Web/issues/67, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGPC2sQU0bDvGV-_eh731CUZ5VRI9pj0ks5rWtY2gaJpZM4LwbZN.

This issue was moved to kashifzaidi1/Messiah-Web#22

❤ 💚 💙 💛 💜

repo: codeforpakistan/Messiah-Web


text:
Refactoring hooks directory

Is your feature request related to a problem? Please describe.
Not much of an issue at the moment because we have so little custom hooks, but could try refactoring existing index.js.
Describe the solution you'd like
Could refactor the existing custom hooks into their own file and export them into index.js for imports.

Issue merged into Development in PR #204. Closing issue.

repo: codeforpdx/PASS


text:
fix scripts, add alphanum characters as sprites [100%]

@toto4tots
PR fixes some scripts left by saar for fixing SVGs. Adds a new script for resizing SVGs.
also adds alphanumeric characters as sprites.

@toto4tots can you review this and then we should merge this

Planning to pair w Joel on Monday about it. Do we want to get this merged today? @dkrame11

no monday is fine

Paired w Joel on this, talked about some of the limitations but this is working for me
Just one note that right now, we're not really able to customize these characters.
Namely, we can't change the color of the 'a'

I think this is okay for now but something to note for elementary team

repo: codehs/scratchjr


text:
Request: Bulk route filters with parameters

Currently route filters can be applied in two places:

in app/Config/Filters.php using $globals, $methods, or with URI patterns in $filters
in app/Config/Routes.php as an option to any given route or route group, e.g. ['filter' => 'role:admin']

I would like to be able to use the versatility of URI patterns with filter parameters, but currently these are mutually-exclusive features. Entries in Filters.php cannot take parameters and Routes.php doesn't support filter options for non-specified routes. Using route groups we can apply a filter to any specified routes, e.g.:
$routes->group('manage', ['filter' => 'role:admin'], function($routes)
{
	$routes->add('users', 'App\Controllers\Manage\Users::index');
});

... but this requires that all routes be listed explicitly rather than allowing auto-routing.
I would like to see either (or both):

parameter support added to Filters.php
some way of creating a route group (with options) that will apply the options to autorouted matches in Routes.php

I think I was able to accomplish what I wanted with the following:
$routes->group('manage', ['filter'=>'role:admin', 'namespace'=>'App\Controllers\Manage'], function($routes)
{
	$routes->add('(.+)', '$1');
});

... but I'm going to leave this here until a few more eyes have seen it just in case.

I'm trying to add filters similar to what you are doing to staff routes. It seems as if the filter doesn't take when it's in the Config/Routes.php file like this:
$routes->group('staff', [
    'namespace' => 'Staff\Controllers',
    'filter' => 'permissions:access_staff'
], function($routes)
{
    // Routes listed here
});

I tried removing the parameters and just left it as permissions and it still doesn't initiate it. This is my Config/Filters.php file:
public $aliases = [
    'csrf'        => \CodeIgniter\Filters\CSRF::class,
    // 'toolbar'     => \CodeIgniter\Filters\DebugToolbar::class,
    'honeypot'    => \CodeIgniter\Filters\Honeypot::class,
    'auth'        => \App\Filters\Auth::class,
    'permissions' => \App\Filters\Permissions::class,
    'roles'       => \App\Filters\Roles::class
];

I added the alias for permissions and inside that filter class, I have a simple var_dump('hi');die; and it doesn't throw it. However, if I add the filter inside the filters array inside the Filters.php file like so:
public $filters = [
    'permissions' => [
        'before' => ['v1/staff/*']
    ]
];

It hits the var_dump line. However, I can't add parameters to it like this:
public $filters = [
    'permissions:access_staff' => [
        'before' => ['v1/staff/*']
    ]
];

It doesn't hit the filter :( In the Controller Filters part of the User Guide, it says we can pass parameters. Is this not the case? This is a pretty much necessary functionality of a Filter. I would hate to create a filter for EACH permission.

That's the essence of one resolution for this request, to allow parameters from ** Filters.php**. Currently they are not supported, as you latter test exhibits.
Your first approach looks like it should work fine. Make sure your namespaces and URIs are all matching correctly (e.g. your route group matches on "staff*" whereas your global filter matches "v1/staff/*").

Ah okay.
And the group inside the Routes file is actually wrapped inside a group for all v1 routes:
$routes->group('{locale}/v1', function($routes) {
  // All routes are wrapped inside this
});

Rhis should be discussed/resolved on the forum before showing up here.

UPDATE: This doesn't work. It runs the filters correctly on the route but then fails to match to the expected controller. This line from the User Guide made me think I could use dynamic controller routing:
$routes->add('products/([a-z]+)/(\d+)', '$1::id_$2');

... but maybe it doesn't work like that?

Dynamic controller routing indeed does not seem to work.
I took a look into this and it seems that in "system/Router/Router.php", line 470 prohibits this:
$val        = preg_replace('#^' . $key . '$#', $val, $uri);
Here, $val is the routing target prepended by, e.g. App\Controllers\. If you try dynamically routing the controller, the full target then renders as App\Controllers\$1::index, which leads to the preg-replace function to interpret \$1 as an escaped $ sign and yields App\Controllers$1::index as the replacement result.
I'm not sure if this is intended behavior, however, I simply dodged this issue by inserting
$val = str_replace('\\', '\\\\', $val);
before the line mentioned above. So far, all tests I have conducted seem to work.

So this works, i tried this before the routes does not exists :(
All time these routes implemented by codeigniter 4 team is just not enough.
Like they only have to manually create routes for some automatically generated modules to work.

UPDATE: This doesn't work. It runs the filters correctly on the route but then fails to match to the expected controller. This line from the User Guide made me think I could use dynamic controller routing:
$routes->add('products/([a-z]+)/(\d+)', '$1::id_$2');

... but maybe it doesn't work like that?

Dynamic controller routing indeed does not seem to work.
I took a look into this and it seems that in "system/Router/Router.php", line 470 prohibits this:
$val = preg_replace('#^' . $key . '$#', $val, $uri);
Here, $val is the routing target prepended by, e.g. App\Controllers\. If you try dynamically routing the controller, the full target then renders as App\Controllers\$1::index, which leads to the preg-replace function to interpret \$1 as an escaped $ sign and yields App\Controllers$1::index as the replacement result.
I'm not sure if this is intended behavior, however, I simply dodged this issue by inserting
$val = str_replace('\\', '\\\\', $val);
before the line mentioned above. So far, all tests I have conducted seem to work.

Bro you are a genius, i don't know how you did that, it is working, i had to rewrite all my controllers with first letter lowercase because all my urls are with lowercase, this is working amazingly.

@crustamet : Please keep in mind that this is a change in the core files, so it will be reverted when updating CI and it also might not be intended behavior. So I would wait for someone official to comment on this.

The current thread is a hijack for a different issue. If there is a bug please open a new issue report. Feature Requests should be opened on the forums for discussion and then linked here if deemed appropriate. Please keep conversations on this topic to route filters.
FWIW dynamic Controller auto-routing was considered a security issue so intentionally is not allowed.

authors: MGatner crustamet hlohrenz jim-parry sfadschm


text:
Retry handle fatal error via pre_sytem

Previously, I created PR #1510 which made coverage dropped significantly by placing ob_start() in  system/Debug/Exceptions::initialize().
In this PR, I am trying again this with set in in pre_system event.
Before patch:

After patch:

Checklist:

[x] Securely signed commits

@jim-parry I've updated again, now with use it if `ENVIRONMENT !== 'testing' check, so it will not influence the testing part on buffering process

The coverage now remained the same at 72.762%

It looks like this indeed solves your problem, but I have two concerns:

It feels funny to start output buffering, and not to close it. Am I missing something?
Is this going to cause problems for other code?

authors: jim-parry samsonasik


text:
Fix url helper functions to work when site hosted in subfolders.

base_url fixed to ensure a trailing slash when it needs it to property resolve relative URIs
current_url fixed to merge any folders in the request URI's path.

Fixes #2365
Fixes #2347

Wow that was a mess. Who knew it would be so complicated? Thanks for the digging!

@MGatner Yeah, it was a bit of a pain to track down. I got the base_url fix relatively easy, but the other took me down a few wrong turns.  Hopefully this fixes it.

authors: MGatner lonnieezell


text:
fix: incorrect metadata querying of Redis cache

Description
Fixes #7304
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@paulbalandan Thank you!

authors: kenjis paulbalandan


text:
GH: auto label conflict PR

Description
I think this help
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@ddevsr Thank you!

Sorry, this does not work.
We need to rework.

the place of the file is wrong.
if the PR is not updated, the check does not run.

The file must in workflows?

Yes.
See https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#create-an-example-workflow

@kenjis I make PR to moving #7928

@ddevsr Thank you!

authors: ddevsr kenjis


text:
chore: add names to github workflows

Description
Shorten the names to allow elapsed time to be displayed on PR pages.
Before:

After:

Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[] Conforms to style guide

@paulbalandan The first attempt was not sufficient.
Now we can see all the elapsed time.


text:
Bug: Incorrect operation of command shield:setup if there is  // service('auth')->routes();

PHP Version
8.1.5
CodeIgniter4 Version
4.3.2
Shield Version
dev
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MySQL
Did you customize Shield?
No.
What happened?
Command shield:setup does not correctly update file app/Config/Routes.php if there is //service('auth')->routes($routes); or // service('auth')->routes($routes);.
Steps to Reproduce
Adding the following to file app/Config/Routes.php:
// service('auth')->routes($routes);

Or
//service('auth')->routes($routes);

run :
php spark shield:setup

CodeIgniter v4.3.2 Command Line Tool - Server Time: 2023-04-11 18:33:42 UTC+04:30

  File 'APPPATH\Config\Auth.php' already exists in destination. Overwrite? [n, y]: y
  Created: APPPATH\Config\Auth.php
  File 'APPPATH\Config\AuthGroups.php' already exists in destination. Overwrite? [n, y]: y
  Created: APPPATH\Config\AuthGroups.php
  Skipped APPPATH\Controllers\BaseController.php. It has already been updated.
  Skipped APPPATH\Config\Routes.php. It has already been updated.
  Security Setup: Everything is fine.
  Run `spark migrate --all` now? [y, n]: y
Running all new migrations...
Migrations complete.

See file app/Config/Routes.php, service('auth')->routes($routes); is not added.
Expected Output
If there are //service('auth')->routes($routes); or // service('auth')->routes($routes);, either leave the comment mode or add a new service('auth')->routes($routes); to the file.
Anything else?
No response

Do you really need the Expected Output?
Eventually, it will be necessary to parse the Config file to find the tokens.
/* service('auth')->routes($routes); */

/*
service('auth')->routes($routes);
*/

# service('auth')->routes($routes);

Do you really need the Expected Output?

Kenjis I was developing a project when I found out about this completely by accident. The fact is, in my opinion, it is not an important issue, however, I reported it so that I don't forget.
I will close the topic now, if it is reported by someone else, it will be followed up.

authors: datamweb kenjis


text:
run test and benchmark test

Can you please specify the commands to run your tests and benchmark ?
Thanks

Hi,
The benchmarks have a comprehensive documentation in benchmark/README.md.
The tests are run with CTest (it's mentioned in the main README.md but I reckon it could be explained better). After compiling the project with the tests, in your build folder you can simply run ctest to run all the tests, or if you want to run a specific test on a specific device you can invoke the executable, e.g ./test/unittest/blas3_gemm_test --device=intel:gpu
I will update the documentation with more information about the tests and benchmarks.

repo: codeplaysoftware/sycl-blas


text:
setup base docs and example

enhance docs and example of the lib that are now quite minimal
https://github.com/coders51/rabbitmq-stream-js-client#readme

@gpad while expanding the examples I've noticed that the logger of the lib is not configurable and quite loud, as a user I think that the level of that log must be configurable by the user WDYT?


text:
I159 fix team page UI

Change Summary
[Briefly summarise the changes that you made. Just high-level stuff]
The issue with alignment was only visible on firefox
Fixed alignment so is consistent with both firefox and chromium based browser
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

[ ] The pull request title has an issue number
[ ] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation

Other Information
[Is there anything in particular in the review that I should be aware of?]
Bug where elements on create-join team page become active when new team button is clicked, could not resolve so creating issue
Related Issue

Resolve #159

fixed space at bottom

repo: codersforcauses/csf


text:
Responsive issue for mobile view

Hey @codervivek5 I noticed that website is not responsive so I want to work on this issue please assign me under GSSoC-23 thanks.

I would like to resolve this issue  @Vishal-Parasram
Can you assign me this issue?Or any other open issue?
Heres My Resume which you might find useful: Resume
Ive more than 1 year of experience in android development(check profile for more details)

@s0oraj I'm also contributing. I'm not a owner create any other issues.

@codervivek5 Thanks for assigning me. I will work on this issue.

@codervivek5 Hey I'm working on this issue it take some time sorry for delay.

Can you assign me with this issue I want to work on this. I have some prior knowledge on web technologies?


text:
Welcome email with a link to the wrong repository

When I subscribed to this repository, the welcome email contained a link and title for an issue in another repository entirely:
https://github.com/joefitzgerald/go-plus/issues/101
You signed up to help triage GitHub issues on golang/go. That's pretty awesome.

Triage Issue: golang/go#101

autocomplete-plus completion not working with go-plus

Goals of Triage

Help share the weight of maintaining a project
Minimize un-needed issues
Prevent stale issues
Encourage productive communication
Teach good citizenship
To become a better coder

I also subscribed to another repository, which worked fine. Both of these were first-time subscriptions setting up CodeTriage for the repository.

@nathany Can list out the steps to reproduce this?

No. I don't think it's reproducible. It only happened once of all the times I've subscribed to a repository. Like a race condition or something.

I think I fixed it in #289

Both these repos had a fair number of issues, though maybe that fix also fixes this too?

Haven't seen this come up again

authors: igas nathany schneems spidergears

repo: codetriage/codetriage


text:
(Pageflow Next) Full screen for inline-images

In Pageflow Next it is not possible to view an inline image in full screen mode. This would be a good additional option.

#1902 now allows enlarging images and zooming in further via pinch gesture on mobile.

authors: Wiwaltill tf

repo: codevise/pageflow


text:
Improve quality of panorama image file styles

Pan zoom feature of linkmap page requires better quality.
REDMINE-15957

Coverage remained the same at 99.158% when pulling ed6915b88d3c098652802d88b06586a2a63fc821 on tf:panorama-style-quality into a40f5463d4a832a7bcb6e642c5267333e53dcc73 on codevise:master.

Coverage remained the same at 99.158% when pulling ed6915b88d3c098652802d88b06586a2a63fc821 on tf:panorama-style-quality into a40f5463d4a832a7bcb6e642c5267333e53dcc73 on codevise:master.

authors: coveralls tf


text:
Add character: 4 to font: boomer

Character : 4
Font : boomer

I want to write code for 4.

4 has already been added under #106. Try for something else.

repo: codewithnick/ascii-art


text:
facade alias

What is the correct form of codex's facade alias?
(btw: codex and CodeXmonk is only a coincidence but lucky, because codex is really good!-)

Right now there is no facade alias. This is still pretty early in development - if you're looking to use Codex now for your documentation needs, you should check out the legacy repo here: https://github.com/codex-project/legacy-codex

authors: CodeXmonk kaidesu

repo: codex-project/codex


text:
Write a Perl program to reverse words in a string

Description
Write a Perl program to reverse words in a string
Input  : "Hello World"
Output : "World Hello"

Contributed by - @Parvezkhan0

How to contribute

Fork this repository
Create a new branch
Save the solution in program/reverse-words-in-a-string/reverse_words_in_a_string.pl
Commit the changes
Create a pull request

!assign

repo: codinasion/codinasion


text:
Write a R program to convert standard date format to julian date and vice-versa

Description
Write a R program to convert standard date format to julian date and vice-versa
A Julian date is a way of displaying a date that combines the current year with the number of days since the beginning of the year. For example, January 1, 2007 is 2007001, and December 31, 2007 is 2007365.
The first two digits of a Julian date represent the year, and the last three digits represent the number of days since the beginning of the year. For example, 21-001 represents January 1, 2021, and 22-165 represents June 14, 2022.
Example
Input  : 2023-06-10
Output : 2023160

Contributed by - @magar51

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/convert-standard-date-format-to-julian-date-and-vice-versa/convert_standard_date_format_to_julian_date_and_vice-versa.r
Commit the changes
Create a pull request

!assign


text:
Write a Java program to find volume of a cube

Description
Write a Java program to find volume of a cube
Volume of cube = Side^3
Side : 2

Volume : 8

How to contribute

Save the solution in program/FindVolumeOfACube.java file
Add FindVolumeOfACube.java file in find-volume-of-a-cube folder

!assign

!assign

Hey @manyadua16, this issue is already assigned to @CodingWithHardik !!!
Please choose another issue.
Thanks for your interest in contributing to this project.

!assign

repo: codinasion/program


text:
Write a Rust program to find square of a number

Description
Write a Rust program to find square of a number
Input  : 5
Output : 25

How to contribute

Save the solution in find_square_of_a_number.rs file
Add find_square_of_a_number.rs file in find-square-of-a-number folder

!assign


text:
GitPod free not viable

Not sure if you want to move GitPod into paid or not because it's over 200$/mo now.
Their free option only allows 50hr/mo and their paid plan is 0.36$/hr
I'd submit a PR but IDK which way you'd want to move it and my head hurts right now. Just wanted to at least report it

https://github.com/codingMASTER398/noreplit.com/commit/9846a8d7a1bc0ebac851bd2ae6c780752e31e2de


text:
Quote suggestion

There should be a form which everyone can use to suggest quotes. Nothing special. Just a text field, a submit button and probably CAPTCHA (I think of reCAPTCHA or other similar services).
The suggested quotes should be put in a pending queue. Admin can watch this queue and approve or disapprove the quotes from it. So, it requires to add a new table to our current database scheme for pending quotes and implement an admin panel for managing them.
Currently, we don't have any decent authorization mechanism, so let's use basic auth for any admin actions. You can find examples of using basic auth in LogList here.

This can be closed

repo: codingteam/loglist


text:
Validacion entrega de talleres

Buenas tardes,
El día de ayer envié 2 de los talleres entre las 9-10pm y aun no recibo respuesta de parte del BOT, validando con los grupos de estudio el BOT esta funcionando correctamente el día de hoy, volví a reenviarlos el día de hoy y sigo sin respuesta. Adicionalmente el profesor envió nuevamente el reporte de notas y aun no tengo notas asignadas. Me podrían ayudar por favor validando si hay alguna novedad o bloqueo con mi correo?
Comparto mis datos:
Email: andresfrm.10@hotmail.com
Cel: 3046561657
Muchas gracias.

Hola!! Me sucede algo muy similar a mi compañero. El día de hoy envié los primeros dos talleres por primera vez, a eso de las 4 pm. Este issues lo creo porque ya existe un precedente con mi correo, ya que nunca recibí talleres evaluativos a través de este medio (correo), y eso me hizo pensar que posiblemente podría tener problemas con la retroalimentación también.  Me gustaría que me ayudaran por favor a rectificar que todo se encuentra ok con mi correo y que no hay inconvenientes con la retroalimentación.
Email: catalinaricardodelaossa@gmail.com
Cel: 3007788174
Muchas gracias

Hola, @anfereme23
Durante las 20 horas del curso, se ha mencionado constantemente que no se permiten archivos compartidos, todo sedee adjuntar, por favor mira estos pasos:

evidencia de como estas entregando los trabajos

Hola Profe @luisvasv-teck cuando nos respondió el mensaje en telegram, revise y vi el error, mil disculpas. Por alguna razón cuando arrastraba el archivo, el correo lo tomaba como un link de onedrive y no como archivo adjunto. Ya recibí respuesta del BOT, muchas gracias.
Hola @CatalinaRicardo ya solucionaste tu problema? para dar por cerrado el issue.

El El vie, 1 de sep. de 2023 a la(s) 9:35 p.m., Andrés Felipe Restrepo
Mejia @.***> escribió:

Hola Profe @luisvasv-teck https://github.com/luisvasv-teck cuando nos
respondió el mensaje en telegram, revise y vi el error, mil disculpas. Por
alguna razón cuando arrastraba el archivo, el correo lo tomaba como un link
de onedrive y no como archivo adjunto. Ya recibí respuesta del BOT, muchas
gracias.
Hola @CatalinaRicardo https://github.com/CatalinaRicardo ya
solucionaste tu problema? para dar por cerrado el issue.
—
Reply to this email directly, view it on GitHub
https://github.com/codingupmyfuture/bootcamplinuxpython/issues/84#issuecomment-1703653596,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCJPHQLHQBFWRDXOU5S77KTXYKLOLANCNFSM6AAAAAA4H7KCR4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Si, ya verifiqué que el bot me hace las retroalimentaciones. Gracias

Solucionado

repo: codingupmyfuture/bootcamplinuxpython


text:
resolve issue  when save file #809

Now the app does not crash.
And it asks to select destination person to send file

Fixed in f69a6090cbbd7e0c96371a36807535f7f28dfa79

repo: codinguser/gnucash-android


text:
(feat): Setup playwright

✨ Codu Pull Request 💻

Pull Request details:

This PR aims to bring Playwright as an e2e testing tool for the codu platform

A new e2e directory has been created to house all the e2e tests.
To run test simple run yarn test:e2e or npm run test:e2e in your terminal after running yarn dev
Closes #86

Can you please mark this as hacktoberfest completed 😅

repo: codu-code/codu


text:
Issue setting AsReference object through property after object serialized

Seems to be a bit of a bug/niggle when setting an object using a property setter. The following works:
            $data = array();
            $data['appName'] = $this->_getParam('appName');
            $data['urlKey'] = $this->_getParam('urlKey');
            $data['owner'] = $this->company;
            $data['createdBy'] = $this->user;

			$app = new Model_Mongo_Application($data);
			$app->save();

The following doesn't:
			$app = new Model_Mongo_Application();
			$app->appName = $this->_getParam('appName');
			$app->urlKey = $this->_getParam('urlKey');
			$app->owner = $this->company;
			$app->createdBy = $this->user;
			$app->save();

It produces:
Shanty_Mongo_Exception: Property 'owner' must not be null. in /Users/tholder/Sites/listenablefe/library/Shanty/Mongo/Document.php on line 805
Model is defined with requirements like:
protected static $_requirements = array(
    'appName' => array('Required'),
    'urlKey' => array('Required'),
    'owner' => array('Document:Model_Mongo_Company', 'AsReference', 'Required'),
    'createdBy' => array('Document:Model_Mongo_User', 'AsReference', 'Required')
);

Hi Tom,
That's weired, but I'd wagger that something else must be going on. This stuff is pretty well tested. I assume $this->company is an instantiated shanty document object?

Yes it is. I will try and get to the bottom of it when I get a mo. Possibly because $this->company has been passed over session.
Cheers
Tom
On 9 Oct 2011, at 01:26, Coen Hydereply@reply.github.com wrote:

Hi Tom,
That's weired, but I'd wagger that something else must be going on. This stuff is pretty well tested. I assume $this->company is an instantiated shanty document object?
--
Reply to this email directly or view it on GitHub:
https://github.com/coen-hyde/Shanty-Mongo/issues/41#issuecomment-2334551

Ah, yes, there would be an issue with sleeping and wakeup. Infact there aren't any sleep or wake up methods. It shouldn't be too hard to implement i'd say.

Actually, not sure this is as simple as that, I've removed the serialization and loaded a new object on each page.
$this->company is actually an object that comes from the user document.
$this->user is defined like:
protected static $_requirements = array(
    'username' => array('Required'),
    'forename' => array('Required'),
    'email' => array('Required'),
    'secret' => array('Required'),
    'companies' => array('DocumentSet'),
    'companies.$' => array('Document:Model_Mongo_UserCompanyAccess')
);

And $this->company is pulled from the companies documentset.
Model_Mongo_UserCompanyAccess is defined like:
protected static $_requirements = array(
    'company' => array('Document:Model_Mongo_Company', 'AsReference'),
    'isPrimary' => 'Required'
);

So, when a user has a document set with objects that are AsReference, does it need to refresh them some how?

authors: coen-hyde tholder

repo: coen-hyde/Shanty-Mongo


text:
Are there any detailed tutorials available? I would like to add some interactive components like element plus and naiveui. Thank you

Describe the feature
Are there any detailed tutorials available? I would like to add some interactive components like element plus and naiveui. Thank you
Relevant code
No response

There are the basic tutorials on the website, such as the tic-tac-toe tutorial. There is also the basics section on the website, in addition to the advanced section, which might have some useful information for you.
If none of those pages have the information you need, I would be glad to give you tips on whatever you are trying to do. I am also planning to improve the advanced section soon (#1082).

authors: YLQZ kkoreilly

repo: cogentcore/core


text:
fix actions for publish

https://github.com/cogeotiff/rio-tiler/blob/f87bdb68b84457ddf7d918a7f760929c4f6a6ac6/.github/workflows/ci.yml#L4-L8
without the tags event the publish job won't be run I think.
ref: https://github.com/developmentseed/tilebench/blob/master/.github/workflows/ci.yml#L4-L10
cc @kylebarron ;-)

closed in https://github.com/cogeotiff/rio-tiler/commit/576c93b82bb9d033f38dc79ef305b71a2c8ca44e

This is the same as before my change! The publish always required tags!

authors: kylebarron vincentsarago

repo: cogeotiff/rio-tiler


text:
Create new architecture diagram

Motivation
The overall architecture design has changed since the current diagram was created. This updates it to make it easier to communicate the architecture.
It was created in Draw.io so I included the XML for editing. SVG also included if you need to use another editor or prefer vector graphics.
Also addresses a line item from https://github.com/cognoma/django-cognoma/issues/17

Looks great! One question: will the django-cognoma API server ever interact directly with the workers? Or will it only interact with the task-service, which in turn interacts with the workers?

@dcgoss That's still a little up in the air, but right now I believe the workers will be saving their results back to the classifier object. The workers may also use reference tables like the mutation tables.

:+1: LGTM - this matches the design discussion from the last meetup.

authors: awm33 cgreene dcgoss

repo: cognoma/cognoma


text:
Cant move skills in hotbars.

I can set them down, but once they're in they're stuck there.

Hold shift+ctrl+alt, then you can move spells! :)

repo: cogwerkz/DiabolicUI


text:
Use CMAKE_REQUIRED_INCLUDES and CMAKE_REQUIRED_LIBRARIES only for relevant checks

Original pull request by Markus Rickert (Bitbucket: rickertm, GitHub: rickertm).

This patch is required when building SoQt with MSVC 2017 in order to prevent the No known features for CXX compiler "" version error.
The call to check_symbol_exists(__func__) etc. uses the C compiler and complains when linking against the Coin::Coin C++ target. Linking against this target is only required in the check_cxx_source_compiles() checks for Coin features.

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

I am going to pull this. But shouldn't the explanation given in this PR be more visible? I think a comment in the file would be appropriate.
Thanks!


text:
Allow inheritance of retry and timeout options

Presently you only have the option of using the default options or per-class configuration of timeout and retry. This PR changes it so subclassed executables inherit these settings from their parent Ruby class.

Looks like I have more work to do.

repo: coinbase/temporal-ruby