text:
add terms column to application table

in the application table we need a terms column type text.
All the java stuff to be changed and both dev and prod DB
This is linked to #173

Done

authors: cpopsa gioppoluca

repo: CloudOpting/cloudopting-manager


text:
Use Lua's packages instead of _modules

There might be a way of putting Clue's modules directly into Lua's packages, that way require(...) could be used to load both...
This should analyzed more before proceeding and must definitively go to 4.0

There might be a way of putting Clue's modules directly into Lua's packages, that way require(...) could be used to load both...
This should analyzed more before proceeding and must definitively go to 4.0

the way to go for this is just multiple files

....that is not the point of this
The output will be one file

source: gharchive/issue

repo: ClueLang/Clue

license: MIT

license_type: permissive

license_source: github-api


text:
teste

Descrição da vaga
Projeto bazinga em Swift, etc.
Local
Remoto ou Escritório São Paulo - Vila Olímpia
Benefícios

2 horas de almoço
monte a sua máquina como desejar
frigobar sempre cheio :P
sala de jogos
...

Requisitos
Obrigatórios

1 ano de experiência com Swift
2 anos de experiência com CoreData

Desejáveis

conhecimentos em ruby on rails
conhecimentos em C#

Diferenciais

projetos opensource

Contratação
PJ a combinar
Nossa empresa
Aqui na Corporação ACME somos líderes em...
Como se candidatar
Por favor envie um email para email@email.com.br com seu CV anexado - enviar no assunto: Vaga iOS

funciona

repo: CocoaHeadsBrasil/vagas


text:
Chrome浏览器无法安装使用

具体体现是鼠标移开就不会继续播放视频了

这个错误是正常的，提供一下观看截图

我没在用，是给同学用的，现在换成了集成浏览器的那个然后拖了新版crx进去，似乎是可以了

repo: CodFrm/cxmooc-tools


text:
testnet: Assertion `cs.is_satisfied(primary_input, auxiliary_input)' failed.

Snark workers are immediately dying upon receiving work on current testnet:
Code Version Under Test:
0.1.94495-CI
https://circleci.com/gh/CodaProtocol/coda/94495
https://github.com/CodaProtocol/coda/commit/d6ea7f39092f208225ca8391ed30cd769fb4de0a
Error:
coda: /home/opam/project/src/_build/default/lib/snarky/src/camlsnark_c/libsnark-caml/./libsnark/reductions/r1cs_to_qap/r1cs_to_qap.tcc:216: libsnark::qap_witness libsnark::r1cs_to_qap_witness_map(const libsnark::r1cs_constraint_system&, libsnark::r1cs_primary_input&, libsnark::r1cs_auxiliary_input&, const FieldT&, const FieldT&, const FieldT&) [with FieldT = libff::Fp_model<5l, ((const libff::bigint<5l>&)(& libff::mnt46_modulus_A))>; libsnark::r1cs_primary_input = std::vector<libff::Fp_model<5l, ((const libff::bigint<5l>&)(& libff::mnt46_modulus_A))>, std::allocator<libff::Fp_model<5l, ((const libff::bigint<5l>&)(& libff::mnt46_modulus_A))> > >; libsnark::r1cs_auxiliary_input = std::vector<libff::Fp_model<5l, ((const libff::bigint<5l>&)(& libff::mnt46_modulus_A))>, std::allocator<libff::Fp_model<5l, ((const libff::bigint<5l>&)(& libff::mnt46_modulus_A))> > >]: Assertion `cs.is_satisfied(primary_input, auxiliary_input)' failed.
Is it possible to add some additional context to help identify what's going on here?

This looks like it might be related to a bug in how reduce_to_prover interacts with one of the Coda proofs which I've been trying to track down. PR #2229 disables it.

Now I get a trace.
{"timestamp":"2019-04-12 20:30:10.465441Z","level":"Trace","source":{"module":"Snark_worker_lib__Worker","location":"File \"lib/snark_worker_lib/worker.ml\", line 110, characters 60-67"},"message":"No work received from 34.213.53.167:8301 - sleeping 6.4603s","metadata":{"pid":16221}}
{"timestamp":"2019-04-12 20:30:16.930317Z","level":"Info","source":{"module":"Snark_worker_lib__Worker","location":"File \"lib/snark_worker_lib/worker.ml\", line 117, characters 59-66"},"message":"Received work from 34.213.53.167:8301","metadata":{"pid":16221}}
(monitor.ml.Error
 (Failure
   "Constraint unsatisfied:\
  \nfield_inverse\
  \nChecked.inv\
  \nassert_non_zero: File \"lib/snarky/src/snark0.ml\", line 877, characters 4-114\
  \nany: File \"lib/snarky/src/snark0.ml\", line 1023, characters 8-101\
  \nmodify_req: File \"lib/snarky/src/merkle_tree.ml\", line 399, characters 2-817\
  \nmodify_account: File \"lib/coda_base/ledger_hash.ml\", line 90, characters 0-466\
  \napply_tagged_transaction: File \"lib/transaction_snark/transaction_snark.ml\", line 342, characters 2-4174\
  \nmain: File \"lib/transaction_snark/transaction_snark.ml\", line 469, characters 2-1672\
  \n")
 ("Raised at file \"stdlib.ml\", line 33, characters 17-33"
  "Called from file \"lib/snarky/src/snark0.ml\", line 476, characters 14-173"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 493, characters 14-68"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 493, characters 14-68"
  "Called from file \"lib/snarky/src/snark0.ml\", line 731, characters 13-27"
  "Called from file \"lib/snarky/src/snark0.ml\", line 1476, characters 12-122"
  "Called from file \"lib/transaction_snark/transaction_snark.ml\", line 529, characters 6-74"
  "Called from file \"lib/transaction_snark/transaction_snark.ml\", line 1250, characters 6-164"
  "Called from file \"lib/snark_worker_lib/prod.ml\", line 73, characters 14-291"
  "Called from file \"lib/snark_worker_lib/worker.ml\", line 43, characters 10-116"
  "Called from file \"src/container.ml\", line 32, characters 12-22"
  "Called from file \"list.ml\", line 117, characters 24-34"
  "Called from file \"src/container.ml\", line 31, characters 11-142"
  "Called from file \"src/with_return.ml\", line 20, characters 12-24"
  "Re-raised at file \"src/with_return.ml\", line 27, characters 11-20"
  "Called from file \"lib/snark_worker_lib/worker.ml\", line 122, characters 16-45"
  "Called from file \"src/deferred0.ml\", line 61, characters 64-69"
  "Called from file \"src/job_queue.ml\" (inlined), line 120, characters 2-5"
  "Called from file \"src/job_queue.ml\", line 159, characters 6-47"))

Here's another one, but in this one snarky was able to emit it's info too.. (new)
{"timestamp":"2019-04-12 21:15:28.882103Z","level":"Info","source":{"module":"Snark_worker_lib__Worker","location":"File \"lib/snark_worker_lib/worker.ml\", line 117, characters 59-66"},"message":"Received work from 34.213.53.167:8301","metadata":{"pid":27328}}
(monitor.ml.Error
 (Failure
   "Constraint unsatisfied:\
  \nfield_inverse\
  \nChecked.inv\
  \nassert_non_zero: File \"lib/snarky/src/snark0.ml\", line 877, characters 4-114\
  \nany: File \"lib/snarky/src/snark0.ml\", line 1023, characters 8-101\
  \nmodify_req: File \"lib/snarky/src/merkle_tree.ml\", line 399, characters 2-817\
  \nmodify_account: File \"lib/coda_base/ledger_hash.ml\", line 90, characters 0-466\
  \napply_tagged_transaction: File \"lib/transaction_snark/transaction_snark.ml\", line 342, characters 2-4174\
  \nmain: File \"lib/transaction_snark/transaction_snark.ml\", line 469, characters 2-1672\
  \n")
 ("Raised at file \"stdlib.ml\", line 33, characters 17-33"
  "Called from file \"lib/snarky/src/snark0.ml\", line 476, characters 14-173"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 493, characters 14-68"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 472, characters 24-58"
  "Called from file \"lib/snarky/src/snark0.ml\", line 493, characters 14-68"
  "Called from file \"lib/snarky/src/snark0.ml\", line 731, characters 13-27"
  "Called from file \"lib/snarky/src/snark0.ml\", line 1476, characters 12-122"
  "Called from file \"lib/transaction_snark/transaction_snark.ml\", line 529, characters 6-74"
  "Called from file \"lib/transaction_snark/transaction_snark.ml\", line 1250, characters 6-164"
  "Called from file \"lib/snark_worker_lib/prod.ml\", line 73, characters 14-291"
  "Called from file \"lib/snark_worker_lib/worker.ml\", line 43, characters 10-116"
  "Called from file \"src/container.ml\", line 32, characters 12-22"
  "Called from file \"list.ml\", line 117, characters 24-34"
  "Called from file \"src/container.ml\", line 31, characters 11-142"
  "Called from file \"src/with_return.ml\", line 20, characters 12-24"
  "Re-raised at file \"src/with_return.ml\", line 27, characters 11-20"
  "Called from file \"lib/snark_worker_lib/worker.ml\", line 122, characters 16-45"
  "Called from file \"src/deferred0.ml\", line 61, characters 64-69"
  "Called from file \"src/job_queue.ml\" (inlined), line 120, characters 2-5"
  "Called from file \"src/job_queue.ml\", line 159, characters 6-47"))
* Elements of w skipped: 71410 (30.08%)
* Elements of w processed with special addition: 56197 (23.67%)
* Elements of w remaining: 109811 (46.25%)
* Elements of w skipped: 65986 (38.03%)
* Elements of w processed with special addition: 51269 (29.55%)
* Elements of w remaining: 56268 (32.43%)
* Elements of w skipped: 71410 (30.08%)
* Elements of w processed with special addition: 56196 (23.67%)
* Elements of w remaining: 109810 (46.25%)
* G1 elements in proof: 2
* G2 elements in proof: 1
* Proof size in bits: 1195
* G1 elements in proof: 2
* G2 elements in proof: 1
* Proof size in bits: 1493

repro without ANY transactions being made (just blocks)
occurs at block 6
spot 34 in the snarkwork tree is the snark that kills
coda.log.save.gz
Around "2019-04-13 02:04:46.582847Z" in the log file

@jkrauska can we run a test with https://circleci.com/gh/CodaProtocol/coda/97501 (ab3de49 from PR #1261)? That should give us the actual backtrace through the checked computation.

Snarks are working now. And we've heavily polished the error reporting. No more C++ assertions!

authors: cmr jkrauska mrmr1993

repo: CodaProtocol/coda


text:
#S09. As Staff, I would like to withdraw as a Hackathon Judge.

Only available until the teams/judges are dispersed automatically.

@Ri-Dearg - interested in this one, as part of #35 ?

Yeah, I can take this one too, no bother! 😊

authors: Ri-Dearg TravelTimN


text:
[Community] New Github Auth Scoping

Problem
Github authentication through the bot redirects users to another link which has many vulnerabilities and often breaks. An alternative needs to be found to allow for linking of discord accounts to github and therefore for faster and more reliable authentication.
Solution
Authentication by manual entry of github username by user.
Flow/Acceptance Criteria

Once a user has joined the server, he/she navigates to the authentication channel.
In chat, user is asked to enter their github username. User enters this and sends it to us.
Once received, we send the github API to check whether the user exists.
If exists, a 'success' message is returned and this entry is added to the database.
If not, user is asked to enter a valid github username.
Post this, other channels are opened/restricted according to authentication.

