"level 3" not working with jsonp files

The current "level 3" code is still related to 'json' files, but not able to find files with new extension 'jsonp':
if not bLevel3Check:
    if os.path.isfile(self.sTestcasePath + 'config' + os.path.sep + 'robot_config.json'):
        self.sTestCfgFile = self.sTestcasePath + 'config' + os.path.sep + 'robot_config.json'

Expected: Testsuites Management is able to handle both extensions: json and jsonp.
To be clarified: What shall happen in case of both files can be found in config folder: robot_config.json and robot_config.jsonp?
Maybe a test stop with error message would be the best choice.

Hi Holger,
level 3 loads automatically files.
If there is more than one json/jsonp file, then it's not clear which file need to be loaded.
Therefore we need an error message like:
Only one file is allowed for automatic configuration (level 3). Found the following files:
path/path/...
path/path/...
Thank you,
Thomas

Hello Thomas,
I agree with Holger that we should allow the configuration file either end with 'json' or 'jsonp'.
The mechanism of configuration level 3 is:
- Checking the existing 'config' folder in current folder which robot script is located in.
- If 'config' folder is existed:
+ If there is any json configuration file have the same name with robot test script, it will use this json file for configuration level 3.
+ If not above and there is 'robot_config.json' file in config folder, it will use the 'robot_config.json' for configuration file for configuration level 3.
+ In these 2 cases above are not matched, then configuration level 4 is enabled.
Thank you,
Son

Hi Son,
I modified your description from above:
The mechanism of configuration level 3 is:

Checking the existing 'config' folder in current folder which robot script is located in.
If 'config' folder is existing:

If there is a jsonp or json configuration file has the same name with robot test script, it will use this jsonp/json file for configuration level 3 for this test script.
If not above and there is 'robot_config.jsonp' or 'robot_config.jsonp' file in config folder, it will use the 'robot_config.json/p' for configuration file for configuration level 3.
In these 2 cases above are not matched, then configuration level 4 is enabled.

First check always for jsonp, then json.
Please implement accordingly.
Thank you,
Thomas

Addendum:
In case of jsonp and json
please consider:
https://github.com/test-fullautomation/robotframework-testsuitesmanagement/issues/162#issuecomment-1547992224

Added lately: TSM_0065 and TSM_0066
https://github.com/test-fullautomation/robotframework-testsuitesmanagement/blob/develop/test/TSM_TestUsecases.rst

Hi Son,
please give the following alternative example code a try. It solves the issue (and is easier to understand):
# ============================== alternative version
if not bLevel3Check:
    sJsonFileBase = CString.NormalizePath(f"{self.sTestcasePath}/config/robot_config")
    sJsonFile1    = f"{sJsonFileBase}.jsonp"
    sJsonFile2    = f"{sJsonFileBase}.json" # still supported alternative extension

    if os.path.isfile(sJsonFile1) and os.path.isfile(sJsonFile2):
        errorMessage = "Configuration file duplicate detected (both extensions: 'jsonp' and 'json')!\n" + \
                       f"* file 1: '{sJsonFile1}'\n" + \
                       f"* file 2: '{sJsonFile2}'\n" + \
                       "Please decide which one to keep and which one to remove. Both together are not allowed."
        logger.error(errorMessage)
        BuiltIn().unknown("Configuration file duplicate detected (both extensions: 'jsonp' and 'json')!")
    elif os.path.isfile(sJsonFile1):
        self.sTestCfgFile = sJsonFile1
        self.rConfigFiles.bLevel4 = False
    elif os.path.isfile(sJsonFile2):
        self.sTestCfgFile = sJsonFile2
        self.rConfigFiles.bLevel4 = False
    else: # meaning: if not os.path.isfile(sJsonFile1) and not os.path.isfile(sJsonFile2)
        self.rConfigFiles.bLevel3 = False
        if not self.bConfigLoaded:
            #self.rConfigFiles.bLevel4 = True
            sDefaultConfig=str(pathlib.Path(__file__).parent.absolute() / "robot_config.json")
            self.sTestCfgFile = sDefaultConfig

The output in console is:
[ ERROR ] Configuration file duplicate detected (both extensions: 'jsonp' and 'json')!
* file 1: 'C:/RobotTest/projects/ROBFW_AIO/robotframework-testsuitesmanagement/test/testfiles/configfoldertests2/config/robot_config.jsonp'
* file 2: 'C:/RobotTest/projects/ROBFW_AIO/robotframework-testsuitesmanagement/test/testfiles/configfoldertests2/config/robot_config.json'
Please decide which one to keep and which one to remove. Both together are not allowed.
Test Case tsm-cft-testfile-2 (BADCASE) :: tsm-cft-testfile-2 (BADC... | UNKNOWN |
Parent suite setup unknown:
Configuration file duplicate detected (both extensions: 'jsonp' and 'json')!

Hello Holger,
Thank you for your hint, I updated the pull-request.
Thank you,
Son

solved and already merged with #171


Easy coding standard warning php7

Hi there,
I'm using easy-coding-standards repo with php7.3 and sf4 project, however, I get the error when this rule is imported: vendor/symplify/easy-coding-standard/config/set/php71.yaml.
I run the code like this: vendor/bin/ecs check src --ansi --no-progress-bar --config easy-coding-standards.yml.
The error is:
Warning: Illegal string offset 'resource' in /vendor/symplify/package-builder/src/Yaml/ParameterInImportResolver.php on line 57
PHP Warning: Illegal string offset 'resource' in /vendor/symplify/package-builder/src/Yaml/ParameterInImportResolver.php on line 56
What do I wrong here? Any idea?

Hey,
that seems like bug in config.
What version of ECS do you use?
What is your content in ecs.yaml?

Hi Tomas,
Thank you for the answer.
Please find the ecs.yaml file:
imports:
  - vendor/symplify/easy-coding-standard/config/set/clean-code.yaml
  - vendor/symplify/easy-coding-standard/config/set/php_codesniffer/php-codesniffer-psr2.yaml
  - vendor/symplify/easy-coding-standard/config/set/php_cs_fixer/php-cs-fixer-psr2.yaml
  - vendor/symplify/easy-coding-standard/config/set/php71.yaml
  - vendor/symplify/easy-coding-standard/config/set/symfony.yaml

However, the error occurs only when I use this one config php71.yaml.
I believe the error should not pop up because I'm trying to check only files inside the src directory.
I use ECS in version 6.1.

It looks like .neon syntax, you need to use the yaml one:
https://github.com/Symplify/Symplify/blob/be33301660249ca96d60ef7ae5ac61c0b1e75404/ecs.yaml#L1-L6

Yes, that's true, I should have used YAML syntax.
Now it works like a charm, thank you very much!

Great!


Create Documentation for love-simple-ui

pl assign this issue to me

@thekavikumar  i did not know this issue was open, i created a documentation here https://github.com/thekavikumar/love-simple-ui/pull/158


Possible to treat different keyboard devices differently?

As a user, I would like to be able to have my Yubikey physically scream when I push the button. For some unknown reason, Yubico refuses to support this in hardware, so I'm falling back to a software option here.

I think rdev only supports listening for keyboard and mouse events. I'm not familiar with Yubikey but if it is recognized as a keyboard then it should be somehow possible to query events from it. Otherwise it needs some custom logic - we probably need to look for some other Rust library for that. Needs some investigation.

I own a yubikey and I am not sure if that is something you can easily listen to.
It can act as a keyboard in some cases, but the button itself does not. Without further researching the topic I am not even sure if you can get that information, as this is a security feature internal to the yubikey. If there is a lib that supports getting that information #54 might provide an interface to make daktilo respond to it.

Regardless of whether the yubikey can be supported I like the idea of having different presets based on the keyboard used.
A good use case would be laptop keyboard vs usb keyboard.


Media object examples do not show alignments

Under the Alignment section, the media object examples are missing the flex markup to display the different alignments.

Confirmed on Chrome 56.


Misc fixes

Fix lib dependencies.
Updated README to correct install and script running.
Add fix to mapper
Rename junction -> intersection

Self-merging


Update sbt-sonatype to 3.9.3

Updates org.xerial.sbt:sbt-sonatype from 3.9.2 to 3.9.3.
GitHub Release Notes - Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #833 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #833      +/-   ##
===========================================
- Coverage    89.50%   89.49%   -0.02%
===========================================
  Files          116      116
  Lines         9164     9164
  Branches       383      383
===========================================
- Hits          8202     8201       -1
- Misses         962      963       +1

Impacted Files
Coverage Δ

...src/main/scala/com/twitter/algebird/Interval.scala
83.47% <0.00%> (-1.74%)
:arrow_down:

.../main/scala/com/twitter/algebird/HyperLogLog.scala
92.36% <0.00%> (-0.41%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
94.69% <0.00%> (ø)

...scala/com/twitter/algebird/PredecessibleLaws.scala
85.71% <0.00%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_b1aecbcc-9868-42c5-aeab-98b4b06904da/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_b1aecbcc-9868-42c5-aeab-98b4b06904da.git

Docs Build status updates of commit 9a9c44a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitRepoUnauthorizedWithoutSourceCommit] Unauthorized to sync git repostiory:Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_master_2021-03-15-05-05-14) is not authorized.. Please retry building your content again. If the issue still happens, open a ticket in https://SiteHelp and include the URL of publishing report.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Added typescript typedefs

We've been asked for this several times now - but we're not planning to include them anywhere. Can you please upload them on definitelytyped? 😊


Move card to bottom of deck

Reason: many cards instruct player to move a card to bottom of deck.
Example: Greenblood trader - look at the top 2 cards, take 1 in hand and move the other to the bottom of your deck.

I'm not going to do this, instead the cards that use this ability will do so automatically.


add entire layer vs individual features when zoom_factor == 1

