text:
RC Test: Greenhouse Effect 1.2.0-rc.1

RC Test
Mentions: @arouinfar, @kathy-phet, and @KatieWoe
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html
phet-io wrapper index
link to phet-io zip file

Test Matrices

General Test Matrix
PhET-iO Test Matrix

Features included

[x] PhET-iO
[x] Alternative Input
[x] UI Sound
[x] Sonification

Focus and Special Instructions
This is the first RC test for the phet-io version of this sim.  Focus should therefore be on the phet-io behavior, but should also be a fair bit of testing for regressions in the basic functionality of the sim, since a lot of code was changed in the process of adding phet-io support.
A dev test was recently performed, and there are several issues that were reported and addressed.  These are listed in the "Issues to Verify" section below.

Issues to Verify
These issues should have the "status:ready-for-review" label. Unless an issue says to close after verifying, assign the
issue back to the developer.

[x] https://github.com/phetsims/greenhouse-effect/issues/344
[x] https://github.com/phetsims/greenhouse-effect/issues/346
[x] https://github.com/phetsims/greenhouse-effect/issues/351
[x] https://github.com/phetsims/greenhouse-effect/issues/352
[x] https://github.com/phetsims/greenhouse-effect/issues/354

For QA...

General features

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (
See QA Book for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Test the Game Up harness on at least one platform.
Check this LoL
spreadsheet and notify AR or AM if it not there.
If this is rc.1 please do a memory test.
When making an issue, check to see if it was in a previously published version.
Try to include version numbers for browsers.
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if there
is a problem.
As the RC ends, please review the QA credits in the about dialog. If the QA credits are complete and correct, please
add a comment in the RC test issue indicating so. If not, please open a new issue and specify what changes should be
made.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.
Load the login wrapper just to make sure it works. Do so by adding this link from the sim deployed root:/wrappers/login/?wrapper=record&validationRule=validateDigits&&numberOfDigits=5&promptText=ENTER_A_5_DIGIT_NUMBER

Further instructions in QA Book
Conduct a recording test to Metacog, further instructions in the QA Book. Do this for iPadOS + Safari and one other
random platform.
Conduct a memory test on the stand alone sim wrapper (rc.1).
Test one platform combination with ?phetioDebug=true on the Studio and State wrapper.
If Pan/Zoom is supported, make sure that it works when set with PhET-iO State.
Test that the sim works offline:

Click the link to the phet-io zip file (at top of issue) to download the zip file.
Unzip it to a spot locally.
Open index.html by double clicking it on your desktop or in a Finder-view.
It should look like the standalone version of the sim in PhET-iO brand.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

If this sim is not in this list or up to date there, make an
issue in website to ask if PhET research page links need updating. Please
assign to @terracoda and @emily-phet.

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a
screen reader bug, please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure
it is working as intended and well with the use cases of the simulation. Due to the way screen readers handle user
input, magnification is NOT expected to
work while using a screen reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?
Here's a template for making issues:
  Test Device

  blah

  Operating System

  blah

  Browser

  blah

  Problem Description

  blah

  Steps to Reproduce

  blah

  Visuals

  blah

  Troubleshooting Information

  blah

Who should I assign?
We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Memory tests look ok to me.
PhET Brand:

PhET-iO Brand:

Calling QA here

Thanks QA team.  I'll address the individual issues above and close this one.

authors: KatieWoe jbphet

repo: phetsims/qa


text:
NumberControl is doubly disabling its Slider

In Gas Properties "Energy" screen, we have a NumberControl that can be disabled.
Here's what it looks like enabled:

and disabled:

Note that when it's disabled, the slider is much dimmer (lower opacity value) than the rest of the component.  I suspect that this is because both the NumberControl and its Slider are reacting to the NumberControl's enabledProperty, and the Slider ends up having its opacity reduced twice; once by itself, once by its parent NumberControl.   The Slider should not be involved at all here.
Self assigning to investigate.

Transferring this issue from scenery to scenery-phet.

source: gharchive/issue

repo: phetsims/scenery

license: mit

license_type: permissive

license_source: bigquery


text:
Super and Subscript encoding gets removed but content not displayed accordingly

I do have read through this issue: https://github.com/phfaist/pylatexenc/issues/36 which states that you don't support super- and subscripts out of understandable reasons.
However it would be nice to have the possibility to keep the encoding complete.
However using LatexNodes2Text().latex_to_text() a string like:

"This is H$_{2}$O"

Gets converted to:

"This is H_2O"

Which is less safe to match and replace using f.e. Regex

Works like a charm thank you. Next time I will look further by myself before bothering someone else with my problem.

repo: phfaist/pylatexenc


text:
Fixes for rustc 1.0.0-nightly (3ef8ff1f8 2015-02-12 00:38:24 +0000)

Even though this is a effective duplicate of #152, I use different syntax for the env::args().collect() calls.
Also there are some bugfixes, without which racer didn't work properly for me and RustAutoComplete (Sublime Text Plugin)

It seems besides the obvious fixes, there is another issue though, as simple completions now fail ungracefully:
RUST_BACKTRACE=1 target/racer complete 3 14 /Users/byron/Documents/dev/depot/src/keynote/res/rula/src/bin/reversor.rs
PREFIX 14,14,
thread '<main>' panicked at 'assertion failed: index < len', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcollections/vec.rs:577
stack backtrace:
   1:        0x110a430a7 - sys::backtrace::write::h1864de2e29cfcfa3jWA
   2:        0x110a6abe3 - failure::on_fail::hb779450ca026c246YwJ
   3:        0x1109b5708 - rt::unwind::begin_unwind_inner::h252a44c757d4dd84eeJ
   4:        0x1109b5e71 - rt::unwind::begin_unwind_fmt::h6b3ebabbe58c4ea9KcJ
   5:        0x110a6a50e - rust_begin_unwind
   6:        0x110ab8757 - panicking::panic_fmt::haa2c8b833452fc7bSvw
   7:        0x110ab29f2 - panicking::panic::hdc8095395c2cbfb7Vtw
   8:        0x10fea2b42 - vec::Vec<T>::remove::h12763448109877615233
   9:        0x10fe810fd - racer::nameres::resolve_path::h5d65255f3a1f3cd6YNe
  10:        0x10fec376e - racer::complete_from_file::hc5d64468514f4bceZ2h
  11:        0x10fec7fce - complete::ha528e44216b55ed7lji
  12:        0x10fecb476 - main::h22bfb46b6f99fa0fBwi
  13:        0x110ae21a9 - rust_try_inner
  14:        0x110ae2196 - rust_try
  15:        0x110a6b62d - rt::lang_start::ha42b32fa3423fe20ZqJ
  16:        0x10fecb7bf - main

The problem above is a plain old out-of-bounds issue, as the commandline parameter for the right column is not checked or clamped into range.
I think all that's needed is to either clamp it, or to fail with a an improve error message.

Even though the latest commit fixes issues, there are plenty of tests missing to prevent regression. Also I don't know how things are supposed to be running, which is why it might be best if the maintainers would have a look (or let me know how it should be done).
Thank you

Hi @Byron ,
Thanks for this patch. I've applied because it fixes so much, and will take a look at the TODOs
Cheers,
Phil

source: gharchive/pull-request

authors: Byron phildawes

repo: phildawes/racer


text:
"Play all songs" not always working

Fantastic plugin - many thanks to the developers for the great work!
Currently installed: v2.34.1
I've noticed two issues which I haven't seen mentioned elsewhere, so I'll just leave them here.
Firstly, "Play all songs" works fine for "Songs" but not for "Albums", "Playlists" or "Podcasts"

Which UI/Controller?

Hi, I mostly use OrangeSqueeze, sometimes Squeezer.

This is now fixed 👍

license: MIT

license_source: github-api


text:
Feature/dc3 app

Apparently, mbedTLS has issues with reusing sessions when the session id of that session is empty. We now check for an empty session id and in that case do not reuse the session id.

Hmmm, dc3-app ?
:-)
On Mon, Apr 15, 2019 at 8:32 AM Richard Peters notifications@github.com
wrote:

Apparently, mbedTLS has issues with reusing sessions when the session id
of that session is empty. We now check for an empty session id and in that
case do not reuse the session id.
You can view, comment on, or merge this pull request online at:
https://github.com/philips-software/embeddedinfralib/pull/9
Commit Summary