to get users data - https://api.github.com/users/MohitNSamagra

To get users data for Github authentication, a request needs to be sent to https://api.github.com/users/{github_username}. This return data of the Github user in json which can then be used to extract all the necessary details we need.

authors: MohitNSamagra jaanbaaz


text:
Add population data missing for locality in Province 2

Our data set for population is missing data for one locality in Province 2. The data are available in our "Federal Data" in https://github.com/Code4Nepal/data/.
Add the data to the population.sql file.  Please put the data in a logical place -- so that all data for the same district are in rows next to each other. That will make it easier to review in the future.

When you add them, you will add one row for female population and another row for male population. See the current file for examples.
You will need to update the totals for the district for that locality to include these additional data.
You will need to update the totals for Province 2 to include these additional data.
You will need to update the totals for Nepal to include these additional data.

Here are the localities whose data are currently missing.

geo_level
geo_code
name
parent_name
parent_level
parent_code

local
17001
Aaurahi
Dhanusa
district
19

"Aaurahi" in Dhanusa district is "Aurahi Gaunpalika" in the federal population data: https://github.com/Code4Nepal/data/blob/master/Federal Data/753 Local Unit Population and HouseHold/PRADESH 2/Dhanusa/Aurahi Gaunpalika.csv

Completed in #42


text:
Release 11.0.0 is broken

An error occurred while starting the application.
Win 7 x64

sorry. wrong window )

license: MS-PL


text:
Ternary Search in C#

Important:
Before you start your work on this issue, make sure you go through the README.md and Contribution Guidelines.md
File structure:

In the Searching directory, and navigate to the sub-directory Ternary Search.
Create the C# directory in the Ternary Search directory.
Create the file TernarySearch.cs.

Here's how the final structure should look like:

Searching

Ternary Search

Algorithm.md
C++
C#
- TernarySearch.cs

Please follow the same naming conventions as mentioned.
Before you create a pull request, if you observe that the folder Ternary Search has already been created, then please refrain from creating a new one, make some changes in your forked repository so that it matches with the current one and there are no conflicts.
Note that all PRs are being checked for plagiarism, please refrain from indulging in any crooked means, we trust you!
We thank you for your contribution and time and we hope that you enjoy contributing to open source.

Hi there, I'm interested in committing to this issue. Please assign me :).

repo: CodeChefMUST/Algorithms


text:
Create Report Page Implementation

Implementation of the Create Report Page as per the designs

Moved the review into a standalone issue #19 that we can fix on a different PR since we need to progress demo.

source: gharchive/pull-request

authors: kelvinkipruto kilemensi

repo: CodeForAfrica/harassment-manager


text:
Content: Add date to photo of property on map detail page

Pull in [relevant date] and overlay that text over the property image on the bottom right hand side
QUESTION: where to pull the date from?

Need to establish where to pull the date from before moving this to "To Do"

Closing--not technically feasible. Google allows manual checking of dates with Maps in browser, but not in automated way via API.

authors: Moylena nlebovits

repo: CodeForPhilly/vacant-lots-proj


text:
Factory creates offers with action_end_date before action_start_date

Description:
Factories create offers where date action_start_date is later than action_end_date.
Current behaviour:
Factories don't validate dates.
Expected behaviour:
Factories should validate dates.
Steps to reproduce:
populate_database and check some offers for dates

Fixed in ##1006

repo: CodeForPoznan/volontulo

license: mit

license_source: bigquery


text:
[Feature Request]:  Solution for leetcode problem 901

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to add solution in c++,java,python, javascript for leetcode problem 901 [Online Stock Span]
Use Case
Solution to problem 0901
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar  can you please assign this to me.


text:
The website doesn't contain login page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
When I was going through a website i saw that the website doesn't contain Login page please assign me a task to make login page for website.
Use Case

User Authentication
2)Session Management
3)Password Recovery

Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar please assign me this issue under GSSOC'24 with level 3 label this will help me a lot in order to learn and contribute.

@Its-your-rj , I recognize the importance of implementing back-end or login functionality, but given the current situation, it's not viable for us to proceed with it right away. We've encountered some challenges with our existing domain, particularly with handling large volumes of requests from open-source contributors. Therefore, I suggest we hold off on this for now and revisit it at a later time. In the meantime, feel free to create new issues, and I'll ensure they are addressed accordingly.

authors: Ajay-Dhangar Its-your-rj


text:
HTML Text Formatting Blog Posts

Related Issue
Resolves issue #105 (text formatting)
Description
Wrote posts on the following topics:

Headings
Paragraphs
Text formatting

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[x] Other (specify): Content Creation

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

hi @Ajay-Dhangar sorry to disturb you again, but the label in the issue mentions this project as level2, but you mentioned it as level1 in the pull request. which one is correct?

repo: CodeHarborHub/codeharborhub


text:
CM-93: ConcurrentDictionary in C#

Hi @vladimir-pecanac-main,
Please review this request together with the article. Link to the article on CM-93.

retest this please

Hi @vladimir-pecanac-main. I had some unexpected variations in test execution due to concurrency. I expect it will be better after these fixes, but I don't think we can make a completely deterministic test in such conditions. I'm open to any advice you have.
Also, feel free to squash the changes on PR merge. Thanks.

retest this please

Hey @redeyens, your last build seems to have broken the Jenkins instance. As far as I can tell, it came to tests, and then no logs have been shown afterward.
I've restored Jenkins, and now the tests pass, but I'll have to check it in detail tomorrow.

Great stuff Dusko, we always squash the changes by default. The code looks alright as is, thanks!

authors: CodeMazeBlog redeyens

repo: CodeMazeBlog/CodeMazeGuides


text:
Not accessible with screen readers like JAWS and NVDA

When the toastr pops out the screen reader couldn't catch the toastr message. This can be resolved by adding aria-live="assertive" and role="alert" for the toastr message tag.
Kindly update the same.
Thanks.

This would be a good thing to support. @pranavkaushik, can you add this in and then create a pull request so it can be merged. Thanks!

Very important!

+1 on that behaviour, there is no drawback in adding the right aria tags
PR should be merged to the main project

authors: AdrienNguyenWorldline blimey85 elmoaaron pranavkaushik

repo: CodeSeven/toastr


text:
Random Jokes Chrome Extension

Hey @AnkushSinghGandhi , can you assign this project to me? I will make a simple dad-jokes-extension which will show random jokes in pop-up when clicked on the the extension icon in chrome.
Any suggestions or points are welcome. I will follow the guidelines provided by you.
Please assign this to my as a part of my HACKTOBERFEST2021 journey.

Yeah you can raise a PR :+1:

@AnkushSinghGandhi , is it alright? Did you review it?

Merged your PR :+1:

repo: CodeVisors/dad-jokes-extension


text:
Estructurar en una tabla los proyectos en desarrollo

En la sección de "Otros proyectos desarrollándose", es difícil de leer como bullets. Ya había una tabla creada con la información (repositorio, descripción, stack y canal) de cada proyecto. Además, el título debe invitar a que las personas se sumen a contribuir a esos proyectos.

Sugieres ponerlo como el de grupos de trabajo?

Sí. De tal forma que podamos canalizar a las personas de manera más eficiente.
Buscamos la siguiente estructura:

¿Cómo ayudar?

Súmate a un proyecto
Únete a un grupo de trabajo

Y cada uno con un link a su respectica sección.

Ponemos help wanted o te lo echas tú?

Ya lo trae @tugaarredondo :)

authors: miguelsalazar tlacoyodefrijol

repo: CodeandoMexico/terremoto-cdmx


text:
fix(emotion): Add cache settings overrides

Overview
There has been a strange error with cache behavior with conditionally rendered components. Style tags are occasionally not present causing an error.  This change will by default remove the styles from being rendered in the DOM post SSR and allow consuming apps to configure their settings in other ways.  This will not affect SSR styles, only subsequent styles. This shouldn't have any visual effect and a slight performance increase in runtime. The node we mount them to will only be used to hydrate the cache on load. (note: we still need to extract the styles to some target in order to get nth-x selectors to render correctly so we need to keep the current SSR strategy in place)
Changes:

Adds the ability to overwrite default cache settings.
Turns on speedy by default (this uses constructed stylesheets and is no longer in the dom)

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-labs@5.5.2-alpha.226adf.0@codecademy/gamut-styles@7.4.7-alpha.226adf.0@codecademy/gamut@17.3.12-alpha.226adf.0@codecademy/markdown-overrides@0.3.15-alpha.226adf.0@codecademy/styleguide@18.8.4-alpha.226adf.0

🚀 Styleguide deploy preview ready!https://5fb815ce00187e0090acf219--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@5.5.2-alpha.f73f4b.0@codecademy/gamut-styles@7.4.7-alpha.f73f4b.0@codecademy/gamut@17.3.12-alpha.f73f4b.0@codecademy/markdown-overrides@0.3.15-alpha.f73f4b.0@codecademy/styleguide@18.8.4-alpha.f73f4b.0

🚀 Styleguide deploy preview ready!https://5fb81c0252c26b0d6b9979ad--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@5.7.3-alpha.0fded4.0@codecademy/gamut-styles@7.4.7-alpha.0fded4.0@codecademy/gamut@17.4.1-alpha.0fded4.0@codecademy/markdown-overrides@0.3.15-alpha.0fded4.0@codecademy/styleguide@18.10.2-alpha.0fded4.0

🚀 Styleguide deploy preview ready!https://5fbbc3f69e79d3bcfc3901a9--gamut-preview.netlify.appDeploy Logs

Based on your description it sounds like SSR components won't be styled when the page initially loads? Or are we just talking about components that aren't rendered on load

Ah sorry, this was unclear.  This will not affect SSR, only subsequent styles.  This shouldn't have any visual effect and a slight performance increase in runtime.  The node we mount them to will only be used to hydrate the cache on load.  (note: we still need to extract the styles to some target in order to get nth-x selectors to render correctly so we need to keep the current SSR strategy in place)

📬Published Alpha Packages:@codecademy/gamut-labs@5.7.4-alpha.b284b1.0@codecademy/gamut-styles@7.4.7-alpha.b284b1.0@codecademy/gamut@17.4.2-alpha.b284b1.0@codecademy/markdown-overrides@0.3.15-alpha.b284b1.0@codecademy/styleguide@18.10.3-alpha.b284b1.0

🚀 Styleguide deploy preview ready!https://5fbd47e5a151b400f1a20fca--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@6.0.1-alpha.1a9e79.0@codecademy/gamut-styles@7.4.7-alpha.1a9e79.0@codecademy/gamut@17.4.3-alpha.1a9e79.0@codecademy/markdown-overrides@0.3.15-alpha.1a9e79.0@codecademy/styleguide@19.0.1-alpha.1a9e79.0

🚀 Styleguide deploy preview ready!https://5fc454c5da660a4a814aa096--gamut-preview.netlify.appDeploy Logs

authors: codecaaron codecademydev

repo: Codecademy/client-modules


text:
fix(toggle): aria-label typo

Overview

Fixes a small typo, arial-label -> aria-label

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.11-alpha.557eba.0@codecademy/gamut-labs@7.7.1-alpha.557eba.0@codecademy/gamut@19.9.1-alpha.557eba.0@codecademy/styleguide@21.8.1-alpha.557eba.0

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.11-alpha.557eba.0@codecademy/gamut-labs@7.7.1-alpha.557eba.0@codecademy/gamut@19.9.1-alpha.557eba.0@codecademy/styleguide@21.8.1-alpha.557eba.0

