text:
Error: The source server isn't listening on the network

Required information

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-22-generic
LXC version: 3.0
LXD version: 3.0
Storage backend in use: ZFS

Issue description
When i try to publish a container as an image to a remote repository using:

lxc image  copy container repository:

I get the following output:

Error: The source server isn't listening on the network

The same happens when i try to do an image copy to a remote repository using:

lxc image copy container repository: --copy-aliases

I get the same error message.
Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

That's because your source server isn't listening on the network :)
As the target server downloads from the source, you need to have core.listen_address set on the source server and have that address be reachable by the target server.

The config is currently set as:

lxc config set core.https_address "[::]:8443"

What does lxc info and lxc info repository: show you?
Also, try running the lxc image copy with --debug

Changing this to:

lxc config set core.https_address "[::]:8443"

worked for lxc image copy but not for lxc publish.
When i run: lxc publish container repository: --alias hahahaha , it does not public it to the remote repo.

What does lxc publish say? does it show an error? Can you post its output when run with --debug?

It's trying to publish the container to the local image repo, not the remote one.

It still shows this:

  "config": {
  	"core.https_address": "[::]:8443",
  	"core.trust_password": true
  },

That part's normal, it should publish to the local image store without setting an alias, then copy the image from the local image store to the remote image store, set the alias there and then remove the image from the local image store.

source: gharchive/issue

authors: elbrinke stgraber

license_type: permissive

license_source: bigquery


text:
lxd-agent: cleaner shutdown sequence

This prevents the following during shutdown (journalctl -b-1 --grep lxd):
Mar 21 21:03:17 foo systemd[1]: Unmounting /run/lxd_agent...
Mar 21 21:03:17 foo umount[487]: umount: /run/lxd_agent: target is busy.
Mar 21 21:03:17 foo systemd[1]: run-lxd_agent.mount: Mount process exited, code=exited, status=32/n/a
Mar 21 21:03:17 foo systemd[1]: Failed unmounting /run/lxd_agent.

@simondeziel you'll need a matching distrobuilder change as the LXD change alone does almost nothing (won't make it into our images).

source: gharchive/pull-request

authors: simondeziel stgraber

repo: lxc/lxd


text:
Cluster: Error when no leader address found during handover

Also log partial and initial heartbeats as these should only be sent when cluster state changes.
I've also removed the sleeps between cluster handover stages to try and get a clear picture of how much time is actually needed for cluster role handover.

jenkins: test this please


text:
Fix branch-2.0 integration tests

The integration tests in the integrations/ sub-folder has bit-rotted.
This patch brings them up to date so that they work with the branch-2.0
current.  This is for SRU testing for xenial, which the branch-2.0
tracks releases for.
Signed-off-by: Alex Kavanagh alex@ajkavanagh.co.uk

Codecov Report

Merging #287 into branch-2.0 will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           branch-2.0     #287   +/-   ##
===========================================
  Coverage       96.16%   96.16%
===========================================
  Files               6        6
  Lines             287      287
  Branches           42       42
===========================================
  Hits              276      276
  Misses              8        8
  Partials            3        3

Continue to review full report at Codecov.

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

authors: ajkavanagh codecov-io

repo: lxc/pylxd


text:
Issues with relative links

A user was trying out lychee for NLnet and found that version 0.13 misreports many links.
E.g.
lychee https://nlnet.nl/thema/OpenDocumentFormat.html

Issues found in 1 input. Find details below.