services/network: Made HttpStatusCode printable.
examples: Add https_client example.
examples: Split http_server example in Windows and BSD main.
Excludes generated source in language detection (#5)
Adds travis-ci configuration (#4)
examples: Update CHANGELOG for https_client addition.
services/network/Http: Add ability to split scheme from url.
Removed redundant newlines at end of files.
documents/Containers.md: fix error in WithStorage example.
README.md: added license badge, and re-worded License section.
infra/util/Observer: Relax access to constructor.
services/tracer/TracerAdapterPrintf: fix issue with va_args.
infra/util/ByteRange, infra/util/Function: Add printing support for
gtest
infra/util/BoundedString.hpp: fix merge mistake.
infra/stream: Add CountingInputStream.
infra/util/SharedPtr: Add default constructor for AccessBySharedPtr
infra/syntax/JsonStreamParser: Handle destruction during ParseError
and SemanticError callbacks
services/network/Http: Change BodyAvailable reader parameter into a
SharedPtr so that it can live longer
services/network/HttpClientBasic: Refactor
examples/https_client: Fix after refactoring of interface.
infra/syntax: Fix bug in Asn1Formatter when adding UtcTime.
Update CMakeCcolaUserManual to emphasize non-standard implementation
of Ccola (#6)
services/network: consolidate types used across Http classes.
upgrade/boot_loader: Move MockDecryptor to test_doubles.
services/network: Consolidate types used across Http classes.
infra/syntax/Asn1Formatter: fix UtcTime conversion.
upgrade/boot_loader: Move MockDecryptor to test_doubles.
services/network/HttpClientImpl: get StringOutputStream out of
interface into implementation.
OutputStream Width and negative numbers
services/network/test/TestHttpClientBasic: Add test for stop
behaviour
Update infra/timer/StreamTime.cpp for format Width
services/network/HttpClientBasic: Avoid Done() being called after
Cancel()
ccola/version.inc: Modify Version.h.in source location when we are
building outside our own source-tree (e.g. including EmbeddedInfraLib in
another project).
services/network/HttpClientJson: base class to interact with REST
api's exposing large payloads.
services/network/HttpClientJson: make Cancel accessible from
HttpClientJson.
ccola/Version: generate version at build-time instead of at
configure time to give accurate version information for all builds.
services/util/ConfigurationStore: Add Configuration(U& member) to
ConfigurationStoreAccess
services/util/test_doubles: Add ConfigurationStoreMock
services/network/HttpClientBasic: When an error is reported, timeout
timer must be stopped and no other status may be reported
Merge branch 'develop' of
https://github.com/philips-software/embeddedinfralib into develop
services/network/ConnectionMbedTls: Introduce workaround for reusing
sessions that have no session id

File Changes

A .gitattributes
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-0
(2)
A .travis.yml
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-1
(11)
M CHANGELOG.md
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-2
(7)
M CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-3
(2)
M README.md
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-4
(4)
M ccola/Version.h.in
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-5
(19)
M ccola/version.inc
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-6
(42)
A ccola/version_file_generator.inc
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-7
(23)
M documents/CMakeCcolaUserManual.docx
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-8
(0)
M documents/Containers.md
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-9
(2)
M examples/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-10
(1)
M examples/http_server/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-11
(20)
D examples/http_server/Main.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-12
(67)
A examples/http_server/MainBsd.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-13
(17)
A examples/http_server/MainWin.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-14
(17)
A examples/http_server/TimeHttpPage.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-15
(38)
A examples/http_server/TimeHttpPage.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-16
(34)
A examples/https_client/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-17
(13)
A examples/https_client/MainWin.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-18
(118)
M infra/stream/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-19
(2)
A infra/stream/CountingInputStream.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-20
(62)
A infra/stream/CountingInputStream.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-21
(51)
M infra/stream/OutputStream.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-22
(37)
M infra/stream/OutputStream.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-23
(6)
M infra/stream/test/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-24
(1)
A infra/stream/test/TestCountingInputStream.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-25
(92)
M infra/stream/test/TestStringOutputStream.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-26
(9)
M infra/syntax/Asn1Formatter.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-27
(6)
M infra/syntax/JsonStreamingParser.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-28
(40)
M infra/syntax/JsonStreamingParser.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-29
(3)
M infra/syntax/test/TestAsn1Formatter.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-30
(12)
M infra/syntax/test/TestJsonStreamingParser.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-31
(52)
M infra/timer/StreamTime.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-32
(9)
M infra/util/BoundedString.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-33
(10)
M infra/util/ByteRange.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-34
(32)
M infra/util/Function.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-35
(44)
M infra/util/Observer.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-36
(8)
M infra/util/SharedPtr.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-37
(3)
M infra/util/SharedPtr.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-38
(89)
M infra/util/test/TestSharedPtr.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-39
(17)
M services/network/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-40
(3)
M services/network/ConnectionMbedTls.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-41
(7)
M services/network/Http.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-42
(198)
M services/network/Http.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-43
(93)
A services/network/HttpClient.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-44
(79)
M services/network/HttpClientBasic.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-45
(78)
M services/network/HttpClientBasic.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-46
(24)
M services/network/HttpClientImpl.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-47
(301)
M services/network/HttpClientImpl.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-48
(35)
A services/network/HttpClientJson.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-49
(55)
A services/network/HttpClientJson.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-50
(52)
M services/network/HttpRequestParser.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-51
(13)
M services/network/HttpRequestParser.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-52
(9)
M services/network/WebSocket.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-53
(1)
M services/network/test/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-54
(1)
M services/network/test/TestHttpClient.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-55
(179)
M services/network/test/TestHttpClientBasic.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-56
(96)
A services/network/test/TestHttpClientJson.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-57
(132)
M services/network/test/TestHttpServer.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-58
(14)
M services/network/test_doubles/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-59
(4)
R services/network/test_doubles/HttpClientMock.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-60
(2)
R services/network/test_doubles/HttpClientMock.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-61
(4)
M services/tracer/TracerAdapterPrintf.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-62
(27)
M services/tracer/TracerAdapterPrintf.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-63
(6)
M services/tracer/test/TestTracerAdapterPrintf.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-64
(8)
M services/util/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-65
(1)
M services/util/ConfigurationStore.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-66
(10)
M services/util/test/TestConfigurationStore.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-67
(2)
A services/util/test_doubles/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-68
(12)
A services/util/test_doubles/ConfigurationStoreMock.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-69
(17)
M upgrade/boot_loader/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-70
(1)
M upgrade/boot_loader/test/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-71
(3)
A upgrade/boot_loader/test_doubles/CMakeLists.txt
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-72
(13)
R upgrade/boot_loader/test_doubles/MockDecryptor.cpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-73
(2)
R upgrade/boot_loader/test_doubles/MockDecryptor.hpp
https://github.com/philips-software/embeddedinfralib/pull/9/files#diff-74
(0)

Patch Links:

https://github.com/philips-software/embeddedinfralib/pull/9.patch
https://github.com/philips-software/embeddedinfralib/pull/9.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/philips-software/embeddedinfralib/pull/9, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AurPPNVwlVsM5mU48l9k03lJX9_4A9U3ks5vhB0LgaJpZM4cvOkn
.

--
Johan Sunter
"It ain't what you don't know that gets you into trouble. It's what you
know for sure that just ain't so",  Mark Twain

authors: JohanSunter richardapeters

repo: philips-software/embeddedinfralib


text:
Feature/certificate

SUMMARY
Easy way to test public certificate (PEM or DER) attributes:

start & expiration dates
issuer

CN (Common Name),
O (Organization Name),
C (Country)

subject

CN (Common Name),
O (Organization Name),
OU (Organization Unit Name),
C (Country),
ST (State or Provice Name)
L (Locality Name)

underlying file object attributes

MOTIVATION
Testing certificates with testinfra is relatively easy:

use the File module and read the contents
Choose one suitable library to decode certificate contents (either PyOpenSSL or cryptography)
Write wour assertions based on the chosen library API

The Certificate module makes this task even easier by skipping steps 1) & 2) and simplifying step 3)
NOTES

I have chosen the Python criptography library as the requirement for testinfra for it has a smaller footprint
I have chosen acronyms as the attributes (i.e. CN, O, C, etc) as they shorter to write and are widely known
I have provided a file attribute to ease tests on the underlying File object (i.e. owner, permissions, etc.)
This library can evolve as the needs arise

Respectfully,

It seems I'm stuck with certificate decoding in python34 (run by Travis). For some reason, it doen't like File.content (which should be binary by default). The underlying cryptography module complains
testinfra/modules/certificate.py:48: in __init__
    self._load_certificate()
testinfra/modules/certificate.py:63: in _load_certificate
    default_backend())
.tox/py34/lib/python3.4/site-packages/cryptography/x509/base.py:43: in load_pem_x509_certificate
    return backend.load_pem_x509_certificate(data)
.tox/py34/lib/python3.4/site-packages/cryptography/hazmat/backends/multibackend.py:341: in load_pem_x509_certificate
    return b.load_pem_x509_certificate(data)
.tox/py34/lib/python3.4/site-packages/cryptography/hazmat/backends/openssl/backend.py:1169: in load_pem_x509_certificate
    mem_bio = self._bytes_to_bio(data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f767fc85c50>
data = '\n-----BEGIN CERTIFICATE-----\nMIID4TCCAsmgAwIBAgIJAOlVzUel/AWRMA0GCSqGSIb3DQEBCwUAMFsxCzAJBgNV\nBAYTAkVTMQ8wDQYDVQQI...xyNFoReKC/cwfOlDiBN2EFkKgVATfajvy\nt4Hawei8sdH+uxhnM2pBSDbS4wUcj/+GBJNcFyJ8RepRP4Movw==\n-----END CERTIFICATE-----\n\n'

    def _bytes_to_bio(self, data):
        """
            Return a _MemoryBIO namedtuple of (BIO, char*).

            The char* is the storage for the BIO and it must stay alive until the
            BIO is finished with.
            """
>       data_char_p = self._ffi.new("char[]", data)
E       TypeError: initializer for ctype 'char[]' must be a bytes or list or tuple, not str

.tox/py34/lib/python3.4/site-packages/cryptography/hazmat/backends/openssl/backend.py:490: TypeError

Well, it seems I sorted it out :-)

Hi, looks an great interface to the cryptography module.
However I don't see the benefits for testinfra here, since it's only used to get remote file content. Users can do this in their test and check file content using third party tools of their choice directly.

authors: philpep rfgtid

repo: philpep/testinfra


text:
Enable caching for additional filters

The following filters do not have caching enabled. For an example, see PhileasFilterService when creating the age filter).

CUSTOM_DICTIONARY
LOCATION_CITY
LOCATION_COUNTY
LOCATION_STATE
HOSPITAL
HOSPITAL_ABBREVIATION
FIRST_NAME
SURNAME
IDENTIFIER

Identifier and custom dictionary will need handled a little differently. Wrote #118 to capture that.

repo: philterd/phileas


text:
Fix warning in elixir 1.7

Fix warning like :
using map.field notation (without parentheses) to invoke function ... parentheses instead: remote.function()

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

authors: ChristopheBelpaire josevalim


text:
#274 Split project into Core and Maven Plugin

This is a first shot at splitting the project into a "core" project for code generation and a "maven" project for the actual plugin.
These two should be deployed as maven artifacts seperately :)
The core part can later be picked up by a custom Gradle plugin.
Also it contains a temporary fix for https://github.com/raml-org/raml-java-parser/issues/561

Talking with @stojsavljevic we agreed on opening another PR (#295 ) to go through this step by step.

repo: phoenixnap/springmvc-raml-plugin


text:
Cannot find module './lib/run', when running ´phonegap run IOS´

PhoneGap CLI, node & npm versions
Phonegap -v : 6.3.3
npm -v : 3.3.6
node -v : 5.0.0
Note: I tried with others version of node, particularly with the following :
v0.10.47
v0.12.0
v0.12.12
iojs-v2.0.0
v4.0.0
v4.2.2
v5.0.0
v6.8.0
Expected Behaviour
Run the project
Actual Behavior
The error that I am getting is the following :

add to body class: platform-ios
Running command: /Users/ignacio/Documents/Projects/kinnecting_app/platforms/ios/cordova/run
module.js:339
throw err;
^
Error: Cannot find module './lib/run'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/Users/ignacio/Documents/Projects/kinnecting_app/platforms/ios/cordova/run:23:13)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
Error: /Users/ignacio/Documents/Projects/kinnecting_app/platforms/ios/cordova/run: Command failed with exit code 1