🚀 Styleguide deploy preview ready!https://5ff8a9ee87cb03371300736c--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff8a9ee87cb03371300736c--gamut-preview.netlify.appDeploy Logs


text:
feat: add company and full name info to Testimonial

Full name and company info included when fits constraints
Full name is shown when the total character length is less than the limit set by design, otherwise first name is only shown.
Company name is included in another span in the Byline component. Is hidden below a certain breakpoint.

Merging your changes
When you are ready to merge to master, use the "squash and merge" button in GitHub, and follow the commit message guide to write your commit message.

📬Published Alpha Packages:@codecademy/brand-components@0.6.1-alpha.08f6f0.0+08f6f051

🚀 Styleguide deploy preview ready!https://5e7cb13a119e2a01f7edb99c--codecademy-styleguide.netlify.comDeploy Logs

📬Published Alpha Packages:@codecademy/brand-components@0.6.1-alpha.cafc34.1+cafc34cc

🚀 Styleguide deploy preview ready!https://5e7ccef4fb20fd0172cfb6f9--codecademy-styleguide.netlify.comDeploy Logs

authors: codecademydev rogervera


text:
Cannot start appium server programatically with appium-controller

What are you trying to achieve?
I want to start appium server programatically. I found "appium-controller":
https://www.npmjs.com/package/appium-controller
It looks very easy to use.
What do you get instead?
In my test I use this controller in before and after suite, like this:
BeforeSuite((I) => {
    I.say('Running test');
    let appiumController = require('appium-controller');
    appiumController.startAppium({
        port: '4723'
    });
});

Unfortunately when I started tests I have in console this:
appium is shutdown
Starting appium...
   Running test

Error: connect ECONNREFUSED 127.0.0.1:4728
 • I click "[id="tipico-welcome-promo"] [class="close-modal"]"
Error: A session id is required for this command but wasn't found in the response payload
appium is running on localhost:4723!

Details

CodeceptJS version:0.6.3
NodeJS Version:7.10.0
Operating System:macOS Sierra 10.12.4
Appium: 1.6.5beta
Mobile platform/version under test: iOS
Real device or emulator/simulator: iOS simulator 10.2

@wjastrzemski Please update codeceptJS to latest version (1.0.1) and send us feedback about this issue

It is recommended to use boostrap/teardown hooks to start/stop external services. Please don't put that to your actual test code!
And yeah, please update to latest Codeception. CodeceptJS 0.6.3 doesn't have Appium support at all

authors: APshenkin DavertMik wjastrzemski

repo: Codeception/CodeceptJS


text:
Editable shapefiles through custom Admin On Rest Field

See Admin On Rest's documentation for writing a custom Field https://marmelab.com/admin-on-rest/Fields.html#writing-your-own-field-component
Using this should be fairly easy as well: https://github.com/Leaflet/Leaflet.draw

Closing as out of date

authors: rbvea warent

repo: CodeforHawaii/ACLU


text:
MJExample中的问题

在MJExampleDemo中发现在main函数中执行 keyValues2object4() 函数时， student类中注释掉
//+ (NSDictionary *)replacedKeyFromPropertyName 方法仍然能建立正确的映射，但是copy相关代码到新建的Viewcontroller中执行却不能正确建立model 难道是exmaple中有什么黑魔法？请MJ哥解答

参考MJExtensionConfig.m

repo: CoderMJLee/MJExtension


text:
关于64位机和32位机转换中的BOOL类型问题

杰哥你好，经过我的测试，在model->json时，64位的手机会将bool型转换成true和false，32位的手机会将bool转换成0和1，我现在服务端这边只能接受true和false，所以必须进行过滤，但是现在库只有json->model的过滤方法，没有model->json的过滤方法，我只能修改你的源码临时用了，不知道杰哥有没有空解决一下这个问题呢？

杰哥你好，我也遇到了这个问题，在iphone5以下的设备上传数据始终不能够成功，提示：json: cannot unmarshal number into Go value of type bool

@TheyCallMeTank 可以分享下临时解决方案吗，或者给作者提个PR？

JSON 转 String 的时候是由系统的 NSJSONSerialization 在处理的, 没有其他的人为干预

authors: BirdsAndFish TheyCallMeTank tigerZhang86 wolfcon


text:
"Kata" and "Kumite" don't work.

Hi! "Kata" and "Kumite" sections don't work. Page starts loading, then it's just breaking.
Tried on two browsers. Anyone knows how to solve this?

I have the same problem...didn't find any usefull solution. I think it has something to do with my OS (Windows 7). Tried Firefox, Chrome, Opera and Explorer...everywhere the page crashes after I click on Kata or Kumite..

The Elixir Katas timeout after "Finding servers" or "Executing". Maybe the servers are overloaded.