[https://nlnet.nl/thema/OpenDocumentFormat.html]:
✗ [404] https://nlnet.nl/BinaryAnalysisFund.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Services+Applications.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/InternetInfrastructure.html | Failed: Network error: Not Found
✗ [ERR] http://www.viewerjs.org/examples | Failed: Network error: The certificate was not trusted.
✗ [404] https://nlnet.nl/GetEduroam.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Deployability.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Decentralisedsolutions.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Conferences.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NetworkApplications.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Applicationprotocols.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/EducationalPrograms.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/InternetHardeningFund.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Reportsandstudies.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NGIZeroCore.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NGIZeroDiscovery.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/InformationRetrieval.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Verticals+Search.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/User-operatedInternetFund.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NGI0Entrust.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Measurement.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Middlewareandidentity.html | Failed: Network error: Not Found
✗ [500] http://translate.org.za/ | Failed: Network error: Internal Server Error
✗ [404] https://nlnet.nl/Networkinfrastructure.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Privacyandsecurity.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/CommunityPrograms.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/OperatingSystems.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NGIAssure.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/DataandAI.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/OpenDocumentFormat.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Softwareengineering.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/Hardware.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/OpenData.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NREN.html | Failed: Network error: Not Found
✗ [404] https://nlnet.nl/NGIZeroPET.html | Failed: Network error: Not Found

🔍 113 Total (in 11s) ✅ 78 OK 🚫 34 Errors 💤 1 Excluded

The errors are all from relative links.
It incorrectly strips away the path.
E.g. instead of https://nlnet.nl/thema/BinaryAnalysisFund.html it detects https://nlnet.nl/BinaryAnalysisFund.html

Same issue here. I was excited about lychee at first but unfortunately it is ultimately unusable for me for this reason. Unfortunately I don't know any rust so I can't really offer help either :-/.

This is fixed in master and will be released with 0.17.0.
It only reports actually broken links for the above URL now:
lychee https://nlnet.nl/thema/OpenDocumentFormat.html

Issues found in 1 input. Find details below.

[https://nlnet.nl/thema/OpenDocumentFormat.html]:
   [ERROR] http://www.viewerjs.org/examples
 [TIMEOUT] http://translate.org.za/
   [ERROR] http://www.kolabsystems.com/
     [404] http://labs.mozilla.org/

🔍 135 Total (in 47s) ✅ 131 OK 🚫 3 Errors ⏳ 1 Timeouts

authors: fingolfin mre

repo: lycheeverse/lychee

license_source: github-api


text:
Test failures in the 0.16.0 release

I'm hitting these 2 failures while building lychee for Arch Linux:

Details
------------
 Nextest run ID 12f79d07-8cbf-4d29-9a91-879b073c65f2 with nextest profile: default
    Starting 319 tests across 14 binaries (7 tests skipped)
        PASS [   0.679s] benches::bench/extract extract from large docs
        FAIL [   0.020s] lychee::cli cli::test_basic_auth

--- STDOUT:              lychee::cli cli::test_basic_auth ---

running 1 test
test cli::test_basic_auth ... FAILED

failures:

failures:
    cli::test_basic_auth

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 74 filtered out; finished in 0.02s

--- STDERR:              lychee::cli cli::test_basic_auth ---
thread 'cli::test_basic_auth' panicked at /usr/src/debug/rust/rustc-1.81.0-src/library/core/src/ops/function.rs:250:5:
Unexpected failure.
code=101
stderr=``````
thread \'main\' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-subscriber-0.4.0/src/lib.rs:262:9:
task tracing requires Tokio to be built with RUSTFLAGS=\"--cfg tokio_unstable\"!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

command=`"/build/lychee/src/lychee-0.16.0/target/debug/lychee" "--verbose" "--basic-auth" "http://127.0.0.1:37767 username:password123" "-"`
stdin=`"http://127.0.0.1:37767"`
code=101
stdout=""
stderr=```
thread \'main\' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-subscriber-0.4.0/src/lib.rs:262:9:
task tracing requires Tokio to be built with RUSTFLAGS=\"--cfg tokio_unstable\"!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure
        FAIL [   0.020s] lychee::cli cli::test_cache_config

--- STDOUT:              lychee::cli cli::test_cache_config ---

running 1 test
test cli::test_cache_config ... FAILED

failures:

failures:
    cli::test_cache_config

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 74 filtered out; finished in 0.02s

--- STDERR:              lychee::cli cli::test_cache_config ---
thread 'cli::test_cache_config' panicked at /usr/src/debug/rust/rustc-1.81.0-src/library/core/src/ops/function.rs:250:5:
Unexpected failure.
code=101
stderr=``````
thread \'main\' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-subscriber-0.4.0/src/lib.rs:262:9:
task tracing requires Tokio to be built with RUSTFLAGS=\"--cfg tokio_unstable\"!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

command=`env -i "/build/lychee/src/lychee-0.16.0/target/debug/lychee" "--config" "/build/lychee/src/lychee-0.16.0/fixtures/configs/cache.toml" "-"`
stdin=`"http://127.0.0.1:43637"`
code=101
stdout=""
stderr=```
thread \'main\' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-subscriber-0.4.0/src/lib.rs:262:9:
task tracing requires Tokio to be built with RUSTFLAGS=\"--cfg tokio_unstable\"!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

------------
     Summary [   0.718s] 3/319 tests run: 1 passed, 2 failed, 0 skipped
        FAIL [   0.020s] lychee::cli cli::test_basic_auth
        FAIL [   0.020s] lychee::cli cli::test_cache_config
warning: 316/319 tests were not run due to test failure (run with --no-fail-fast to run all tests)
error: test run failed

Any idea about what's going on? 👀

Thanks @orhun.
It's the console subscriber. Since I don't think anyone uses that, I'll remove it with the next release.
Propably not worth it, but if you like, you can try to disable the subscriber:
https://github.com/lycheeverse/lychee/blob/f63b4ae65b7527aa344c496dd8e6828ce90da059/lychee-bin/Cargo.toml#L82

Thanks for letting me know - I don't know how I missed that from the logs, skill issue I guess.
The package is now updated :)

skill issue I guess

Probably. 😜
Just kidding. Thanks for maintaining the package Orhun!

authors: mre orhun


text:
Handle relative links

WIP for #1296 and #1480
This just adds a failing test based on @nobkd's minimal repro.
I didn't fix the underlying issue.

It doesn't run the failing test yet. See #1483.
The Docker build failure is unrelated.

Might also be interesting. Not sure if this is maybe already used by lychee. :shrug:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

Might also be interesting/relevant. Not sure if this is maybe already used by lychee. :man_shrugging:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

Very interesting; I never heard of it.
The current implementation is pretty basic, and we don't use <base>. Looking at the docs, there seem to be quite a few different cases to be handled, so I'd like to postpone handling that for now. But thanks for the tip.

Superseded by https://github.com/lycheeverse/lychee/pull/1489.

authors: mre nobkd


text:
Update postgres sample dag

Summary of Changes
Remove the ESTransformer
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes make test
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

👀 @youngyjd

Codecov Report

Merging #90 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #90   +/-   ##
=======================================
  Coverage   82.81%   82.81%
=======================================
  Files          52       52
  Lines        2566     2566
  Branches      264      264
=======================================
  Hits         2125     2125
  Misses        356      356
  Partials       85       85

Continue to review full report at Codecov.

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

authors: codecov-io feng-tao

repo: lyft/amundsendatabuilder


text:
Update JIRA Issue query + TableIssue UI

Summary of Changes
This PR:

Updates the jira issue query to use exact match on the full Table Key: .... that we provide. This fixes an issue where unrelated JIRA issues were being displayed due to fuzzy matching.
Update the TableIssue component to show the LoadingSpinner instead of ReportTableIssue. With the updated design, it's cleaner for the whole section to be replaced with the LoadingSpinner as oppose to just the Report Issue text which led also led to a misaligned spinner.

Tests
Updated tests to reflect changes.
Documentation
N/A but big fix can be called out in next patch release.
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide

Codecov Report

Merging #415 into master will decrease coverage by 0.06%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage   78.33%   78.27%   -0.07%
==========================================
  Files         196      196
  Lines        4889     4889
  Branches      638      638
==========================================
- Hits         3830     3827       -3
- Misses       1013     1016       +3
  Partials       46       46

Impacted Files
Coverage Δ

.../components/TableDetail/ReportTableIssue/index.tsx
91.30% <81.81%> (-6.66%)
:arrow_down:

...ication/proxy/issue_tracker_clients/jira_client.py
79.45% <100.00%> (ø)

...ic/js/components/TableDetail/TableIssues/index.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-io ttannis

repo: lyft/amundsenfrontendlibrary


text:
Updates atlas proxy implementation to match terminology

In order to make it consistent with the existing terms of Amundsen, this PR updates the way it was using db and schema name to generate the table URI.
We'll make a more concrete discussion about the terms in an issue opened in frontend library https://github.com/lyft/amundsenfrontendlibrary/issues/61

@feng-tao @jinhyukchang ready for review.

@verdan I believe this PR is contingent to this issue. I just replied to the issue, and let me know what you think.
Thanks for the suggestion!
Jin

@jinhyukchang this PR is still valid, as previously I was assuming database as the database name, schema as the database schema like public etc., and was sending the data from atlas proxy based on that. This PR would fix that issue for atlas proxy.

@feng-tao nope. I already have the next PR ready, was waiting for this one. And i will bump the version in that one.

sounds good.

authors: feng-tao jinhyukchang verdan

repo: lyft/amundsenmetadatalibrary


text:
feat; allow users choose raw output path style (sharded, non sharded, human readable etc)

TL;DR
Currently we store data in 2 char shards always. This is useful only at the root of a pre-sharded S3 bucket. This change makes it possible to not have to use the 2 char shard, but Flyte will automatically generate a shard in your bucket where to write the data
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[x] Code documentation added
[ x Any pending items have an associated Issue

Complete description
This will enable capability to not create shard chars when not required.
Tracking Issue
https://github.com/lyft/flyte/issues/486
Follow-up issue
NA

Codecov Report

Merging #116 into master will increase coverage by 0.03%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
+ Coverage   58.72%   58.75%   +0.03%
==========================================
  Files          99       99
  Lines        5938     5957      +19
==========================================
+ Hits         3487     3500      +13
- Misses       2103     2106       +3
- Partials      348      351       +3

Impacted Files
Coverage Δ

...o/tasks/pluginmachinery/ioutils/raw_output_path.go
75.00% <71.42%> (-4.32%)
:arrow_down:

Continue to review full report at Codecov.

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

repo: lyft/flyteplugins


text:
Change the direction the connecting lines point

I believe it would be more aesthetically pleasing if the lines went towards the centre of the child node, rather than right above it.
Example:

Thanks for your suggestion, but I think it looks better as-is, and I don't want to complicate the package with too many options.

authors: emilyyyylime lynn

repo: lynn/typst-syntree

license: MIT


text:
Cannot use rake with mount_devise_token_auth_for in routes.rb

I used rails g devise_token_auth:install User auth so I have mount_devise_token_auth_for in my config/routes.rb.
When I run rake db:migrate or any rake actions I get:
** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! NameError: uninitialized constant ActionDispatch::Routing::Mapper::Scope C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/devise_token_auth-0.1.37/lib/devise_token_auth/rails/routes.rb:40:in 'block in mount_devise_token_auth_for' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/devise_token_auth-0.1.37/lib/devise_token_auth/rails/routes.rb:86:in 'unnest_namespace' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/devise_token_auth-0.1.37/lib/devise_token_auth/rails/routes.rb:32:in 'mount_devise_token_auth_for' C:/Dev/tests/testapp/config/routes.rb:2:in 'block in <top (required)>' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:337:in 'instance_exec' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:337:in 'eval_block' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:315:in 'draw' C:/Dev/tests/testapp/config/routes.rb:1:in '<top (required)>' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in 'block in load_paths' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in 'each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:40:in 'load_paths' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:16:in 'reload!' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:26:in 'block in updater' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/file_update_checker.rb:75:in 'call' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/file_update_checker.rb:75:in 'execute' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/routes_reloader.rb:27:in 'updater' C:in 'execute_if_updated' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:71:in 'block in <module:Finisher>' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in 'instance_exec' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in 'run' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:55:in 'block in run_initializers' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:226:in 'block in tsort_each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:348:in 'block (2 levels) in each_strongly_connected_component' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:427:in 'each_strongly_connected_component_from' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:347:in 'block in each_strongly_connected_component' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:345:in 'each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:345:in 'call' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:345:in 'each_strongly_connected_component' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:224:in 'tsort_each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/tsort.rb:205:in 'tsort_each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:54:in 'run_initializers' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application.rb:300:in 'initialize!' C:/Dev/tests/testapp/config/environment.rb:5:in '<top (required)>' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application.rb:276:in 'require_environment!' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application.rb:389:in 'block in run_tasks_blocks' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:240:in 'call' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:240:in 'block in execute' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:235:in 'each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:235:in 'execute' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:179:in 'block in invoke_with_call_chain' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/monitor.rb:211:in 'mon_synchronize' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:172:in 'invoke_with_call_chain' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:201:in 'block in invoke_prerequisites' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:199:in 'each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:199:in 'invoke_prerequisites' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:178:in 'block in invoke_with_call_chain' C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/monitor.rb:211:in 'mon_synchronize' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:172:in 'invoke_with_call_chain' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:165:in 'invoke' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:150:in 'invoke_task' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in 'block (2 levels) in top_level' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in 'each' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in 'block in top_level' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:115:in 'run_with_threads' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:100:in 'top_level' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:78:in 'block in run' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:176:in 'standard_exception_handling' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:75:in 'run' C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rake-10.5.0/bin/rake:33:in '<top (required)>' C:/RailsInstaller/Ruby2.1.0/bin/rake:23:in 'load' C:/RailsInstaller/Ruby2.1.0/bin/rake:23:in '<main>' Tasks: TOP => db:migrate => environment
When I remove mount_devise_token_auth_for from config/routes.rb, the migration runs normally.
Can you help me to understand this?

I can't even start my server when this line is in my routes.rb file inside the namespace scope :v1

Hi there @danielprudhomme    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.

authors: danielprudhomme styledev zachfeldman

license: WTFPL


text:
解决方案检查

[X] 我已阅读常见问题(https://github.com/lyswhut/lx-music-desktop/blob/master/FAQ.md)，并没有找到解决方案
[X] 我已搜索issue列表(https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=)，并没有发现类似的问题

预期行为
最新版本 歌词会出现BUG
实际行为
跳出单独的任务栏窗口
Lx Music 版本
1.18.0
最后正常的版本
1.18.0
操作系统版本
win10
附加信息
No response

目前已知的问题：
windows的资源管理器被重启时，桌面歌词窗口会出现在任务栏上（开关桌面歌词几个解决），任务栏的操作按钮消失（需要重启软件才能解决）

authors: CrazyAMon lyswhut

repo: lyswhut/lx-music-desktop


text:
🛑 影视1 is down

In 2048e64, 影视1 (https://cn.lzhnb.gay) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 影视1 is back up in 76a0c80 after 26 minutes.

repo: lzh-zone/lin-uptime


text:
Update old links on tests/ndt page to code.google.com

There are several links on the tests/ndt page which still point to the now defunct code.google.com/p/ndt repository.  These should be updated to point to github.com/ndt-project/ndt.

Fixed by PR #113.


text:
Search box loses focus w/ Streamlit 1.35.0

Hi, i updated Streamlit to 1.35.0 (from 1.34.0) and the search box loses focus after typing a few characters.
Note: I see a page reload happens for a split second when the focus is lost and reset
i do not get any errors and have not changed any config.
st_searchbox(
            callback_fn,
            key="my_input",
            label="",
            edit_after_submit='option',  # "disabled", "current", "option", "concat"
            placeholder="Search...",
            clear_on_submit=False,
            default='',
            rerun_on_update=True,
            style_overrides={
                "clear": {
                    "width": 20,
                    "height": 20,
                    # default: circle-filled
                    # other: cross
                    "icon": "circle-unfilled",
                    "stroke-width": 2,
                    "stroke": "red",
                },
            }
        )

Hey, thanks for the bug report. I could replicate this with streamlit versions 1.35 and 1.36 by typing (very) fast until the searchbox looses focus (looks like the iframe is reloading).
I'll create a bug report on the streamlit repostiory. The issue seems to have started with this commit https://github.com/streamlit/streamlit/commit/d302553a3724e0142b2a4420649e228a0632d36e - I don't think this is sth. that can be fixed from the component side, so we'll probably have to wait until streamlit is updated.

Problem seems to be worse with version 1.37, I've added an exception for it to the setup.py / install_requires

I've added a min_execution_time parameter to delay the next rerun and avoid the reset issues atm. This is supposed to be removed, once the original issue is resolved.

authors: m-wrzr metalshanked

repo: m-wrzr/streamlit-searchbox


text:
add DASH output support

Really low priority, just to try it out how it would perform.

+1

any timeline behinde this idea ?
think would be a cool feature ... (chrome / chromecast) ...

Currently no timeline. Contributions are welcome.

for sure ... i think we have to create new routing for the dash encoding.
i will think about a solution for this


text:
App icon

[ ] Add the narwhal icon to the playstore listing
[x] See how we can add it to the github installs as well

Manifest for App icon will change the icon for github and playstore icons

Will create another issue for play store listing

repo: mI-PIV/app


text:
facilitate 'I want to use this asset now'

in the booking part, there is no facility to tell the user 'the usage of this asset will cost you €1,50 startup and €1.00 per hour'.

also influences the 'end' in the trip execution.

see #75

repo: maas-nl/TOMP-API


text:
Use new timeout block in tests

VM hosts are hitting a timeout in system tests, let's use the newly created timeout field to lengthen this

LGTM +1


text:
🛑 FRACTAVA Website is down

In 8f22605, FRACTAVA Website (https://fractava.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FRACTAVA Website is back up in f972b53.

repo: macbrayne/status


text:
Not working Cordova 6 and iOS 9 Emulator

So it's not working on Cordova 6 with iOS emulator... providers no errors.. just click the button and it does nothing... Any ideas?

same problem but with android emulator

try your production key instead of the test key.
On Tue, Mar 15, 2016 at 9:23 AM, Gilles Danjou notifications@github.com
wrote:

same problem but with android emulator
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/macdonst/SpeechRecognitionPlugin/issues/48#issuecomment-196814611

--
Amy Bridges
Owner
P: (404) 487-6003 ext 700
E: amy.bridges@invoate.com
LinkedIn https://www.linkedin.com/in/amy-bridges-ab33b336 | Invoate
http://www.invoate.com | Behance https://www.behance.net/ubergeekzone

Saw your stackoverflow question.
Will check why their demo key doesn't work anymore.
http://stackoverflow.com/questions/35714165/cordova-speech-recognition-plugin

         *Pat* replied     Apr 7 3:20am
  Thanks for letting us know Amy,

Nothing received here but will keep our eyes open.
Best regards,
Pat
Pat Murphy
support@teamwork.com
Support
  *Amy Bridges* asked    Apr 6 11:37pm
  Hello,

My account was hijacked earlier today, if you have something form me
about a proposal agreement do not open it. I have took the appropriate
measures to ensure this will not happen again.
Thanks
--
Amy Bridges
Owner
P: (404) 487-6003 ext 700
E: amy.bridges@invoate.com mailto:amy.bridges@invoate.com
LinkedIn
https://t.yesware.com/tt/24554823f0769e3928dc2ff821448567077d1807/cc7947eb285eaae542a5318d220bf049/afeb9aa266b28974e84e4d1ad30e3c37/www.linkedin.com/in/amy-bridges-ab33b336
| Invoate
http://t.yesware.com/tt/24554823f0769e3928dc2ff821448567077d1807/cc7947eb285eaae542a5318d220bf049/7afd6d954dbb7c577d195f10610bebf1/www.invoate.com
| Behance
https://t.yesware.com/tt/24554823f0769e3928dc2ff821448567077d1807/cc7947eb285eaae542a5318d220bf049/f1e0e013a0c812229189b26c95d207f1/www.behance.net/ubergeekzone
{"TWDESKMessageId":"t!84424953!u41294!1!79500560-981c-4f21-98a2-249149d12ff6*teamworkdesk!com"}
Powered by Teamwork Desk https://www.teamwork.com/desk

Just tested the default demo key ("developerdemokeydeveloperdemokey") and worked fine on device and simulator, closing issue.

authors: gilles-danjou jcesarmobile ubergeekzone

repo: macdonst/SpeechRecognitionPlugin

license: mit


text:
ARM Build & Actions Updates

Updated the various GH actions to the latest versions of each
Added arm64 arch target for the release
Use go 1.19 as the base go version

Hey @tgoodsell-tempus, I went ahead and forked this repo and merged your PR at Avinode/git-credential-github-apps.  We started using this Git credentials provider and needed this and other security related patches applied in order to continue utilizing it.  We have also published a v1.2.0 release there.
I don't want to step on anyone's toes, and will gladly close down the fork if this repo comes back to life.
Thanks for this fix!  We needed it!

authors: pedrohdz tgoodsell-tempus

repo: mackee/git-credential-github-apps


text:
Code executed when leaving/entering a state

Is there a way to execute a piece of code when leaving/entering a state?

There's no dedicated API for this but you can use didTransitionCallback, which receives an old state, an event, and a new state.

repo: macoscope/SwiftyStateMachine


text:
Change vim colorscheme based on system appearance

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I initially created sys-appearance to provide updates to constrained contexts (vim script) about the macOS system appearance. At the time, I used NeoVim within Terminal.app and was able to use the Lua event loop to have efficient communication with the sys_appearance daemon. I've done an hour or so of research into whether or not this is possible in vim and gave up on a plugin only approach. I MacVim however is a perfect candidate for said behavior.
Describe the solution you'd like
Provide the user with an option to let MacVim set the colorscheme when the system appearance changes. Ideally, there should a checkbox toggle in the preferences. When a system appearance update occurs, if the checkbox is toggled, update the colorscheme with a value provided in the users vimrc.
Describe alternatives you've considered
I haven't considered any alternatives but am open to discussion and other ideas.
Additional context
N/A

Provide the user with an option to let MacVim set the colorscheme when the system appearance changes

Were you aware of v:os_appearance (which lets you query the light/dark modes) and the OSAppearanceChanged autocmd? You can use both to query and handle appearance changes in MacVim. Just handle the autocmd to change your colorscheme.

Ideally, there should a checkbox toggle in the preferences.

The problem with checkbox toggle is that it conflicts with Vim's builtin handling. I think it's better for color schemes to be handled in a vimrc script to be consistent with how it works. Usually, the MacVim preference pane is used for global configuration that affects all of MacVim, whereas each Vim window (each window hosts a separate Vim process) can have its own configuration done in vimrc. It's totally possible for the user to want to have different color schemes in each Vim window.

I've done an hour or so of research into whether or not this is possible in vim and gave up on a plugin only approach.

As I mentioned, MacVim already has builtin support for this so you don't need to use a plugin, but why can't it be done in Vim? You can spawn background processes and use the jobs API to to communicate with your sys-appearance app. The APIs are admittedly different from NeoVim but I wasn't aware of any critical functionality missing from what you need. E.g. I think this should work if you need this to work in terminal Vim.

Made a PR (#1307) to make the documentation a little clearer, so that you can find that by scanning through :h macvim

I'll admit I did browse around in the MacVim :help, but probably just had bad luck finding what I was looking for; I'm happy that a solution exists that uses autocmd, I don't have a preference for how it's implemented.

The APIs are admittedly different from NeoVim but I wasn't aware of any critical functionality missing from what you need.

My concern was that sys_appearance is a long lived TCP connection, and because Vim is single threaded blocking on reading from that socket would become troublesome. I'm not at my computer right now, but when I whip up an example of this working, I'll close this issue. Thanks for the hasty response!

I'll admit I did browse around in the MacVim :help, but probably just had bad luck finding what I was looking for; I'm happy that a solution exists that uses autocmd, I don't have a preference for how it's implemented.

Yeah it was kind of hidden. The new documentation should make it clearer if you just search for dark mode for example, by directly mentioning the autocmd and built-in variable.

My concern was that sys_appearance is a long lived TCP connection, and because Vim is single threaded blocking on reading from that socket would become troublesome. I'm not at my computer right now, but when I whip up an example of this working, I'll close this issue. Thanks for the hasty response!

If you use the jobs API (:h jobs) it allows to talk to jobs asynchronously. It will only call back to the main thread if your process prints out something to say stdout.

That's awesome! I didn't get far googling "vim event loop" or "vim async io" (everything that came up was NeoVim)

Yeah, I mean, Neovim started off as a fork to add async to Vim 7 (after the initial pull requests were not accepted) and it snowballed from there. Meanwhile Vim 8 added its own sets of APIs (jobs/channels) that did have some controversies since it works a little differently from the async features in Neovim. That aside, it's totally doable to talk to background processes/servers in Vim now.

One thing I forgot to mention is that v:os_appearance depends on the user preference under Preferences… -> Appearance. It will work the way you expect to if you just choose "Automatic", but if you set MacVim to use dark mode for example, then v:os_appearance will always report 1 (dark mode) even though macOS is running in light mode. This is intentional.

authors: haze ychin

repo: macvim-dev/macvim

license: Vim


text:
MacVim channel error

MacVim sometimes fails to read channels. I cannot provide any specific details of the problem, but similar problems never appear in Vim proper.
See lvht/phpcd.vim/issues/53 thread for more details.

Same issue here

Is it still an issue?

The issue you mentioned is closed

@shadowhand @mredolatti Could you tell if this is still an issue for you? I don't use php for myself

@eirnym I don't use macvim anymore, so I have no idea.

Same for me, i stopeed using it because of the issues I was having. But
i'll give it a try in these days & let you know.
On Sun, Aug 18, 2019 at 10:28 AM Woody Gilk notifications@github.com
wrote:

@eirnym https://github.com/eirnym I don't use macvim anymore, so I have
no idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/macvim-dev/macvim/issues/469?email_source=notifications&email_token=ADSFWIBSZEAZQBEFKCRS3BDQFFE7ZA5CNFSM4DDFWFOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RAB3A#issuecomment-522322156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSFWIAGR3KV4LSY4CVGLFTQFFE7ZANCNFSM4DDFWFOA
.

thank you, I'll wait right here

authors: eirnym mredolatti shadowhand


text:
Collector

Add API requests to Collector to get data from JIRA and Gitlab

Coverage increased (+0.03%) to 68.891% when pulling 7e5f796d71fd9e7b8d630abb1daff51ba2c045f6 on collector into 5efa5a4da130ad6b39e12cb5a2fc428bc9340d1d on master.

authors: anatoliyfedorenko coveralls

repo: maddevsio/comedian


text:
Cut new releases to satisfy non-null-safe and null-safe versions of the library

The recommended null-safety migration strategy for pre-1.0 libraries is to bump the minor version, and build from there. Which I did, but I now have breaking API changes for the non-null-safe library which I'd like to release, and I can no longer do that safely (because non-null-safe is 0.10.x which I can't bump to 0.11.x because the null-safe release is already there).
To solve this, I am going to temporarily break semver, but I won't ever have to again. Here are the versions that I'll be releasing simultaneously:
0.11.0

Includes #35, some API changes, and new examples (this is a breaking release)
This will allow me full freedom to continue iterating on the non-null-safe version
Breaks semver, as I'll be releasing a non-null-safe release following a null-safe prerelease

1.0.0-nullsafety.0

Includes #35 and #43
Ready to go for Flutter 1.25

Thoughts @Skyhost and @erickok?

This is reasonable and understandable and I don't think you'll step on anyone's toes. I'd go for it. You are extremely well in (self-)documenting the project so I don't think you will confuse any existing lib consumer.

This is done.
Note that for the 1.0.0-nullsafety.1 release, I renamed two LayoutGrid parameters

templateRowSizes is now rowSizes
templateColumnSizes is now columnSizes

authors: erickok shyndman


text:
🛑 echo.thewayeye.net is down

In c87e357, echo.thewayeye.net (https://echo.thewayeye.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: echo.thewayeye.net is back up in 5b3e5fb after 17 minutes.

repo: madfunkydemon/gha


text:
Link Updates for bitly

Feature: Request for additional functionality, query parameters, etc.

Could we please update the links on the SEMC site for our bitly tracking?
View the roadmap: bit.ly/gamelocker-roadmap-repo
Docs: bit.ly/vainglory-docs

Hiya I'm going to change this link to http://bit.ly/vainglory-api-milestones per suggestion from Dominic, sweet!

Fixed https://github.com/madglory/gamelocker-vainglory/commit/d343c22565fbabeb5b6fd590473c1b5445f84a63

repo: madglory/gamelocker-vainglory


text:
🛑 qBitTorrent UI is down

In cfdcb0d, qBitTorrent UI (https://qbittorrent.$BASE_URL_MADHOGS) was down:

HTTP code: 502
Response time: 734 ms

Resolved: qBitTorrent UI is back up in 47aae40.

repo: madhogs/upptime


text:
Retrofit golang-1.9 from pyro to morty and upgrade to the latest

This patch retrofits golang recipes from pyro branch to morty.
This brings golang-1.{6,7,8} recipes to the same level as in pyro branch
This also adds new golang-1.9 recipe to morty upgraded to 1.9.7, which is the latest maintenance release of 1.9 at present.

As discussed in #28

I should have squashed all commits though ;-)

Overall the backport looks OK. Have you been able to run any test builds with these changes in place?

Yup, run few builds with 1.9 in morty. Works as expected. I was little bit worried about patches when moving from 1.9.2 -> 1.9.7 but they caused no troubles. I haven't tried any of 1.8 or lower version but I would expect they would work the same as in Pyro.

I have manually rebased the patches and included just the ones for go 1.9 and the bbclasses, excluding the rest of the pyro changes that got merged.
Thanks for your help with this!

Awesome, thanks for your help.

authors: dtoubelis madisongh

repo: madisongh/meta-golang


text:
Empty char '' is not syntactically valid

import List from "List"
import Maybe from "Maybe"

FRAMESET = [' ', '▁', '▃', '▄', '▅', '▆', '▇']
FRAMES = pipe(
  List.range(0),
  List.reduce(
    (agg, x) => pipe(
      List.nth($, FRAMESET),
      Maybe.fromMaybe(''),
    )(x),
    [],
  ),
)(10)

In the fromMaybe above, an empty char isn't valid, but the error points at the final parentheses rather than the second single quote.
It would be awesome (and better DX) to have Madlib tell me what I did wrong on the second single quote (or similar)

Closed by #132

authors: aboeglin brekk

repo: madlib-lang/madlib


text:
Write-Error if any Tests fail - Causes GH Action to be marked as failed

`Tests Passed ✅: 43, Failed ❌: 71, Skipped ⚫: 7
Write-Error: Status = Failed: See Maester Test Report below for details.
Error: Error: The process '/usr/bin/pwsh' failed with exit code 1`
If any tests fail and the Maester script is run in a Github Action, write-error causes the execution to be marked as a failure.
I am not sure if this should be specifically fixed because it works as intended but it causes the job to appear as failed in a GitHub Action. As this is a suggested implementation option it might cause some users to be confused why the job is running fine but failing and providing output if they aren't familiar with GH.

I have the same issue. I assumed something was failing. The email from github actions confirms my assumption!

@simon-barratt-seq This could be fixed ourselves but I think the source should be modified since there isn't really a need imo to have that writing as an error since you aren't looking for errors but for how your test went.
If the tests actually failed to execute this would make more sense. Do you agree?

The typical DevOps convention for automated tests is that all tests should pass and if any one test fails the build should fail so you are notified that something is wrong.
What we are doing here is slightly different so it could be implemented either way.
The original idea was that you would set up Maester so it only runs tests that are relevant for your tenant. The tests that you run everyday should all pass. If any one of them fails (maybe due to a config drift, etc) you would be alerted that it failed.
Now since the whole point of the GitHub action is to send out the mail it could be argued that it is redundant.
I've seen this issue called out a few times so I'm going to comment out that section in the yaml and call out that it can be uncommented for those who want the build to fail if even one test fails.

authors: merill simon-barratt-seq sofbkeller


text:
Shaders

I'm having problems with ripping shaders. I get not errors however they all contain lines saying "can't export programs data DXblabla  as a text"
Now I traced back the code it seems that the shader subprogram parser ignores DX shaders and replaces it with that line.
I tried manually overriding this but then the chars weren't the right encoding. I switched it over to ASCII and it parsed some garbage.
Does anyone have any insight?

DX shader stored as binary shader assembly. That mean that you have to translate binary to assembler instructions first, but anyway those instruction won't help you to restore shader code to HLSL language (or maybe they can, who knows). However there is such magic project as https://github.com/Unity-Technologies/HLSLcc which can translate DX binary to human readable GLSL. I hope that some day in future I can integrate this project into UnityRipper.

authors: AdandelaPena mafaca

repo: mafaca/UtinyRipper


text:
Configurable joints not exported

I've been trying to reverse engineer one of my projects for learning for a while and I realized this doesn't export configurable joints.

https://docs.unity3d.com/Manual/class-ConfigurableJoint.html
Documentation just in case

Unity has hundreds if asset types. Only couple of dozens of them are implemented. Since project development is stoped, missing ones wont be added (at least by me)

authors: BladeSides mafaca


text:
added hostnames to info, ps and list output

I've added hostname to hms info, hms ps, and hms docks. I am not 100% sure this is the correct approach.
(I kinda screwed up the remote branch settings when I cloned the repo and removed a semicolon, so here's a new pull request. It is really for the better, because now the added semicolon is forever gone :bike: :shed:)

:+1:

authors: gausby mafintosh

repo: mafintosh/hms


text:
Destinations technical doc misleading

Describe the bug
In the Data Integration section, destinations technical documentation, the description is the same as that of the sources technical documentation.
Expected behavior
Ideally it should have some description regarding what the destination is as part of data integration.
Additional context
I can work on contribute and fix this, if provided with what we need to write as part of the description.

@suvhotta we'd love to have your contribution! Want to take a crack at what a Mage destination is and I can review?

@mattppal Sure will take a shot at it and raise a PR for the same. Just for confirmation, this is the only doc where it needs updation: https://github.com/mage-ai/mage-ai/blob/master/docs/data-integrations/destinations/overview.mdx
or anywhere else as well? 😮

@mattppal Could u plz confirm the same?

Yes, that's the only doc

@mattppal I've raised a PR for the same: https://github.com/mage-ai/mage-ai/pull/4097

@suvhotta thanks so much :)

authors: mattppal suvhotta

repo: mage-ai/mage-ai


text:
dns resolve during image build

dns-proxy-log.txt
Hi,
I am using docker eclipse tooling to connect with the remote docker instance using TLS.
The docker build RUN could not resolve dns for command "apt-get install package".
Here is the error shown by dns-proxy-server
18-04-03 06:42:00.016 DEB id=53, m=handleQuestion status=not-resolved, solver=proxy.DockerDnsSolver, err=hostname not found opqobwuqbukhds
18-04-03 06:42:00.016 DEB id=54, m=handleQuestion status=not-resolved, solver=proxy.DockerDnsSolver, err=hostname not found jqwjuxddshtl
Any workaround.  If I stop the dns-proxy-server, docker build could resolve the DNS.
I have attached the complete log.
Thanks.

@johnbritto1 Sorry for the too late answer

Which package are you trying to install?
Other command like apt-get update works great?
Are you using DPS at your local machine or at the remote server?

opqobwuqbukhds sounds like a local hostname, I don't think it's related to apt-get. I saw the only one debian server question was successfully answered
18-04-02 15:34:21.039 DEB id=19, m=handleQuestion status=resolved, solver=*proxy.remoteDnsSolver, alength=5, answer=deb.debian.org.	3599	IN	CNAME	static.debian.org.

You could try add a custom DNS server (you can get some taking a look at /etc/resolv.conf) at config file /opt/dns-proxy-server/conf/config.json
{
    "remoteDnsServers": [[0,0,0,0]]
}

Regards

Hello Mageddo,
Thanks for reply.
To answer you questions.

The build script could not pass after running apt-get update.
I use DPS on remote server.

After adding the dns-server entry in /etc/docker/daemon.json file..
"dns": ["8.8.8.8", "8.8.4.4"],
the issue resolved.
Thanks,
John

Thanks for sharing the solution, it would be helpful in the future

I'm also had this problem after setting up the dns-proxy-server.
@mageddo do you have any idea of what's causing it?

repo: mageddo/dns-proxy-server


text:
refactoring pages_helper #language_switches

One spec for the language_switcher is set to pending because we need to discuss what it should do.
Example:
We have two public languages and two page trees.
The first page tree is public, the second tree is not!
If we render the language_switcher, we will get one link for the public page tree.
Do we really want to render anything, or do we want to return nil?
I think nil is better, because:
1.) We do so if we have only one public language and one public language is the same as having two public languages but one public page tree.
2.) What can a user do with one link to the actual language? Nothing...
What do you think?

Good point. I also think nil is more intuitive.
I tried to think about any scenario in which the actual language link would make sense but couldn't find one.

I totally agree.
Thats whats the multi_language? method is about. Only public languages count. All url_helpers omitting the lang parameter when not in "multi language mode", so we don't need to render the links.
@robinboening: Will you implement this then?

yes I do. Perhaps this evening.

the method can still be refactored, but its working as desired and we have got 10 tests for it.

Nice. Our testsuite is growing. Cool.
Git Tip:
You can ammend commits. So changes or missing files can stay under the same commit
Only works before pushing to remote.

authors: masche842 robinboening tvdeyen


text:
Error: could not compile utf8-width

When I'm trying to compile https://github.com/robinmoussu/cargo-callgraph I'm getting the below error.
error: could not compile `utf8-width`

Caused by:
  process didn't exit successfully: `rustc --crate-name utf8_width --edition=2021 /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-width-0.1.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=6806d1e7e14135cb -C extra-filename=-6806d1e7e14135cb --out-dir /Users/me/Documents/rust/cargo-callgraph/target/debug/deps -L dependency=/Users/me/Documents/rust/cargo-callgraph/target/debug/deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed

Chip: Apple M1

You should post the issue to https://github.com/robinmoussu/cargo-callgraph/issues. Apparently, robinmoussu/cargo-callgraph hasn't been updated for a long time. It is too old.

authors: TharinduDG magiclen


text:
WDAC Deny Policy not working

Hi, we have implemented wdac in our organization based on merging allowall.xml policy and blocking policy for a few specific vendors and products.
We encounter a problem on portableapps.com applications: the setups are indeed blocked but if the application is unpacked, it doesn't matter if I block by the publisher, the hash, the path, the file name, etc., the execution is still allowed.
On the other hand, if my policy is based on merging a scan of the workstation with the blocking policy, everything is blocked.
So the problem would come from the allowall policy?
Another problem, the execution of a specific MSP patch is blocked even if the policy applied on the workstation is only allowall

Hey, @TLG95 the project does not provide an official WDAC policy today apologies but I am not sure what you are referring to.

repo: magicsword-io/LOLDrivers


text:
Update theme

Updated Transparent Pack's index.json file
Added fbn, fba, and gw system images

Doki doki

repo: magneticchen/Daijishou


text:
[OF-1006] fix: Fix nightly SignalR test

connected-spaces-platform Pull Request
For the reviewer

[ ] If required, are the changes covered by appropriate tests?
[ ] Are any public-facing API changes well documented?
[ ] Is the code easily readable and extensible and/or follow existing conventions?

As its a nightly build, here is proof of it working


text:
Linux packaged browser failing to launch.

Steps to reproduce:

Clone Safe_browser repo after PR #637
Follow steps https://github.com/maidsafe/safe_browser#compiling to package the browser locally.
Navigate to the release folder and try to launch browser with ./safe-browser

Expected result:
Browser will launch OK
Actual result:
Browser fails to launch, error message is returned: Segmentation fault (core dumped)

Environments:
This has been replicated in Ubuntu 18.04 VM and Linux Mint 19 Cinnamon native machine.

@calumcraig I'll continue to try to reproduce. Until then, I want to look at that core dump.
Do you have a core dump file located at /usr/share/apport/apport?
If not, cat /proc/sys/kernel/core_pattern should give you the location of the dumped memory core.
If there are none, then apport may need to be started first.
systemctl start apport

@calumcraig Do you also receive a segfault with this package? https://github.com/hunterlester/safe_browser/releases/tag/libgconf

@calumcraig [UPDATE]: Scratch that. I'm able to reproduce.

@hunterlester I can see you've been working on this (for me) overnight - I take it you don't need me to do anything further? If you do just let me know.

Can confirm that the roll back of PR #637, PR #641 has resolved this issue. SAFE Browser launches as expected on Linux Mint 19.
Tested on Ubuntu 18.04 and behaviour has returned to the previous - #627 is still seen. Workaround (as described in browser README) resolves the issue: sudo apt-get install libgconf-2-4.

authors: calumcraig hunterlester


text:
Обработка и хранение вложений

Исходно было предложено следующее:
Система обработки писем считывает входящие с сервера, раскладывает аттачи в хранилища, оповещает в telegram.
Как вариант можно закинуть вложения в S3 совместимое хранилище и в Telegram отправить ссылку на файл в хранилище. С другой стороны так хранилище может очень быстро расти.
Возможно имеет смысл отправлять вложения сразу в Telegram и не морочиться с промежуточным хранением?

Можно отправлять сразу в Telegram без промежуточного сохранения.
Решено в Telegram 3e1f9a45cc8227540545221aaa40c51043180709.
Максимальный размер документа - 10МБ.


text:
Styles overridden

I've noticed when this component is rendered it overrides some of my styles such as fonts and colours. I think it might have something to do with you using the <CssBaseline/> component from material ui which overrides styles globally.
I don't think the timeline component should come with its own styles like this and should instead inherit them from the theme already being used in the parent components/application?

@GarethChetwood I agree with you 👍🏼
I'll try to find some time this week to look into this and update the components.

@guilhermeoholz do you still have plans to maintain this repo at all?

Hi @GarethChetwood. I'm no longer a maintainer of this package.

Is this something that is going to be fixed?

authors: GarethChetwood guilhermeoholz sgranlund

repo: mailtop/horizontal-timeline


text:
Implement MQTT Auth

MQTT Auth should be implemented - device auth token to be sent to manager service for auth on every CONNECT or PUB/SUB.

Fixed with https://github.com/mainflux/mqtt-adapter/commit/6a454b8215ecec4673d1cbcf75b45be1b9e8e3a5

repo: mainflux/mainflux


text:
MAISTRA-2688 Ensure pruner never deletes RoleBindings in member namespaces

These RoleBindings are created by the SMM controller (by copying the RoleBindings from the mesh namespace). Thus, they should only be deleted by the SMM controller.

Do we have similar issues with NetworkPolicy and NetworkAttachementDefinition resources?

Ugh, @rcernich you're right. The same issue exists for NetworkPolicies, because their labels are also copied from the NetworkPolicy in the mesh namespace. For NetworkAttachmentDefinitions, there's no issue because we create the object from scratch.
I've now updated the PR so that the NetworkPolicy labels are removed.

@dgn Can you review the additional commit?

authors: luksa rcernich

repo: maistra/istio-operator


text:
Where is the RIDmodel ?

In code/models.py , line 11
it seems that the RIDmodel is lost. where can I get the codes?
thank you!

Hello, it is now fixed in this commit (updated models). Those imports and classes were left over from my previous project and are not used in BIGPrior, so I cleaned up the script.
Thank you for noting this!

authors: laulampaul majedelhelou

repo: majedelhelou/BIGPrior


text:
Bug in steps of volume of right circular cylinder in sphere

Please assign this to me

I want to work on this issue. I am a LGM-SOC participant. Please assign to me.

Go ahead
Deadline 15 June,2021

@sairish2001 Please give me time till 21st June as I am having my university exams going on.. I will surely complete by that time.

Deadline extended 21 June,2021

@sairish2001
sir, since the deadline is vast gone, can you assign this issue to me ?

Go ahead
Deadline 9 July,2021

@sairish2001 Sir, please extend the deadline as I will first have to add the options to the conic section, I have a created an issue for that

@Divyanshj
Issue is closed for conic section Option, now only issue is for adding options in  General Maths. So, Deadline Extended 14 July,2021

@arpit456jain  @sairish2001 Sir, sorry i am unable to find the correct formula for this querry , there are different answers everywhere.
According to me the formula should be 32/81 pie r^3 i.e 8/27 (volume of sphere)

@sairish2001 Sir, please respond .

https://www.topperlearning.com/answer/find-the-volume-of-the-largest-cylinder-that-can-be-inscribed-in-a-sphere-of-radius-r-or-a-tank-with-rectangular-base-and-rectangular-sides-open-at-th/c2szmeyy
This may help

repo: makesmatheasy/makesmatheasy


text:
how can i set a offsetTop  of this component ?

because i have a fixed header on the page when i scroll down the page, so i want to set a offsetTop on this component to jump to the anchor point more precise, is there any ways to achieve ?

I think the anchor point's element needs to have padding-top that is relative from fixed header.
This component just jumps to the target html internal link, so cannot set offsetTop.

oh ,thanks.

repo: makotot/react-scrollspy


text:
feat: Plugin system refactor

Complete refactor of the plugin system
Simplifies crate structure
Adds a lot of tests
Revamps trait system to simplify macros

At this point Lua pretty much works, just need teal re-integrated

Moved to #160 because of whoopsie poopsies with git


text:
Add plink converter function

Add function for converting data to PLINK format
fix variant_allele error in biallelic_snp_calls

Hey Tristan. Nice work!
Ill save comments for now but FYI - when you add notebooks to malariagen_data, make sure you have cleared all outputs, otherwise they can become quite hefty in size and then the repo balloons in size over time (all of it is stored in git history).

I've found the source of the AssertionError (also see issue #516) - something to do with how dask.array.map_blocks computes variant_allele at line 1629 of snp_data.py.
I haven't managed to get to the bottom of it yet but in this PR there's a temporary fix that just applies apply_allele_mapping to an in-memory np array of variant_allele, and I've now added biallelic_snp_calls to to_plink.py instead of calling snp_calls and thinning them manually.

I've (I hope!) made a fix to the above error (issue #516), and described it in more detail there

Hi Jon,
Thanks! Will tidy further and add the test. Cheers :)

Hi @jonbrenas, I had a tidy and removed some redundant code from to_plink.py. I also added a test (test_plink_converter.py) to make sure the files are created. Let me know if this is sufficient or if you want me to add any more. Hope this works ok!
Thanks
-t

Great job @tristanpwdennis !
I may be misunderstanding the way the PLINK format work but shouldn't it work with any biallelic site and not only with those where the alleles are ref and 1st alt. Is there a reason why, you select only those?
Also, bed_reader needs to be added to the list of packages installed before it is imported. This can be done by modifying the pyproject.toml file.

It might also be a good idea to have a check that the data in the files is correct for "dummy" data. For example, looking at only the first 5 samples of 'AG1000G-AO' and the region 'X:10_000_000-10_000_500', I find only 3 biallelic sites. With such small data, it should be fairly simple to figure out what the PLINK files should be and check that it is correct. You could, obviously, use any other of "dummy" data that you like.

Hi Jon
Good spot! Selecting the REF and 1st ALT is a relic from before I used .biallelic_snp_calls and had to manually modify the alleles dimension. It didn't change anything being there (e.g. it was selecting the first two alleles of a dataset that already only had two alleles), but it's redundant now and I've removed it.
I've updated the tests to include the feedback above, making sure that the exported dummy data match the data pre-export, both in terms of dimensions and actual content. Please take a look and let me know if there's anything else you think I can add.
Apologies also for the long time taken and revisions needed - you can probably tell that I am quite new to this. Thanks for your feedback and help!
-t

Thank you very @tristanpwdennis. It passes the eye-test so I merged it into a shadow PR to see whether it passes the various tests. It hasn't but I haven't checked yet whether there is something big that is going wrong or if it's the result of small conflicts between recent code. I'll come back to you if there is something significant in the code that needs to be addressed.

Hi @tristanpwdennis . Sorry, I had misinterpreted the error. base_params.chunks_default has been made obsolete in the main repository since you created your branch and I thought it was a parameter that you had added. I have corrected it. I will come back to you if there is anything else that needs your input. Thank you for the hard work!

Re: issue #248

Hi @jonbrenas - thank you for offering! Sorry for the delay, been a bit tied up the last few weeks but I think I can get to it over the weekend - I'll let you know if I run into any issues but looks straightforward enough!

Thanks so much @tristanpwdennis!
I took the liberty to resolve merge conflicts and add you as a project author.
I'll take a closer look ASAP.

Also took the liberty to run poetry update to make sure the new dependencies are included in the poetry lock file.

Also took the liberty to fix a relative import.

Thank you @tristanpwdennis for the quick reaction. It looks we are almost there. The same parameter name change ( results_dir should be output_dir) is creating a problem in the notebook. If you can solve that, everything should be a-OK.

Btw have taken the liberty to edit the PR title and description just so this PR will look good in the release notes :)

Addressed comments and feeling the urge to merge

Accepted corrections :)

Thanks @tristanpwdennis. You probably saw that the tests failed. It looks like the 'tmp_pathused during the tests ends up being apathlib.PosixPathinstead of the requiredstr`.

Wooohoo!

Hooray, thanks guys! I wonder if I get a GH badge for being the longest open PR on a given repo...

authors: alimanfoo jonbrenas leehart sanjaynagi tristanpwdennis

repo: malariagen/malariagen-data-python


text:
Got an error when trying to connect

On the line var busHandle = bus.Start();
I got an error
System.ArgumentException: 'The remote server returned an error: (400) Bad Request. The specified HTTP verb (GET) is not valid. TrackingId:ccdda26a-dece-4c5c-b90a-dad8801cbb33_G18, SystemTracker:workerdayexpressmsg-ns:Topic:temptopic, Timestamp:7/31/2017 3:45:29 AM'
Inner Exception
WebException: The remote server returned an error: (400) Bad Request.

I figured out the issue,  if I don't create my own queue, and put that name in "AzureSbPath", the bus starts OK, so , the conclusion, is that I should let the framework create the bus for me.


text:
Cannot import System.Collections.Immutable for Scripts with IGC

I am getting the following error when I run dotnet build
error MDK01: The type or member 'ImmutableArray<MyTuple<long, long, Vector3D, Vector3D, double>>' is prohibited in Space Engineers

This occurs with any types from System.Collections.Immutable
IDE is VS Code

Are you sure your nuget packages are up to date?

The following template packages will be installed:
   Mal.Mdk2.ScriptTemplates

Mal.Mdk2.ScriptTemplates (version 2.0.5) is already installed, it will be replaced with latest version.
Mal.Mdk2.ScriptTemplates::2.0.5 was successfully uninstalled.
Success: Mal.Mdk2.ScriptTemplates::2.0.5 installed the following templates:
Template Name                     Short Name    Language  Tags
--------------------------------  ------------  --------  --------------------
Programmable Block Mixin (MDK2)   mdk2pbmixin   [C#]      MDK: Space Engineers
Programmable Block Script (MDK2)  mdk2pbscript  [C#]      MDK: Space Engineers

I am also seeing this issue when I open the project in Visual Studio 22 v17.11.4

I was asking about the nuget packages not the templates?

I'm not in a position where I can test myself right now

dotnet list package gives...
   [net48]:
   Top-level Package           Requested   Resolved
   > Mal.Mdk2.PbAnalyzers      2.1.9       2.1.9
   > Mal.Mdk2.PbPackager       2.0.6       2.0.6
   > Mal.Mdk2.References       2.2.2       2.2.2

I have updated my mdk packages to
   Top-level Package           Requested   Resolved
   > Mal.Mdk2.PbAnalyzers      2.1.9       2.1.9
   > Mal.Mdk2.PbPackager       2.0.9       2.0.9
   > Mal.Mdk2.References       2.2.3       2.2.3

I am still seeing this issue unfortunately.

I don't know what your issue is, I can use immutables just fine 😕

I have to ask; are you sure you're using the correct Vector3D from VRageMath?

I have to ask; are you sure you're using the correct Vector3D from VRageMath?
yep

Just updated to 2.1.10. Issue appears fixed! 😄

authors: MistaLemur malware-dev


text:
Video (about self-harm topics) extraction is failing

Failing video URL: https://www.youtube.com/watch?v=uLopUUyqVTA

Fixed with https://github.com/malisipi/yt-extractor.js/commit/095c5124ca4734574936f6401ae087782d5bb9ce

repo: malisipi/NewFlow


text:
Material Oceanic automatically selected

When I select "Apply Theme" it doesn't ask me which one, instead automatically selects Material Oceanic.
MacOS 10.15.5

This has already been answered in another issue. Please check there first.

authors: mallowigi marartner

repo: mallowigi/slack-themes


text:
Assign Sassy Var with CSS property

Should I be able to do something like this?
@include css-var ((
    --primary: black;
     ....
));

$primary:  var(--primary);

because right now it looks like I can't do things like.
background-color: fade-out(var(--primary), 0.2);

If I should be able to pass a CSS var to a function like fade-out() then I don't need the SASS style var. I was asking if I could assign a CSS var to a Sass var because I didn't think I could use a CSS var in a function.

repo: malyw/css-vars


text:
fix some pytest and sqlalchemy warnings

This fixes a couple of pytest and sqlalchemy warnings.

Codecov Report

Merging #502 (2817bf9) into master (94a60fd) will decrease coverage by 0.89%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
- Coverage   83.19%   82.30%   -0.90%
==========================================
  Files          78       78
  Lines        5879     5882       +3
==========================================
- Hits         4891     4841      -50
- Misses        988     1041      +53

Impacted Files
Coverage Δ

quetz/authentication/registry.py
85.71% <100.00%> (ø)

quetz/dao.py
91.08% <100.00%> (+0.01%)
:arrow_up:

quetz/db_models.py
96.89% <100.00%> (ø)

quetz/jobs/models.py
92.59% <100.00%> (ø)

quetz/jobs/runner.py
90.86% <100.00%> (+0.08%)
:arrow_up:

quetz/tasks/workers.py
77.14% <100.00%> (ø)

quetz/testing/mockups.py
100.00% <100.00%> (ø)

quetz/utils.py
85.43% <100.00%> (ø)

quetz/pkgstores.py
42.54% <0.00%> (-11.63%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: codecov-commenter wolfv

repo: mamba-org/quetz


text:
Regex revamp

Ruby has the =~ operator for doing regular-expression matching:
"foo" =~ /o+/ #=> 1

The operator is defined in Object, returning nil, and only redefined in String and Regexp.
There are some thing I don't like about this:

The =~ has no intuitive name: Ruby calls it pattern match, but it's not that obvious from it looks (I usually think of case ... when .. end when somebody says "pattern match").
Programmers have to learn new syntax for something that could perfectly be a method name (match?) and it's only used for String and Regexp.
It returns the index of the match instead of a MatchData. Then you have to use the $~, $1, etc. magic variables.

Granted, once you learn it you get used to it and it feels kind of comfortable, but is Regexp really that important for it to have an operator just for itself, and the $~, $1 magic variables?
I'd like to do this:

Remove the =~ operator. Instead, add a String#match method (similar to Regex#match) that returns a MatchData if successful and nil if not.
Remove the $~, $1, etc. magic variables. They might be thread-local, but to make them fiber-local or method-local we would have to add some tricks or magic to the compiler (or a way to make a method define variables in an outer scope, which sounds very magical and unintuitive), when their removal and use of a match result would be much simpler and understandable.

The only downside I see is that this wouldn't work:
case some_string
when /some_(group1)/
  # how to access group1 without $1?
when /some_(group2)/
  # how to access group2 without $1?
end

Instead, one would have to write:
if match = some_string.match(/some_(group1)/)
  # match[1]
elsif match = some_string.match(/some_(group2)/)
  # match[1]
end

which is a bit more verbose, but lacks all magic. But I don't think that code is way too often to justify those magic features.
What do you think?
As a side note, I'd also like to remove the $? magic variable, and then we would be free of them.

We brainstormed a bit about this. We imagined what would some code look like without the magic $1 and $~ variables. For example this method would look like this:
private def process_handler(handler)
  flag = handler.flag
  block = handler.block

  case
  when match = flag.match /--(\S+)\s+\[\S+\]/
    process_double_flag("--#{match[1]}", block)
  when match = flag.match /--(\S+)(\s+|\=)(\S+)?/
    process_double_flag("--#{match[1]}", block, true)
  when flag.match /--\S+/
    process_flag_presence(flag, block)
  when flag.match /-(.)\s*\[\S+\]/
    process_single_flag(flag[0 .. 1], block)
  when flag =~ /-(.)\s+\S+/, flag =~ /-(.)\s+/, flag =~ /-(.)\S+/
    process_single_flag(flag[0 .. 1], block, true)
  else
    process_flag_presence(flag, block)
  end
end

To us, it looks much less readable (although it obviously gets the job done). $1 and $~ do look useful and make code more readable.
So, we were thinking of ways to keep these magic variables while at the same time making them concurrent-safe. The ideas that we had are:

Hard-wire in the compiler that some expressions involving regexes define a local variable named $~. So for example if you write case foo; when /some_regex/; end the compiler wold rewrite it as if $~ = foo.match(/some_regex/).
Allow to mark methods with an attribute that say "this method defines this magic variable". So for example String#=~ would be marked with @[Magic("$~")] (we would probably make String#=~ return a MatchData, and also String#===), so the compiler would know that it needs to assign that call to a local $~ variable.
Similar to 2, but instead of using an attribute one would define def =~(pattern, out $~) and in the method you could assign to $~. The compiler would declare $~ before invoking the call and pass a pointer to it, somehow. In that way =~ could still return an index, and $~ would define a MatchData.

The other alternatives are to keep them as global variables (maybe thread-local, but fiber-local would be a bit hard to implement, I guess), or to remove them completely from the language.
All of the above decisions apply to $! as well.
We are just putting these ideas here so we can know what you think about these. And also maybe you have a better idea of how to "fix" this. We didn't decide anything yet :-)
What do you think?

That seems a bit scary. (i'm not sure who the "you", is, though, but i'll take it as crystal users in general :P)
I think I'd link a MatchData being returned better, but i think you've agreed on that.
I'm mostly against global variables being used here. Magical variables are a lesser evil, imho.
I'll quote Perl6 here, because I think its grammar/actions model is quite good.
They just have a "last match" variable "$/" that their ~~ smart-matching operator uses (=~ was removed because 1) they thought it was bad and didn't mean anything 2) it conflicts with $a = ~$b # unary stringify).
It's really a mix of things that make it easier for them. Their "switch" statement will use said smart-matching feature, so each case can just be a regexp, and you can reap the fruits of the ... well, of the smart-matching :
given "string" {
  # "when" operates on the topic, so, "given"'s operand
  when /hey: .* here/ {
    say "I found {$/.Str}";
  }
}

But really, I'm not sure it even matters that much. Do you want crystal to be a scripting (as in, crystal -e to do awk-like things)-full language?

I'm not fond of magic global variables, but Ruby made me love $1, $2, ... when dealing with conditional regexp matches. That being said, having them to be real globals sounds crazy. Yes, $ means it's global, but I expect them to be just local to the current scope, as in solution 1 (if I understand correctly).
I don't see the need for $! and $@ (at all). As for $? with a better std/core lib, it should be avoidable.

Well, we're happy to let you know that we have found a way to keep $~, $1 and $? in a thread-safe way, with just a little magic. This magic could be extended later for other symbols, but I don't think other symbols are as used in Ruby (or, say, real programs) as these.
The idea is that you can assign to $~ and $?, but this defines the variable in the caller. For example:
def foo
  $~ = "hey"
end

foo
puts $~ #=> "hey"

The way this is implemented is by passing a hidden pointer to foo with the data for $~, which is assigned inside foo. So it actually ends up being something like this (but the compiler does it without an AST rewrite):
def foo(hidden_ptr)
  hidden_ptr.value = "hey"
end

$~ :: MatchData?
foo(pointerof($~))
puts $~.not_nil! #=> "hey"

The not_nil! call is placed automatically by the compiler because $~ might not be assigned to, or might be nil. This doesn't matter much, really, because when you use $~ you almost always guard it with a condition for a regex match.
$? would use the same trick, allowing you to invoke backtick or system, while also getting the process status.
Finally, $1 is rewritten by the compiler to $~.not_nil![1], etc.
We would assign to these variables in String#=~, Regex#===, etc.
We believe these magic variables, once learned, make code much more readable and easier to read and write (although they might look cryptic at first). Text processing and command execution is something that is very common to do, so it's nice to have good support for this. And all of this is guaranteed to be concurrent (thread and fiber) safe. And, at the syntax level, nothing was really added.
We hope you like it! :-)

I'm closing this because of the above decision.

@asterite  It was not entirely clear from your final comments whether you decided to keep Ruby's =~ operator (since the comment seemed to focus on magic variables instead), but I'm glad to see it's still there, at least in the latest version that I just installed:
puts "They kept the Ruby syntax" if "this" =~ /is/

I hope it stays in, and I'd like to explain why I think keeping it is the best choice, and the best thing for Crystal.
I think you're going to face decisions like this over and over, that amount to the question

We can see a way of doing things that is an improvement on Ruby's way of doing things—should we do it the better way or the Ruby way?

Personally, I think the answer should either be "the Ruby way" or "both", except in cases where you need to diverge from Ruby in order to meet primary (or critical) goals of Crystal, such as being a compiled language, and keeping compilation times down to a reasonably fast speed, and mapping language types to native machine types, and so forth.
In the case of using =~ or .match, you could have both, where =~ maintains the behavior of Ruby, and where .match returns a MatchData object.  I'm not saying you should have both, but it's an option.
The value I see in maintaining Ruby syntax is that the closer you are to Ruby, the more Ruby developers will adopt Crystal.  They will see Crystal as basically Ruby that compiles and is super-fast (even though that's not really an accurate description once you dig into the details). The more you diverge, the more people will say "well, it's a little bit like Ruby, but it's really an entirely different language that just borrows ideas from Ruby", and it will be perceived more like Elixir—friendly to Rubyists, but still very different.  As things stand, I think Crystal is very easy for a Rubyist to learn, although there are things you must learn.  I see the changes as good, and I'm very excited about Crystal, but the more it diverges the more I'll be just a little bit disappointed, and a little bit more with each divergence.  And I think there are thousands of people who will have similar feelings.
So, in short: I think there is great value in maintaining as much compatibility with Ruby as is reasonable.  Any changes should bring incredible gains, instead of just minor or debatable ones.  And it's also possible to have it both ways, if the new way is really that much better than the old way.

authors: asterite brandondrew vendethiel ysbaddaden

repo: manastech/crystal


text:
add unit tests for the cape feature extractor

addresses #1498 and #1546
Checklist

[ ] No CHANGELOG update needed

[x] No new tests needed

[x] No documentation update needed

The requested changes should be addressed now. I am unsure however why code_style tests are failing for base_extractor.py here but not in the other PR.

lets close this PR because the tests are added in #1546

authors: williballenthin yelhamer

repo: mandiant/capa


text:
KJUR.crypto.Mac unsupported password type: [object Object] and gravitee.io am

Hi,
I'm using gravitee.io access management solution. I'm also using angular-oauth2-oidc in an angular app.
After beind redirected and logged in successfully I get the following error:
"KJUR.crypto.Mac unsupported password type: [object Object]".
I don't know which information or snippets to add. Please ask me anything.

Could you please help us reproduce the issue, by providing a small example?
Either way, the error you mention doesn't seem to come from this library, so you might need to look in other places...

Hi,
I know, the error is produced by a library used by your JwksValidationHandler. If I use NullValidationHandler the error is gone.
I'll give more context, I hope it's enough. I use this configuration:
import { AuthConfig } from 'angular-oauth2-oidc';
export const authConfig: AuthConfig = {
  issuer: 'http://:GRAVITEE_HOST/am/oauth/oidc',
  redirectUri: window.location.origin + '/oauth/#/home?',
  clientId: 'web-app',
  scope: 'openid profile email scim',
  requireHttps: false,
  strictDiscoveryDocumentValidation: false,
  skipIssuerCheck: true,
  showDebugInformation: true,
  requestAccessToken: true
}

app.component.ts
import { Component, OnInit } from '@angular/core';
import { Router, NavigationEnd } from '@angular/router';
import { I18nService } from './services/i18n.service';
import { environment } from '../environments/environment';
import { authConfig } from './models/oauth';
import { OAuthService } from 'angular-oauth2-oidc';
import { JwksValidationHandler } from 'angular-oauth2-oidc';

@Component({
  // tslint:disable-next-line
  selector: 'body',
  template: '<router-outlet></router-outlet>',
  providers: [I18nService]
})
export class AppComponent implements OnInit {
  constructor(private router: Router, private i18nService: I18nService, private oauthService: OAuthService) {
    this.configureWithNewConfigApi();
  }

  private configureWithNewConfigApi() {
    this.oauthService.configure(authConfig);
    this.oauthService.tokenValidationHandler = new JwksValidationHandler();
    this.oauthService.loadDiscoveryDocumentAndTryLogin().then(_ => {
      this.router.navigate(['/home']);
    });
    //this.oauthService.loadDiscoveryDocumentAndLogin();
  }

  ngOnInit() {
    this.router.events.subscribe((evt) => {
      if (!(evt instanceof NavigationEnd)) {
        return;
      }
      window.scrollTo(0, 0)
    });

    this.i18nService.init(environment.defaultLanguage, environment.supportedLanguages);
  }
}

app.routing.ts
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { AuthenticationGuard } from './shared/guards/authentication.guard';

// Import Containers
import { DefaultLayoutComponent } from './containers';
import { SimpleLayoutComponent } from './containers';

export const routes: Routes = [
  {
    path: '',
    redirectTo: 'home',
    pathMatch: 'full',
    canActivate: [AuthenticationGuard]
  },
  {
    path: '',
    component: DefaultLayoutComponent,
    canActivate: [AuthenticationGuard],
    data: {
      title: 'Home',
      keyPage: 'home'
    },
    children: [
      {
        path: 'home',
        loadChildren: './views/home/home.module#HomeModule'
      },
      {
        path: 'administration',
        loadChildren: './views/admin/admin.module#AdminModule'
      },
      {
        path: 'settings',
        loadChildren: './views/settings/settings.module#SettingsModule'
      }
    ]
  },
  {
    path: 'pages',
    component: SimpleLayoutComponent,
    data: {
      title: 'Pages'
    },
    children: [
      {
        path: '',
        loadChildren: './views/pages/pages.module#PagesModule',
      }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forRoot(routes, {
    useHash: true,
    initialNavigation: false
  })],
  exports: [RouterModule]
})
export class AppRoutingModule { }

The other angular configuration files are set up according to the documentation. If you need a specific file let me know.
I set up, on gravitee am, my secret (tried both base64 encoded and not) and uploaded a keystore file containing rsa keys.

I start the login process on my Angular app
2.I get redirected to the gravitee am login page
3.I login successfully
4.I grant all the needed permissions
5.I get redirected back to my Angular App and the page remains blank, in the console I can read: KJUR.crypto.Mac unsupported password type.

Using NullValidationHandler the problem is gone but I can't verify the integrity of the payload.

I do apologize, I should've looked more closely. KJUR seems to be jsrasign.
I reckon that it goes wrong either here or here.
I don't see anything immediately problematic about your Angular code. Without access to the IDS it'll be hard to repro (but I appreciate it's hard to share such a server, and that steps to set one up won't be too trivial).
Some things to try:

load a debug version of the jsrsasign lib and step all the way into it, to see the source error details
decode your jwt token and inspect it (perhaps even share it here, obfuscating any secure/private items)
verify with other tooling if the jwt is okay
wait for v8 of this library, which might replace jsrsasign altogether

but I appreciate it's hard to share such a server, and that steps to set one up won't be too trivial
The IDS server is running in a development environment in our internal network, at the moment no external access is viable.
In these early stages, we're using this standard docker demo environment (we'll move to a more custom environment for the first release): https://docs.gravitee.io/am/2.x/am_installguide_docker.html . If you want, you can set up an IDS instance easily.
In every case, if you simply need to check some standard properties and values, let me know, I'll dig them for you.

load a debug version of the jsrsasign lib and step all the way into it, to see the source error details

I'm new to Angular development. jsrasign is brought in by angular-oauth2-oidc (and not imported directly by me). Is there a simple way to force loading a debug/not minified version? I tried debugging the "pretty printed version" formatted by chrome dev tools, but chrome ignores any breakpoint.

decode your jwt token and inspect it (perhaps even share it here, obfuscating any secure/private items)

I'll do tomorrow

verify with other tooling if the jwt is okay

Verified with jwt.io, is it good?
wait for v8 of this library
will it be angular 6 compatible?

The problem is here, in the highligthed if block. What am I doing wrong?

{
  "issuer" : "http://:GRAVITEE_HOST/am/oauth/oidc",
  "authorization_endpoint" : "http://:GRAVITEE_HOST/am/oauth/oauth/authorize",
  "token_endpoint" : "http://:GRAVITEE_HOST/am/oauth/oauth/token",
  "userinfo_endpoint" : "http://172.31.33.1/am/oauth/oidc/userinfo",
  "jwks_uri" : "http://:GRAVITEE_HOST/am/oauth/oidc/.well-known/jwks.json",
  "end_session_endpoint" : "http://:GRAVITEE_HOST/am/oauth/logout",
  "revocation_endpoint" : "http://:GRAVITEE_HOST/am/oauth/oauth/revoke",
  "introspection_endpoint" : "http://:GRAVITEE_HOST/am/oauth/oauth/introspect",
  "registration_endpoint" : "http://:GRAVITEE_HOST/am/oauth/oidc/register",
  "scopes_supported" : [ "profile", "email", "address", "phone", "openid", "offline_access", "dcr", "dcr_admin", "scim", "consent_admin" ],
  "response_types_supported" : [ "code", "token", "id_token", "id_token token", "code id_token", "code token", "code id_token token" ],
  "grant_types_supported" : [ "client_credentials", "password", "implicit", "authorization_code", "refresh_token", "urn:ietf:params:oauth:grant-type:jwt-bearer" ],
  "subject_types_supported" : [ "public" ],
  "id_token_signing_alg_values_supported" : [ "HS512", "RS256", "RS512" ],
  "userinfo_signing_alg_values_supported" : [ "RS384", "RS256", "RS512" ],
  "token_endpoint_auth_methods_supported" : [ "client_secret_basic", "client_secret_post", "private_key_jwt" ],
  "claim_types_supported" : [ "normal" ],
  "claims_supported" : [ "name", "family_name", "given_name", "middle_name", "nickname", "preferred_username", "profile", "picture", "website", "gender", "birthdate", "zoneinfo", "locale", "updated_at", "email", "email_verified", "address", "phone_number", "phone_number_verified" ],
  "code_challenge_methods_supported" : [ "plain", "S256" ],
  "claims_parameter_supported" : true,
  "request_parameter_supported" : false,
  "request_uri_parameter_supported" : true,
  "require_request_uri_registration" : true
}

{
  "keys" : [ {
    "kty" : "RSA",
    "alg" : "RS256",
    "kid" : "default-gravitee-am-key",
    "x5c" : [ "IT_SEEMS_BASE64" ],
    "x5t#S256" : "...",
    "e" : "AQAB",
    "n" : "..."
  } ]
}

It seems that my ids keeps signing using HMAC instead of RSA (RS256), maybe this is the problem:

Thak you for your support. I had to set the right certificate in the client settings of the IDS. otherwise it would use the default secret base signing.


text:
[Karlos Morais] Grupo de Comunicação O Povo

Empresa: Grupo de Comunicação O Povo
Pessoa signatária: Karlos Morais
Cargo ou papel: Head de Tecnologia
Como sua empresa aplica os Princípios do Manifesto hoje?
A empresa ja tinha a cultura de contratar Jovens Aprendiz e dar oportunidade de desenvolvimento dos mesmos. E aplicamos isso no nosso time de tecnologia. A media de idade dos nossos desenvolvedores são na casa dos 23 anos. E somos reconhecidos em Fortaleza por formar profissionais. Tanto que temos profissionais com mais de 20 anos na empresa. A empresa tem 93 anos, mas sempre com o
Com a minha vinda ao jornal, estamos implantando a cultura do Kaizen e do Lifelong Learning, e com isso melhorar e dar mais qualidade no aprendizado dos nossos colaboradores. Alem claro de otimização dos processo de transformação agil e digital que a empresa vem implementando nos ultimos anos.

Oi @karlosmorais, obrigado pela submissão para assinar no Manifesto com a gente!
Desde o lançamento, a repercussão foi grande, gerou muitas discussões boas. Umas das mais relevantes foi uma cobrança para os signatários mostrarem como encaram o manifesto no seu contexto. Por isso estamos atualizando o site para incluir ao lado de cada signatário uma URL com algum texto indicando seu posicionamento e ações relacionadas ao Manifesto.
Alguns exemplos que já temos:
https://www.alura.com.br/manifesto-tech
https://medium.com/inside-picpay/por-que-o-picpay-assinou-o-manifestotech-bf0ccd281373
https://www.lambda3.com.br/2022/02/lambda3-podcast-esp02-manifesto-tech-e-lambda3/
https://campuscode.com.br/conteudos/porque-apoiamos-o-manifesto-tech
https://www.linkedin.com/feed/update/urn:li:activity:6905620691664920576/
https://www.linkedin.com/posts/pagar-me_manifestotech-tecnologia-oportunidades-activity-6909622368919277569-u9XR/
https://blog.stone.com.br/nossa-historia-e-nosso-apoio-ao-manifesto-tech/
Pode ser no site da empresa, blog, linkedin oficial, ate podcast apareceu já. Procure nesse texto mostrar como você aborda contratação de iniciantes na sua empresa, como é sua cultura de aprendizado, como apoia o crescimento das pessoas, como aborda inclusão e diversidade, como são suas vagas iniciantes; se possível, mostre números (quanto iniciantes vs quantos experientes contratados ultimamente?), mostre resultados (programa tem dado certo como?).
Importante: cada empresa implementa e lida de sua forma, pelo contexto de negócio, tipo de organização, tamanho etc. Então há todo tipo de abordagem até antagonicas. Essa pluralidade de implementações é rica, por isso é importante tangibilizar cada caso, pra prestar contas publicamente e inspirar organizações similares com ideias possíveis.
Se conseguir expandir nos pontos que voce citou aqui seria incrivel. Vamos inspirar o pessoal a fazer tbm =)
Abraço

authors: karlosmorais sergiolopes

repo: manifestotech/manifestotech


text:
go mod fails to pull dependencies for promptui

Getting this error when trying to import promptui using go mod.
go get: github.com/manifoldco/promptui@v0.5.0 requires
        github.com/nicksnyder/go-i18n@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000

Thanks for the report! I'll push out a fix shortly

authors: Vorlif jbowes

repo: manifoldco/promptui


text:
Environment.getExternalStorageDirectory is deprecaterd and needs to be replaced with Storage Access Framework

Environment.getExternalStorageDirectory has been deprecated in Android Q. It should stop working in Android R. This is done to ensure privacy.
The new alternative for File handling is the Storage Access Framework.
https://github.com/baldapps/Flipper is a library that helps in keeping the old behaviour and can be tried.

@shetyeanuja can you mention the resolving commit in this thread

Instead of Helper.APP_FOLDER  directory for saving the file, we can use getFilesDir()
//After API 23 permission request is asked at runtime
int EXTERNAL_STORAGE_PERMISSION_CODE = 23;
//Requesting Permission to access External Storage
        ActivityCompat.requestPermissions(getActivity(), new String[]{Manifest.permission.READ_EXTERNAL_STORAGE},
                EXTERNAL_STORAGE_PERMISSION_CODE);
//It creates an app-specific directory, hidden from users and deleted with the app
        File folder = getActivity().getFilesDir();

authors: maniksejwal shetyeanuja

repo: maniksejwal/Memory-Assistant


text:
[Feature Request]: Improvement and fix bug in rate us form

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
the font colour of rate me form message needs to be changed as it is not visible moreover instead of getting confirmation message via alert it will be great if we use popup confirmation message for better user experience

Use Case
n/a
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

Already there

repo: manikumarreddyu/AgroTech-AI


text:
Enable Progressive Web App (PWA) for the site

A PWA or Progressive Web Application allows users to install the site as a desktop or android application. It will enhance user experience and drive organic traffic. It also allows users to access the site offline by pre-downloading assets such as files or images as cache memory.
Why Enable PWA?
Enabling Progressive Web Apps (PWAs) enhances a website by providing a native app-like experience with several key benefits:

Offline Access: Users can access content without an internet connection.
Fast Loading: PWAs load quickly, improving performance even on slow networks.
Home Screen Installation: Users can install PWAs on their devices without app store hassles.
Push Notifications: Engage users with timely notifications, even when the app isn’t open.
Responsive Design: PWAs work seamlessly across different devices and screen sizes.

Overall, PWAs improve user engagement, retention, and satisfaction, making them a powerful addition to any web strategy.

assign me with level 3

Hello @manikumarreddyu can you add level 3 as I had done a lot of work


text:
Feature: Add phone control

Add or use third party phone control which can take following inputs:

Country flags
Country extension
Custom validation function
Material look and feel

Fixed and Tested.

repo: manojadams/mui-forms