Steps to Reproduce
run PhoneGap run ios

Hi @ignacio-chiazzo,
I have just tested this on my machine using a few different versions of node that you described and am unable to reproduce this issue. Can you try removing iOS from your project, phonegap platform rm ios, and then re-adding it, phonegap platform add ios.
If this doesn't resolve your issue, there could be something wrong with your installed phonegap. I would also try reinstalling that as well, npm uninstall -g phonegap, npm install -g phonegap.

Closing this issue as reporter has not responded to requests to help. If you are still experiencing this problem, feel free to re-open the issue and provide us with more details.

authors: filmaj ignacio-chiazzo surajpindoria

repo: phonegap/phonegap-cli


text:
[self barcodeScanDone] in flipCamera throws an exception and app crashed on ios

instance method "-barcodeScanDone" not found (return type defaults to 'id')

it should be [self barcodeScanDone:^{}]

Fixed by PR #307.

authors: lovelyelfpop macdonst

repo: phonegap/phonegap-plugin-barcodescanner


text:
v2.0.0-rc2: .on('notification') event not fired when background notification in Android

Expected Behaviour
Notification received in background should fire event after tapping on it
Actual Behaviour
After tapping the notification, app opens but event is not fired
Reproduce Scenario (including but not limited to)
The app is made with Ionic 2.0.1 and the code launched within platform.ready)=
Steps to Reproduce
Send notification with the payload shown below.
Tap it from the notification bar and when the app is launched nothing happens, but it should.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 6.0.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Samsung Galaxy S7
Cordova CLI version and cordova platform version
cordova --version 6.5.0
cordova platform version android 6.1.2

Plugin version
cordova plugin version | grep phonegap-plugin-push 2.0.0-rc2

Sample Push Data Payload
{
    "to": "/topics/_all_",
    "notification": {
    	"title": "title notification",
        "body": "body notification"
    },
    "data": {
    	"title": "title data",
        "message": "message data",
      	"app": "MOVAPP_GEN",
        "content-available":  "1"
    }
}

Sample Code that illustrates the problem
let push = PushNotification.init({
	android: { sound: 'true', vibrate: 'true', topics: ['all', '_all_'] },
	ios: { alert: 'true', badge: true, sound: 'true', fcmSandbox: true, topics: ['all', '_all_'] }
});

push.on('registration', (data) => { this.userData.setTokenFire(data.registrationId); this.userData.setPushToken(data.registrationId); });

push.on('notification', (data) => {
	console.log("NOTIFICATION: " + JSON.stringify(data));
	if (data.additionalData.app == constants.APP_ID) { events.publish('app:notification', data); }
	else { utils.sendNotification(data); }
});

push.on('error', (error) => { console.log(error.message); });

Logs taken while reproducing problem

I've just found that if you just send this payload:
{
    "to": "/topics/_all_",
    "data": {
    	"title": "title data",
        "message": "message data",
      	"app": "MOVAPP_GEN",
        "content-available":  "1"
    }
}

The notification event is fired twice in android, and the notification doesn't reach iOS at all.

@markos92i yes, that is the way that it works:
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#notification-vs-data-payloads
If you send:
{
    "to": "/topics/_all_",
    "notification": {
    	"title": "title notification",
        "body": "body notification"
    },
    "data": {
    	"title": "title data",
        "message": "message data",
      	"app": "MOVAPP_GEN",
        "content-available":  "1"
    }
}

on Android it will not work. As you discovered, sending:
{
    "to": "/topics/_all_",
    "data": {
    	"title": "title data",
        "message": "message data",
      	"app": "MOVAPP_GEN",
        "content-available":  "1"
    }
}

will work. The reason you are getting two notifications is because of the "content-available":  "1" setting. This is a signal for your the push plugin to fire the event in the background.
Using FCM on iOS you will need to send:
{
    "to": "/topics/_all_",
    "notification": {
    	"title": "title data",
        "message": "message data",
      	"app": "MOVAPP_GEN"
    }
}

It sucks the payload is different on Android and iOS but that is the way Google made it.

It turns out that this plugin "https://github.com/arnesson/cordova-plugin-firebase" DOES fire the event even when you send the "notification" attribute in android. And debugging in the phonegap plugin, it also receives the payload, so its possible to fire the event too.
This has to be a bug, because it makes us to differentiate 2 payloads depending on the platform.
Another problem I'm facing is that if you don't send the "notification" attribute in android, and you receive several notifications, they are all override with the last one, instead of stacking them in the notification bar.

@markos92i you can use inbox stacking as detailed here: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#inbox-stacking

That works for now, thank you. But still if you take a look at that plugin it manages to work even with the notification attribute.

repo: phonegap/phonegap-plugin-push


text:
Can be plugin v1.x compatible with cordoba-plugin-firebase?

Hi,
I  have push messages in my Ionic 2 app using GCM for Android with this plugin and I want to use Firebase analytics using cordova-plugin-firebase. When both plugins are installed Android platform cannot be build.
For the time being, I am not planning to move my push messaging service to Firebase and I want to stick to version 1.x.
Can both plugins be used at the same time?
Regards,
Xavi
Expected Behaviour
I want to install in Ionic 2 this plugin and cordoba-plugin-firebase,  and compile the Android platform.
Actual Behaviour
When both plugins are installed in a Ionic 2 project, Android platform build ends with an error:
Error: /Volumes/Data/xavi/work/code/ionic/incubapps/just-today-ionic/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeDebugResources'.
> /Volumes/Data/xavi/work/code/ionic/incubapps/just-today-ionic/platforms/android/res/values/strings.xml: Error: Found item String/google_app_id more than one time

platforms/android/res/values/strings.xml:
<?xml version='1.0' encoding='utf-8'?>
<resources>
    <string name="app_name">Just Today</string>
    <string name="launcher_name">@string/app_name</string>
    <string name="activity_name">@string/launcher_name</string>
    <string name="google_app_id" translatable="false">XXXXXXXX</string>
    <string name="google_app_id">1:XXXXXXXX:android:XXXXXXXX</string>
    <string name="google_api_key">YYYYYYYY</string>
</resources>

The string google_app_id is defined twice and causes an error. I'm not an expert and the problem can much deeper and complex, but maybe if phonegap-plugin-push v1.x uses a name like gcm_app_id the problem is solved.
Reproduce Scenario (including but not limited to)
Steps to Reproduce

Install latest Ionic CLI 2.2.1.
Install Cordova 6.5.0.
Create a brand new project with: ionic start --v2 myApp tabs.
Install cordoba-plugin-firebase plugin.
Install phonegap-plugin-push plugin.
Build and run with ionic run android.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 5.x and up.
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Not relevant.
Cordova CLI version and cordova platform version
Ionic info:
Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v6.9.5
Xcode version: Xcode 8.2.1 Build version 8C1002

cordova platform version android:
Installed platforms:
  android 6.1.2
  browser 4.1.0
  ios 4.3.1

Plugin version
phonegap-plugin-push 1.10.0 "PushPlugin"
cordova-plugin-firebase 0.1.19 "Google Firebase Plugin"

@xmellado sorry, I won't be back porting the changes to the 1.x stream that get rid of the google_app_id. You'll have to move to the 2.x stream. Even if we did get rid of the google_app_id there is a good chance there would be other conflicts with regards to the GCM and FCM libraries. Furthermore both the push plugin and firebase plugin would both be trying to handle the notifications which would cause issues in your app.
What analytics functions do you want to use?

Hi,
@macdonst I would like to use only the function logEvent() from the cordoba-firebase-plugin, I don't need anything else. I need to log a set of custom events that we have defined to track user's navigation in our app.
I have tried to import directly Firebase as web project (JavaScript) in Ionic 2, but analytics are not available for web projects.
Regards,
Xavi

I tried to use the version 1.x.x but is not working with Firebase plugin. Ok. But the version 2.x.x-rc4 give me this error:
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

Where:
Script 'C:\app\platforms\android\phonegap-plugin-push\android-push.gradle' line: 12

What went wrong:
A problem occurred evaluating root project 'android'.

Failed to apply plugin [id 'com.google.gms.google-services']
For input string: "+"

Please, I need help!

@performatric if you browse the issues you'll see that that is not fixed yet, hopefully on the next release.

I am having the same issue with rc5, when it'll be solved ?

authors: HamzaLJ macdonst morariu performatric xmellado


text:
Update KMeans.php

Allow get centroids from clusters when calculate a cluster with Kmeans.
Necesary fix to run
https://github.com/php-ai/php-ml-examples/blob/master/clustering/robberySquaredErrors.php

Hey @geopamplona, why did you close?

Reopen
I got confused about PR
it was not my intention to close it

authors: akondas geopamplona

repo: php-ai/php-ml


text:
moving classes to a more component like structure

add Wikipedia and YouTube namespace and moved applicable classes. this way the code is clustered by implementation making it easier to copy paste it to your own application.

Yes, nice idea! What do you think of dropping Rag in favor of Blog?
Wikipedia example is basically also Rag but thats only a Pattern and the real use case is around the Blog.
Just got me thinking ...

yes, that makes perfectly sense indeed

Let me know if you want to follow up, otherwise i will merge later when I'm back at my laptop and continue :)

yes, i'll follow up.
another question would be: are you intending to add more implementation examples to this repository?
if so, perhaps having a parent namespace Implementation for YouTube, Blog, Wikipedia makes sense?

No, not yet, at least nö further plans atm

alright then, changes pushed...

oops, yes sloppy me forgot about the templates... :pensive:

authors: chr-hertel wickedOne

repo: php-llm/symfony-demo


text:
Fix: Glyph with negative offset getting truncated.

Fix: https://github.com/php-tui/php-tui/issues/37
The idea is to check the last rows of the bitmap. For example:
STARTCHAR y
ENCODING 121
SWIDTH 576 0
DWIDTH 6 0
BBX 6 10 0 -2
BITMAP
00
00
00
88
88
98
68
08
88
70