same too.. win7x64,  Firefox, Chrome, Opera.. grief =(((

So, I decided to concretize the case. When I log out Link works properly - web page shows elements, I can try to do requests, but they aren't showing smth because I have logged out before. When I try to log in the page falls

Same problem on chrome, firefox windows yes, tab crashes accessing kumite, or trying to edit 'training languages'


text:
"This kata has already been published ..." message not allowing me to publish kata

No matter which button I click, it doesn't help me with publishing the kata.

Can you elaborate?
This should be shown when you're navigating away from the editor with unsaved changes. The first button cancels the navigation. The second button discards the changes and navigates.
If you clicked the first button, it should stay on the editor page and allow you to republish.

This appears when I click "Re-publish". When i click the first button, then I click republish and it does the same thing again.

This appears when I click "Re-publish".

That's a bug. I'll look into it.

I think I found the cause.
It's showing that after re-publish is complete, so your changes should be applied. I'll deploy the fix soon.

Yeah, but it doesn't actually publish the changes. The spinner goes on for a bit before it pops up.

Can you try again? I was able to fix it locally.

I reverted tonight's deploy because I found few more bugs that I didn't catch while testing.
Can you try on preview.codewars.com?

The popup isn't coming up anymore, but it's not saving my changes. Also, for some reason, 'Ctrl+D' isn't doing what I'm used to it doing...

The popup isn't coming up anymore, but it's still not saving my changes.

That's odd :/ I was able to republish a change last night.

'Ctrl+D' isn't doing what I'm used to it doing...

I don't think I changed anything there. What did it do?

What did it do?

Delete the line.
This is the one I was trying to edit if you want to try it: https://preview.codewars.com/kata/5706aa48fb30081ebb000c21/edit/python

For that kata, I see URIError: malformed URI sequence error. That's probably the cause of not updating. I'll check what's going on.
For Ctrl+D, does it work on www.codewars.com? I'm pretty sure I haven't changed CodeMirror configuration in a while.

This only happens when the code contains invalid URI sequence like (%). I'm not sure why yet, but the kata data is originally URI encoded. When the page loads, it uses decodeURIComponent to replace the data with decoded version. After republishing, it seems to be called again for fields that's not encoded.
#2056 happens when the page crashes like this case. For this case, it gets fixed when refreshing because the kata data is URI encoded again.

For Ctrl+D, does it work on www.codewars.com? I'm pretty sure I haven't changed CodeMirror configuration in a while.

Yes, it works fine there. :/

Can you try App.localStorage.get("editorKeyMap") in developer console and see if it's different in preview vs www?

Republishing should be fixed on preview.
Ctrl+D doesn't delete a line for me on www nor preview :/

preview site gives me undefined for App.localStorage.get("editorKeyMap")
On www, it's "sublime".

Republishing should be fixed on preview.

Still not working for me, at least with the video digest. I'll try with my own kata.

Looks like I broke something else. The change is not reflected to the editor after republishing.

OK, I think I finally fixed it. It was confusing because the error message wasn't shown.
"Video Digest" is failing to republish because the example test case is failing.

Publishing is fixed.
Can you try if Ctrl+D works?


text:
Yangzhen/initialize master

Add initialize page

已经 cherry pick 到 #135

authors: KevenYoung hackape

repo: Coding/WebIDE-Frontend


text:
Not working

在此写下你的问题

What error unpack failed

Same here did u find any solution

unpack failed

Same issue... unpack failed

authors: ImMohteshim PitchAbyss TorstenH82 ZEVENop moklim naresh786in

repo: CodingGay/BlackDex


text:
Broken link to community contribution

On this page: https://thecodingtrain.com/CodingChallenges/004-purplerain.html
The contribution "Controling the rain by Drea007 (Source Code)" is broken. Looks like the user may be deleted their profile on editor.p5.js?

Hey @Drea007, FYI

authors: gruselhaus jkenzer

repo: CodingTrain/website


text:
Add hilbert curve contribution

Community Contribution
Main thing about this contribution is that this is whole code for calculating hilbert curve:
hilbert :: Int -> Trail V2 Double
hilbert 0 = mempty
hilbert n = hilbert (n-1)  # rotateBy (1/4) # reflectY <> vrule 1
         <> hilbert (n-1) <> hrule 1
         <> hilbert (n-1) <> vrule (-1)
         <> hilbert (n-1)  # rotateBy (1/4) # reflectX

To add colors there's another 4-12 or so lines
Link to output image and repo:

It can output to pdf, svg and others (output can be found in repo).
Project repo: Project repo
Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Github: https://github.com/kanashimia -- as if you didnt know

Also there's animated output - just open pdf file xd


text:
Community Contribution - Tron riding Perlin Noise Terrain

https://editor.p5js.org/danno484/sketches/7DJW-j-C9a

Community Contribution
Link to live project, video, or image:

https://editor.p5js.org/danno484/sketches/7DJW-j-C9a
Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

Looks great! Thanks for sharing.

authors: daniel-n-kaye violetcraze


text:
codis-ha设置密码

codis设置了密码，启动codis-ha报错，将正常的redis强制下线，还一直报错，请问codis-ha如何配置密码呢？

#350 参考这个。codis-ha 不支持 auth 功能，所以需要自己修改。
codis 3.0 把 codis-ha 实现到 codis 里面了，支持 auth，可以试一下？

现在已经使用了codis2.0，换3.0还是比较麻烦的，我自己了解了下，好像是redis.DialTimeout 这个函数不没有密码这个参数，但是也有带密码参数的方法，只恨自已不会开发，，，，请问可以帮忙修改一下codis2.0的ha的代码吗，能支持auth就最好了。

2.0的ha是第三方服务，严格来说不是codis的一部分，不会再维护了。
在 2016年4月1日 上午9:47，dingjianlin notifications@github.com写道：

现在已经使用了codis2.0，换3.0还是比较麻烦的，我自己了解了下，好像是redis.DialTimeout
这个函数不没有密码这个参数，但是也有带密码参数的方法，只恨自已不会开发，，，，请问可以帮忙修改一下codis2.0的ha的代码吗，能支持auth就最好了。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/CodisLabs/codis/issues/760#issuecomment-204203800

--
Thanks,
Phil Yang

authors: ghdjl spinlock yangzhe1991

repo: CodisLabs/codis


text:
null pointer exception when passing argument

Describe the bug
giving a argument to the .jar results in NPE.
To Reproduce
Steps to reproduce the behavior:

jbang https://github.com/Col-E/Recaf/releases/download/2.16.6/recaf-2.16.6-J8-jar-with-dependencies.jar my.jar
See error

Exception
If applicable, add the exception/stacktrace.
Exception in thread "main" java.lang.NullPointerException
	at me.coley.recaf.util.self.SelfUpdater.shouldSkipUpdate(SelfUpdater.java:146)
	at me.coley.recaf.util.self.SelfUpdater.checkForUpdates(SelfUpdater.java:61)
	at me.coley.recaf.Recaf.launch(Recaf.java:103)
	at me.coley.recaf.Recaf.main(Recaf.java:51)

Screenshots
If applicable, add screenshots to help explain your problem.

Hmmm thats interesting. If you exclude the myJar.jar argument for the initial workspace file it doesn't occur.

Oh right its been forever since I looked at this command.
@Option(names = {"--input" }, description = "The input file to load. " +
			"Supported types are: class, jar, json")
	public Path input;

You specify an input as an option, not as an indexed parameter

authors: Col-E maxandersen

repo: Col-E/Recaf


text:
3X: CDI refactoring to support more dynamic interactions between modules and plugins

This is a heavy WIP
This description is not yet complete. I'll elaborate more when I have the time.
Context
Some context, CDI is an extension of DI systems. First off to understand what DI is, watch this video.
What does CDI bring in addition to DI?

Lifecycle management
Bean discovery

Currently this branch is implemented with Weld. This is probably overkill and if possible swapping to a more minimal implementation will be done. The requirements for a replacement are:

Some sort of automatic bean discovery
Some sort of lifecycle management for beans associated with a Workspace's lifecycle

We can probably make our own minimal lifecycle system.
Why?

Dependency injection will be used to allow services in recaf-core to expose configurations in such a way to be modified by recaf-ui
Make way for easy injection of features into plugins via @Inject. Need something? We'll maintain a documented list of services. Simply inject it via constructor injection and you got it.
Injected components should be transformable (Potentially with aspects, but we could also look at mixins as well such as the work xxDark did to enable thread interrupts on 3rd party decompilers)

What is being changed?
Mostly the internals surrounding Controller and its Services value. Services will be split into two categories:

Application scoped (Not tied to a workspace)
Workspace scoped (Tied to a workspace, destroyed when workspace is closed)

This model will refactor components using services deemed "workspace scoped" such that they too are destroyed/removed when the workspace closes. In practice, this will look like all open UI elements pertaining to classes and such in a workspace closing, which already happens for the most-part. It will be be tweaked slightly.

Going to close this as the approach for this will be done in a completely different way, so this branch is being scrapped.
I'll create a new branch with the changes when its ready. It will be much larger in scope.


text:
get the file from the event

Hi, I would like to use this package along with hockeyj85:html5-dropzone and lepozepo:cloudinary.
But I can't get the file when doing the drop. I have tried with these:

e.originalEvent.target.files
e.originalEvent.dataTransfer.files
e.target.files
e.dataTransfer.files

What am I doing bad? Thanks for your attention.

e.originalEvent.dataTransfer.files now works. I was dragging an empty file and I suppose this was the problem.

repo: CollectionFS/Meteor-ui-dropped-event


text:
Generator To Serialize/Deserialize Objects

It would be really nice to have a generator to serialize/deserialize objects to binary.
Example:
[Serializeable]
public partial class MyClass {}

that generates two methods, one for serialisation with a binarywriter and one for deserialisation with binaryreader

That's a great idea. Unfortunately I'm a bit swamped at the moment and will only be able to get to this in a couple of weeks.
In the meantime, I'd be happy to accept a PR in case you're interested.

@furesoft I have started working on this, but am not quite sure what you are proposing. Using BinaryFormatter is discouraged, so maybe you could share what the generated code should look like?

Using BinaryWriter and BinaryWriter and serialize/deserialize obeject froms scratch

Hey, I had the same idea, I think, so I would share this here:
https://github.com/xafero/csharp-generators/blob/main/src/Cscg.Compactor/CompactGenerator.cs
Generating a read and write method for every property in the class with BinaryReader and BinaryWriter.

@xafero That looks great! Would you like me to add that to this library?

@xafero That looks great! Would you like me to add that to this library?

Sure. Maybe my code is rough, but I saw this issue and wanted to maybe help. Because I like Lombok and your take on it.

Available in v2.4.0

authors: CollinAlpert furesoft xafero


text:
Crouch and Sprint not recognizing Input Map

I created Input Maps (project settings) for all key bindings, all work fine with the exception of crouch and sprint. The string values I originally chose were "CROUCH" and "SPRINT". I attempted changing the string value thinking it might be conflicting with something, but any string value returns the error. I made sure my spellings matched up as well.
With the code:
@export var CROUCH : String = "CROUCH"
@export var SPRINT : String = "SPRINT"

I receive the push error that comes default to the FPC add-on:
E 0:00:00:0304   character.gd:117 @ check_controls(): No control mapped for crouch. Please add an input map control. Disabling crouching.
  <C++ Source>   core/variant/variant_utility.cpp:1091 @ push_error()
  <Stack Trace>  character.gd:117 @ check_controls()
                 character.gd:95 @ _ready()

I have traced what I believe is all the crouching and sprinting code without finding the root cause, if I suppress the error from disabling crouching and sprinting respectively I get repeating errors from the following processes:
E 0:00:02:0741   character.gd:250 @ handle_state(): The InputMap action "crouch" doesn't exist.
  <C++ Error>    Condition "!InputMap::get_singleton()->has_action(p_action)" is true. Returning: false
  <C++ Source>   core/input/input.cpp:292 @ is_action_just_pressed()
  <Stack Trace>  character.gd:250 @ handle_state()
                 character.gd:162 @ _physics_process()

E 0:00:02:0757   character.gd:231 @ handle_state(): The InputMap action "sprint" doesn't exist.
  <C++ Error>    Condition "!InputMap::get_singleton()->has_action(p_action)" is true. Returning: false
  <C++ Source>   core/input/input.cpp:287 @ is_action_pressed()
  <Stack Trace>  character.gd:231 @ handle_state()
                 character.gd:162 @ _physics_process()

I am running Godot 4.2 Stable.

Confirmed that rolling back to a previous version, one that doesn't do states, solves the issue. I do not know exactly what version I have on my old project but looking at the version history it seems to be the previous release.

With the error line:
character.gd:250 @ handle_state(): The InputMap action "crouch" doesn't exist.

It seems like either the FPC or the engine is getting "crouch" as a lowercase value, while you have CROUCH in the input map.
From a first glance, I can't see what the error is (I know, crazy) but I have a few things for you to try.

Change the InputMap names to lowercase ("crouch", "sprint") (just for debug, if this fixes it we need to find the underlying bug)
Try to recreate this bug with the latest release in a new project
If you changed any of the code in the FPC, either try reverting those lines in a separate branch of your project, or inspect those changes closely

You mentioned reverting to an older version that doesn't use states. This project has always used a state machine, ever since version one. It started out with a more primitive one though. The new state machine (26f7e773e2a322c42416113a9ed9cd1a490cf3ef) slightly changed how the state controls were handled.
A possible cause is that I accidentally hardcoded the string "crouch" into the Input.is_action_pressed function in that commit on line 127, 138, 149, and 155, but @ItWinVis pointed this out in issue #4 and I fixed it in (01ff47493c715fd925a45fd566a7297d2fb4d62a) and (a1729c1cd554112254573b3dd6554dbbb61f66c4).

Good news, but also a bit of bad news, using lowercase in the InputMap clears up the errors and it now switches states appropriately. This works with the string being lowercase or uppercase in the script. (Super weird)
The only code I changed according to my history is uncommenting the full controller support code and changing the string names to my own InputMap names instead of the default UI ones.
I have attached a zip file with the recreated error in its fixed state using lowercase InputMap strings and uppercase strings in the script. I started by using uppercase for both and it gave the same error.
In the recreation I left all other code alone.
testing_fpc.zip
Below is the code mentioned that you fixed and I confirm that I do have the updated, fixed version for all instances of the function call.
if Input.is_action_pressed(SPRINT) and state != "crouching":
if Input.is_action_pressed(CROUCH) and state != "sprinting":

And all others...

Based on what I am finding it may be a bug on Godot's side with specifically the words crouch and sprint not being recognized while uppercase in InputMap, all other strings are upper case and they work fine for me.

Here is a screenshot of all my Input Maps and a code snipped for the script.
@export_group("Controls")
@export var JUMP : String = "JUMP"
@export var LEFT : String = "LEFT"
@export var RIGHT : String = "RIGHT"
@export var FORWARD : String = "FORWARD"
@export var BACKWARD : String = "BACKWARD"
@export var PAUSE : String = "PAUSE"
@export var CROUCH : String = "CROUCH"
@export var SPRINT : String = "SPRINT"

Everything works as it should with this.

I tested the project with all the inputs uppercased and sure enough, it had an issue with just the sprint and crouch inputs.
There are two possibilities that I can see for this:

If it is a problem in the FPC, it would probably be in the handle_state function since that's where both of them are handled and they are done quite similarly. I've combed through this function multiple times and there is no hardcoding nor any alternate button detection systems. If this is the case, it has to be really well hidden.
If it is a problem with the engine, then the InputMap code is doing something with the sprint and crouch inputs, or it is somehow saving the original values of the export variable and not accepting the changed code.

I know there is either a bug in the physics engine or a feature of InputMap where if a crouch button is pressed, you cannot fall off of a platform. Just try to walk off of the main test platform in the FPC, it won't let you. I didn't add any code to the FPC to do this, this is Godot Engine itself. This also happened in QFPC V1.
I'll probably have to go through the Godot engine code for InputMap to see if it handles sprint and crouch inputs differently and maybe do a bug report or a PR.

I checked the stack to see what the variables CROUCH and SPRINT were initializing as and the values that I input have no effect, they always init as lowercase crouch and sprint. I don't know where it would be as I have checked all the files in the add-on, but, somewhere it is hard coded. Unless there is another way to get this to occur.

I checked the Input.cpp and Input_Map.cpp files for Godot located here: https://github.com/godotengine/godot/tree/master/core/input
I found that the error code from the engine is directly from the exact_match method but there is nothing to do with crouch and sprint respectively.

UPDATE: https://github.com/ColormaticStudios/quality-godot-first-person-2/pull/20
PR for fix, closing issue with above PR.

authors: CZakarya Phlegmlee


text:
在数字输入框输入无法解析的内容，异常提示会干扰布局

在数字输入框输入无法解析的内容，异常提示会干扰布局

还有其他地方吗

authors: Coloryr Myitian

repo: Coloryr/ColorMC


text:
Fix issues found by lgtm.com

Fix issues found by lgtm.com

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mike Fine seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This pull request fixes 5 alerts when merging 8c2bba1585a8289dd792522bdf668eac45bc50c8 into b280945157ba65d509aefd2edf036c54849ee8e4 - view on LGTM.com
fixed alerts:

3 for Unreachable statement
1 for Expression has no effect
1 for Useless conditional

Comment posted by LGTM.com

authors: CLAassistant michaelcfine

repo: Comcast/malcolm


text:
this puts the redis main graph back.

This PR puts the main Redis graph back as Health->Graph View (old), and makes the Influx/Grafana view available as Health->Graph View (new). All the sub links are still going to Grafana/Influx, and the Redis view only supports 24 hours.
Not sure if this PR will make the transition to Grafana/Influx easier and less risky.
@dneuman64,  @mtorluemke : your call. Don't merge this PR if you think it'll make things more messy without adding value.

I can live with it.  Will give @mtorluemke a little while to think about it.  If he approves I can merge tomorrow.


text:
[FR] add component reference type support

Hi.
No slug is generated for components.
I have analyzed  the 'setting-service.js' file. I developed a possible fix that is working for me (see below).
With that fix, to produce the slug for the fields in a component, you have to set the plugin settings file field contentTypes using the value of the collectionName field used in the component configuration file.
Strapi: 4.11.4
Strapi Plugin Slugify: 2.3.3
MySQL: 8.0.30 (MySQL Community Server - GPL)
Here is a possible fix to generate a slug for components by changing the build method:

build(settings) {

	const buildModel = (contentType, uid, nameAttr,displayName) => {
		const model = settings.contentTypes[contentType[nameAttr]];
		if (!model) {
			return;
		}

		// ensure provided fields are present on the model
		const hasField = isValidModelField(contentType, model.field);
		if (!hasField) {
			strapi.log.warn(
				`[slugify] skipping ${contentType.info[displayName]} registration, invalid field provided.`
			);
			return;
		}

		let references = _.isArray(model.references) ? model.references : [model.references];
		const hasReferences = references.every((referenceField) =>
			isValidModelField(contentType, referenceField)
		);

		if (!hasReferences) {
			strapi.log.warn(
				`[slugify] skipping ${contentType.info[displayName]} registration, invalid reference field provided.`
			);
			return;
		}

		const data = {
			uid,
			...model,
			contentType,
			references,
		};
		settings.modelsByUID[uid] = data;
		settings.modelsByName[contentType[nameAttr]] = data;
	};

	// build models
	settings.modelsByUID = {};
	settings.modelsByName = {};

	_.each(strapi.contentTypes, (contentType, uid) => buildModel(contentType, uid, 'modelName', 'singularName'));
	_.each(strapi.components, (contentType, uid) => buildModel(contentType, uid, 'collectionName', 'displayName'));

	_.omit(settings, ['contentTypes']);

	return settings;
}

Thanks for the request and suggestion. For now this plugin only supports fields define don the model directly.
I will at some point add relational and component support. At the moment their is no eta for that.

Also requesting support for object reference. Example: We have categories like cat cat2 and we would like to be able to auto generate cat/article cat2/article2

authors: ComfortablyCoding RayHughes pgsfredda

repo: ComfortablyCoding/strapi-plugin-slugify


text:
Create a Fullscreen toggle action

Create a fullscreen toggle action so that

pressing the button enlarges the video panel to fullscreen without playing the clip (stay on same frame in timeline)
pressing the button again brings the video back to normal  (= Esc)

The goal is that user can do color grading on a fullscreen frame. By rotating the playhead dial, user can go to next frame(s).

I'll add this tomorrow.

"Toggle Fullscreen" will be included in the next beta.

Going Fullscreen moves 2 frames in timeline before showing the image -> What I see in Fullscreen is not what I had in viewer.
We had same problem with Loupedeck.
Any way to show the exact same image in Fullscreen as in Viewer window? Does the action still work as a toggle then?

It was working fine on my Mac, but it could be performance related - what kind of Mac do you have?
Basically the way it currently works is we trigger the full screen menubar item, and as soon as the full screen mode is visible, we trigger spacebar to stop playback. If you have a slower machine, there could be a delay in detecting the window, and thus a delay in pressing spacebar.
I'm not sure there's any other workaround to prevent this - but I'll have a think and a look.

Thinking about it... we MIGHT be able to use our fancy new Workflow Extension to work around this. Will test it out.

This will be fixed in the next beta.

authors: JennyMeissner latenitefilms

repo: CommandPost/LoupedeckPlugin


text:
Added options to specify install_path, log_file_loc, client_group_name, and storage_policy_name during client install.

Modified: cvpysdk/commcell.py and cvpysdk/deployment/install.py, re: #106
Added options to specify log_file_loc, client_group_name, and storage_policy_name during client install.

Changes are already done by the Commvault development team on the dev branch. Closing this request.

repo: Commvault/cvpysdk


text:
Listview

Is listview not included in this suite? Thanks for the reply.

Hi @n3R0d0T
Try this. It should have what you need.

Hi @n3R0d0T
There will be one in the March update of this project

repo: ComponentFactory/Krypton


text:
Use caret devDependencies

Description
Use caret semver in devDependencies to reduce noise from Renovate app and package updates. We could choose to do this after https://github.com/CondeNast/xml-to-react/issues/62 or in parallel.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore, documentation, cleanup

Related Issue
Tangentially related: https://github.com/CondeNast/xml-to-react/issues/62
Motivation and Context

Renovate opens a PR for each package update. This creates a lot of noise when all dev dependencies are pinned. Using caret-range will reduce PR noise.
How Has This Been Tested?

n/a
Screenshots (if appropriate):
n/a
Checklist:

[x] My code follows the code style of this project.
[n/a] I have updated the documentation (if required).
[x] I have read the CONTRIBUTING document.
[n/a] I have added tests to cover my changes.
[x] All new and existing tests passed.

@taveras no, these are the current versions, so the lockfile is up to date

repo: CondeNast/xml-to-react


text:
Next steps for auth0 setup with Superset

Following #8, these are the next steps to get iframe embedding of guardianconnector-views working in Superset:

[x] Set up silent authentication in guardianconnector-views, meaning that the Login page will automatically detect auth0 authentication and push the user to one of the views (currently, /map).
[x] Implement Login Flow on auth0 to ensure only users authorized by us can log in; adapt guardianconnector-views to work with the messaging returned by this Flow. (This requires adding "approved": true to the user app_metadata on auth0)
[x] Set up auth0 for our Superset deployment (which requires adding authlib, and adding auth0 settings + overwriting the CustomSsoSecurityManager in superset_config.py). Upon successful auth0 authentication, users register with "Public" role and their permissions need to be upgraded (e.g. to "Gamma") to be able to do much within Superset.
[ ] OPTIONAL: Adapt Superset to persist auth0 token in cookie (or a different and better way to handle authentication for embedded resources on the same tenant?). Considered optional insofar as it is not blocking to make the user authenticate once again for Views while already authenticated for Superset.
[x] We will need an additional solution for the CSP directive: X-Frame-Options: deny Content-Security-Policy: frame-ancestors 'none' in auth0, which is currently being violated by embedding guardianconnector-views as an iframe (NS_ERROR_CSP_FRAME_ANCESTOR_VIOLATION) and causes auth0 to not load. See auth0 guidance here.
[x] Figure out a workaround for third party authentication services like Google not permitting iframe embedding.
[x] Add documentation for entire auth0 workflow in comments where relevant or in BCM Wiki notes.
[ ] Implement auth0 for other tools (e.g. Filebrowser)
[ ] Set up and configure bespoke auth0 tenants for each of the different communities (and BCM demo).

It turns out that auth0 has implemented clickjacking protection for universal login, which prevents the login process from being embedded in an iframe. There is a workaround of downgrading to Classic Universal Login and turning off the Disable clickjacking protection for Classic Universal Login setting, as noted in the documentation link.
A good number of auth0 users have requested that it be possible to permit logging in via iframe for specified domains (c.f. here, here, and here) but no action has been taken by the auth0 team as of yet. Hence, I opted to downgrade the auth0 tenant to Classic Universal Login for now, and that solved the issue.

However, the next issue is that third party authentication providers like Google and Github have their own frame restrictions e.g. x-frame-options: deny, leading to the same iframe clickjacking prevention issues further downstream in the process. (Side note: interestingly, Google Chrome does not seem to have this issue with Google authentication, but other browsers certainly do, and other services like Github trip up on this issue in all of the browsers.)
This leads me to consider that we should break out of the iframe for authentication. I believe the reason why this embedded authentication process was working for me last week is that the auth0 token (auth._token.auth0) was still being stored in localStorage, and it was passed to the iframe header upon load so everything worked seamlessly -- I simply must have forgotten to clear it. Hence, I conclude that our best option might be to find a different way to get an auth0 token into localStorage during Superset authentication or somewhere else within Superset. Some options that come to mind:

Insofar as both Superset and Views are on the same tenant and the auth0 token is the same, find a way to persist auth._token.auth0 in localStorage upon Superset login so that it will be passed to Views. This may involve messing with flask_appbuilder settings in  superset_config.py since that is what handles authentication for Superset. PROS: everything is managed server-side and it's a seamless user experience. CONS: we are getting deeper into customizing our own Superset build and thus increasing our maintenance head, and it may be tricky to accomplish.

Within Superset, add a link to authenticate with auth0 in a new window (popup or tab), and ensure that the auth token is passed back to the Superset window. PROS: This is the more standard practice in which other applications handle authentication, and it is supported by all of the third party services included auth0 itself. CONS: it breaks the user's flow by requiring them to engage with a popup or new tab, and it's not very intuitive to have to click somewhere else to authenticate within the iframe context. There could also be some complications with making sure the iframe ends up retrieving the auth0 headers. Also, this will introduce issues with loading Views directly (i.e. when it is not embedded in an iframe).

Do the same as (2) but instead initiate the process from within the iframe; e.g. in Views, open a new tab/popup window to do authentication. I confirmed that it's at least possible for the browser to open a new tab from within an iframe, as a start. PROS: This is slightly more intuitive from a UX perspective, as the action required is provided within the same context. CONS: it still disrupts the user's flow a little. There may also be some unforeseen technical challenges similar to those of (2).

I expect (3) is the path of the least resistance; thoughts welcome.

Agreed, I do not want to do 1 for the reasons you stated.  Besides that the solution is the least understood (to us, right now), security restrictions are going to become more strict over time, not less -- so I could conceive that our "solution" ends up being short-lived, perhaps.  And we don't have any easy or automated way to continue to test that it still works as time goes on,  besides that one day somebody will notice it and maybe tell us. (also you've seen that this is easy to miss due to cookies lingering from before)
I don't have an opinion about 2 vs 3. I think the important thing shared by both of them is that the user doesn't need a separate set of logins. The only difference is in the mechanics of actually utilizing those credentials on both apps, and I guess I'd suggest to just do what you think will be better and easier.
I'd also submit option 4, a variation of 2 and 3, in which both apps continue to share an auth0 tenant but we give up on loading Views inside a Superset iframe at all.  In this case, Superset might contain a hyperlink you click to open Views in a new tab (its login page, map, and gallery are all in that tab).  Sure it's neat if the maps appear inside Superset, but I am not sure people are really going to expect that.  Everyone has had to open a link in a new tab before.   Okta and many password managers operate like this.  PROS: dead-simple, no unknowns, in fact it's already done. CONS: less elegant.

Thanks Jeff. After some thinking, I opted for another variety (5): Still embed Views, but show a notice that if the View doesn't  show up and/or the authentication link in the iframe doesn't work (i.e. if they are on a different browser than Chrome), then to click on the hyperlink (with target=_blank) to open the View in a new tab, where authentication will definitely work. They can explore the data there, or refresh the page on Superset once they've authenticated. I think this is a good middle ground for now. The apps are secure, which is a win, and we can always revisit this after getting some user feedback on whether it's a big annoyance for them or not.

(Continuing the thread on overall authentication work here, in lieu of not having a better centralized place on Github for cross-cutting BCM work as of yet):
Filebrowser provides three authentication methods: JSON Auth, Reverse Proxy, or None. We are currently using the default JSON Auth.
OAuth is not directly supported by Filebrowser currently. In August 2021, one of the maintainers mentioned it would be part of V3. As of today, they are on V2.2.25 and I don't see any indication on Github of a possible V3 release coming in the near future.
However, the proposed workaround (as mentioned in that issue) is to use a reverse proxy, which to my understanding would entail needing to use a web server like nginx. It might get thorny based on the high number of issues by users implicating nginx config being part of their problem, although these could be red herring since they are not about authentication specifically. We could take advantage of an nginx-proxy Docker container but we'd be dipping our toes deeper into customizing our Filebrowser deployments like we do for Superset.
Since we're currently only using Filebrowser for storing files for the Data Lakehouse and to leverage the URI for media embedding, and not sharing the tool with partners for their own usage, maybe it's best to just using a well-secured username and password using the default JSON Auth method? At least for the time being, until auth0 is natively supported or less of a potential snake pit of unforeseen issues.

nginx is both an extremely complicated piece of software, and also pretty widely used and well documented.  I feel like it's a bit of a rabbit hole (mostly meaning I have not wrapped my head around it) and do not look forward to maintaining it.  But if you want to give it a go, I think it would be ok.  There's not a great way to do it in Azure App Service, it would have to look something like:

Write an nginx config - you are on your own here :smile:
Plop the nginx config file into our Azure storage container -- it can be read-only so blob storage or File storage is fine.
Configure App Service to mount that storage path into the app container (Configuration → Path Mappings).
Switch App Service to a multi-container deployment (Deployment Center → Container type: docker compose).
The two containers are nginx (the 3rd party image) and filebrowser.  In the YAML config for nginx, include a bind mount to the mounted path where that config file is, so that nginx will use this config when you startup.

This is the sort of thing we would have to figure out anew after moving to GCP (which I still think we should)
Or, I'm also fine keeping the JSON auth as-is until Filebrowser v3 is out.  Or we could look for a different piece of software that does something similar and supports OAuth.

Clearly, I went with "keeping the JSON auth as-is until Filebrowser v3 is out." :smile:

Or we could look for a different piece of software that does something similar and supports OAuth.

I think Dd started to look at some different solutions for Kakawa, too. We can follow their research, and make a decision later on.
Closing this for now.

authors: IamJeffG rudokemper


text:
Made the Password Strength Indicator dynamic

Description
This PR fixes the issue #1.
Summary:
Implemented a dynamic password strength indicator by adding a strength-bar-container and a strength-bar in the HTML, styling them in CSS with properties like padding, border, and color. In the JavaScript, modified the calcStrength function to calculate password strength based on user-selected criteria (uppercase, lowercase, numbers, symbols), capping the strength at 100. The setStrengthBar function updates the bar's color (green, yellow, red) and width according to the calculated strength percentage. Event listeners on input fields ensure that the strength is recalculated and displayed in real-time as users modify their input.
Since its a dynamic password strength indicator, i feel screenshots don't do it justice. Here is a link to a short youtube video showing this feature in action:
https://youtu.be/B5bb6Jbpw1o?si=LXkmpqb7QJpOq_95
Detailed Walkthrough
In order to make a dynamic strength indicator, I have made the following changes:
Changes in index.html

Added a div with class strength-bar-container. It provides the outline for the actual strength bar.
Added a div with class strength-bar. This represents the actual strength bar. Its attributes such as the width and color are set using CSS and updated using JavaScript.

Changes in style.css

Added some basic styles for strength-bar-container and strength-bar.
Styles added include:

Padding
Border
Border-radius
Color
Height
Width

Changes in script.js

Changes have been made in the calcStrength function.
The calcStrength function finds the strength of the password as follows:

Initial strength starts with a password strength of 0.
0.2 is added if the uppercase letters checkbox is ticked by the user.
0.2 is added if the lowercase letters checkbox is ticked by the user.
0.3 is added if the numbers checkbox is ticked by the user.
0.3 is added if the symbols checkbox is ticked by the user.
Password strength is multiplied by the length of the password and a constant.
Finally, if password strength exceeds 100, it is set to 100.

After calculating the strength, the calcStrength function calls the setStrengthBar function, passing the calculated strength as an argument.
The setStrengthBar function sets the color of the strength bar as follows:

If 66 < strength <= 100 → Green
If 33 < strength <= 66 → Yellow
If 0 <= strength <= 33 → Red

The setStrengthBar function also sets the width of the strength bar to the password strength.
Since password strength is between 0-100, the width is set between 0% to 100% accordingly.
Finally, event listeners have been added to inputs so that when the user changes any of the input values, the calcStrength function is called, and password strength is recalculated and set accordingly.

Type of change

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

Screenshots:

Checklist:

[x] I have registered myself at Contrihub website.
[x] My code follows the code style of this project.
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Test Configuration:

Firmware version:NA
Hardware:NA
Toolchain:NA
SDK:NA

@RajatX24 I am also contributing to another issue of the same project. But in my pr there is some issue.

Could you please help me to figure out the problem?

repo: ContriHUB/Password-Generator


text:
⚠ Samsung has degraded performance

In 1b9abe4, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 7053 ms

Resolved: Samsung performance has improved in 6c0ecac.

repo: CoopPlayzz/Webstatus-electronicbrands


text:
⚠ Samsung has degraded performance

In 19bf6a2, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2597 ms

Resolved: Samsung performance has improved in 7708ba0.


text:
⚠ Samsung has degraded performance

In 6bf7e24, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2671 ms

Resolved: Samsung performance has improved in b115860.


text:
⚠ Fortnite has degraded performance

In b984220, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1526 ms

Resolved: Fortnite performance has improved in d961927.

repo: CoopPlayzz/Webstatus-games


text:
⚠ Fortnite has degraded performance

In 95b9382, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1540 ms

Resolved: Fortnite performance has improved in 6325af5.


text:
⚠ Minecraft has degraded performance

In 488806b, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1378 ms

Resolved: Minecraft performance has improved in 898cdd5.


text:
⚠ Minecraft has degraded performance

In 8165236, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1135 ms

Resolved: Minecraft performance has improved in 064eb2d.


text:
Build failed on php7.0 32bit

Latest commit 9930b431e5a29fafcc564cf4419c89e922444e93 fails when trying to build on 32bit systems.
zend/classimpl.cpp: In static member function ‘static int Php::ClassImpl::getClosure(zval*, zend_class_entry**, zend_function**, zend_object**)’:
zend/classimpl.cpp:307:35: error: ‘zend_empty_string’ was not declared in this scope
     function->function_name     = zend_empty_string;            // should not be null, as this is free'ed by zend when doing exception handling
                                   ^~~~~~~~~~~~~~~~~
Makefile:219: recipe for target 'shared/zend/classimpl.o' failed
make: *** [shared/zend/classimpl.o] Error 1

Tested on:
Raspberry Pi 3:
Linux raspberry 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
 PHP 7.0.33-0+deb9u3 (cli) (built: Mar  8 2019 10:01:24) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-0+deb9u3, Copyright (c) 1999-2017, by Zend Technologies

Nano Pi Neo:
Linux NanoPi-NEO 4.14.52 #114 SMP Tue Mar 5 16:05:06 CST 2019 armv7l armv7l armv7l GNU/Linux
PHP 7.0.33-0ubuntu0.16.04.3 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-0ubuntu0.16.04.3, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans

Orange Pi Plus 2:
Linux orangepiplus 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l GNU/Linux
PHP 7.0.33-0+deb9u3 (cli) (built: Mar  8 2019 10:01:24) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-0+deb9u3, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans

Commit dfe4a94ee0dd1b240c6db3b324436c2138f7307c introduces zend_empty_string.

The same problem with PHP 7.1

I'm having the same problem
PHP 7.0.33-dev (cli) (built: Jun  7 2019 20:58:23) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies

You are correct, current version has the above problem but previous release like 2.0.0 is fine.

c ++ compiler does not cause problems with 7.x.x versions

c ++ compiler does not cause problems with 7.x.x versions

I also tried with c++ 7 but build failed with same errors.

I got that error message when compiling master branch, when i use release branch it was compiled successfully.

tag  v2.1.4  is ok

authors: aswger bossturk maxpaynestory sallyx shinuexx z497688734

repo: CopernicaMarketingSoftware/PHP-CPP


text:
When roslaunch clover_simulation simulation.launch is run it does not spawn the gazebo urdf model

Error message: [WARN] [1656980174.968365, 0.000000]: wait_for_service(/gazebo/spawn_urdf_model): failed to contact, will keep trying

Hi, which method have you used to install the simulator?

Hi, which method have you used to install the simulator?

The one in this link...
https://clover.coex.tech/en/simulation_native.html

Do I understand correctly the problem is that the drone doesn't appear? The warning you provided may be not the cause of it. Maybe some other errors in the output?
/gazebo/spawn_urdf_model service takes some time to appear, by the service caller would wait for it.

As per the screenshots I attached... the simulator does not launch the gazebo model and also the examples such as 'flight.py' do not work. I tried reinstalling everything thrice but same issue

This is only the little ending part of the output log. Can you please provide the full log? There can be errors there.

buntu:~/catkin_ws/src/clover/clover/examples$ roslaunch clover_simulation simulator.launch
... logging to /home/alice/.ros/log/9a926538-fc09-11ec-abfe-6974411158b9/roslaunch-SCI-10657-Ubuntu-30850.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://127.0.1.1:33591/
SUMMARY
CLEAR PARAMETERS

/led/led_effect/
/main_camera_nodelet_manager/
/mavros/
/optical_flow/
/roswww_static/
/simple_offboard/
/vpe_publisher/

PARAMETERS

/drone_description: <?xml version="1....
/gazebo/enable_ros_network: True
/led/led_effect/blink_rate: 2
/led/led_effect/fade_period: 0.5
/led/led_effect/notify/acro/b: 0
/led/led_effect/notify/acro/g: 155
/led/led_effect/notify/acro/r: 245
/led/led_effect/notify/altctl/b: 40
/led/led_effect/notify/altctl/g: 255
/led/led_effect/notify/altctl/r: 255
/led/led_effect/notify/connected/effect: rainbow
/led/led_effect/notify/disconnected/b: 50
/led/led_effect/notify/disconnected/effect: blink
/led/led_effect/notify/disconnected/g: 50
/led/led_effect/notify/disconnected/r: 255
/led/led_effect/notify/error/b: 0
/led/led_effect/notify/error/effect: flash
/led/led_effect/notify/error/g: 0
/led/led_effect/notify/error/ignore: ['[lpe] vision po...
/led/led_effect/notify/error/r: 255
/led/led_effect/notify/low_battery/b: 0
/led/led_effect/notify/low_battery/effect: blink_fast
/led/led_effect/notify/low_battery/g: 0
/led/led_effect/notify/low_battery/r: 255
/led/led_effect/notify/low_battery/threshold: 3.6
/led/led_effect/notify/offboard/b: 250
/led/led_effect/notify/offboard/g: 20
/led/led_effect/notify/offboard/r: 220
/led/led_effect/notify/posctl/b: 220
/led/led_effect/notify/posctl/g: 100
/led/led_effect/notify/posctl/r: 50
/led/led_effect/notify/stabilized/b: 50
/led/led_effect/notify/stabilized/g: 180
/led/led_effect/notify/stabilized/r: 30
/led/led_effect/notify/startup/b: 255
/led/led_effect/notify/startup/g: 255
/led/led_effect/notify/startup/r: 255
/led/led_effect/rainbow_period: 5
/main_camera/main_camera_markers/scale: 3.0
/main_camera_nodelet_manager/num_worker_threads: 2
/mavros/conn/heartbeat_rate: 1.0
/mavros/conn/system_time_rate: 1.0
/mavros/conn/timeout: 8
/mavros/conn/timesync_rate: 10.0
/mavros/distance_sensor/rangefinder/field_of_view: 0.5
/mavros/distance_sensor/rangefinder/frame_id: rangefinder
/mavros/distance_sensor/rangefinder/id: 0
/mavros/distance_sensor/rangefinder/orientation: PITCH_270
/mavros/distance_sensor/rangefinder_sub/covariance: 1
/mavros/distance_sensor/rangefinder_sub/id: 1
/mavros/distance_sensor/rangefinder_sub/orientation: PITCH_270
/mavros/distance_sensor/rangefinder_sub/subscriber: True
/mavros/fake_gps/eph: 2.0
/mavros/fake_gps/epv: 2.0
/mavros/fake_gps/fix_type: 3
/mavros/fake_gps/geo_origin/alt: 408.0
/mavros/fake_gps/geo_origin/lat: 47.3667
/mavros/fake_gps/geo_origin/lon: 8.55
/mavros/fake_gps/gps_rate: 5.0
/mavros/fake_gps/mocap_transform: True
/mavros/fake_gps/satellites_visible: 5
/mavros/fake_gps/tf/child_frame_id: fix
/mavros/fake_gps/tf/frame_id: map
/mavros/fake_gps/tf/listen: False
/mavros/fake_gps/tf/rate_limit: 10.0
/mavros/fake_gps/tf/send: False
/mavros/fake_gps/use_mocap: True
/mavros/fake_gps/use_vision: False
/mavros/fcu_url: udp://@127.0.0.1:...
/mavros/gcs_quiet_mode: True
/mavros/gcs_url:
/mavros/global_position/child_frame_id: base_link
/mavros/global_position/frame_id: map
/mavros/global_position/gps_uere: 1.0
/mavros/global_position/rot_covariance: 99999.0
/mavros/global_position/tf/child_frame_id: base_link
/mavros/global_position/tf/frame_id: map
/mavros/global_position/tf/global_frame_id: earth
/mavros/global_position/tf/send: False
/mavros/global_position/use_relative_alt: True
/mavros/imu/angular_velocity_stdev: 0.000349065850398...
/mavros/imu/frame_id: base_link
/mavros/imu/linear_acceleration_stdev: 0.0003
/mavros/imu/magnetic_stdev: 0.0
/mavros/imu/orientation_stdev: 1.0
/mavros/local_position/frame_id: map
/mavros/local_position/tf/send: True
/mavros/local_position/tf/send_fcu: False
/mavros/mission/pull_after_gcs: True
/mavros/mocap/use_pose: True
/mavros/mocap/use_tf: False
/mavros/odometry/in/child_frame_id: base_link
/mavros/odometry/in/frame_id: odom
/mavros/odometry/in/frame_tf/body_frame_orientation: flu
/mavros/odometry/in/frame_tf/local_frame: local_origin_ned
/mavros/odometry/out/frame_tf/body_frame_orientation: frd
/mavros/odometry/out/frame_tf/local_frame: vision_ned
/mavros/plugin_whitelist: ['altitude', 'com...
/mavros/px4flow/frame_id: px4flow
/mavros/px4flow/ranger_fov: 0.11868238913561441
/mavros/px4flow/ranger_max_range: 5.0
/mavros/px4flow/ranger_min_range: 0.3
/mavros/setpoint_attitude/reverse_thrust: False
/mavros/setpoint_attitude/tf/child_frame_id: target_attitude
/mavros/setpoint_attitude/tf/frame_id: map
/mavros/setpoint_attitude/tf/listen: False
/mavros/setpoint_attitude/tf/rate_limit: 50.0
/mavros/setpoint_attitude/use_quaternion: True
/mavros/setpoint_position/mav_frame: LOCAL_NED
/mavros/setpoint_position/tf/child_frame_id: target_position
/mavros/setpoint_position/tf/frame_id: map
/mavros/setpoint_position/tf/listen: False
/mavros/setpoint_position/tf/rate_limit: 50.0
/mavros/setpoint_raw/thrust_scaling: 1.0
/mavros/setpoint_velocity/mav_frame: LOCAL_NED
/mavros/startup_px4_usb_quirk: False
/mavros/target_system_id: 1
/mavros/time/publish_sim_time: False
/mavros/time/time_ref_source: fcu
/mavros/time/timesync_avg_alpha: 0.6
/mavros/time/timesync_mode: MAVLINK
/mavros/vibration/frame_id: base_link
/mavros/vision_pose/tf/listen: False
/mavros/vision_speed/listen_twist: True
/mavros/vision_speed/twist_cov: True
/optical_flow/calc_flow_gyro: True
/optical_flow/roi_rad: 0.8
/rangefinder/range/covariance: 1
/rangefinder/range/id: 1
/rangefinder/range/orientation: PITCH_270
/rangefinder/range/subscriber: True
/rosapi/params_glob: [*]
/rosapi/services_glob: [*]
/rosapi/topics_glob: [*]
/rosbridge_websocket/address: 0.0.0.0
/rosbridge_websocket/authenticate: False
/rosbridge_websocket/bson_only_mode: False
/rosbridge_websocket/delay_between_messages: 0
/rosbridge_websocket/fragment_timeout: 600
/rosbridge_websocket/max_message_size: None
/rosbridge_websocket/params_glob: [*]
/rosbridge_websocket/port: 9090
/rosbridge_websocket/retry_startup_delay: 5
/rosbridge_websocket/services_glob: [*]
/rosbridge_websocket/topics_glob: [*]
/rosbridge_websocket/unregister_timeout: 10
/rosbridge_websocket/use_compression: False
/rosbridge_websocket/websocket_external_port: None
/rosbridge_websocket/websocket_ping_interval: 0
/rosbridge_websocket/websocket_ping_timeout: 30
/rosdistro: noetic
/rosversion: 1.15.14
/roswww_static/default_package: clover
/simple_offboard/reference_frames/main_camera_optical: map
/use_sim_time: True
/visualization/child_frame_id: base_link
/visualization/fixed_frame_id: map
/visualization/marker_scale: 1
/visualization/max_track_size: 20
/visualization/num_rotors: 4
/vpe_publisher/force_init: True
/vpe_publisher/offset_frame_id: aruco_map
/web_video_server/default_stream_type: ros_compressed
/web_video_server/publish_rate: 1.0

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
main_camera_frame (tf2_ros/static_transform_publisher)
main_camera_nodelet_manager (nodelet/nodelet)
map_flipped_frame (tf2_ros/static_transform_publisher)
mavros (mavros/mavros_node)
optical_flow (nodelet/nodelet)
rangefinder_frame (tf2_ros/static_transform_publisher)
rosapi (rosapi/rosapi_node)
rosbridge_websocket (rosbridge_server/rosbridge_websocket)
roswww_static (roswww_static/main.py)
simple_offboard (clover/simple_offboard)
sitl_0 (px4/px4)
spawn_SCI_10657_Ubuntu_30850_459058826786188640 (gazebo_ros/spawn_model)
tf2_web_republisher (tf2_web_republisher/tf2_web_republisher)
visualization (mavros_extras/visualization)
vpe_publisher (clover/vpe_publisher)
web_video_server (web_video_server/web_video_server)
/led/
led_effect (clover/led)
/main_camera/
main_camera_markers (clover/camera_markers)
auto-starting new master
process[master]: started with pid [30860]
ROS_MASTER_URI=http://127.0.1.1:11311
setting /run_id to 9a926538-fc09-11ec-abfe-6974411158b9
process[rosout-1]: started with pid [30870]
started core service [/rosout]
process[gazebo-2]: started with pid [30878]
process[gazebo_gui-3]: started with pid [30882]
process[sitl_0-4]: started with pid [30892]
INFO  [px4] Creating symlink /home/alice/catkin_ws/src/PX4-Autopilot/ROMFS/px4fmu_common -> /home/alice/.ros/etc

| ___ \ \ \ / /   /   |
| |/ /  \ V /   / /| |
|  __/   /   \  / /| |
| |     / /^\ \ ___  |
_|     /   /     |_/
px4 starting.
INFO  [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
Info: found model autostart file as SYS_AUTOSTART=4500
process[spawn_SCI_10657_Ubuntu_30850_459058826786188640-5]: started with pid [30905]
INFO  [param] selected parameter default file eeprom/parameters_4500
INFO  [parameters] BSON document size 465 bytes, decoded 465 bytes
[param] Loaded: eeprom/parameters_4500
process[mavros-6]: started with pid [30912]
process[rangefinder_frame-7]: started with pid [30920]
process[visualization-8]: started with pid [30944]
process[web_video_server-9]: started with pid [31000]
process[vpe_publisher-10]: started with pid [31016]
process[optical_flow-11]: started with pid [31028]
process[map_flipped_frame-12]: started with pid [31037]
process[simple_offboard-13]: started with pid [31050]
process[main_camera_frame-14]: started with pid [31058]
[ INFO] [1656987872.884285591]: ros.clover: using data topic
process[main_camera_nodelet_manager-15]: started with pid [31073]
process[main_camera/main_camera_markers-16]: started with pid [31083]
[ INFO] [1656987872.897007407]: ros.nodelet: Loading nodelet /optical_flow of type clover/optical_flow to manager main_camera_nodelet_manager with the following remappings:
process[rosbridge_websocket-17]: started with pid [31097]
[ INFO] [1656987872.901627246]: ros.nodelet: /camera_info -> /main_camera/camera_info
[ INFO] [1656987872.901666136]: ros.nodelet: /image_raw -> /main_camera/image_raw
process[rosapi-18]: started with pid [31103]
process[tf2_web_republisher-19]: started with pid [31111]
[ INFO] [1656987872.913930355]: ros.roscpp: waitForService: Service [/main_camera_nodelet_manager/load_nodelet] has not been advertised, waiting...
process[led/led_effect-20]: started with pid [31119]
process[roswww_static-21]: started with pid [31123]
[ INFO] [1656987872.924786587]: ros.clover: ready
[ INFO] [1656987872.925687780]: ros.mavros: FCU URL: udp://@127.0.0.1:14580
[ INFO] [1656987872.933417298]: ros.rosconsole_bridge.mavconn: udp0: Bind address: 0.0.0.0:14555
[ INFO] [1656987872.933480744]: ros.rosconsole_bridge.mavconn: udp0: Remote address: 127.0.0.1:14580
[ INFO] [1656987872.933527503]: ros.mavros: GCS bridge disabled
[ INFO] [1656987872.943090525]: ros.mavros: Plugin 3dr_radio blacklisted
[ INFO] [1656987872.943113302]: ros.mavros: Plugin actuator_control blacklisted
[ INFO] [1656987872.943126661]: ros.mavros: Plugin adsb blacklisted
[ INFO] [1656987872.948248615]: ros.mavros: Plugin altitude loaded
INFO  [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
[ INFO] [1656987872.950676671]: ros.nodelet: Initializing nodelet with 2 worker threads.
PX4 SIM HOST: localhost
[ INFO] [1656987872.951443289]: ros.mavros: Plugin altitude initialized
[ INFO] [1656987872.951469567]: ros.mavros: Plugin cam_imu_sync blacklisted
[ INFO] [1656987872.951484798]: ros.mavros: Plugin camera blacklisted
[ INFO] [1656987872.951538621]: ros.mavros: Plugin command loaded
INFO  [simulator] Waiting for simulator to accept connection on TCP port 4560
[ INFO] [1656987872.962070352]: ros.roscpp: waitForService: Service [/led/set_leds] has not been advertised, waiting...
[ INFO] [1656987872.971011849]: ros.mavros: Plugin command initialized
[ INFO] [1656987872.971052328]: ros.mavros: Plugin companion_process_status blacklisted
[ INFO] [1656987872.971067582]: ros.mavros: Plugin debug_value blacklisted
[ INFO] [1656987872.973891618]: ros.mavros: Plugin distance_sensor loaded
[ INFO] [1656987872.984763053]: ros.mavros: Plugin distance_sensor initialized
[ INFO] [1656987872.984790544]: ros.mavros: Plugin esc_status blacklisted
[ INFO] [1656987872.984804047]: ros.mavros: Plugin esc_telemetry blacklisted
[ INFO] [1656987872.984815764]: ros.mavros: Plugin fake_gps blacklisted
[ INFO] [1656987872.984882166]: ros.mavros: Plugin ftp loaded
[ INFO] [1656987872.992946059]: ros.mavros: Plugin ftp initialized
[ INFO] [1656987872.992973620]: ros.mavros: Plugin geofence blacklisted
[ INFO] [1656987872.993038775]: ros.mavros: Plugin global_position loaded
[ INFO] [1656987872.997286046]: ros.clover: ready
[ INFO] [1656987873.002984957]: ros.mavros: Plugin global_position initialized
[ INFO] [1656987873.003019024]: ros.mavros: Plugin gps_input blacklisted
[ INFO] [1656987873.003032652]: ros.mavros: Plugin gps_rtk blacklisted
[ INFO] [1656987873.003045700]: ros.mavros: Plugin gps_status blacklisted
[ INFO] [1656987873.003059856]: ros.mavros: Plugin hil blacklisted
[ INFO] [1656987873.003074243]: ros.mavros: Plugin home_position blacklisted
[ INFO] [1656987873.003140604]: ros.mavros: Plugin imu loaded
[ INFO] [1656987873.006818252]: ros.mavros: Plugin imu initialized
[ INFO] [1656987873.006849286]: ros.mavros: Plugin landing_target blacklisted
[ INFO] [1656987873.006913777]: ros.mavros: Plugin local_position loaded
[ INFO] [1656987873.009518662]: ros.mavros: Plugin local_position initialized
[ INFO] [1656987873.009550425]: ros.mavros: Plugin log_transfer blacklisted
[ INFO] [1656987873.009565464]: ros.mavros: Plugin mag_calibration_status blacklisted
[ INFO] [1656987873.009628168]: ros.mavros: Plugin manual_control loaded
[ INFO] [1656987873.010886279]: ros.mavros: Plugin manual_control initialized
[ INFO] [1656987873.010907041]: ros.mavros: Plugin mocap_pose_estimate blacklisted
[ INFO] [1656987873.010921763]: ros.mavros: Plugin mount_control blacklisted
[ INFO] [1656987873.010937897]: ros.mavros: Plugin nav_controller_output blacklisted
[ INFO] [1656987873.010951543]: ros.mavros: Plugin obstacle_distance blacklisted
[ INFO] [1656987873.010964420]: ros.mavros: Plugin odom blacklisted
[ INFO] [1656987873.010977207]: ros.mavros: Plugin onboard_computer_status blacklisted
[ INFO] [1656987873.011032636]: ros.mavros: Plugin param loaded
[ INFO] [1656987873.012266979]: ros.mavros: Plugin param initialized
[ INFO] [1656987873.012288199]: ros.mavros: Plugin play_tune blacklisted
[ INFO] [1656987873.012337619]: ros.mavros: Plugin px4flow loaded
[ INFO] [1656987873.015286531]: ros.mavros: Plugin px4flow initialized
[ INFO] [1656987873.015315678]: ros.mavros: Plugin rallypoint blacklisted
[ INFO] [1656987873.015331016]: ros.mavros: Plugin rangefinder blacklisted
[ INFO] [1656987873.015386981]: ros.mavros: Plugin rc_io loaded
[ INFO] [1656987873.017086509]: ros.mavros: Plugin rc_io initialized
[ INFO] [1656987873.017111214]: ros.mavros: Plugin safety_area blacklisted
[ INFO] [1656987873.017126174]: ros.mavros: Plugin setpoint_accel blacklisted
[ INFO] [1656987873.017220829]: ros.mavros: Plugin setpoint_attitude loaded
[ INFO] [1656987873.022244177]: ros.mavros: Plugin setpoint_attitude initialized
[ INFO] [1656987873.022324263]: ros.mavros: Plugin setpoint_position loaded
[ INFO] [1656987873.032257767]: ros.mavros: Plugin setpoint_position initialized
[ INFO] [1656987873.032341840]: ros.mavros: Plugin setpoint_raw loaded
[ INFO] [1656987873.039688087]: ros.mavros: Plugin setpoint_raw initialized
[ INFO] [1656987873.039717535]: ros.mavros: Plugin setpoint_trajectory blacklisted
[ INFO] [1656987873.039784186]: ros.mavros: Plugin setpoint_velocity loaded
[ INFO] [1656987873.042233622]: ros.mavros: Plugin setpoint_velocity initialized
[ INFO] [1656987873.042314359]: ros.mavros: Plugin sys_status loaded
[ INFO] [1656987873.047119124]: ros.mavros: Plugin sys_status initialized
[ INFO] [1656987873.047195233]: ros.mavros: Plugin sys_time loaded
[ INFO] [1656987873.049786401]: ros.mavros.time: TM: Timesync mode: MAVLINK
[ INFO] [1656987873.050136994]: ros.mavros.time: TM: Not publishing sim time
[ INFO] [1656987873.050701761]: ros.mavros: Plugin sys_time initialized
[ INFO] [1656987873.050723254]: ros.mavros: Plugin terrain blacklisted
[ INFO] [1656987873.050736218]: ros.mavros: Plugin trajectory blacklisted
[ INFO] [1656987873.050750748]: ros.mavros: Plugin tunnel blacklisted
[ INFO] [1656987873.050765541]: ros.mavros: Plugin vfr_hud blacklisted
[ INFO] [1656987873.050778637]: ros.mavros: Plugin vibration blacklisted
[ INFO] [1656987873.050836088]: ros.mavros: Plugin vision_pose_estimate loaded
[ INFO] [1656987873.053937847]: ros.mavros: Plugin vision_pose_estimate initialized
[ INFO] [1656987873.053970079]: ros.mavros: Plugin vision_speed_estimate blacklisted
[ INFO] [1656987873.053987045]: ros.mavros: Plugin waypoint blacklisted
[ INFO] [1656987873.054000722]: ros.mavros: Plugin wheel_odometry blacklisted
[ INFO] [1656987873.054014230]: ros.mavros: Plugin wind_estimation blacklisted
[ INFO] [1656987873.054068497]: ros.mavros: Built-in SIMD instructions: SSE, SSE2
[ INFO] [1656987873.054085686]: ros.mavros: Built-in MAVLink package version: 2022.3.3
[ INFO] [1656987873.054106481]: ros.mavros: Known MAVLink dialects: common ardupilotmega ASLUAV AVSSUAS all development icarous matrixpilot paparazzi standard storm32 uAvionix ualberta
[ INFO] [1656987873.054126714]: ros.mavros: MAVROS started. MY ID 1.240, TARGET ID 1.1
Gazebo multi-robot simulator, version 11.11.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Wrn] [GuiIface.cc:200] g/gui-plugin is really loading a SystemPlugin. To load a GUI plugin please use --gui-client-plugin
Gazebo multi-robot simulator, version 11.11.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
2022-07-05 12:24:33+1000 [-] Log opened.
2022-07-05 12:24:33+1000 [-] registered capabilities (classes):
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.call_service.CallService'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.advertise.Advertise'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.publish.Publish'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.subscribe.Subscribe'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.defragmentation.Defragment'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.advertise_service.AdvertiseService'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.service_response.ServiceResponse'>
2022-07-05 12:24:33+1000 [-]  - <class 'rosbridge_library.capabilities.unadvertise_service.UnadvertiseService'>
[ INFO] [1656987873.240350078]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1656987873.241279235]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[Msg] Waiting for master.
[INFO] [1656987873.246844, 0.000000]: Loading model XML from ros parameter drone_description
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 10.0.0.18
[INFO] [1656987873.252253, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1656987873.299666, 0.000000]: rosout: Rosapi started
[ INFO] [1656987873.341348733]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1656987873.342088895]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 10.0.0.18
2022-07-05 12:24:33+1000 [-] WebSocketServerFactory starting on 9090
2022-07-05 12:24:33+1000 [-] Starting factory <autobahn.twisted.websocket.WebSocketServerFactory object at 0x7f0579e43a00>
2022-07-05 12:24:33+1000 [-] [INFO] [1656987873.353621, 0.000000]: rosout: Rosbridge WebSocket server started at ws://0.0.0.0:9090
[Msg] Loading world file [/home/alice/catkin_ws/src/clover/clover_simulation/resources/worlds/clover_aruco.world]
[roswww_static-21] process has finished cleanly
log file: /home/alice/.ros/log/9a926538-fc09-11ec-abfe-6974411158b9/roswww_static-21*.log
[WARN] [1656987874.155939, 0.000000]: wait_for_service(/gazebo/spawn_urdf_model): failed to contact, will keep trying
Ubuntu:~/catkin_ws/src/clover/clover/examples$ python3 flight.py
Take off and hover 1 m above the ground
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 567, in connect
self.socket.connect((dest_addr, dest_port))
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 509, in call
transport.connect(dest_addr, dest_port, service_uri)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 596, in connect
raise TransportInitError(str(e)) #re-raise i/o error
rospy.exceptions.TransportInitError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "flight.py", line 19, in
navigate(x=0, y=0, z=1, frame_id='body', auto_arm=True)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 442, in call
return self.call(*args, **kwds)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 512, in call
raise ServiceException("unable to connect to service: %s"%e)
rospy.service.ServiceException: unable to connect to service: [Errno 111] Connection refused

Maybe some networking issues?
Can this machine ping itself? Do other ROS tools work, while the sim is running? (rostopic list, rosservice list, rostopic echo <any-topic>, etc.
What is the output of rosservice list?

Would this help?

What about the list of services (rosservice list) and other stuff, when the sim is running? Note, you don't have to run roscore yourself, roslaunch will do this.

Hi Okalachev,

In the 'simulator.launch' file, what model is it calling? Is it 'clover.launch'? And maybe the file in the git repo is named 'clover4.launch' or something? I'm not sure...

Hi Okalachev,
These two links helped resolve the issue!

https://answers.gazebosim.org//question/21602/spawning-baxterurdf-not-possible-gazebo-doesnt-start-waiting-for-service/
https://forum.humanbrainproject.eu/t/waiting-for-service-gazebo-spawn-urdf-model/468
Thanks for the help!

Great!

authors: AvishkarSeth okalachev

repo: CopterExpress/clover


text:
Add SAPC support

https://github.com/Myndex/SAPC/tree/master/JS

I expect to have an npm package soon. Also just as an FYI we're calling the basic free algorithm "APCA" now... SAPC is the full appearance model...

The APCA npm package is now available https://www.npmjs.com/package/apca-w3
 npm i apca-w3

And the API is trivially simple: send it two colors, it returns a signed INT of the Lc value (lightness contrast).
 Lc = APCAcontrast( sRGBtoY( textColor ), sRGBtoY( backgroundColor ) );

Color sent to the required parsing function sRGBtoY() can be a 3 or 6 character hex string #fff or a3b3d4 (hash # is optional but not required), a named CSS color (such as aquamarine), as rgb(99,122,14), or as a number  0x123456 or 15213412. Text color first, background color second — do not swap colors, as use case affects results. light text on a dark background returns a negative value.

Hey @CoreyGinnivan  I'm not sure if you are aware but we released Bridge-PCA which is backwards compatible with the old WCAG 2, but using APCA technology — if you pass Bridge-PCA you automatically pass WCAG 2.
Also available as an npm package:
 npm i bridge-pca

Thank you!
Andy

authors: CoreyGinnivan Myndex

repo: CoreyGinnivan/whocanuse