Right now, when zoom_factor = = 1, we parse through each feature to then append to a layer. Could we optimize this script by adding the entire layer instead of parsing through each feature as we do here?

@millzpaugh - great call, It'll make code clear and more concise! My understanding it won't optimize performance as features/geometries/properties will still be extracted internally.
/cc @joto

resolved in https://github.com/mapbox/vtcomposite/commit/f5282393af36a97624b559c9bc5da5d22b64d76e


[ISSUE #549]🔧Update automerge.yml

Which Issue(s) This PR Fixes(Closes)

Fixes #549
Brief Description

How Did You Test This Change?

@coderabbitai review Please review this PR.

🚀This PR has been automatically merged with squash.🚀

@coderabbitai review Please review this PR.


How does DBeaver generate the database hierarchy folder structure?

I guess I did a faulty database restoration or the dump did not have this data and the "folder like" structure was lost. This is a capture of Dbeaver showing what I mean with "folder like" structure. I can easily access the functions, tables, schemas, etc. stored in the database definition. I'm not so worried about the loss of the original structure as it did not have much, but I do want to recreate it step by step when I need it. For example, now I made a function and would like to see it under a "Functions" folder, how can I do that?
Thanks.

The structure depends on the driver, not the database.  So, e.g., the function should appear in the folder after its creation.


FEATURE REQUEST - function.yaml

Would be cool to bake in support for publishing the express app (frontend described by app.yaml) to a cloud function rather than a flex instance, since this could save $$$ in real life.
I know this requires going deeper into the GCloud stack and is beyond the scope of the bookshelf app, but thought I would mention here anyway.

That would be a cool example. There's lot's of ways how one could change the architecture. I guess we'll keep it as is for now to demonstrate the capabilities of App Engine Standard.


image upload is only .jpg?

Unhandled rejection RequestError: Uploaded image isn't in the right format.

Yes.

i make upload png with library of converting png to jpg its its not best solution but its work


[ZDF/3sat/phoenix.de] Extractor updates and fixes (#21185)

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests: #21356 is labeled 'do-not-merge'
[x] Checked the code with flake8
[x] I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

[x] Bug fix (of #21185)

3sat recently (?) changed their tech stack. It seems to work like ZDF's stack. In case you're wondering, they're both public TV channels in Germany. It's only logical that they would use the same tech.
Edit: turns out that phoenix.de still uses the older stack, so we have to ~keep dreisat.py for now~ move that code to phoenix.py.
Should the extractor file be renamed to zdf3sat.py or something like that?

@dstftw: I cannot "fix" the downloader without a test case.

@dstftw: I cannot "fix" the downloader without a test case.

wie kann ich helfen / how can I help ?

wie kann ich helfen / how can I help ?

If you know of any video on either site that doesn't work with the patch, feel free to post the link. I'm not certain such videos can be found by just browsing the website, since (probably) the whole tech stack was replaced.

wie kann ich helfen / how can I help ?

If you know of any video on either site that doesn't work with the patch, feel free to post the link. >
I'm not certain such videos can be found by just browsing the website, since (probably) the whole tech stack was replaced.

wie kann ich helfen / how can I help ?

If you know of any video on either site that doesn't work with the patch, feel free to post the link.
I'm not certain such videos can be found by just browsing the website, since (probably)
the whole tech stack was replaced.

So far all downloads from ZDF and 3SAT work with the patch, and I download much of the above, since June I have manually inserted the patch into youtube-dl. I'm just waiting for the "3SATZDF done" to turn on the update function again. - Bis jetzt funktionieren alle Downloads von ZDF und 3SAT mit dem Patch, und ich lade viel von den Genannten herunter, seit Juni habe ich den Patch manuell eingefügt in youtube-dl.

I confirm that it works with (example) https://www.3sat.de/migration/3sat/robert-frank-don-t-blink-100.html .

Phoenix is now in ARD Mediathek: https://www.ardmediathek.de/phoenix/

So, what is the problem with this pull request and that https://github.com/ytdl-org/youtube-dl/pull/21356. Why don't they get merged. Is there anything that need to be done?

So, what is the problem with this pull request and that #21356. Why don't they get merged. Is there anything that need to be done?

Yes wondering too... The issue seems to be more about decisions than actual implementation.
Dear youtube-dl-maintainer (@dstftw ), please make your decisions so it can go on. Thanks a lot!

@FliegendeWurst If I were you, I'd close this PR, rebase your changes and issue a new PR to get it integrated. Seeing the bandwidth on this repo I could understand why the maintainer might oversee updated PRs.
Thanks for your work.

I can also confirm that the patch works. It would be very nice to add it to the main program.

works like a charm. added it to my fork :)

Yes works, would be great to see this finally merged @dstftw Thanks!

Closing this PR since my repository is not available. I will open another PR.

Closing this PR since my repository is not available. I will open another PR.

Thanks @FliegendeWurst !!! :clap:  We really need to get this accepted for the/a next release!


Standardize India and Tanzania streetview "locations" array to geopoint data type

There are older India and Tanzania streetviews in the "locations" array that are a map + two numbers. We should change those maps + two numbers to a geopoint instead to simplify the DB and expand the functionality we would have using a geopoint.

We should probably write a function that gets all that region data and then creates GeoPoint values as street view locations and then save everything


ppl: fix build

Motivation for this change
ppl has been broken on darwin since 19d885016419ecc1c9045db0666f45d3e3f17953 (according to git bisect); it may thus affect other clang-based stdenvs:
In file included from Polyhedron_widenings.cc:28:
In file included from ./Rational_Box.hh:28:
In file included from ./Box_defs.hh:2286:
In file included from ./Box_templates.hh:38:
In file included from ./BD_Shape_defs.hh:2371:
In file included from ./BD_Shape_inlines.hh:31:
In file included from ./Octagonal_Shape_defs.hh:36:
In file included from ./OR_Matrix_defs.hh:607:
./OR_Matrix_inlines.hh:100:8: error: missing 'typename' prior to dependent type template name 'OR_Matrix<T>::Pseudo_Row'
inline OR_Matrix<T>::Pseudo_Row<U>&
       ^

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/bin/ppl-config
shrinking /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/bin/ppl_lcdd
shrinking /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/lib/libppl.so.14.0.0
shrinking /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/lib/libppl_c.so.4.0.0
gzipping man pages under /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/share/man/
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/lib  /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2/bin
patching script interpreter paths in /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2
checking for references to /tmp/nix-build-ppl-1.2.drv-0 in /nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2...
/nix/store/154kl2vzzwip4g9a6p8q9jk66c2pmpfi-ppl-1.2

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/bin/ppl_lcdd
shrinking /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/bin/ppl-config
shrinking /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/lib/libppl_c.so.4.0.0
shrinking /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/lib/libppl.so.14.0.0
gzipping man pages under /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/share/man/
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/lib  /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2/bin
patching script interpreter paths in /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2
checking for references to /build in /nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2...
/nix/store/376r3r9zsbrn2f86i3jv83bq0m5sbya4-ppl-1.2


Do not set "Content-Type: text/plain" on binary requests

Currently sets Content-Type: application/octet-stream instead, but probably should default to None always.

Thanks! I’ll try and get this and some of the other PRs merged and released soon.

@seanbrant  That would be really awesome!!
What about always defaulting to None Content-Type in this PR? It seems that current behavior setting text/plain is too smart, and different from what e.g. Werkzeug does.
CC @MuchkoM

@seanbrant Could you please take another look?


[otl] Wrong SHA512

Host Environment

OS: whichever

To Reproduce
Steps to reproduce the behavior:
curl -sL http://otl.sourceforge.net/otlv4_40455.zip | sha512sum
2d5c52af3eafdd93bf7c651de218607b8985acc1fce279d48d9bf58ecf8a012332c8d0b9a33223a6449f343134211e2d7c5412b71efb36ba484bda754e1afc45  -

Compare vs  d1f777dea53f4451616ef628680d070db1fe53683571bd509f58dba9c1e64fe6caa8a81d2f47876c2128af701ba19dc2e9c5612a57232efca3ad084843f272b6 in portfile.

@powel-jeh, thanks for reporting this issue!
otl has been updated to 40463 with correct hash in vcpkg, please get latest source and try again.


Explore black cottonwood phenophase data

Data received from collaborators at ORNL on black cottonwood common gardens. Curate phenophase data and communicate with Wellington and Kai about data provenance questions. Develop visualizations on Rpubs.

[x] Email for clarification about data naming
[x] Create private repo and upload .txt files
[ ] Initial data exploration

Are you taking on the phenophase data then? If that's the case, I can be responsible for curating the weather data.

Emailed Kai Feng about additional data documentation. Need particular clarification on dates - the same replicates were sampled up to 3 times, but only a subset of the data files have associated dates. Very important to get the dates.
Private repo initiated, with .txt files. Initial exploration suggested the repeated sampling (above), and also that the unique IDs are not fully unique. The distribution of duplicates is:

Erroneous duplication could account for the small end of the spectrum, but otherwise there are a lot. Will try next to find the duplications for each file and whether the phenophase matches or not.


mshtmhst.h is missing

when I go get this project,it said that mshtmhst.h is missing.I using win7 X86...

What C compiler are you using? Can you provide a bit more details like the compiler output log, please?

C compiler...TDM-GCC-32. I install windows sdk V7.1 and i found the mshtmhst.h file in sdk's folder,but go get is still said  mshtmhst.h not found.It is about system path?
cmd detail:
C:\Users\BSAA>go get github.com/zserge/webview
github.com/zserge/webview
In file included from C:\workspace\src\github.com\zserge\webview\webview.go:25:0
:
./webview.h:25:22: fatal error: mshtmhst.h: No such file or directory
compilation terminated.

If you get into the webview source tree dir, can you do go build -x to build some of the example apps? It may fail, but should print every command it executes with all the flags. Perhaps it would bring some more clarity on this.

C:\workspace\src\github.com\zserge\webview\examples\canvas-go>go build -x
WORK=C:\Users\BSAA\AppData\Local\Temp\go-build533177278
mkdir -p $WORK\github.com\zserge\webview_obj
mkdir -p $WORK\github.com\zserge
cd C:\workspace\src\github.com\zserge\webview
CGO_LDFLAGS="-g" "-O2" "-lole32" "-lcomctl32" "-loleaut32" "-luuid" "-mwindows"
"C:\Go\pkg\tool\windows_386\cgo.exe" -objdir "C:\Users\BSAA\AppData\Loc
al\Temp\go-build533177278\github.com\zserge\webview\_obj\" -importpath gi
thub.com/zserge/webview -- -I "C:\Users\BSAA\AppData\Local\Temp\go-build53
3177278\github.com\zserge\webview\_obj\" -g -O2 -DWEBVIEW_WINAPI=1 webview.
go
# github.com/zserge/webview
In file included from ....\webview.go:25:0:
./webview.h:25:22: fatal error: mshtmhst.h: No such file or directory
compilation terminated.

oh，I know why.when go get using TDM-GCC-32 and MinGW will fail.It should use MinGW-w64.


Move Relationships Copy and Paste Code to Adapter

Are there any plans to move the relationship code to the adapter?
Cause I'm used to the way it's handled by other ember-data adapters like ember-local-storage or the default json-api adapter.
All relations are saved, deleted and side loaded automatically.

@zaubererty you can "steal" my code from ember-local-storage and open a PR if you want.

@fsmanuel I'll look into it

The relationship handling in ember-pouch is provided by relational-pouch, and my view is that this is the correct layering. The relationship handling that's provided by relational-pouch is not specific to ember-data, and it's a benefit to have this available to people who want to use PouchDB in this way outside of ember-data.

That doesn't mean that ember-pouch is a bad place to extend/alter that relationship handling for Ember-specific purposes...

@dehuszar it's more like relationship sugar than actually relationship handling. It would eliminate the relationships section in the readme.

@zaubererty the relevant part is here.

@dehuszar I understand what you're suggesting now, and yes I think that's reasonable. I think it's important that the behaviour is opt-in, as it is in @fsmanuel's example code.

I submitted a pull request (#145) to do the deletion portion of this.
(note that I have not tested this in production, but the two tests I wrote appear to work.)
I am however, having trouble with the creation portion. When saving the parent record I am getting the following error Cannot read property '_relationships' of undefined. From watching this value through the tests, it looks like this should actually be set to an array with the model of the child. @fsmanuel did you run into anything like that when you implemented it on ember-local-storage?

@dweremeichik When do you get the error?

I have seen the same issue.
For me the reason is that the saving part is not completed yet when you try to add the ID of the related after calling 'rel.save'.
 createRecord: function(store, type, record) {
    this._init(store, type);
    var data = this._recordToData(store, type, record);
    return this.get('db').rel.save(this.getRecordTypeName(type), data).then(
    // ... do the relation saving here results in having a saved child and a unsaved child
    // problem here is ember data adds the unsaved child to the parent and that causes the error
    // my guess is that in the moment the save promise resolves the ember data record is still not saved / reloaded yet
    );
  },

I have seen this error as wel, but it's fixable.  Its basically telling you that somewhere along the way, one side of the relationship didn't get saved.
Make sure you are defining your relationship inverses and saving the parent at least once before adding children to it.
Then make sure you are saving children before you add them to the parent's relationship attr so there's an Id to store.  Then save the parent again after each child has been added.
Also make sure, before you exit out of whatever action saves the original target model, that you trace back through and check whether the inverse has been saved.  With more complex multi-model relationships it can get a little hairy.
The README actually describe the process very well, it's just on you to make sure all the references are in the right place, which is not "The Ember Way".  But I think that's the thrust of this thread

It looks like @zaubererty is correct. Inside of the createRecord function, there is no way for the store to know the id of the record that we are creating. The id for the record we are creating gets returned by pouch. The store does not find out about the id, until we return it with:
return this.get('db').rel.save(this.getRecordTypeName(type), data);
So the question stands, is there a better place to do this?
I'm not really sure why it works for @fsmanuel in ember-local-storage, perhaps because he does not have to wrap it in any promises. Although if we don't do that here, it royally pisses off our tests with inFlight errors.
@dehuszar You are correct, also thanks for the compliment; I wrote the relationship part of the documentation :smile:
I believe that in this scenario, more happens on the ember data side of things after our createRecord function returns, leading to the id not yet being populated in the ember store.
@fsmanuel it is happening when saving the parent record with record.save();. The error is actually coming from inside ember data; and it would appear rightfully so if the id does not yet exist on the record.

I have found a possible solution.
For saving and update i have found a possible way by creating a mixin for the model.
The reason for doing so is cause in the adapter the ID not materialized before the related record is saved and its not possible to wait till its finished.
That is as well the reason for  Cannot read property '_relationships' of undefined, if the record is saved before the ID is materialized in the ember store a null is saved as reference and that causes the error.
For deletion it's the other way around, there it's necessary to do the deletion in the adapter before everything is materialized.
@dweremeichik can you change the option name to { dependent: 'destroy' } that way it would match the ember-local-storage naming.
Do you mind if i create a combined pull request?
I'll name the option for belongsTo { autoSave: true }
Here my unfinished prototype for the delete method:
  deleteRecord: function (store, type, snapshot) {
    this._init(store, type);
    let data = this._recordToData(store, type, snapshot);
    let deletedChildren = [];
    snapshot.eachRelationship((name, descriptor) => {
      if (descriptor.kind === 'belongsTo') {
        let record = snapshot.record.get(name + '.content');
        record.save();
      }
      if (descriptor.kind === 'hasMany' && descriptor.options.cascadeDestroy) {
        let mappedPromise = snapshot.record.get(name).then(childRecords => {
          return Ember.RSVP.all(childRecords.map(childRecord => childRecord.destroyRecord()));
        });
        deletedChildren.push(mappedPromise);
      }
    });
    let deletePromise = new Ember.RSVP.Promise((resolve, reject) => {
      Ember.RSVP.all(deletedChildren).then(() => {
        //Delete the parent
        this.get('db').rel.del(this.getRecordTypeName(type), data).then(() => {
          resolve();
        }).catch(err => {
          reject(err);
        });
      });
    });
    return deletePromise;
  },

Here my unfinished prototype for the model mixin:
import Ember from 'ember';
export default Ember.Mixin.create({
  didCreate() {
    let _this = this;
    console.log('Handle create');
    this.eachRelationship(function (name, descriptor) {
      if (descriptor.kind === 'belongsTo') {
        let record = _this.get(name + '.content');
        record.save();
      }
    });
  },
  didUpdate() {
    let _this = this;
    console.log('Handle update');
    this.eachRelationship(function (name, descriptor) {
      if (descriptor.kind === 'belongsTo') {
        let record = _this.get(name + '.content');
        record.save();
      }
    });
  },
  /*didDelete() {
    let _this = this;
    console.log('Handle delete');
    this.eachRelationship(function (name, descriptor) {
      let record = _this.get(name + '.content');
      if (!Ember.isBlank(record)) {
        record.save();
      }
    });
  },*/
});

@zaubererty I made the changes and pushed it. It would be awesome if you made a combined pull request :smile:.
I briefly tried out your version of the delete method. The following part will not work as expected:
 if (descriptor.kind === 'belongsTo') {
        let record = snapshot.record.get(name + '.content');
        record.save();
      }

record.save() needs to be guarded against records that are already in the process of being deleted. A simple if(!record.get('isDeleted')) should do nicely. This poses a new problem however; the parent record, in our case a gyro, is in the loading state at this point. This leads me to believe that the belongs to portion of this might work better in your mixin?

@zaubererty just checking in on this. Were you able to get the save portion to work via a mixin?


Request: inline styling of calendar

For the project I'm working on we're allowing the customization of components such as font and border colors, etc. To do this we're currently using inline styles (also known as css-in-js, I believe).
Could we get props to pass different style props to the various parts of the calendar component? I can open a PR for this if it's acceptable.

I would also like to be able to use inline style to change the border color. This won't work for react datepicker
`state= {
borderColors:{
startDetails: 'none',
}
}
borderColor = (e, field) => {
e.preventDefault()
let borderColors = this.state.borderColors
e.target.value === '' ? borderColors[field] = 'tomato' : borderColors[field] = '#00988f'
this.setState({borderColors})
}
<DatePicker
className="datePicker"
timeIntervals={15}
selected={values.startDetails}
onBlur = {event => this.borderColor(event, 'startDetails')}
onChange={(event) => this.props.changeField(event, "startDetails")}
showTimeSelect
dateFormat="d MMM yyyy HH:mm"
required
placeholderText={'Date & Time Event Starts'}
style={{borderColor: this.state.borderColors.startDetails}}
/>`


Company link to blog or spinnaker summit vid

Page: /community/
Feedback: it will be great to have a link pointing to a blog from the company in which they show how they use spinnaker. Also to a spinnaker summit vid if available.
thanks

@aleon1220 do you mean a link from each (or one, or several) of the companies listed on here?
@dnilasor , wdyt?

From Each!!!!!

@aleon1220 do you mean a link from each (or one, or several) of the companies listed on here?
@dnilasor , wdyt?

hi yes for each. IT will be great. I am happy to help.

I think that's a great idea, Andres. Let's wait though to hear from @dnilasor ,  because I think she's thought more about the future of this page.

I think that's a great idea, Andres. Let's wait though to hear from @dnilasor , because I think she's thought more about the future of this page.

oh thanks so much. Something i want to consider is to make sure the links are static. Maybe there is a way to copy blogs to our blogs and add links to the original source.
I like joining the SIG meetings but they are very early for me and thats unfortunate.

Hey @aleon1220, super exciting that you are digging into this. I think I need more context on what you envision. A few questions:

how would this compare to the Success Stories page we have now? https://www.spinnaker.io/success-stories/ this page isn't super visible other than from top nav, but the refreshed home page coming soon will have links to it, making it more visible.
I built a very rudimentary (aka crummy) video area for that Success Stories page; it's at the bottom. Are you able to improve it? Or, how did you envision videos being juxtaposed with the blog links?
how were you thinking we'd present the links? as a list on spinnaker.io/community? would there be anything in the side nav?
do you have a list of blogs you think would be good candidates for inclusion to recommend?
I mentioned this above, but to be more clear, this RFC has been approved, and I am nailing down the final budget details before we begin work. Can you take a look at the proposed changes and let us know how, in your mind, this suggestion would fit in? Would the blog links you're talking about fit better/be more visible if they were included in the home page layout we've proposed, for example?
What makes you feel strongly that this belongs in "Community"? I really want to understand what folks are expecting when they click on that tab : )

Lots of extra questions/work for you here but I see you leaning into making spinnaker.io better and I just want to take advantage of that, lol. LMK what you think.

yes it is not so visible.
super cool. Great Job!! I think is ok to have some redundancy of [ blog links + videos ] that occupy a small area. A table of contents to know that the page contains {case studies, testimonials and videos} would make it clearer.
oh i refered to this above. Yes like a simple side nav showing that the sucess-stories page contains {case studies, testimonials and videos}
Yes, i have bookmarked some material i will need to do some clean up and share it somewhere in the google docs of the SIG documentation if is OK.
I can take a look. Thanks for that link. Please take a look at the testimonials page of TIBCO. I find it awesome because is categorized and you can filter. It invites you to spend a good deal  of time in their website just reading and watching vids. It also makes me feel invited to bookmark their page and think about the content they have. I think that should be the goal and that functionality of filtering should be added at some point.
I dont think it belongs to the concept community. I understand community as slack, forums, best practices docs, stack overflow tag, etc. I arrived there because i was reading the section Who’s using Spinnaker?

thanks.
i would like attend next SIG regarding this to see how can i contribute.
I just got started yesterday making the Jekyll Docker container work. I really find it awesome to contribute in technical writing :-)
so let me know how can i serve.
Have an awesome day


Add utility class that forces word breaks on table cells for when users want to put tables in small things

Describe the bug
Table cells are constrained to a minimum width. The table does not auto-fit. Instead, it creates a scrollbar and it seems like the cells with longer text has already reach the minimum width.
I need the table to fit inside a small card or div in a dashboard page.

How to reproduce
https://stackblitz.com/edit/clarity-light-theme-v11-x5hujx

Resize the window to make it smaller.

Expected behavior
The whole table should fit to the parent container and cells should automatically wrap texts. It should resize cells automatically to fit in the parent container like the stackview component:

Versions
App

Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: [e.g. 0.12.5]

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

@whizkidwwe1217
Hi, thanks for filing this issue. We can't make this the default for tables because there would be just as many people wanting us to un-make it the default.
The good news is that it's a fairly simple CSS fix. It can be used as a workaround in the meantime.
This could be helpful as an option to add or remove from tables where needed. And would be welcome as a contribution. I don't know if anyone on our team would be able to pick it up in the near future.

We will also need to add this to the table demos, gemini tests, and dox.

@mathisscott The CSS workaround is good enough for me, thanks! Appreciate it. It's just annoying when the table overlaps the card in the dashboard.

I would like to point out that in your example, you are comparing how the stack view wraps compared to the table. Your stack view example has actual text, with spaces between words. Your table has very long strings without any spaces. If you were to use words and spaces in your table, it would wrap correctly.
I've just discussed this with Scott, and I'm actually going to close this issue. The CSS you have to write in your app to wrap long strings like that (which is unusual) is literally just one line. If we were to add a utility class for it, you'd still have to write one line for that, but it would add maintenance, documentation and bloat the API for us. I can only see downsides to utility classes that add just one line of CSS, they offer almost no value. And the best part is that by using CSS directly, you'll know how to do it when you work with any framework in the future, whereas learning our utility class would not help you grow in any way. 😉

@youdz Thanks for the advice. I'm actually more of a back-end guy and just started learning front-end dev. And yeah, this can be closed and I'm happy with the quick fix. Cheers! (btw, the texts in my sample are actually long texts and can't be broken down into words since they are asp.net core EF migration keys. But I can always truncate it with an ellipsis as an alternative to wrapping).


google assistant voice

Version of the custom_component

1.6.0
Configuration
Describe the bug
It works perfectly fine when turning on the Tesla's air conditioner with google assistant voice, but when opening the trunk or front trunk, the google assistant prompts "You must enter a pin code to perform this action, but the app on the device is currently No pin code has been set", Tesla does not set a place to open the trunk PIN
Debug log

Add your logs here

This isn't Google Assistant voice so I'm not sure how I can fix it.


Test mappings when mapleader is <space>

Works as expected. Using space as mapleader must be defined in one of these two ways (in lua):

vim.g.mapleader = vim.api.nvim_replace_termcodes('<Space>', true, false, true)
vim.g.mapleader = ' '


ARROW-5461: [Java] Add micro-benchmarks for Float8Vector and allocators

For the past days, we have been involved in some performance related issues. In this process, we have created some performance benchmarks, to help us verify performance results.
Now we want to add such micro-benchmarks to the code base, in the hope that they will be helpful for making performance-related decisions and avoid performance degradation.

@liyafan82 thank you for doing this.  Is there a reason you chose to create a new module instead of adding the benchmarks to the existing sub-projects (memory and vector)?

@liyafan82 thank you for doing this. Is there a reason you chose to create a new module instead of adding the benchmarks to the existing sub-projects (memory and vector)?

Good question.
To get reliable and reproducible performance results, JMH is the preferred benchmark framework (as recommended by Jacques Nadeau). And creating a standalone project is the recommended way of doing this. Please see https://openjdk.java.net/projects/code-tools/jmh/

@liyafan82 can the benchmarks be placed under test instead of main?
Also would it make sense to put them in the same package as the classes they are testing, I think that would make them more discoverable?

I have moved them to the same packages as their related classes. Thanks for the good suggestion.
In addition, I have also placed them as test cases in the test directory. However, I am not sure if this is exactly what you want, since benchmark evaluating can be time consuming. Do you want these benchmarks to be moved to the test directory, and still evaluated by the main method?

Thanks. +1, LGTM

(test failure appears unrelated)


Provide a new rule to check size of functions, method, constructor or arrow functions

PR checklist

[X] Addresses an existing issue: #2881
[X] enhancement

[X] Includes tests

[ ] Documentation update

Overview of change:
New rule, new tests, modification on all.ts
This change count the number of lines of functions, methods, constructor or arrow functions.
Is there anything you'd like reviewers to focus on?
Maybe you could suggest me an improvement about how getting correctly the part before the block (at failure creation). First time i highlight all the function node but i got errors with my test templates

CHANGELOG.md entry:

Thanks for your interest in palantir/tslint, @TristanFAURE! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

I will fix the error in the build it seems my tslint had bad configuration.
Nevertheless it seems that my new rule has been verified on other files. I think I should set a default value higher than 200 (which is common on industry) what would you suggest ?

Another thing to consider: Would it make sense to add special handling for nested functions and classes, i.e. don't count their lines to the total?

I will ask guys from the quality in my office thursday, do you have an example ?

@TristanFAURE
Take this function for example: https://github.com/palantir/tslint/blob/master/src/rules/arrayTypeRule.ts#L59
walk is actually split into several small functions, but they need to be located inside the function body to close over local variables (otherwise you end up with unwieldy parameter lists). With the current implementation of this rule all lines of the nested closures checkArrayType and checkTypeReference are counted to the total of walk.

Hello,
I got feedbacks from quality guys.They ask me (and i don't have the answers) if nested functions can be called by external functions ?
if no (so they are private) they consider the current behavior of the rule correct (the enclosing function's size = current function + nested)

@ajafff I have updated tests to manage my latest feedbacks from guys of my company. If you are ok with contribution I have nothing to add

I'm fine with the current implementation, although I think an option to not include nested functions in the total line count would make sense. Maybe @adidahiya or @nchen63 want to share their opinions regarding this.

Why not !
Another question is : I have read in software quality documents some rules about line count of executing code (without blank one and comments).
If the rule says < 100 lines and the quality document says < 100 executing lines it is okay, the software is compliant with the rule but in other rules do you count commented and blank lines ?

Hello it seems that there are no comments from @adidahiya or @nchen63  ?

Sorry, I don't really see how this would be very useful in practice. Are there any other code quality tools that do automated checks for function line length? I'm hesitant to add this as a core rule.

Pmd :
http://pmd.sourceforge.net/pmd-4.3.0/rules/codesize.html (excessive method length)
A standard example :
http://www.ecss.nl/wp-content/uploads/handbooks/ecss-q-hb/ECSS-Q-HB-80-04A30March2011.doc (p64)

@adidahiya It's one of the basic clean code metrics. Long functions are complex, hard to test and less readable. Enforcing function length will make the dev to split the code into smaller pieces which will be easier to test and understand due to greater amount of function names. Also the recommended number is 10 lines per function.

Hello do you have some updates about this PR integration ?

My team will be using this the day it is merged. Great idea for a rule!

Ok, we can add this as a core rule. I do think that an option to ignore nested functions would be very useful.

new commits implementing options which to include nestedFunctions or not.
I hope the implementation is ok for you

thank you for these feedback as soon as possible i will modify my PR. If everybody is OK i will use : "exclude-nested-trailing-functions" otherwise I will use your suggestions

Hello
I tried another way substracting to final line numbers the number of lines of subfunctions
I don't really like the way I modify nbLinesToDrop in my function. Do you have visitor mechanisms that can return numbers? Initially I used forEachChild result but as the doc said the visit process is stoped at first result found.
'''typescript
class MaxMethodLine extends Lint.AbstractWalker<{limit: number; includesNested: boolean}> {
public walk(sourceFile: ts.SourceFile) {
const cb = (node: ts.Node): void => {
if (isFunctionWithBody(node)) {
const limit = this.options.limit;
const lines = this.countLines(node.body!);
if (lines > limit) {
this.addFailure(node.getStart(this.sourceFile), node.body!.pos, FAILURE_STRING(lines, limit));
}
}
return ts.forEachChild(node, cb);
};
return ts.forEachChild(sourceFile, cb);
}
private countLines(node: ts.Node): number {
    const includesNested = this.options.includesNested;
    let nbLinesToDrop = 0;
    if (!includesNested) {
        const nbLinesToDropFunction = (anode: ts.Node): void => {
            if (isFunctionDeclaration(anode) || isFunctionWithBody(anode)) {
                nbLinesToDrop += this.countLines(anode.body!);
            }
            ts.forEachChild(anode, nbLinesToDropFunction);
        };
        ts.forEachChild(node, nbLinesToDropFunction);
    }
    const nbLines = ts.getLineAndCharacterOfPosition(this.sourceFile, node.end).line
        - ts.getLineAndCharacterOfPosition(this.sourceFile, node.getStart(this.sourceFile)).line;
    return nbLines + 1 - nbLinesToDrop;
}

}

I'm not sure to totally understand your solution
First to have something equivalent to the "true" boolean option imagin we have a "include-nested-trailing-functions"

My proposed solution would only exclude function declarations after the last statement in the function. That's why I called it "exclude-nested-trailing-functions"
function foo() {
    bar();
    baz();
    return; // line count ends here
    function bar() {
    }
    function baz() {
    }
}

It won't cover any other case where functions are declared in between statements.

Your latest solution:
I think it's fine to modify nbLinesToDrop inside the closure. There's no better way to do that.
It will exclude small arrow functions as well:
[1, 2, 3].forEach((el) => doStuff(el)); // this line will be excluded
[1, 2, 3].map((el) => el * Math.random()).forEach((el) => doStuff(el)); // this line will be excluded TWICE

And it traverses the whole AST subtree multiple times which decreases performance.
We probably need to find a tradeoff between usability and complexity.

Ok thank you for the feedback !
sorry to not understand first the "trailing" part. I think from a quality assurance point of view it is not possible to exclude "only trailing" ....
About the closure code, indeed it is not efficient to analyze several time the AST but I don't understand my code doesn't work with this test 👍
// test nested functions
function walk1(ctx: Lint.WalkContext): void {
const { sourceFile, options: option } = ctx;
return ts.forEachChild(sourceFile, function cb(node): void {
switch (node.kind) {
case ts.SyntaxKind.ArrayType:
checkArrayType(node as ts.ArrayTypeNode
}
return ts.forEachChild(node, cb);
});
    function checkArrayType(node: ts.ArrayTypeNode): void {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   [err % ("17")]
        const { elementType, parent } = node;
        if (option === "array" || option === "array-simple" && isSimpleType(elementType)) {
            return;
        }

...

Hello @ajafff I just updated my pull request to correctly (i hope) compute the length of method (nested including or not) after merging latest changes.
But I don't understand why I have so much changes identified ? Did I do something wrong ?
Can you help me to clean my pull request, you can also check my latest changes

@adidahiya or @ajafff your opinion ?

Hello is somebody ok to review this PR ?

Hi @TristanFAURE, sorry for such a delay. Were slowly getting through all the PRs and hope to review this soon!
Thanks,
TSLint team

Any progress on this thread?

So what is the status of the PR ? This would make the life of a lot of developers easier..

@MonsieurMan I will take a look of your PR as soon as possible thanks

@TristanFAURE TristanFAURE/tslint#2
Here it is, I did not got through the second step now that I remember 😅

Hi guys, absolutely awesome that you are working on this feature for the tslint! I cannot wait for this to be released for our team. Any idea on how long?

@jdcrecur It is up to the tslint team now, I suggest you +1 the issue and we wait for an update.

as you want I can cancel my PR maybe it would be interesting to have the opinion of @MonsieurMan
concerning my need, in my context we decided to finally use this : https://github.com/Microsoft/tslint-microsoft-contrib/blob/master/src/maxFuncBodyLengthRule.ts

Ok @TristanFAURE, we'll go with that one.
Thanks so much for sending this and discussing it! Once the rule goes in, this'll be great reference as discussions around the different pros and cons of different options.

Cool !
Sorry I don't have much time for open source right now


Use circular buffer

Last item of the array should be immediately before first item, creating a circular buffer

Not valid anymore.


Add metrics linter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 85.766%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
4935

Relevant Lines:
5754

💛  - Coveralls


HDFS, WebHDFS, HTTP I/O is not encoding-aware

The HDFS and Http subsystems does not do any text encoding or decoding.

HdfsOpenRead returns the stdout from a Popen, so it will be in whatever encoding Popen uses for pipes (could be UTF-8, or raw bytes)
HdfsOpenWrite writes bytes directly into the stdin of a Popen
WebHdfsOpenRead reads bytes directly (requests.get returns bytes when stream=True)
HttpOpenRead also reads bytes directly (uses requests in the same manner as above).

I think this is resolved by #185

@mpenkov :+1:


PHP autoload.php references non-existent vendor directory

In the Google API PHP Client there is /Google/autoload.php
This file within itself references /vendor/autoload.php
The /vendor/ folder does not exist, so this will always throw an error.
All the examples I can find say to require_once DIR.'/vendor/autoload.php'; but even if vendor folder existed, the autoload.php file simply references itself and does not do anything.
So which file in the /Google/ folder should we include instead of autoload.php?

Same problem here, any information?

You should install the lib via composer require google/apiclient.
This Google API client is intended to be used with composer. It will generate a correct autoload file, that you should be using to include the lib in your app.

Using shared hosting so installing Composer is not an option.
I am trying to use the SERVICE ACCOUNT KEY setup in Google Developers Console so can access private liveStream and liveBroadcast informaton from YouTube API.
There must be a simpler way to do this :(

Or you can also download the full release (including dependencies) : , please read the readme file.
Shared hosting should not prevent you from using Composer, unless your host don't want outbound connections to Packagist...

It looks like the latest release does not have a release package. I am looking into that and in the mean time the non-composer work around is to download the source zip from 2.2.1 and google-api-php-client-2.2.0.zip from the previous release and copy the latter's vendor directory into your 2.2.1 directory tree.

Shared host wont let me install Composer.
The readme file even says to use the require_once '/path/to/google-api-php-client/vendor/autoload.php'; however as I pointed out before, there is no VENDOR folder in the downloaded release.
And also, again, if you look at the autoload.php file it is also referencing /vendor/autuload.php and will ALWAYS generate an error.
And the full release also is missing the GuzzleHttp\ClientInterface class

Copying VENDOR folder from 2.2.0 to 2.2.1 seems to have solved all the problems.
Thanks @mattwhisenhunt

Also experiencing this as an issue on my setup.
Please continue to support a non-composer install option going forward.

Wow, so sorry for missing this everyone. The proper zip files with all dependencies has been added to v2.2.1.
Thank you all for this feedback, it's really good to know so many of you are using the non-composer install option.
@mattwhisenhunt FYI I've been using this script to create the release packages.

This is the same issue as #1381
I was stumped for days...please update the readme to reflect different version for non-composer to save others time.

Yes, the lead from the google help page give us the wrong zip => google-api-php-client-master.zip without vendor folder
https://developers.google.com/api-client-library/php/start/installation


Training Code

Very Interesting work.
Do you have any plan to make the code public?

Yes, probably by the end of May I'll release the training code.


determanistic k

should avoid DSA catastrophically breaking if the random number generator is poor, needs better tests before it can merge (test vectors likely)

so it passes but not if the hash length is shorter then q, curious

ok passes all the test vectors in rfc 6979, note i added dsa signatures of sha2 hashes in order to test this, the upside of this is that DSA signatures should work even if there is no good source of entropy.

merged


camera_web should produce seekable videos

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Using the camera package on web you can obtain a video, you can then play this video directly in a video player to preview it. Unfortunately, Chrome has a longstanding bug that it creates bad unseekable videos, and camera_web inherits this problem, making camera_web and video_player_web integrate together poorly in Chrome:
https://bugs.chromium.org/p/chromium/issues/detail?id=642012
Proposal
The webm spec was changed because this is a really big problem in practice, but the Chrome team hasn't fixed chrome yet (firefox does it properly). Until the Chrome team gets around to fixing Chrome (if they ever reopen the issue), it would be nice if the camera_web package fixed up the video to be seekable before returning it so that the video player package can deal with it more properly. Here's an example package that does this:
https://github.com/buynao/webm-duration-fix

If the only way to resolve it is to post-process the video with a third party package anyway (and thus not something that can be done more efficiently if implemented within the plugin), what is the argument for adding that complexity to the plugin? The purpose of the plugin is to allow capture, not to do post-processing, and there are nearly infinite possible things clients could want to do to a video; I don't see a compelling reason to add this specific one to the plugin.

As it is now, any app built with flutter that tries to record a video and pop it in the video recorder directly so it can be previewed before upload will be broken in chrome with regard to seek and duration information.

Isn't that also true of any web app not built with Flutter?

This is not about adding complexity to the plugin

How do you propose implementing this proposal without adding any complexity to the plugin?

it's about making the interaction between the camera and video_player plugins flutter work consistently across all platforms with regard to expected user behavior. I believe every anyone using the camera and video_player package on web will hit this issue and have a subpar experience.

What about people using camera but not using video_player, and who don't want this alteration to the data? Which means increased API complexity to opt into running a step that could just as easily be run directly by clients who do want that behavior instead.

If making things work consistently across all platforms requires a little extra complexity to get right, isn't that exactly the value proposition of flutter?

Abstracting away all platform differences is not a goal of our plugins. For instance, some people have asked for us to add transcoders to camera in the name of abstracting away platform differences in recording formats, and we don't do that either.
To the extent that abstracting things is a goal for the Flutter ecosystem as whole, having a separate package that does this would also allow people to build experiences that work consistently across all platforms (presumably with one or two lines of code in the app). What is the downside to that approach?

Isn't that also true of any web app not built with Flutter?

The issue isn't whether it's true of any web app not built with flutter. The issue is that this basic and common scenario works on iOS native, works on Android native, works on Desktop native, works on Firefox, works on Safari, and fails in Chrome. I don't expect my web app to give me a native iOS app, I do expect Flutter to give me an app that works across platforms, that's the whole reason I'm using it.

How do you propose implementing this proposal without adding any complexity to the plugin?

I would propose that moving the headers around is fairly low in complexity for the value it provides.

What about people using camera but not using video_player, and who don't want this alteration to the data? Which means increased API complexity to opt into running a step that could (as far as I can tell from the discussion above) just as easily be run directly by clients who do want that behavior instead.

There isn't anyone who prefers a video that is not seekable, that's why Firefox and other browsers give you the video this way already. It's only Chrome where this issue occurs. There would be zero breaking changes introduced by fixing the data transparently and it requires zero changes to the API interface to make happen.

Abstracting away all platform differences is not a goal of our plugins. For instance, some people have asked for us to add transcoders to camera in the name of abstracting away platform differences in recording formats, and we don't do that either. Instead we encourage people who want to transcode the videos produced by camera to find stand-alone packages that do that post-processing step.

This is not transcoding, it's not changing the format. It's patching a bug that only occurs in a specific browser, which is not unusual at all for web libraries to do to save their users frustration.

To the extent that abstracting things is a goal for the Flutter ecosystem as whole, having a separate package that does this would also allow people to build experiences that work consistently across all platforms (presumably with one or two lines of code in the app). What is the downside to that approach?

The downside is that anyone who ever tries to use the camera package on web and preview their file before uploading it will have a bad experience, then have to go hunt for another package to fix the problem.
The better question is what's the real downside to the plugin working out of the box? A few lines of code? Certainly another package to fix the data or a utility function within the camera_web package would be better than nothing, but I'd be interested to know if there's really any user who is using camera_web + video_player_web and thinks the current behavior is desirable and that fixing this would not be worth the effort.
Regardless, such a package does not currently exist, so every flutter web user that needs to preview a captured video on web is going to be faced with a significant problem, and have no solution outside of writing it themselves or figuring out how to integrate an npm package into their flutter app to solve the problem. I'd suggest that it's worth the flutter team solving that general problem, regardless of whether it's fixing the camera plugin to work properly out of the box (my preference), adding a utility function to the package, or publishing another package.

I do expect Flutter to give me an app that works across platforms, that's the whole reason I'm using it.

It currently works as well as the platform does. Again, abstracting away all platform differences is a non-goal for our plugins. If people want to write wrappers that provider higher levels of abstraction with more polyfill, that's certainly an option.

There isn't anyone who prefers a video that is not seekable [...] There would be zero breaking changes introduced by fixing the data transparently

How have you determined that nobody using camera has any reliance on the output matching the underlying platform?

This is not transcoding, it's not changing the format.

I didn't say it was; please re-read my comment. I was providing an example of previous cases of us explicitly not abstracting away platform differences in camera even though it's something that has been requested by other developers, using exactly the same argument you are making here (i.e., the proposition that we have an obligation in the 1P plugins to use polyfills to abstract away any platform differences).

The downside is that anyone who ever tries to use the camera package on web and preview their file before uploading it will have a bad experience, then have to go hunt for another package to fix the problem.

That seems easily resolvable with a comment in the camera_web README.

The better question is what's the real downside to the plugin working out of the box?

Expending finite resources on maintaining complexity that could just as easily be done by the community at large, so the Flutter team can focus those limited resources on things that can't trivially be separate packages.

A few lines of code?

The package you linked to is over 6,000 lines of code. It is substantially more code than the entire camera_web implementation.

Regardless, such a package does not currently exist, so every flutter web user that needs to preview a captured video on web is going to be faced with a significant problem, and have no solution outside of writing it themselves or figuring out how to integrate an npm package into their flutter app to solve the problem. I'd suggest that it's worth the flutter team solving that general problem

This argument can be (and often is) applied to literally any functionality that any developer wants.jJust because there exist people in the Flutter community who want some piece of functionality doesn't mean the Flutter team should be the ones to implement it, nor is that even remotely possible for that to be the case.
This can easily be a separate package, and doesn't require any specialized knowledge that is specific to the Flutter team, so seems very well positioned to be implemented by the community in general.
I'll also point out that you are simultaneously arguing that:

this is so trivial to implement that it would cost the Flutter team essentially nothing to write and maintain, and also that
this is so hard that the Flutter team needs to step in because it's too complex for the community to be able to resolve.

Both cannot be true.

I'll also point out that you are simultaneously arguing that:

this is so trivial to implement that it would cost the Flutter team essentially nothing to write and maintain, and also that
this is so hard that the Flutter team needs to step in because it's too complex for the community to be able to resolve.

Both cannot be true.

No, I am arguing that a user wanting to see a seekable preview a video that they recorded before uploading is something that should be supported out of the box.
You are putting words in my mouth. I didn't say ever say it would cost nothing to maintain. I said everyone who uses flutter web and wants to preview a video before they upload it is going to have a bad experience in Chrome and I believe that they should not have a bad experience.
I do think it's worth the flutter team spending time to fix it, but that's not really the issue. I wouldn't even mind contributing the fix myself. The question is whether the flutter team cares that this very basic scenario is broken in Chrome enough to even accept a pull request that fixes it.

@stuartmorgan there is another potential solution if someone on the flutter team has contacts on the Chrome team, which is if the Flutter team could reach out to the Chrome team and request that they fix it, then everyone could be happy. Either way, the state of Chrome and Flutter together leave something to be desired in this area. This is something that video recording packages in the JS ecosystem have worked around and have solutions for, but there is not currently a Dart / Flutter solution to the problem and it's certainly frustrating as an end user when you run into things like this doing very basic things which are unique to the Flutter ecosystem and the Flutter team doesn't seem to care about. I see 18 different video recorder packages on NPM that have this fix built in. Zero on pub.dev.

You are putting words in my mouth. I didn't say ever say it would cost nothing to maintain.

Apologies, that was not my intent. I read the argument that the only downside would be "a few lines of code" as suggesting that this would be trivial.

if the Flutter team could reach out to the Chrome team and request that they fix it, then everyone could be happy

Lack of requests to change the behavior does not appear to be a factor in the Chromium issue you linked above.

it's certainly frustrating as an end user when you run into things like this doing very basic things which are unique to the Flutter ecosystem

This problem isn't unique to the Flutter ecosystem though. The lack of existing solutions in the ecosystem may be, but I haven't suggested that the Flutter ecosystem shouldn't address it.

I wouldn't even mind contributing the fix myself.
[...]
there is not currently a Dart / Flutter solution to the problem

The lack of of-the-shelf solutions on pub.dev is, as I mentioned earlier, something that anyone could fix. If you are willing to create a Dart solution as a PR for camera, why not as a stand-alone package, solving the problem of the being no Dart solutions to the problem (and being usable with any package, rather than just camera)? Notably, the thing you linked to in the initial issue report is exactly that: a stand-alone package that allows adjusting video files, not connected to or embedded in a video player.

The lack of of-the-shelf solutions on pub.dev is, as I mentioned earlier, something that anyone could fix. If you are willing to create a Dart solution as a PR for camera, why not as a stand-alone package, solving the problem of the being no Dart solutions to the problem (and being usable with any package, rather than just camera)? Notably, the thing you linked to in the initial issue report is exactly that: a stand-alone package that allows adjusting video files, not connected to or embedded in a video player.

It is, yet it's also something no one has fixed. I love flutter, but flutter web is a mess when it comes to things like video and media right now. Anyone trying to build any solution that has to playback videos has to deal with things like the video player randomly crashing, running out of platform layers, and basic things like playing back a recorded video not working. The Flutter team of course is free to do whatever they want, but as a user who has done all of this stuff both outside of Flutter web and inside of Flutter web, it sucks a hell of a lot more to do this stuff on Flutter. Seems like the Flutter web team has a drastically lower bar than the other teams, as well as a drastically lower bar than random dudes publishing JS packages on NPM.

Seems like the Flutter web team has a drastically lower bar than the other teams, as well as a drastically lower bar than random dudes publishing JS packages on NPM.

@jezell I wouldn't characterize it as a quality bar, but more feature completeness. It's actually quite likely that random dudes on NPM have more time and dedication to provide a more complete feature set in their packages. We have limited resources on the Flutter Web team, and so we have to control the scope of features that we can support. In particular, we have to prioritize issues that cannot be solved by pub packages, such as bugs and performance issues in the engine and in the framework. So, PRs are welcome, but also, as @stuartmorgan is saying, maybe this is better achieved as a community package (maintained by random dudes 😄).

Seems like the Flutter web team has a drastically lower bar than the other teams

Examples of other web development frameworks where this workaround is maintained by the developers of the core framework itself could be helpful in giving context to the request that the Flutter team own this.

@jezell I wouldn't characterize it as a quality bar, but more feature completeness. It's actually quite likely that random dudes on NPM have more time and dedication to provide a more complete feature set in their packages. We have limited resources on the Flutter Web team, and so we have to control the scope of features that we can support.

I get it, and the team has accomplished a lot of great stuff, but come on, we can't even play a video more than a couple times without the video player crashing on web (https://github.com/flutter/flutter/issues/136309). That's a cop out. Media support sucks on flutter web, that's a fact that we have to deal with every day. Flutter is so great at solving everything else on the cross platform side that we are still happy to work around it, but it's not production level stuff on the media end. It's  an endless stream of fighting Flutter to do basic stuff. Those issues are unique to Flutter web. We don't have those issues with the other implementations of the engine.

@yjbanov here's another example: https://github.com/dart-lang/http/issues/1030. I can't even upload a media file to S3 or GCS because dart web is stuck in IE 5.5 land. The response from the team is that it's fine that a class that exists to stream http requests doesn't actually stream and I should just use another package instead of the built in one. I get the value of having packages to fill gaps in the ecosystem, but I can't even make a simple demo app that records a video, plays the video with a seek bar, and then uploads it right now without throwing away broken classes in the framework and getting alternative ones or building my own.

@yjbanov I mean, it's three very basic things I want to do. I need a video recorder, a video player, and an http request to work. The video recorder is broke. The video player is broke. The http request is broke. This is what I mean about a low quality bar. These are unique issues to flutter web. They don't exist on android and ios and they don't exist if I throw flutter out and go with pretty much any random js lib.

Please consult our code of conduct. The last few comments are way out of line.


Corrected czech translations, fixed translations propagation in FieldList.

Great job noticing that FieldList issue.
Forgive me, since I don't personally speak czech, but given you changed almost every translation, can you explain the nature of  Špatně versus Neplatný / Neplatná

Yes, i know it looks weird :-) "Špatně" means "bad" in czech. "Neplatný" is exact translation of word "invalid". In fact message "Not a valid list" was (in the current version) in czech literally "Bad list". Similarly "Not a valid decimal value number" was "Bad decimal number",  "Invalid field name" was "Bad field name"(which is not that bad :-)), "Not a valid date value" was "Bad date" and so on... I think my version is more exact and consistent :-)


Add a distribution licence

The project has no open source licence

Are you intending to use it for something? If so, which license do you recommend?

I'm Intending to use it in visual based brain-computer interface experiments to track eye-gaze.
I suggest MIT license.

Cool yeah the MIT license seems like the best for reuse. Just added it. Good luck in your experiments.

Thanks, I'll let you know about the progress I make.

Hiii,
I am trying to use this code but its not working properly.There is no  SURF library in  opencv3.0.what should I do?Its urgent for my mega project.Can you please help me?

@abk27 I had the same issue with the latest OpenCV version (>=3.0.0) but I found the solution, open a new issue and we'll work it out.

thanks @okbalefthanded .Can you tell me what is solution for this . Right now I am using window,Should I shift towards the linux? Just tell me all version of software and I will start again the implementation .Thanks a lot for helping me.

@abk27 you don't have to switch to linux, I opened a new Issue explaining how to solve your problem:
https://github.com/LukeAllen/optimeyes/issues/3

@abk27 please note that this code is just a proof-of-concept from my research paper, not a production-ready library. You should not depend on it if you have a project with a deadline.


Fix the exception "NullReferenceException" throw by set swagger command.

This issue is cause by Schema.Properties is null,  when this exception occur, it will set the Structure to null.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: littlesmilelove sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @littlesmilelove - thanks for the PR! Would you mind adding a test or two for this scenario? You can probably follow the pattern in SetSwaggerCommandTests.ExecuteAsync_WithoutChildDirectories_SetsHttpStateSwaggerStructure and SetSwaggerCommandTests.ExecuteAsync_WithChildDirectories_SetsHttpStateSwaggerStructureWithChildDirectorStuctureInfo.


Ratios need oob handling

Sometimes ratios create Inf values. These need dealing with before plotting, either using na_if(Inf) or some clever use of scale_x_continuous(oob = scales::oob_censor_any()).

OK, a trivial reproducible example is CD166_19_xrf$Fe/CD166_19_xrf$Sc.
A suggested fix:
CD166_19_xrf %>%
  mutate(`Fe/Sc` = Fe/Sc) %>%
  mutate_if(is.numeric, list(~na_if(., Inf))) %>%
  pull(`Fe/Sc`)

Closed with de8090c


Release Google.Cloud.Trace.V2 version 3.4.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.Trace.V2-3.4.0


PIS 'disease' doesn't work with Apache Jena (RIOT) v4.5.0

Describe the bug
When running riot from Apache Jena v4.5.0, it produces a different output compared to v4.4.0, which makes PIS crash at disease step, after trying to process EFO data.
Observed behaviour
This error is preventing PIS from completing disease step:
2022-05-23 12:16:12,950 plugins.helpers.EFO ERROR - Error processing child: {"@id": "obo:GO_0051641"}
ERROR: 'dict' object has no attribute 'startswith'

Detected within this code block in the EFO Helper module of PIS
def get_nodes(self, node, path):
        """
        Compute all the location ID children under a given node recursively in the node subtree.

        :param node: node to get the children for
        :param path: already visited nodes
        :return: all the location ID children for the given node, taking into account the already visited nodes
        """
        logger.debug("[EFO Helper]\t\t\t---| Get nodes |---")
        data = set()
        data.add(node)
        path.add(node)
        children = self.get_children(node)
        if children:
            lista = set()
            for child in children:
                try:
                    if not child.startswith("obo:"):
                        lista.update(self.get_nodes(child, path))
                    else:
                        child_clean_code = re.sub(r'^.*?:', '', child)
                        lista.add(child_clean_code)
                except Exception as e:
                    logger.error("Error processing child: {}\nERROR: {}".format(json.dumps(child), e))
            data.update(lista)
        return data

It looks like when using Apache Jena v4.4.0, the child node is just a string, while in Jena v4.5.0 conversion output, it is an object with one key, @id
Expected behaviour
All child nodes within the EFO converted dataset should be processed
To Reproduce
Steps to reproduce the behaviour:

Build a docker image for PIS using the provided Dockerfile
Run disease step as directed by the instructions on the README file

Additional context
Although we could freeze Apache Jena to version 4.4.0, this is not easy when it comes to development environments that don't use the containerization process for debugging while carrying out development tasks in PIS, and we need to find out why there is such a big change in Apache Jena output from String to Object (dict) when using the latest version, as this could unveil inconsistencies in its output for previous releases.

This issue is very likely to be related to structural changes in the conversion output, thus, I downloaded EFO v3.42.0 from here, and run a RIOT conversion to JSON-LD, with the following results:
Given a sample ID efo:EFO_0007516
For RIOT v4.4.0
{
  "@id": "efo:EFO_0007516",
  "@type": "Class",
  "IAO_0000115": [
    "A parasitic helminthiasis infectious disease that involves zoonotic infection of humans by the larvae of Toxocara canis or Toxocara cati. The larvae invade multiple tissues like liver, heart, lungs, brain, muscle and eyes causing various symptoms including fever, anorexia, weight loss, cough, wheezing, rashes, hepatosplenomegaly, hypereosinophilia and ophthalmologic lesions.",
    "A parasitic infection caused by worms found in domestic animals. In humans nematode larvae enter the portal system from the small intestine and disseminate in visceral organs causing inflammatory reactions. Signs and symptoms include eosinophilia, hepatomegaly, splenomegaly, and lung infections."
  ],
  "IAO_0000117": "Sirarat Sarntivijai",
  "closeMatch": "http://identifiers.org/meddra/10044269",
  "exactMatch": [
    "obo:Orphanet_3343",
    "http://identifiers.org/snomedct/406619001",
    "obo:NCIT_C34758",
    "http://linkedlifedata.com/resource/umls/id/C0040553",
    "obo:DOID_9790",
    "http://identifiers.org/mesh/D014120"
  ],
  "hasDbXref": [
    "MedDRA:10044269",
    "MONDO:0005988",
    "ICD9:128.0",
    "Orphanet:3343",
    "MESH:D014120",
    "NCIT:C34758",
    "DOID:9790",
    "MeSH:D007816",
    "SCTID:406619001",
    "GARD:0007788",
    "UMLS:C0040553"
  ],
  "hasExactSynonym": [
    "toxocariasis",
    "Larva Migrans, Visceral",
    "visceral larva migrans",
    "Toxocara infectious disease",
    "Toxocara infection",
    "Toxocara disease or disorder",
    "infection by Toxascaris",
    "Infection by Toxascaris (disorder)",
    "Toxocara caused disease or disorder"
  ],
  "id": "EFO:0007516",
  "inSubset": "mondo:ordo_disease",
  "label": "toxocariasis",
  "subClassOf": "efo:EFO_0007156"
}

For RIOT v4.5.0
{
  "@id": "efo:EFO_0007516",
  "obo:IAO_0000117": "Sirarat Sarntivijai",
  "obo:IAO_0000115": [
    "A parasitic helminthiasis infectious disease that involves zoonotic infection of humans by the larvae of Toxocara canis or Toxocara cati. The larvae invade multiple tissues like liver, heart, lungs, brain, muscle and eyes causing various symptoms including fever, anorexia, weight loss, cough, wheezing, rashes, hepatosplenomegaly, hypereosinophilia and ophthalmologic lesions.",
    "A parasitic infection caused by worms found in domestic animals. In humans nematode larvae enter the portal system from the small intestine and disseminate in visceral organs causing inflammatory reactions. Signs and symptoms include eosinophilia, hepatomegaly, splenomegaly, and lung infections."
  ],
  "oboInOwl:hasExactSynonym": [
    "toxocariasis",
    "Larva Migrans, Visceral",
    "visceral larva migrans",
    "Toxocara infectious disease",
    "Toxocara infection",
    "Toxocara disease or disorder",
    "infection by Toxascaris",
    "Infection by Toxascaris (disorder)",
    "Toxocara caused disease or disorder"
  ],
  "mondo:exactMatch": [
    {
      "@id": "obo:Orphanet_3343"
    },
    {
      "@id": "http://identifiers.org/snomedct/406619001"
    },
    {
      "@id": "obo:NCIT_C34758"
    },
    {
      "@id": "http://linkedlifedata.com/resource/umls/id/C0040553"
    },
    {
      "@id": "obo:DOID_9790"
    },
    {
      "@id": "http://identifiers.org/mesh/D014120"
    }
  ],
  "oboInOwl:id": "EFO:0007516",
  "oboInOwl:hasDbXref": [
    "MedDRA:10044269",
    "MONDO:0005988",
    "ICD9:128.0",
    "Orphanet:3343",
    "MESH:D014120",
    "NCIT:C34758",
    "DOID:9790",
    "MeSH:D007816",
    "SCTID:406619001",
    "GARD:0007788",
    "UMLS:C0040553"
  ],
  "rdfs:label": "toxocariasis",
  "oboInOwl:inSubset": {
    "@id": "mondo:ordo_disease"
  },
  "mondo:closeMatch": {
    "@id": "http://identifiers.org/meddra/10044269"
  },
  "rdfs:subClassOf": {
    "@id": "efo:EFO_0007156"
  },
  "@type": "Class"
}

@DSuveges @d0choa, I think this would benefit from a chat together to find out why Apache Jena seems to be populating namespaces into output keys, and changing some attribute values from primitive types to objects.

This is not going to change, PIS will run via either a docker image (custom RIOT install) or an operations VM (again, custom environment).
We don't need to review the new RIOT version output right now.


[Public Catalog] New quickstarts are not appearing on the i/o site

Relates to PR https://github.com/newrelic/newrelic-quickstarts/pull/642
A hero request to add new notification quickstarts has shown that we aren't updating the quickstarts on the developer site but they are being updated perfectly fine on staging and production for the internal I/O Catalog
Acceptance Criteria

[x] Determine why the site is not being updated
[x] Update site so all new quickstarts appear

Ok i've figured out the issue here, some of the Quickstarts are failing the build. Slack is the first one. The code is looking for a documentation or install plan entry  when trying to create the install button, i'll try to fix that now

@jpvajda  Ok so the last consideration here is that without a documentation entry there will be no See documentation  button on the quickstart in the public catalog and in Product, so the user will have to click the link in the description to get there, which may not be ideal? It looks like this in the catalog


How to run bcc tools in a script instead of one-line commands

Hi, I plan to measure various OS latencies through bcc/bpftrace tools for different workloads. Please let me know how to achieve this through a script?

sudo bpftrace $FILENAME?


Doesn't work with the new diffusers

I think diffusers upgraded, and removed CrossAttention class? It seems to be no longer compatible.

Will update, please use the diffusers version specified in requirements.txt (0.14.0).

Resolved by #41


[BUG] Can't manually input color hex codes

Describe the bug
The theme panel has some color pickers that let you customize the primary, background, and text colors. The problem is that when you select the text box with the color hex code, you're not able to edit that directly. This is an issue because one might want to use a specific color to match the picture.
Product Flavor

[x] Managed (https://rxresu.me)
[ ] Self Hosted

To Reproduce

Open a resume in the resume editor
Click on the theme panel in the right menu
Click one of the color pickers
Try to change the hex code manually

Expected behavior
There should be a way to both use the color picker and edit the color manually. The color picker should update when the hex code is manually changed.
Desktop (please complete the following information):

OS: Windows 11
Browser Brave
Version: Brave 1.46.144 Chromium: 108.0.5359.128 (Official Build) (64-bit)

I also have this issue, do we have any work-arounds?

+1 to experiencing this issue

Fixed in #1842
cc: @AmruthPillai


Flet build apk fails when integrating Gemini and ChatGpt API.

I am facing issues when I integrate gemini and chatgpt api and using the flet build apk command. The api works on local host but freezes during build. I have raised a similar issue earlier but did not receive adequate feedback.
Additional note: all of the flet build commands do not work when using those api's.
flet 0.21.0
Python 3.12.0
Windows 11

Try firstly upgrade to python 3.12.2.  3.12.0 has some serious known bugs.

Thanks I'll do that

When opening a issue (bug) please make sure to provide all information as required by the bug-report template. We cannot guess...


[visq] Introduce initial VisqProvider

This will intrododuce initial VisqProvider to show visq quantization error in graph view.
ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

for #1350, from draft #1351


3D BackFlowLux

Updates from this PR, a list copy from #17 :

[x] Normalisation Ylm and Rlm: Verify the normalized constant for both solid harmonics and spherical harmonics, document this in the Polynomials4ML docs, check if there are other ways to normalize them, including the sense of norm used. -- @DexuanZhou
[x] Unit tests for Rlm:  verify they match the explicit expressions, check derivatives, follow test_cylm.jl  -- @DexuanZhou
[x] Unit tests for atomic orbitals:   for Gaussian, Slater, and STO-NG functions. Check the derivatives of these functions and also verify the consistency of the standard and batched evaluation methods. -- @DexuanZhou
[x] SparseProduct: implement a sparse product without pooling in Polynomials4ML from which we can build atomic orbital bases -- @cortner  and @CheukHinHoJerry
[x] AtomicOrbitalsBasis: implement the atomic orbitals basis which will be evaluating the atomic orbitals on multiple nuclei and merging them into a single basis.  -- TBD
[x] BackflowPooling: implement the custom backflow pooling as a separate operation from the AtomicOrbitalsBasis -- @cortner and @CheukHinHoJerry
[x] Reorganize atorbbasis.jl : once the AtomicOrbitalsBasis and  BackflowPooling  is done, we can reorganize this into a very simple flux layer or chain -- TBD
[ ] Correlations: Here we should be able to just use the standard implementation. But we do need to implement some scripts that will give us different choices of which correlations to involve in the model.  This is where the real modelling happens!! -- @DexuanZhou  (??)
[ ] Clearly document the API

Additional comment that I don't fully understand yet - to be discussed in our next meeting?

[ ] Also, huajie mentioned that we should convert the coefficients used in the chemical basis set to a format we can use. I will take a look at it first. https://www.basissetexchange.org/ https://github.com/MolSSI-BSE/basis_set_exchange

Some additional features:

HyperDuals for Laplacian evaluation
Fully Lux integration
optimization workflows, including VMC, multilevel
SR method

to be tagged as 0.0.2


Layer visibility toggle

Allow for controlling layer visibility through the user interface, via a collapsible layer toggle.
Controlled vs Uncontrolled & Shiny
Allowing for programmatically toggling a layer's visibility is achievable, but potentially annoying to deal with in shiny. Layer visibility changes would need to be handled in shiny and merged into layers that are updated later.
Rdeck layers aren't intended to exist as mutable objects currently, so maintaining a layer's state currently would require some external state object that is referenced when re-rendering layers to the client; this is a little weird.
Simpler, at least initially, is to set each layer's visibility from the the visible prop on initial render (the current behaviour), but is thereafter not-controllable from R (the visibility prop would be ignored).

Add double-click handler for showing only the toggled layer or group. I.e. if a group is double-clicked, it is visible and everything else is hidden.


Architect

The different parameters should have a list of accepted values to make the documentation even better. Like in the Storage section: https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-create

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 15cb3fd0-5d13-ab34-223b-f7972aae16a2
Version Independent ID: 65cc59ca-c366-dbe0-b95d-7dcfa3a4438d
Content: az functionapp plan
Content Source: src/azure-cli/azure/cli/command_modules/appservice/_help.py
Service: functions
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

add to S167.

Thanks @chbe8475. Can you provide an example? Are you thinking about options for available skus?

Yes skus specifically in this case. But if there are other parameters with
only a fixed set of valid values those should be documented in my opinion.
/Christer
Den fre 28 feb. 2020 kl 19:00 skrev Anthony Chu<EMAIL_ADDRESS>
Thanks @chbe8475 https://github.com/chbe8475. Can you provide an
example? Are you thinking about options for available skus?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/12287?email_source=notifications&email_token=AEU5U4PQHSI3VTUWR3XKVI3RFFGKRA5CNFSM4KYPVHZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJSN2Y#issuecomment-592652011,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEU5U4KNJFR7A66TUA2NKGDRFFGKRANCNFSM4KYPVHZQ
.


Doc on listeners not clear about return value

I found the doc a little misleading for the listeners object. I initially added some analytical tracking to some of the buttons, rewind, fast-forward, mute but each of these stopped working.
For example:
plyr = new Plyr("video", {
  listeners: {
    mute: event => {
      MyAnalytics.record('mute');
    },
  }
});

Only after I looked in the listeners.js file did I realise that my event listener had to return a true value.
https://github.com/sampotts/plyr/blob/7c442c93571fb5d75f96bff710e310d00e1289e9/src/js/listeners.js#L511-L518
Also happy to fix this doc issue, just keeping a track of all of these small things and I'll resolve them in one swoop.

That looks like a bug for sure. Wouldn't you might be better off using events for analytics rather than the event listeners though?

@sampotts We got bit by the same thing. This logic actually looks wrong, though. It looks like this is trying to mimic the browser behavior of preventing defaults when event handlers return false, in which case the check should be returned !== false, not just returned. Not returning a truthy value from a custom event handler should not block the default.

Not returning a truthy value from a custom event handler should not block the default.

Yep, for sure. Hence:

That looks like a bug for sure.

It's on my TODO list but happy to look at PRs to fix it if you're in a rush.

We can close this out now.