Because this glyph has a -2 offset, indicating a descent of 2, we examine the last two rows of the bitmap to see if there's a negative offset. If there is, we adjust $yOffset accordingly when rendering the character.

I think we rather want to just make it render according to the bounds? So if you position it at 0,0 then "-2" would be 0?

It could also be a strategy - it's the diff between trying to fit the font in the minimal vertical space and expanding the space to accommodate the possible bounds

@dantleech You're more familiar with this part than me, I'm going to let you deal with it, for now, hahah I'm curious to see what strategy will you use. o/

@dantleech I've pushed some changes, with my original idea for this fix. =D

I think the problem is that this approach will not render the fonts as intended:

and see how the terminal renders fonts:

i.e. we need to take into account the full range so that letters such as e don't actually start at 0

btw just FYI I refactored the shapes to decouple the "painting" responsiblity from the shape data, so this logic is currently in TextRenderer

by the way - FYI I refactored the shapes to decouple the "painting" responsiblity from the shape data, so this logic is currently in TextPainter

Nice!

I think the problem is that this approach will not render the fonts as intended:

Yeah, this needs another approach indeed. I'll give it a shot over the weekend. But, if you plan to work on this in the meantime, feel free.

It already renders OK if the canvas is large enough, maybe it's fine 🤷

In my tests with different canvas sizes, still truncating at bottom base :sweat_smile:

note above it's fine where the canvas bounds can accomodate the "negative" offsets. there's a chance this is the "correct" way to do it.

@dantleech Nice!
The other day, I tested starting the $yOffset at 0, and then changing the canvas size made things accommodate very well.
@@ -67,7 +67,7 @@ class TextRenderer implements ShapePainter
         $charWidth = $shape->scaleX;
         $charHeight = $shape->scaleY;

-        $yOffset = $glyph->boundingBox->offset->y * $shape->scaleY;
+        $yOffset = 0;

         $points = [];
         foreach ($grid as $row) {

authors: KennedyTedesco dantleech

repo: php-tui/php-tui


text:
🛑 phpMyFAQ Homepage is down

In 719df6a, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in 2bdd05e.


text:
🛑 phpMyFAQ API is down

In 4823c06, phpMyFAQ API (https://api.phpmyfaq.de/versions) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ API is back up in bdfe9e4.


text:
🛑 phpMyFAQ API is down

In 6079e36, phpMyFAQ API (https://api.phpmyfaq.de/versions) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ API is back up in 9db9ac8.


text:
🛑 phpMyFAQ Demo is down

In 5cb08c0, phpMyFAQ Demo (https://demo.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Demo is back up in 1aa3af3.


text:
🛑 phpMyFAQ Demo is down

In 3ec18d5, phpMyFAQ Demo (https://demo.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Demo is back up in 847e089 after 4 minutes.


text:
🛑 phpMyFAQ Homepage is down

In 3826156, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in 975d90e.


text:
🛑 phpMyFAQ API is down

In 807784d, phpMyFAQ API (https://api.phpmyfaq.de/versions) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ API is back up in 4c7d18f after 12 minutes.


text:
unique identifier to distinguish from pmd

The output xml files of PMD and PHPMD tools are almost identical. Without knowing which program generated them, it is programatically tricky to identify which tool the file derived from. Would you consider changing the top level <pmd></pmd> tag to <phpmd></phpmd>? A unique attribute like tool="phpmd" would work just as well.
Currently, the best identifier I see is version="@project.version@" which is not used by PMD. Why do you use this format? Is it a permanent change?

Changing the tag would be a backward incompatible change.
Adding an attribute seems safe to me, though.
The last answer I cannot answer you.
May be @manuelpichler can.

Both XML are supposed to be compatible (same XSD), you could in theory merge files from both PMD and PHPMD in a project using both Java and PHP (I known, I know, looks like Si-Fi scenario), and the whole thing would be the list of violations of your project with no consideration of the language (file extension would be enough to know).
So it should be done only with an attribute (or additional tag), not with a tag change clearly. And ideally, it should use a syntax accepted by the original XSD format.

authors: andykais kylekatarnls ravage84

repo: phpmd/phpmd


text:
PostProcessing + VR + Vulkan = Crash

Vulkan has a "operation not supported" crash when trying to use Post Processing + VR. Looks like CommandBuffer.CopyRegion call on ForwardRenderer.cs line 703 kicks off the crash. Some buffer is expected to be "Staging" during the CopyRegion call, and when it isn't, an exception is called @ CommandList.Vulkan.cs line 1107.

fixed with https://github.com/phr00t/xenko/commit/e51f75d30fc7e3c1666a840b4fac295679c8957e


text:
Ở Apartment và Floor, việc thêm Apartment vào Floor không kiểm tra số nhà tối đa trong Floor trước

@NMPhap đề xuất thay đổi ở BE: nếu thêm 1 floor vượt mức tối đa trả về 409 conflict


text:
nie zwraca produktów allegro lokalnie

Opis błędu
Szukam produktu. Znajduje jeden, ale przy próbie rozłączenia znika, czyżby nie przelicza produktów allegro lokalnie?
Link
https://allegro.pl/kategoria/gry-na-konsole-nintendo-switch-256922?order=p&offerTypeBuyNow=1&strategy=NO_FALLBACK&string=baldo)
Platforma

System: Windows 11 pro
Przeglądarka: chrome
Wersja skryptu:  2024-10-17_23-05

Tak, jest to opisane w README w sekcji "Co dalej"

authors: Bombowacena picakia

repo: picakia/allegro-rozlacz-oferty


text:
Xcode 14 and iOS 16, Errors with Color, Size and Uint8List in the package

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
Flutter 3.0.5 stable

Plugin version
flutter_inappwebview: ^5.5.0+3

Android version

iOS version
iOS 16.0

Xcode version
14.0.1

Device information:
iPhone XS Max
Description
When I run flutter run, it throws me these errors:
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:1199:52: Error: Type 'Uint8List' not found.
  Future<void> postUrl({required Uri url, required Uint8List postData}) async {
                                                   ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:1612:10: Error: Type 'Uint8List' not found.
  Future<Uint8List?> takeScreenshot(
         ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:2044:10: Error: Type 'Color' not found.
  Future<Color?> getMetaThemeColor() async {
         ^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:41:9: Error: Type 'Size' not found.
  final Size initialSize;
        ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:184:24: Error: Type 'Size' not found.
  Future<void> setSize(Size size) async {
                       ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:197:10: Error: Type 'Size' not found.
  Future<Size?> getSize() async {
         ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:451:52: Error: Type 'Uint8List' not found.
  void Function(InAppWebViewController controller, Uint8List icon)?
                                                   ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/chrome_safari_browser/chrome_safari_browser.dart:194:3: Error: Type 'Uint8List' not found.
  Uint8List icon;
  ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/pull_to_refresh/pull_to_refresh_controller.dart:77:25: Error: Type 'Color' not found.
  Future<void> setColor(Color color) async {
                        ^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/pull_to_refresh/pull_to_refresh_controller.dart:84:35: Error: Type 'Color' not found.
  Future<void> setBackgroundColor(Color color) async {
                                  ^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/ios/in_app_webview_controller.dart:34:10: Error: Type 'Uint8List' not found.
  Future<Uint8List?> createPdf(
         ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/ios/in_app_webview_controller.dart:48:10: Error: Type 'Uint8List' not found.
  Future<Uint8List?> createWebArchiveData() async {
         ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:44:33: Error: Couldn't find constructor 'Size'.
      {this.initialSize = const Size(-1, -1),
                                ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:395:11: Error: 'Uint8List' isn't a type.
          Uint8List icon =
          ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:396:15: Error: The getter 'Uint8List' isn't defined for
the class 'InAppWebViewController'.
 - 'InAppWebViewController' is from 'package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart'
 ('../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Uint8List'.
              Uint8List.fromList(call.arguments["icon"].cast<int>());
              ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/in_app_webview_controller.dart:1199:52: Error: 'Uint8List' isn't a type.
  Future<void> postUrl({required Uri url, required Uint8List postData}) async {
                                                   ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:41:9: Error: 'Size' isn't a type.
  final Size initialSize;
        ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:184:24: Error: 'Size' isn't a type.
  Future<void> setSize(Size size) async {
                       ^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/in_app_webview/headless_in_app_webview.dart:451:52: Error: 'Uint8List' isn't a type.
  void Function(InAppWebViewController controller, Uint8List icon)?
                                                   ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/chrome_safari_browser/chrome_safari_browser.dart:194:3: Error: 'Uint8List' isn't a type.
  Uint8List icon;
  ^^^^^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/pull_to_refresh/pull_to_refresh_controller.dart:77:25: Error: 'Color' isn't a type.
  Future<void> setColor(Color color) async {
                        ^^^^^
../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.5.0+3/lib/src/pull_to_refresh/pull_to_refresh_controller.dart:84:35: Error: 'Color' isn't a type.
  Future<void> setBackgroundColor(Color color) async {
                                  ^^^^^

It seems very strange. I don't get any of these errors, I can run my code example with any problem.
Have you tried to run flutter clean and flutter pub get again?

Hey, thanks for the fast response.
I have tried restarting my computer, running flutter clean and flutter pub get many times, using the 6.0 beta version of the package but I still get these errors.
I tried manually editing the code in the package and resolving the Errors, the app then builds without a problem but the package then doesn't work i.e, It doesn't want to open the desired website.

Have you tried to update your Flutter version?

No, good idea, can you please tell me what Flutter version You are using?

I'm running on Flutter 3.3.3

I will give it a try and see what happens!

Solved the issue completely! Thank You so much!

You are welcome! 👍

authors: bilaldrndo pichillilorenzo


text:
"window.flutter_inappwebview.callHandler" dosn't work  in ios

window.flutter_inappwebview.callHandler('handlerFoo')
version:  ^5.7.2+2
android is ok，but can't use in ios;  In addition, it is found that consoleMessage is invalid under ios.
my options:
options = InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
useShouldOverrideUrlLoading: true,
useShouldInterceptFetchRequest: true,
),
android: AndroidInAppWebViewOptions(
useHybridComposition: true,
),
ios: IOSInAppWebViewOptions(
allowsInlineMediaPlayback: true,
),
);

by the way ，There is a very old project in which he uses webview interaction within ios:
"window.webkit.messageHandlers.openScan.postMessage({})"
How to intercept the request "window.webkit.messageHandlers.openScan.postMessage ({})" without modifying the original web page project?
Thank you very much for your help

i have the same problem

I also experienced the same problem with window.webkit.messageHandlers.openScan.postMessage({})
i use this
    messageHandlers: {
      requestUserAccessToken: {
        postMessage: function (param) {

          const parsedParam = JSON.parse(param);

          const callback = parsedParam.callbackMethod;
          const token = '';

          window[callback]({
            success: token != null ? true : false,
            accessToken: token,
          });
        },
      }, ```

but "window.flutter_inappwebview.callHandler" dosn't work in ios

For me also "window.flutter_inappwebview.callHandler" dosn't work in ios

authors: mohammedX6 rhecs rishabh-oc thomarga


text:
please support custom current promisePolyfillJS

please support custom promisePolyfillJS.
this is good plugin, but i found my webpage dose not work well with this plugin, after debugging i found const promisePolyfillJS on IOS side would confuse us.
not everyone use same polyfill version, please support this feature.
THIS IS AN IMPORTANT ISSUE.
THANKS FOR YOUR GREAT JOB.

/Classes/InAppWebView.swift
line about 43
// // https://github.com/taylorhakes/promise-polyfill/blob/master/src/index.js
// let promisePolyfillJS = """
// if (window.Promise == null) {
//   var setTimeoutFunc = setTimeout;
//   function isArray(x) {
//     return Boolean(x && typeof x.length !== "undefined");
//   };
//   function noop() {}
//   function bind(fn, thisArg) {
//     return function() {
//       fn.apply(thisArg, arguments);
//     };
//   };
//   function Promise(fn) {

if anyone has same problem with me, just comment it!!

Released new version 3.0.0 with updated polyfill: https://github.com/tildeio/rsvp.js
Let me know if your code works now.. However this polyfill is added only in webviews that are too old and where window.Promise is not defined.. I use it because I need it to make javascript bridge work properly!

It worked fine now

authors: pichillilorenzo virskor


text:
DenseClip weight

Hello, the link you provided for downloading DenseClip weights seems to be incorrect; it doesn't lead me to the place where I can download the weights. May I do something wrong? @picksh

Hi,
Thank you for your reminder. I have updated the link for DenseClip weights. I think you can download it now.

Thanks!

authors: Dylonsword picksh

repo: picksh/FashionTex


text:
Wayland seems to have trouble with Gtk/Veldrid

I can't get this working for GL or Vulkan under Wayland. I wonder if GTK4 might improve things, but I'm not sure if that's scheduled.

Fixed with posted PR, although Vulkan yields a black square in all my machines.


text:
Select already segmented Text file as input

Is your feature request related to a problem? Please describe.

Current file import, removes any line break and re run the pre-segmentation steps.
Unable to add/use a file has been pre-segmented already.
Describe the solution you'd like

Have an option to import a pre-segmented file in alternative to the plain text one.
Describe alternatives you've considered

NA
Additional context

It be good to add this as an additional option vs replace the current input.
Request by Michele Gianella

see this comment https://github.com/pietrop/subtitlesComposer-app/issues/2#issuecomment-581714675
and this release  https://github.com/pietrop/subtitlesComposer-app/releases/tag/1.0.7 for more progress in this direction.
UX for this feature still TBC, mostly just trying things out atm

repo: pietrop/subtitlesComposer-app


text:
[Docs]: Add back Kysely and Drizzle guide

Description
Add back Kysely and Drizzle guide from v1 docs

Done!

repo: pilcrowOnPaper/lucia


text:
PodUpdate到2.2.2版本，运行奔溃！

奔溃信息如下：
2016-08-13 23:56:20.492 SixtySixBoss[6836:2164595] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QNDnspodFree initWithServer:timeout:]: unrecognized selector sent to instance 0x1489c7c70'

更新 HappyDNS

authors: ZHDeveloper betallcoffee

repo: pili-engineering/PLPlayerKit


text:
exception 'ErrorException' with message 'Invalid argument supplied for foreach()

exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in F:\laravel\api\vendor\pili-engineering\pili-sdk-php\lib\Pili\Hub.php:36
    $result = Api::listStreams($this->_transport, $this->_hub, $marker, $limit, $title_prefix, $status);
    $streams = $result["items"];
    foreach ($streams as &$stream) {
        $stream = new Stream($this->_transport, $stream);
    }

$streams is NULL

https://github.com/pili-engineering/pili-sdk-php/pull/48

3Q,GOOD JOB

repo: pili-engineering/pili-sdk-php


text:
Middleware in Django >= 1.10

Hi all,
I hope this hasn't already been addressed--I searched around on the issue tracker and tried with with b5b05d2 as well as 3.4.1 from PyPI.
When I use the middleware, pinax.stripe.middleware.ActiveSubscriptionMiddleware, I get:
Unhandled exception in thread started by <function wrapper at 0x10ca01b90>
Traceback (most recent call last):
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/utils/autoreload.py", line 227, in wrapper
    fn(*args, **kwargs)
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 147, in inner_run
    handler = self.get_handler(*args, **options)
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 28, in get_handler
    handler = super(Command, self).get_handler(*args, **options)
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 68, in get_handler
    return get_internal_wsgi_application()
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 47, in get_internal_wsgi_application
    return import_string(app_path)
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/utils/module_loading.py", line 20, in import_string
    module = import_module(module_path)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/jrporter/projects/studentpt/studentpt/studentpt/wsgi.py", line 18, in <module>
    application = get_wsgi_application()
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
    return WSGIHandler()
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 151, in __init__
    self.load_middleware()
  File "/Users/jrporter/projects/.venvs/studentpt/lib/python2.7/site-packages/django/core/handlers/base.py", line 82, in load_middleware
    mw_instance = middleware(handler)
TypeError: object() takes no parameters

Which seems to be a Django >= 1.10 middleware compatibility issue, as outlined by this StackOverflow post.
The thing that's confusing me is that I noticed that the current builds actually pass on Django 1.10 and 1.11... maybe I missed somthing? Or the middleware isn't part of the tests?

Hi @justinrporter I can confirm having the same issue with django 11....
did you managed to get a workaround or something for that ?

@askz @justinrporter I'm trying to reproduce this under Django 1.11.4 and cannot.

Can you tell me what your middleware settings look like?
Are you using a customer with an active subscription?

Sorry, I should have actually provided steps to reproduce:

Start a new project with an empty app and Django >= 1.10. I just tested it with 1.11.4 and it's still there.
To settings.py's INSTALLED_APPS add the empty app, pinax.stripe.
To MIDDLEWARE, add pinax.stripe.middleware.ActiveSubscriptionMiddleware
(Add SITE_ID = 1 to settings.py)
Run ./manage.py runserver

The django-stripe actually had the same problem, which was fixed in dj-stripe/dj-stripe#543.
The issue is that the way middleware is processed in Django >= 1.10 is different. The fix is trivial, though--just add the base class of ActiveSubscriptionMiddleware from object to MiddlewareMixin.

authors: askz gregnewman justinrporter

repo: pinax/pinax-stripe


text:
Joyride/Tour modal popup

Whats the syntax to use the tour as a modal popup?

The modal don't work?

I'm not sure what you mean or what you're trying to do. We have two separate components here, Modal and a tooltip-based Tour.

step 3 here: http://foundation.zurb.com/sites/docs/v/5.5.3/components/joyride.html

Ah, no we don't have support for that. In our Tour component, steps are defined on their target elements so there's really no way to define a tour step without a target element.

thats what I thought :D

if I get time I'll patch it and pu tin apull request

repo: pineconellc/angular-foundation


text:
grpcio: update travis

Add Windows support
update llvm dependency for bindgen

Related issue #335

Are we going to have win/osx nightly builds?

Linux is the primary support platform, and does not consider nightly testing of all platforms for the time being.

repo: pingcap/grpc-rs


text:
fix test

Signed-off-by: crazycs520 crazycs520@gmail.com

What problem does this PR solve?

What is changed and how it works?
Fix test which import by #101
--- FAIL: TestClientMaintainer (0.15s)
    domain_test.go:74:
                Error Trace:    domain_test.go:74
                Error:          Not equal:
                                expected: "need specify pd endpoints"
                                actual  : "Get \"http://127.0.0.1:2379/pd/api/v1/health\": dial tcp 127.0.0.1:2379: connect: connection refused"

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -need specify pd endpoints
                                +Get "http://127.0.0.1:2379/pd/api/v1/health": dial tcp 127.0.0.1:2379: connect: connection refused
                Test:           TestClientMaintainer

--- FAIL: TestTopology (0.52s)
    topology_test.go:51:
                Error Trace:    topology_test.go:51
                Error:          Not equal:
                                expected: "need specify pd endpoints"
                                actual  : "Get \"http://127.0.0.1:2379/pd/api/v1/health\": dial tcp 127.0.0.1:2379: connect: connection refused"

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -need specify pd endpoints
                                +Get "http://127.0.0.1:2379/pd/api/v1/health": dial tcp 127.0.0.1:2379: connect: connection refused
                Test:           TestTopology

/merge

repo: pingcap/ng-monitoring


text:
Fix WITH/WITHOUT VALIDATION syntax

Index Issue: pingcap/tidb#11486
These are bad (incompatible) SQL cases:
alter table t with validation, add column b int as (a + 1)
alter table t without validation, add column b int as (a + 1)
alter table t without validation, with validation, add column b int as (a + 1)
alter table t with validation, modify column b int as (a + 2)
alter table t with validation, change column b c int as (a + 2)

Claim this subtask based on the comments below this issue.

I'll fix it.

authors: imtsuki tangenta

repo: pingcap/parser


text:
parser: fix stored option in generated column restore

What problem does this PR solve?
STORED option for generated column is missing after Restore
What is changed and how it works?
output STORED or VIRTUAL based on the Stored field of column option.
Check List
Tests

Unit test
Integration test

LGTM

@kennytm PTAL

PTAL @kennytm

authors: GregoryIan amyangfei


text:
[POC] late materialization filter cache

What problem does this PR solve?
Issue Number: ref #5829
Problem Summary:
What is changed and how it works?
For data in stable layer, the data is stable and seldom changed, so we can cache the result of filter.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

repo: pingcap/tiflash


text:
Add compression tests for kafka

Add compression tests for kafka. Now we support none,gzip,snappy,lz4,zstd four kinds of the compression algorithm. We should test it.

/label affects-6.1

authors: hi-rustin nongfushanquan

repo: pingcap/tiflow


text:
add more histograms

PTAL @zhangjinpeng1987 @siddontang

PTAL @zhangjinpeng1987

authors: follitude siddontang

repo: pingcap/tikv


text:
logger: Allow configuring timespan of log rotation.

The time part of #3059. As part of the discussion there we decided to just use time based rotation.
Please note it modifies the scheme the naming of log files.
For example, a log message at 2018-02-02-09:00:00-UTC happens, and a rotation was scheduled for 2018-02-02-08:30:00-UTC

Before:

The log message would trigger a rotation and the file would be saved as log.20180201 (note the date of 01)

After:

The log message would trigger a rotation and the file would be saved as log.2018-02-02-08:30:00. (note the date of 02)

What are the type of the changes?

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested?
The tests have been updated to reflect the change. Also manual testing was done by setting a config file to rotate every 3 seconds and running the logger.
Does this PR affect documentation (docs/docs-cn) update?
It updates the configuration file which is self documenting. Unless our documentation talks about the output paths of log files, then no.
Does this PR affect tidb-ansible update?
Probably should update https://github.com/pingcap/tidb-ansible/blob/master/roles/tikv/vars/default.yml#L7 as well.
Refer to a related PR or issue link (optional)
The time part of #3059.

The log message would trigger a rotation and the file would be saved as log.20180201 (note the date of 01

Do you add a test to cover this?

@siddontang The code is deleted and replaced with the new code, so I cannot test it.

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

Should be good to merge. :tada:

authors: Hoverbear siddontang


text:
curl_easy_escape  errror

Hope you can provide some advise to my problem below.
I am having problem loading the mod_auth_openidc.so
Below is the error when I try to load Apache.
httpd: Syntax error on line 175 of /usr/local/httpd/conf/httpd.conf: Cannot load modules/mod_auth_openidc.so into server: /usr/local/httpd/modules/mod_auth_openidc.so: undefined symbol: curl_easy_escape
This is what I use to build and it seem to work with no errors.
./configure --with-apxs2=/usr/local/httpd/bin/apxs CURL_CFLAGS=/usr/local/bin CURL_LIBS=/usr/local/lib
/usr/local/bin  is where the curl binary that I just build today.
/usr/local/lib is where the curl library that I just build today.
Thank you.
Y

You should most probably use CURL_CFLAGS=-I/opt/local/include and -L/opt/local/lib -lcurl assuming that libcurl cannot be found by pkg-config automatically.

OS= Redhat 7.1 EN
These are my build options:
./configure --with-apxs2=/usr/local/httpd/bin/apxs CURL_CFLAGS=/usr/local/curl/include CURL_LIBS=/usr/local/curl/lib/ OPENSSL_CFLAGS=/usr/local/openssl/include OPENSSL_LIBS=/usr/local/openssl/lib APR_CFLAGS=/usr/local/lib64/apr/include APR_LIBS=/usr/local/lib64/apr/lib JANSSON_CFLAGS=/usr/local/jansson/include JANSSON_LIBS=/usr/local/jansson/lib
These are what it come back with:
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CURL... yes
checking for OPENSSL... yes
checking for APR... yes
checking for JANSSON... yes
checking for PCRE... yes
checking for HIREDIS... no
configure: creating ./config.status
config.status: creating Makefile
These are some of the warning while running make:  But not error at the end of the make.
gcc: warning: /usr/local/openssl/include: linker input file unused because linking not done
gcc: warning: /usr/local/curl/include: linker input file unused because linking not done
gcc: warning: /usr/local/jansson/include: linker input file unused because linking not done
Thanks,
Y

There's a binary package for Centos7 on the Releases page. There's also a Dockerfile that shows how to build the package on Redhat/CentOS 7 here: https://github.com/zandbelt/mod-auth-openidc-dist/blob/master/centos/7/build/Dockerfile You should not need to provide the environment variables manually if you've installed the required "-devel" packages

I am using Redhat 7.1 OS distribution but all my Apache, APR, Openssl was manually build with the latest  release.  It is bit customize to meet our Web server requirements.
Any ideas where to start looking for the problem?
Cannot load modules/mod_auth_openidc.so into server: /usr/local/httpd/modules/mod_auth_openidc.so: undefined symbol: curl_easy_escape
The config.log seems to indicate that it find all the nescessary path and pkg for CURL
config.log:  $ ./configure --with-apxs2=/usr/local/httpd/bin/apxs CURL_CFLAGS=/usr/local/curl/include CURL_LIBS=/usr/local/curl/lib/ OPENSSL_CFLAGS=/usr/local/openssl/include OPEN          SSL_LIBS=/usr/local/openssl/lib APR_CFLAGS=/usr/local/lib64/apr/include APR_LIBS=/usr/local/lib64/apr/lib JANSSON_CFLAGS=/usr/local/jansson/include JANSSON_LIBS=/usr/local/jansson          /lib
config.log:PATH: /usr/local/curl
config.log:PATH: /usr/local/curl/lib
config.log:PATH: /usr/local/curl/include
config.log:ac_cv_env_CURL_CFLAGS_value=/usr/local/curl/include
config.log:ac_cv_env_CURL_LIBS_value=/usr/local/curl/lib/
config.log:pkg_cv_CURL_CFLAGS=/usr/local/curl/include
config.log:pkg_cv_CURL_LIBS=/usr/local/curl/lib/
config.log:CURL_CFLAGS='/usr/local/curl/include'
config.log:CURL_LIBS='/usr/local/curl/lib/'
Thanks,
Y

You're passing directory paths in the environment variables, but they should be linker flags that consist of a combination of compiler specific options as in: CURL_CFLAGS="-I/opt/local/include" and "CURL_LIBS=-L/opt/local/lib -lcurl" etc.

The error is coming from ../src/util.c  file.
However, I am not quite sure what need to be done to fix the error.
Regarding the linker flags:  Is this what I need to use?
./configure --with-apxs2=/usr/local/httpd/bin/apxs CURL_CFLAGS="-I/usr/local/curl/include" "CURL_LIBS=-L/usr/local/curl/lib -lcurl  ??
Thanks,
Y

yes, with a closing double-quote after -lcurl

I have modified the build options as follow: and all the Linker warning gone away.
./configure --with-apxs2=/usr/local/httpd/bin/apxs CURL_CFLAGS="-I/usr/local/curl/include" "CURL_LIBS=-L/usr/local/curl/lib -lcurl" OPENSSL_CFLAGS="-I/usr/local/openssl/include" "OPENSSL_LIBS=-L/usr/local/openssl/lib/openssl -lopenssl" APR_CFLAGS=-I/usr/local/lib64/apr/include "APR_LIBS=-L/usr/local/lib64/apr/lib -lapr" JANSSON_CFLAGS=-I/usr/local/jansson/include "JANSSON_LIBS=-L/usr/local/jansson/lib -ljansson"
But I got a new errors:  Here is the last line:
/session.lo src/authz.lo src/util.lo src/config.lo src/crypto.lo src/proto.lo src/oauth.lo src/cache/lock.lo src/cache/shm.lo src/cache/memcache.lo src/cache/file.lo src/mod_auth_openidc.lo
/bin/ld: cannot find -lopenssl
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [src/mod_auth_openidc.la] Error 1

I guess your path is "/usr/local/openssl/lib" instead of "/usr/local/openssl/lib/openssl"? I'd also add "-lcrypto", so: OPENSSL_LIBS="-L/usr/local/openssl/lib -lopenssl -lcrypto"

Here are some of the extract data from the config.log file.
It seems not able to find information for PCRE and APXS2_OPTS.
Any suggestion?
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
-----------
Core tests.
-----------
configure:2367: checking for PCRE
configure:2374: $PKG_CONFIG --exists --print-errors "libpcre"
configure:2377: $? = 0
configure:2391: $PKG_CONFIG --exists --print-errors "libpcre"
configure:2394: $? = 0
----------------
Cache variables.
----------------
ac_cv_env_APR_CFLAGS_set=set
ac_cv_env_APR_CFLAGS_value=-I/usr/local/lib64/apr/include
ac_cv_env_APR_LIBS_set=set
ac_cv_env_APR_LIBS_value='-L/usr/local/lib64/apr/lib -lapr'
ac_cv_env_APXS2_OPTS_set=
ac_cv_env_APXS2_OPTS_value=
ac_cv_env_CURL_CFLAGS_set=set
ac_cv_env_CURL_CFLAGS_value=-I/usr/local/curl/include
ac_cv_env_CURL_LIBS_set=set
ac_cv_env_CURL_LIBS_value='-L/usr/local/curl/lib -lcurl'
ac_cv_env_HIREDIS_CFLAGS_set=
ac_cv_env_HIREDIS_CFLAGS_value=
ac_cv_env_HIREDIS_LIBS_set=
ac_cv_env_HIREDIS_LIBS_value=
ac_cv_env_JANSSON_CFLAGS_set=set
ac_cv_env_JANSSON_CFLAGS_value=-I/usr/local/jansson/include
ac_cv_env_JANSSON_LIBS_set=set
ac_cv_env_JANSSON_LIBS_value='-L/usr/local/jansson/lib -ljansson'
ac_cv_env_OPENSSL_CFLAGS_set=set
ac_cv_env_OPENSSL_CFLAGS_value=-I/usr/local/openssl/include/openssl
ac_cv_env_OPENSSL_LIBS_set=set
ac_cv_env_OPENSSL_LIBS_value='-L/usr/local/openssl/lib -lopenssl'
ac_cv_env_PCRE_CFLAGS_set=
ac_cv_env_PCRE_CFLAGS_value=
ac_cv_env_PCRE_LIBS_set=
ac_cv_env_PCRE_LIBS_value=
pkg_cv_APR_CFLAGS=-I/usr/local/lib64/apr/include
pkg_cv_APR_LIBS='-L/usr/local/lib64/apr/lib -lapr'
pkg_cv_CURL_CFLAGS=-I/usr/local/curl/include
pkg_cv_CURL_LIBS='-L/usr/local/curl/lib -lcurl'
pkg_cv_JANSSON_CFLAGS=-I/usr/local/jansson/include
pkg_cv_JANSSON_LIBS='-L/usr/local/jansson/lib -ljansson'
pkg_cv_OPENSSL_CFLAGS=-I/usr/local/openssl/include/openssl
pkg_cv_OPENSSL_LIBS='-L/usr/local/openssl/lib -lopenssl'
pkg_cv_PCRE_CFLAGS=' '
pkg_cv_PCRE_LIBS='-lpcre  '
-----------------
Output variables.
-----------------
APR_CFLAGS='-I/usr/local/lib64/apr/include'
APR_LIBS='-L/usr/local/lib64/apr/lib -lapr'
APXS2='/usr/local/httpd/bin/apxs'
APXS2_OPTS=''
CURL_CFLAGS='-I/usr/local/curl/include'
CURL_LIBS='-L/usr/local/curl/lib -lcurl'
JANSSON_CFLAGS='-I/usr/local/jansson/include'
JANSSON_LIBS='-L/usr/local/jansson/lib -ljansson'
OPENSSL_CFLAGS='-I/usr/local/openssl/include/openssl'
OPENSSL_LIBS='-L/usr/local/openssl/lib -lopenssl'

My suggestion would be to use the prebuilt binary from the releases page and make sure that you include the path to the special built libraries in to the LD_LIBRARY_PATH before the paths to the regular versions of those libraries.


text:
Bot still reply even I set Group Mode = False

It should be reply only on Mention or in private chat

Please make sure you set the BOT_ID

I already did it the second screenshot
On 8 May 2023, at 10.59, 捏捏卡™ @.@.>> wrote:
Please make sure you set the BOT_ID
—
Reply to this email directly, view it on GitHubhttps://github.com/pininkara/BingChatBot/issues/15#issuecomment-1537704031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVBANM7WESV2SK5OPNLT4TXFBVSVANCNFSM6AAAAAAXZMIZKA.
You are receiving this because you authored the thread.Message ID: @.***>

This may be a bug, I will fix it soon

K, waiting for an update, thx in advance
On 8 May 2023, at 11.10, 捏捏卡™ @.@.>> wrote:
This may be a bug, I will fix it soon
—
Reply to this email directly, view it on GitHubhttps://github.com/pininkara/BingChatBot/issues/15#issuecomment-1537717097, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVBANKYSDU7BXHCCCQSR6LXFBW3FANCNFSM6AAAAAAXZMIZKA.
You are receiving this because you authored the thread.Message ID: @.***>

I fixed it in the latest version, please update and redeploy . Thanks for your help.

alright, let me try

great one, it is working now.
a little bit to improve:

make bot reply when we reply to their message bubble

like
1st-time chat we mention @bot, then the bot reply, then we reply again to the bot to continue the conversation in a group,
it should reply too

I have completed this function, thank you for your help

repo: pininkara/BingChatBot


text:
🛑 jeju43 is down

In a0e3315, jeju43 (http://43archives.or.kr/main.do) was down:

HTTP code: 0
Response time: 0 ms

Resolved: jeju43 is back up in 851a1a5 after 10 minutes.

repo: pinnode/pinnode


text:
Logging support

based on #1; only the last pull is new

Great work, thanks!

authors: pezra pinoss

repo: pinoss/timeloop


text:
[#8162] cache applications api on browser/server side

Resolve #8162
Feature
By default, the application list would be cached by Ehcache for 120 seconds(configured in ehcache.xml) and be cached by browser  for 60 seconds (configured by web.applicationList.cacheTime in pinpoint-web-root.properties). If the request having no "If-Non-Match" header(when it's the first time to request or after expired browser cache time), ehcache would be evicted and retrieve data from hbase. The cache can also be clear by requesting {web_host}/applications.pinpoint?clearCache manually.
The first time to request for a user, there would be no cache in use.
You may let the web browser cache for a longer time by setting -Dweb.applicationList.cacheTime to a bigger value (in seconds). The following request would get "304 Not Modified response header" and no response body. The browser would use previously cached data.

In the above picture:

no cache on the browser & server sides.
cache on the browser side.
cache on the server side only and no application list data to transfer.

Verification
# request for the first time or with expired cache
$ curl 'http://localhost:8080/applications.pinpoint' -D-

# request with eTag returned by the previous response eTag header value
$ curl 'http://localhost:8080/applications.pinpoint' -D- -H 'If-None-Match: "applicationNameListVer1"'

# clear server cached list
$ curl 'http://localhost:8080/applications.pinpoint?clearCache' -D-

How about changing the applicationList's reload button click action?

Bypass browser cache and force update applicationlist for data freshness

eg)

Add magic key to /applications.list
Add clearCache parameter to applications.list

/applications.list?clearCache&magic=1234

@emeroad  great idea.

@emeroad implemented.

@yjqg6666
When I click the reload button, it passes the parameters which I guess is for bypassing the cache and update the data but I noticed the browser keeps fetching the data from the cache even when clicking the button in short period.

Is this an expected behavior?

@binDongKim It's not and a new commit is appended to fix it.

@binDongKim Done and thanks for the guide and review.

@yjqg6666
Things look good to go in frong-end side. Thank you!

authors: binDongKim emeroad yjqg6666

repo: pinpoint-apm/pinpoint


text:
Could not resolve org.ec4j.core:ec4j-core:0.3.0

Expected Behavior
That my app will build with the latest version of ktlin
Observed Behavior
Could not resolve all files for configuration ':app:ktlint'.
Could not resolve org.ec4j.core:ec4j-core:0.3.0.
Required by:
project :app > com.pinterest:ktlint:0.42.1 > com.pinterest.ktlint:ktlint-core:0.42.1
> Could not resolve org.ec4j.core:ec4j-core:0.3.0.
> Could not get resource 'https://jitpack.io/org/ec4j/core/ec4j-core/0.3.0/ec4j-core-0.3.0.pom'.
> Could not GET 'https://jitpack.io/org/ec4j/core/ec4j-core/0.3.0/ec4j-core-0.3.0.pom'.
> Read timed out

Steps to Reproduce
Try to build the app with ktlint
Your Environment

Version of ktlint used: 0.42.1 but its not depending on the version
Gradle Wrapper: 7.4.2
Gradle Tools: 7.1.3

Using :
dependencies {
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1"
}
But the error appears to be in the com.pinterest:ktlint:0.42.1 dependency.

This is an issue on your side. Remove the Jitpack from your allprojects { repositories { }} and it should be fixed.

and if I need the Jitpack for other libraries, what should be done?

i reordered the dependanceis so the jit pack be the last, and it worked
    repositories {         google()         mavenCentral()         maven { url 'https://www.jitpack.io' }     }
give it a try @witmitchell

authors: MohamedEmish okalman witmitchell

repo: pinterest/ktlint


text:
Cleanup verification-metadata

Description
Remove all components from the verification-metadata.xml which are no…t required for the build. As mentioned in #1313 some (reference to) log4j-core dependencies were found in the ktlint binary. Those dependencies were not actually used. It seems that the original verification-metadata.xml already contained a lot of trusted component which are not actually used.
Please note that I have little experience with gradle. But all build taks on the local machine are still working.
#Closes 1313
Checklist

[ ] tests are added
[X] CHANGELOG.md is updated

I'm going to leave this for @Tapchicoma to review; I also have little experience with this aspect of Gradle.

BTW interesting that :ktlint task has failed :thinking:

BTW interesting that :ktlint task has failed 🤔

Yes, I noticed that as well on another branch today. A while ago we change the build process so that the ktlint task also runs all experimental rules on ktlint itself (dogfeeding principle). Somehow, the code on master at that moment contained some violations of the trailing comma rule which probably were introduced between submitting the PR and actually merging it into master. Anyway, I have fixed the violations in master in meanwhile.

authors: Tapchicoma paul-dingemans shashachu


text:
Example for GCS

Hi can you give example of how to use GOOGLE_CREDS I can't find it anywhere what must I put there

I tried using this guide but it didn't work. Opens a blank page.
https://www.querybook.org/docs/integrations/add_auth
Have you find the right way to do it?

maybe it's a different topic.  I have the same problem before like that  before and used different browser  worked for me

Could you share your configuration file (of course hiding your keys), just so I could compare and set the same parameters as you? Thanks

authors: gusleig kmandagie

repo: pinterest/querybook


text:
Adds support for new pull request squash merge

This adds support for the pending additions to the merge API.  Current you have to use a special header to use it (Accept: application/vnd.github.squirrel-girl-preview; reference), but I'd love to get this so we could use it with git-reflow :smile:.

Adds commit_title, commit_message, sha, and squash params to pull_requests.merge
Bumps ruby version for dev to 2.3.1 (because 2.0.0 is no longer supported :wink:)
bundle update hashie, multi_json, oauth2 to fix security issues reported on gemnasium
Add Ruby 2.3 to travis builds

Changes Unknown when pulling 26e564f1435da7bc7f784a63ba948361d6091add on codenamev:vs-squash-merge into ** on piotrmurach:master**.

Changes Unknown when pulling 42293b9012e28478d098f9f707868265794b7971 on codenamev:vs-squash-merge into ** on piotrmurach:master**.

Changes Unknown when pulling d3fa3119eace95341a36314b84b2c73121741494 on codenamev:vs-squash-merge into ** on piotrmurach:master**.

Changes Unknown when pulling caa2f1f728194084e387dc6cf12782f924f1d038 on codenamev:vs-squash-merge into ** on piotrmurach:master**.

Changes Unknown when pulling 17244942dcea483947dd252e1923c6708234d8c3 on codenamev:vs-squash-merge into ** on piotrmurach:master**.

👍 These are important updates.

@codenamev Cheers for the PR I will merge defo this week and release new library - solid promise!
@pboling Point taken, i will handle this and few other PRs this week for sure.

You da man @piotrmurach!  Thanks for an awesome library 😄

Hey, just released v0.14.0 that:

removes multi_json altogether(this should speed things up as well as make it truly cross ruby solution)
remove any params checks from pull requests to make it bullet proof for future api changes
added default preview accept header for merge to make squash work

Let me know if this works for you?

authors: codenamev coveralls pboling piotrmurach

repo: piotrmurach/github


text:
Support DynamoDB as PipeCD control-plane datastore

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

Support DynamoDB as PipeCD control-plane datastore.

@nghialv @nakabonne PTAL 🙏

Thank you!
/lgtm

🏃
/approve

authors: khanhtc1202 nakabonne nghialv

repo: pipe-cd/pipe


text:
Segfault when null expression given to cmsketch_frequency

create stream s (x integer);
create continuous view v as select cmsketch_agg(x) from s;
insert into s (x) values (10);
select cmsketch_frequency(cmsketch_agg, null) from v;

Segmentation fault (PID 20124)
version: PipelineDB  at revision  on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.9.2-0ubuntu1~14.04) 4.9.2, 64-bit
backtrace:
pipelinedb: derek derek [local] SELECT(debug_segfault+0x25)[0x7213e9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f8610503340]
pipelinedb: derek derek [local] SELECT(DatumToBytes+0x4b)[0x786f55]
pipelinedb: derek derek [local] SELECT(cmsketch_frequency+0xec)[0x97123a]
pipelinedb: derek derek [local] SELECT[0x69832b]
pipelinedb: derek derek [local] SELECT[0x698d42]
pipelinedb: derek derek [local] SELECT[0x69f642]
pipelinedb: derek derek [local] SELECT(ExecProject+0x305)[0x69fc4d]
pipelinedb: derek derek [local] SELECT(ExecScan+0x18a)[0x69ffa6]
pipelinedb: derek derek [local] SELECT(ExecSeqScan+0x22)[0x6bf324]
pipelinedb: derek derek [local] SELECT(ExecProcNode+0x2b2)[0x6946a1]
pipelinedb: derek derek [local] SELECT(ExecutePlan+0x65)[0x691830]
pipelinedb: derek derek [local] SELECT(standard_ExecutorRun+0x16b)[0x68f5e9

Since adding NULL to a cmsketch is a noop, the only question is what we return for:
cmsketch_frequency(cms, NULL);

0 would be correct, but not necessarily intuitive since cmsketch_agg silently accepts NULL. The other option is to return NULL.

Another option is to disallow NULL for both cmsketch_agg and cmsketch_frequency.

repo: pipelinedb/pipelinedb


text:
Implement a Python-C binding to Soldity

Solidity has a JSON-based interface written in C to compiler contracts. The input is a JSON formatted list of contracts and the output is a JSON with bytecode, assembly, etc. (all the features of the commandline compiler).
This C interface (located in solc/jsonCompiler.cpp) could be used to write an FFI binding in Python. It is already compiled as a library (libsoljson).

This would be a big improvement over the current subprocess based implementation.

... Okay maybe this is a better candidate for a backend for https://github.com/pipermerriam/populus/issues/290

authors: axic cag pipermerriam

repo: pipermerriam/py-solc


text:
Pipx don't do auto cleanup after I accidentally interrupted the installation process

When I am installing poetry using pipx, I selected the wrong window and hits Ctrl+C and interrupts the installation process. When I attempt to resume the installation process (running pipx install poetry --verbose) I get a message:
pipx (run_pipx_command:125): Virtual Environment location is /home/andy/.local/pipx/venvs/poetry
'poetry' already seems to be installed. Not modifying existing installation in '/home/andy/.local/pipx/venvs/poetry'. Pass '--force' to force installation

Maybe there could be a auto cleanup process after the installation process that had been interrupted?

Good suggestion. I will add it, but can't promise when I'll get to it.

This has been added to pipx 0.13.2.1.

repo: pipxproject/pipx


text:
officially sanction homebrew as the installation method of choice for macos

this should be merged after #252 is released

Looks good, but the doc changes need to be generated. See https://pipxproject.github.io/pipx/contributing/#documentation.

Is installing via homebrew better than pip somehow? To me it seems like it adds more headaches with PATH issues and figuring out which Python was used to install it. And it also adds a delay in using releases published to PyPI since it uses a different package registry.

I personally would recommend pip with user level as bootstrap step, and then use pipx for pipx... Going ahead.

and then use pipx for pipx

Are you saying you do something like this?
pip install pipx
pipx install pipx
pip uninstall pipx

I do think it's better. I'm the go-to guy at work for debugging python installations and people muck it up in the craziest ways. From using system python, pyenv, asdf, homebrew python, pip local install, it can be very confusing exactly how the tool has been installed and what might be interfering with it.
I find package manager installations (homebrew) offer some sanity in that it is installed to the same place, every time, regardless of your personal choice in python.
All the other bootstrap methods I've seen (like the one you posted above) seem necessarily confusing for the average user.
I prefer to use homebrew even for very popular python command line tools like csvkit and only use pipx when a system package does not exist (i.e. nbdime, poetry, envdir, etc.).
As far as update cycle, I believe it should be fairly easy to automate the homebrew releases.
I found the fact that pipenv had packages on most common distros a very great UX:

@AlJohri  thanks for the rationale. I'll approve/merge when the docs are all generated (see my previous comment).

Generally I have been generating docs as the changes come in, but there is some discussion about whether generating docs should only be done at the time of publishing to PyPI in https://github.com/pipxproject/pipx/pull/289. Therefore I will merge these changes as-is while the discussion continues.

authors: AlJohri cs01 gaborbernat


text:
Pull request para se candidatar a articulador

É assim que se faz ou eu não sei usar Github mesmo?

Porque é que tu deu merge?
Eu fui eleito?

Agora tu eliminou meu pull request com esse #11

repo: piratas/gti


text:
how to indent JSX syntax?

after formating the code, all the code is pretty but the jsx syntax.
jsx syntax leave unchanged at all.
how to make the formatter to indent jsx?

there's a PR open, #53, but I can't merge it yet because new esformatter doesn't work properly when packaged.
I need more time to find a solution (or help)

good luck :smiley:

As of 2.0.0 the plugin uses the local/global version of esformatter, you can configure your jsx plugin there.

authors: littlee piuccio

repo: piuccio/sublime-esformatter


text:
Update erlang package

This PR updates the version of erlang to 20.3.8.1

@cf-london Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@cf-london Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

authors: cf-london pivotal-issuemaster

repo: pivotal-cf/cf-rabbitmq-release


text:
TAS/CF installation fails on task 193 with NoCredentialProviders error.

Overview
Installing the TAS runtime (product details below) fails with an error of NoCredentialProviders: no valid providers in chain. Deprecated..
Products

om version: 7.2.0
Installation Steps
  om configure-product \
    --config=$configFile \
    --vars-file=$varsFile

  om apply-changes \
    --product-name cf

Attempted Workarounds

I have attempted to configure both BOSH and TAS with AWS IAM instance profiles and access keys.
I am using external blobstores (S3 buckets).

TAS Blobstore Config
  .properties.system_blobstore:
    selected_option: external
    value: external
  .properties.system_blobstore.external.access_key:
    value: ((tanzu_ops_user_access_key))
  .properties.system_blobstore.external.buildpacks_bucket:
    value: ((s3_bucket_name_buildpacks))
  .properties.system_blobstore.external.droplets_bucket:
    value: ((s3_bucket_name_droplets))
  .properties.system_blobstore.external.encryption:
    value: true
  .properties.system_blobstore.external.endpoint:
    value: https://s3.us-east-2.amazonaws.com
  .properties.system_blobstore.external.iam_instance_profile_authentication:
    value: false
  .properties.system_blobstore.external.packages_bucket:
    value: ((s3_bucket_name_packages))
  .properties.system_blobstore.external.path_style_s3_urls:
    value: false
  .properties.system_blobstore.external.region:
    value: us-east-2
  .properties.system_blobstore.external.resources_bucket:
    value: ((s3_bucket_name_resources))
  .properties.system_blobstore.external.secret_key:
    value:
      secret: ((tanzu_ops_user_secret_key))

BOSH IaaS Config
  iaas_configuration:
    access_type: keys
    access_key_id: ((tanzu_ops_user_access_key))
    secret_access_key: ((tanzu_ops_user_secret_key))

Detailed Error Message
 Expected task '193' to succeed but state is 'error'
 '
Task 193 | 13:12:21 | Error: Unable to render instance groups for deployment. Errors are:
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:11:57 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:12:17 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:12:18 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:12:19 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:12:21 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '
 Failed to download S3 object, code 1, output: '', error: '2021/06/02 13:12:21 performing operation get: NoCredentialProviders: no valid providers in chain. Deprecated.
 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
 '

Task 193 Started  Wed Jun  2 13:11:25 UTC 2021
Task 193 Finished Wed Jun  2 13:12:21 UTC 2021
Task 193 Duration 00:00:56
Task 193 error

Exit code 1
===== 2021-06-02 13:12:22 UTC Finished "/usr/local/bin/bosh --no-color --non-interactive --tty --environment=10.0.16.5 --deployment=cf-1f493917b1c1cf206ba6 deploy --no-redact /var/tempest/workspaces/default/deployments/cf-1f493917b1c1cf206ba6.yml"; Duration: 207s; Exit Status: 1
Exited with 1.
Exited with 1.

As a general architectural question, when installing a product like TAS/CF, what purpose do the Ops Manager and BOSH instances (as shown below) serve?

My working assumption is the all om commands result in API calls to Ops Manager. Ops Manager then orchestrates the installation of TAS/CF. I can tell from the logs that BOSH is involved somehow and I can see that the CPU of the bosh/0 instance spikes (i.e. it's being used) but it isn't clear to me:

What the BOSH instance exists to do.
How the Ops Manager communicates with the BOSH instance.

I was able to resolve this issue by defining a vmextension.
vmextensions-configuration:
  - name: iam-instance-profile
    cloud_properties:
      iam_instance_profile: ((instance_profile_name))

And then referencing it in the resource configuration for each instance defined in both the directory config and the TAS runtime config.
resource-configuration:
  compilation:
    additional_networks: []
    additional_vm_extensions:
      - iam-instance-profile
  director:
    additional_networks: []
    additional_vm_extensions:
      - iam-instance-profile

repo: pivotal-cf/om