[URLlauncher] get URL

Use case
The User opens the browser and does certain tasks, but then clicks done, and we on the backend want to capture the URL
Proposal
I would like flutter to capture the URL the user is on when they press "done" on the browser. Let me know if this is a thing. Thanks for your help!

Hi @hossam-zaki
Can you please elaborate what where is the "done" button? Does it exists on Chrome?
Please elaborate more about your proposal.
Thank you

Hi @hossam-zaki
Can you please elaborate what where is the "done" button? Does it exists on Chrome?
Please elaborate more about your proposal.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Fix explicit type conversion to u64 for GC::Stats

On 32-bit systems, libgc returns 32-bit integers. This patch ensures explicit type conversions when compiling with -Dno_number_autocast.
Resolves #12634

Works well thank you!


Support different namespaces on different extern blocks

Currently the namespace is determined globally for an entire #[cxx::bridge] invocation.
#[cxx::bridge(namespace = path::to)]
mod ffi {...}

It would be good to be able to pull in things from multiple different namespaces at once. Something like:
#[cxx::bridge]
mod ffi {
    #[namespace = path::to::first]
    extern "C" {
        type First;
    }

    #[namespace = path::to::second]
    extern "C" {
        type Second;
    }

    #[namespace = path::to::third]
    extern "Rust" {
        fn wow(first: &First, second: &Second);
    }
}

Implemented as part of #370.

if i have symbols from C header, how should I declare them in cxx? I assume they are in global namespace, but is not in std namespace.  Currently it reports my_target_t’ in namespace ‘std’ does not name a type


question concerning : https://github.com/Knewest/precompiled-jxrlib-binaries because there is no 'issues' tab on this repository

morning !
starred your 'https://github.com/Knewest/precompiled-jxrlib-binaries' yesterday !
tried :
'JxrDecApp.exe -i 'Screenshot 2023-12-19 14-28-03_test_hdr_original.jxr' -o 'Screenshot 2023-12-19 14-28-03_test_hdr_jxrdecapp.tif'
`JxrEncApp.exe -i ''Screenshot 2023-12-19 14-28-03_test_hdr_jxrdecapp.tif' -o 'Screenshot 2023-12-19 14-28-03_test_hdr_jxrencapp.jxr'

the issue is that 'JxrEncApp.exe -i 'Screenshot 2023-12-19 14-28-03_test_hdr_original.jxr' is 16 bits per color image when converting it to .tiff then back to .jxr, the image is still 16 bpc according to imagemagick
magick identify -verbose 'Screenshot 2023-12-19 14-28-03_test_hdr_jxrencapp.jxr'

however it s obvious that something happened during the 1st loading then converting of the .jxr image, most probably that JxrEncApp.exe 1st converted the original 16 bpc image to 8 bpc then re encapsulate it in the .tif container as a 32 bpc imagehence from an 8 bpc source then converted this image back to .jxr in a 16 bpc container but still with the bit depth loss.
if you then open the resulting image with [windows photo app, hdr + wcg image viewer], you will clearly notice the bit depth loss by the blown out highlights and burnt colors.
aware that you did not wrote the software and that is just a binary compilation for windows to .exe from the original microsoft 'https://github.com/4creators/jxrlib' repository but, do you manage to convert [nvidiashadowplay, obs] .jxr screenshots to [.tif, .exr, .hdr, .jxr] without loosing the original 16 bpc depth information when opening it back with [windows photo app, hdr + wcg image viewer] ?
if no do you know a way to do it properly ?
'https://1drv.ms/f/s!AiUmCeW6ezhq9yl2dNVv5Vm1SLxg'

Hi, try specifying the bit depth.
Example:
JXRDecApp.exe -i "Screenshot 2023-12-19 14-28-03_test_hdr_original.jxr" -o "Screenshot 2023-12-19 14-28-03_test_hdr_jxrdecapp.tif" -c 10

Relevant list:
 -c format                    Specifies the uncompressed output format
                               0: 24bppBGR
                               1: 1bppBlackWhite
                               2: 8bppGray
                               3: 16bppGray
                               4: 16bppGrayFixedPoint
                               5: 16bppGrayHalf
                               7: 32bppGrayFixedPoint
                               8: 32bppGrayFloat
                               9: 24bppRGB
                              10: 48bppRGB
                              11: 48bppRGBFixedPoint
                              12: 48bppRGBHalf
                              14: 96bppRGBFixedPoint
                              15: 128bppRGBFloat
                              16: 32bppRGBE
                              17: 32bppCMYK
                              18: 64bppCMYK
                              22: 32bppBGRA
                              23: 64bppRGBA
                              24: 64bppRGBAFixedPoint
                              25: 64bppRGBAHalf
                              27: 128bppRGBAFixedPoint
                              28: 128bppRGBAFloat
                              29: 16bppBGR555
                              30: 16bppBGR565
                              31: 32bppBGR101010
                              32: 40bppCMYKA
                              33: 80bppCMYKA
                              34: 32bppBGR

FYI, 48-bpp (bits per pixel) is equal to 16-bpc (bits per channel):
Total bpp = bpc × number of channels
Total bpp = 16-bpc × 3 channels
Total bpp = 48-bpp

Additionally, you can investigate other options simply by entering the binary executable in the correct directory with nothing else to display a list of options.
Hope this helps.
Knew.

thank for your answer !
re tried and apparently jxrdecapp does it s job, but the image has to be converted back to .jxr with jxrencapp for [windows photo app, hdr + wcg photo viewer], to display the data in hdr, .tif directly is all dull and washed out.

@Knewest, after multiple tryouts, came to the conclusion that the issue wasn t the bit depth that wasen t kept but actually the rec. 2100 color color space and the st. 2084 pq that wasn t kept.
are you aware of this issue and if jxrlib offers a way to keep this hdr metadata ?


Running Within a Computer Node

I originally was running my Java Application with the use of the pbs-java-api within the Head and Test nodes, which have access to the 'qsub' command, but due to instability within those nodes, I want to actually send my Java program in a extended walltime job to the cluster.
However, the 'qsub' command is not available to computer nodes, therefore the pbs-java-api  PBS.qsub(String input) fails.
In scripts that I need to do this, I do
ssh testnode qsub script.sh

Any idea how to mirror that in the API?
I am having some trouble, and can't seem to figure it out...
Thanks!

Link to the repository with some working code. Will cut another release of drmaa-pbs and will test it with a PBS Torque docker container.
https://github.com/biouno/drmaa-pbs/tree/master/src/main/java/org/biouno/drmaa_pbs
In case that works, I'll check whether we should maintain these two repositories or maybe merge them.


Adds conan update handling code to bootstrap

Conan's latest releases have interesting features. So all devs have to update conan.
This bootstrap code helps with that.
Furthermore there is another commit which fixes the annoying "hanging forever"-bug in build.ps1.

Looks good, but maybe I would use a variable $conan_version_major_required = 1 instead of using 1 directly.

That's a good idea. I didn't want to put a variable $conan_version_major_min because I make a equal-comparison. But naming the variable _required is a good idea. Done.


Hanging when trying to choose/change Kernel

From marketplace:

Good idea, but execution is lacking. Hanging a lot when trying to choose/change Kernel, when re-opening VSCode, you have to create a new Jupyter server kernel for some reason, it won't connect to the same one running locally that it used literally a second ago. Paths and modules are not always resolved, you have to cycle through different kernels which is time consuming until you find the one that will start resolving paths, but will still not recognize all modules you have installed.

Its been a few months and no information has been provided to help resolve this issue.
Closing for now, if this problem persists, please feel free to create a new issue with the steps to repro and versions of the VS Code and Jupyter extension


Improve readme, GitHub workflows, .gitattributes and update dev depenedencies

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
-

Add dev files to ignore when creating an archive of this repository
Update dev dependencies
Improve GitHub workflows
Improve readme

👍


How to change buttons in footer and header?

Hi, I would like to know where can i change the text in the "Hire Me" button in the header and the "Get in Touch button" in the footer?
Thanks!

https://github.com/StaticMania/portio-hugo/blob/ccae0510631bc00e477fa2438cdcd38022eaf5c9/layouts/partials/navbar.html#L23
https://github.com/StaticMania/portio-hugo/blob/ccae0510631bc00e477fa2438cdcd38022eaf5c9/layouts/partials/footer.html#L30

Thanks for the anwser, that's perfect, have a great day!


Cap passive research points so people spend points more

About the PR
This is not really a 'nerf', but it encourages people to check what techs are available rather than going AFK and unlocking them all at once. Should be a very small change with decent impacts on how invested people are in science. It's based on the count of point sources because my research design lets people build more, although it's less relevant here.
Changelog

:cl: Rane

tweak: Passive research points will not generate above 30,000 stored points. Rate or total available research is not affected. All this means is you have to actively spend them, rather than let them accumulate the whole round and unlock all techs at once.

hang on after banging my head with electro for a bit I found a small bug here I'll fix tomorrow, the map change will be unneccesary

Ok ready for review

i think this has potential to be a little unintuitive but people can deal


Typo fix

Fixed typo

This is the same as #2.

Closing as duplicate. Thank you for your contribution!


error[E0277]: cargo_manifest::Product is not an iterator

When cargo installing genemichaels (no --locked), there are multiple compile errors:
error[E0277]: `cargo_manifest::Product` is not an iterator
    --> src/bin/genemichaels.rs:248:61
     |
248  |                         for bin in manifest.bin.into_iter().flatten() {
     |                                                             ^^^^^^^ `cargo_manifest::Product` is not an iterator
     |
     = help: the trait `Iterator` is not implemented for `cargo_manifest::Product`, which is required by `cargo_manifest::Product: IntoIterator`
     = note: required for `cargo_manifest::Product` to implement `IntoIterator`
note: required by a bound in `flatten`
    --> /var/home/powpingdone/Devel/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1545:21
     |
1542 |     fn flatten(self) -> Flatten<Self>
     |        ------- required by a bound in this associated function
...
1545 |         Self::Item: IntoIterator,
     |                     ^^^^^^^^^^^^ required by this bound in `Iterator::flatten`

This might be due to https://github.com/LukeMathWalker/cargo-manifest/commit/0a3a687e98b840d2a0220cbd9f7b75de3cf2e63f but I'm not sure. I had trouble reproducing this at all, and it kinda seemed like removing the .flatten() from all of the manifest properties seems to allow compilation.

Oh, thanks for the report! That sounds likely... sorry, it looks like I was too optimistic with the version restrictions on that crate.  I can update this later today.  I think updating that dep and the code, then adding a minor-version restriction to the dep should be good.

Fix released in 0.3.2


[🐞] Please upgrade your eslint config file to use new ESM format (not the Common JS format)

Which component is affected?
Qwik Runtime
Describe the bug
We upgrade weekly. It's now many versions that you have not upgraded your ESLint. ESLint 8 is deprecated. And when you migrate to ESLint 9, you should use ESM format for its configuration file.
Reproduction
No need for MRE
Steps to reproduce
No response
System Info
System:
    OS: Linux 6.8 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
    Memory: 5.22 GB / 15.50 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 22.11.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.9.1 - /usr/local/bin/npm
  Browsers:
    Chromium: 131.0.6778.85
  npmPackages:
    @builder.io/partytown: ^0.8.1 => 0.8.2
    @builder.io/qwik: ^1.11.0 => 1.11.0
    @builder.io/qwik-city: ^1.11.0 => 1.11.0
    typescript: 5.4.5 => 5.4.5
    undici: * => 7.0.0
    vite: 5.3.5 => 5.3.5

Additional Information
No response

working right now,


ScrollWizardry

Hi, and thanks for a great library!
I was wondering if you had checked out ScrollWizardry? It has some updates over ScrollMagic (passive event listeners, 100vh support, and is supposed to be a drop in replacement :)
Sorry to spam the issue tracker if you already had seen this 😬

Yeah I've seen it. Doesn't solve everything I wanted to originally, but a good library I'm sure. This has 100vh, and so does ScrollMagic. This library is also responsive, meaning you can have a scene last 50px, then 50vh, then 100px, all at different viewports.
In the future I'll being separately ScrollObserver and ScrollScene. I haven't hammered home that they are 2 different things, but achieve very similar effects when done right. ScrollObserver is much more modern, and should be what people use 90% of the time.


LTS-12 readiness

Description

Linked issue

Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

Ha :-)

stack2nix: haskell.compiler.ghc843 failed to build via nix
--
  | CallStack (from HasCallStack):
  | error, called at src/Stack2nix/Util.hs:79:22 in stack2nix-<IP_ADDRESS>-2Inr9CoRFPF1aMzpywCpvx:Stack2nix.Util


Disabling splash screen Show Image project setting has no effect on Android

Godot version
3.5.1 stable
System information
Android 11 (GLES2)
Issue description

Hey guys, I caught a bug in Godot 3.5.1
When you unselect "Show Image", it won't show image on PC versions but on Android, it completely ignores that and keep showing the image normally
Steps to reproduce
N/A
Minimal reproduction project
N/A

@MecoCL Please upload a minimal reproduction project to make this easier to troubleshoot.

I'm sorry, but where do I get that?

Can confirm on Android 10.

@MecoCL: Minimal reproduction project is the smallest project YOU can make that shows the problem. In this case, likely a new godot project + image you wanted to show in splash screen

@Zireael07 Splash Screen.zip


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

I was trying to use my mouse thumb buttons to navigate backwards/forward, got the error notification.
An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Tue Mar 29 2016 12:32:50 GMT-0700 (Pacific Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\HOME2\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\HOME2\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


docs: git commit time always latest

Describe the bug
文档最后更新时间目前总是最新时间，应该是每篇文章对应更新的时间。
Reproduction
valaxy
System Info
ci

Used Package Manager
npm
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

This is caused by cloudflare environment. Because cloudflare pages clone repo --depth 1.
And no custom configuration is provided to modify it.
In vercel, <dev.valaxy.site> works well.


Lack of tag prevents installing

This is the feedback I've got from swift build
Cloning https://github.com/qutheory/vapor-postgresql.git error: No version tag found in (..Backend/Packages/vapor-postgresql) package. Add a version tag with "git tag" command. Example: "git tag 0.1.0"

I will tag and release this with Vapor 0.15 and Fluent 0.8 in the coming days.

Awesome. Supporting pg will be great news @tannernelson !

@tannernelson, any updates on tagging this repo?

This is on a relatively old version of Swift and will take a bit of work to update. It will definitely be ready for Vapor 1.0 but for now the MySQL drivers are the best bet.

I'll start using MySQL for now then, but keep us posted if anything happens with the PostgreSQL driver :)

@tannernelson Now that Vapor 1.0 is out, any chance that this will be tagged soon?

What is the holdup for not tagging this with a release?

@anthonycastelli we're waiting on #3

The provider has been tagged and released as 1.0! Yay!


Witness API improvements

Cleanup PR to improve the Witness API by:

Adding Witness::from_slice() and depreciating Witness::from_vec() methods (#1371).
Making Witness::push() not generic and take in &[u8] instead of AsRef<[u8]> (#1372).

Note: Witness::from_vec() has been marked for depreciation from 0.30.0. Let me know if this should be different.

Also will try and work on the Witness::push() method later on.
ref: https://github.com/rust-bitcoin/rust-bitcoin/pull/1323#discussion_r1014900440

Rebased on top of master branch

The point of #1372 was not to eliminate the genericity, but to make the generic function a two-liner which calls .as_ref and then calls into a (non-public) non-monomorphized version. So no callers need to be changed, we just get a reduction in compile time and binary size (or not, depending on inlining, but at least the compiler has a chance..).
Other than that, this looks great!

to make the generic function a two-liner which calls .as_ref and then calls into a (non-public) non-monomorphized version.

Ah ok, fixed.

Done reviewing 886b41904abd35a70aac23d27de29f2f92b6e854. Looks great! Only nits.

Nits fixed :)


Unable to get UIN/VID using AID as we do not see the text box to enter the AID in the app.

Describe the bug
Unable to get UIN/VID using AID as we do not see the text box to enter the AID in the app.
To Reproduce

Unlock the app
click on ADD ID button in home page
click on "Don't have your UIN/VID? Get it here " link.

Current  behavior
App does not have a textbox to enter the AID number to retrieve the UIN/VID.
Expected behavior
We should have a textbox and Get ID buttons to retrieve UIN/VID.
Screenshots

Smartphone (please complete the following information):

Device: iOS
OS: 15.4.1
Inji app version: 0.4.1 (5)
MOSIP Version: 1.2.1
MOSIP server: qa-121.mosip.net

fixed and PR raised

@Anushree09-N : Please verify and update the bug

Textbox is available now, however feature is still not working we have ticket for the same https://github.com/mosip/inji/issues/185 . Hence closing this bug

Textbox is available now, however feature is still not working we have ticket for the same https://github.com/mosip/inji/issues/185 . Hence closing this bug


MAISTRA-566 use multitenant=true as default

Signed-off-by: rcernich<EMAIL_ADDRESS>

Okay, I've addressed these comments.

Added commit for MAISTRA-580, which fixes networking issues with galley, sidecar-injector, and ingressgateway.

removed commit that addresses MAISTRA-580

Holding for now


Migration Guide for v2 to v3

This a migration guide from v2 to v3.

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Decryption

Hi, so how can i decrypt encrypted message?

I'm currently working on it, should be available pretty soon :)

Issue closed via https://github.com/JesusM/FingerprintManager/commit/866e770ee9fefbac1bd682c65e994f149bd4c4b5


UserWarning: Relevance scores must be between 0 and 1

About
When running the test cases, there is a warning now. Most probably, it has been introduced by changing the style of the similarity search query through GH-15, which in turn changed the value range of the returned CrateDB-native _score values.
/path/to/langchain/libs/langchain/langchain/schema/vectorstore.py:313:
UserWarning: Relevance scores must be between 0 and 1, got
[(Document(page_content='foo', metadata={'page': '0'}), 1.414213562373095), (Document(page_content='bar', metadata={'page': '1'}), 1.0606601717798212), (Document(page_content='baz', metadata={'page': '2'}), 0.8485281374238569)]

Evaluation
CrateDB's _score values are computed by CrateDB on behalf of different criteria of the input SQL query expression, execution plan, or actual execution. In this manner, they don't directly convey any useful information about the actual vector search similarity distance.
Suggestion
Use a corresponding function provided by CrateDB to compute the similarity distance independently of the CrateDB-native _score value.

https://github.com/crate/crate/issues/14801

/cc @ckurze, @seut, @matriv

This one might be interesting for interested readers, because it discusses potential similar [sic!] woes with other vector stores.

https://github.com/langchain-ai/langchain/issues/10864

At least, it tells us that not every store is getting it right from the very beginning, wrt. what LangChain or other applications might want or expect.

Hi. CrateDB 5.8.0 added a vector_similarity() function, which may be applicable to improve the situation here. Thank you so much!
-- https://cratedb.com/docs/crate/reference/en/master/general/builtins/scalar-functions.html#scalar-vector-similarity

We are addressing this leftover issue on the upstream patch now.

https://github.com/langchain-ai/langchain/pull/27710#discussion_r1821588622


Feature/Fix Cypress and update readme

updated node version in github actions so Cypress is now running
updated unit test snapshots so they pass
added notes to README.md about running Cypress locally

This change is

@PhotoNomad0 is this supposed to be connected to the tC issue 7174?


Training Code

Thanks for your impressive work ! Are you planning to release training code soon?

I have successfully written the training code. First, you need to know how to perform batch inference. Then, based on the intermediate computation results from the inference, find a way to construct attention_mask, input_ids, pixel_values, and labels. After that, you can proceed with the standard training steps.

I have successfully written the training code. First, you need to know how to perform batch inference. Then, based on the intermediate computation results from the inference, find a way to construct attention_mask, input_ids, pixel_values, and labels. After that, you can proceed with the standard training steps.
Could you please provide your SFT code? Thank you very much for your work


footer section UI changed

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Description
Changed the UI of the footer section in the audiobook page of your website which makes your website footer section consistent.

Type of PR

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

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

in ur deployment , the play button ( grey color ) has become left aligned and it is also not working .
chk website , when we click on play button ( in premium subscription ) login page opens .
fix the bug .


Hosts Explorer - All Zeros for engagement data

Is this correct or not working?

This one is correct.


Returning false from method calls not working

According to the docs1, returning false from method calls should cancel the original event: event.original.stopPropagation and event.original.preventDefault.
See this fiddle:
http://fiddle.jshell.net/sabob/wzm2msre/8/
Clicking the link and returning false from the method should stop propagating up to the parent div, however the div is still receiving the event.
This is in edge and latest.
Kind regards
Bob

Thanks for flagging this. I noticed it too, but forgot to create an issue.

Ah, works for events but not method calls. PR inbound...


Revert "fix fix column serialize and deserialize"

Reverts apache/doris#45667

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?


uuids to include buildUrls

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
adding buildUrls to get_uuid_by_metadata(). This change is in order to add buildUrls to cmd-mode of orion.

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

@paigerube14 any thoughts?

looks good to me!


Run Terratests in CI

Status update: both tests can successfully apply and destroy the complete data lake.
It still fails because the terratest output value is not what is expected.


Forth tag (topics)

Please create a "Forth" tag and ... for this project. (Label "Manage topic" in open project)

Done,  I hope nobody uses this as an example of good forth though!


Run the Python linter more often

It turns out we have a Python linter! Who knew? Unfortunately, it only ran during validation tests, so you would generally discover this by waiting four hours for CI to validate an important change, only to find that it failed because you forgot to alphabetize your import statements. This was not conducive to healthy blood pressure.
This PR runs the linter during smoke tests so that mistakes will be caught more quickly and frequently. (It will also run them locally during test/ lit tests if you have the appropriate Python modules installed.) The PR also fixes a number of issues that have accumulated as folks committed Python changes without running the linter.

@brentdax I thought we ran this when we smoke tested, no?

♥
@swift-ci please python lint


CORs Rules

https://stackoverflow.com/questions/46522749/how-to-solve-redirect-has-been-blocked-by-cors-policy-no-access-control-allow

https://stackoverflow.com/questions/26980713/solve-cross-origin-resource-sharing-with-flask

fixed using flask CORs


Fix 'Example configuration script', it is missing 'configurationArguments'

This was my reference. I tested it and it's working. Without the fix, the VM will not register as a Node in Azure Automation.
https://github.com/mgreenegit/azure-policy/blob/67d3e891fa888d0c3e5eb1b2502cfffd7a0806f3/samples/Automation/deploy-extension-register-virtual-machines-state-config/azurepolicy.rules.json#L226

@bobbytreed this looks good


Backgroundable rendering

Hubble currently relies on Luma's Timeline and AnimationLoop classes which utilize the browser's requestAnimationFrame timer.
This is higher-precision and more realtime than alternatives (notably setTimeout) but requires that the tab be foregrounded in order for the timer to fire. The AnimationLoop class also, as far as I can tell, utilizes "wall time" to update animation state (i.e. Date.now for engineTime) instead of rendering frame-by-frame.
Because browsers only throttle timers running in the main thread and not on Worker threads, it should be possible to use a package like worker-timers to ensure that timers are always rendered.

Do you think this would be a good replacement or configurable alternative to use within luma?
As you touch on, I don't think hubble needs a consistent timer to move through the timeline, but it does benefit from a fast one that isn't throttled in the background.
Tangentially related to this discussion, Deck.gl internal animations (like those found on a ScenegraphLayer) use a separate luma Timeline/AnimationLoop per deck instance. Hubble originally tied it's renderer to that loop, but later detached from it after experiencing issues without clear causes, and because it unintentionally took over GLTF animations (like a rotating helicopter rotor). Hubble should offer a solution for keying baked GLTF animations, but I think there is some investigation necessary before recommending a solution.
But back to the timer discussion, it's possible there are a few usages of requestAnimationFrame between hubble, deck, and mapbox (or maplibrae). Rendering doesn't require wall time (just a loop marching through frames), so I wonder how we might make these adjustments.
Do you think using a non-throttled timer necessary for offscreen rendering? And/or is it necessary to solve the "switching tabs can pause rendering" problem?

Yes, it might be a good fit for a config option in Luma, but maybe more generally or philosophically, I'm curious if Hubble wants to be more focused on the non-realtime use case, while Luma, like most web / webgl stuff, wants to be more realtime and interactive.
If it's an easy add for luma, loaders, etc. I'd say let's try to extend those packages, otherwise I do think there's a niche to be carved out for a full-fledged webgl animation package: keyframes, timelines, and encoding being the main tasks. Luma has support for these, but seems more focused on its specific use cases. I think there's a case to be made for avoiding duplicate work (and not adding yet another rAF timer), but I also can see a lot of benefit from making Hubble renderer-agnostic, and even adding in some UI elements for timelines and animation curves, say.
What are your thoughts here?

Do you think using a non-throttled timer necessary for offscreen rendering? And/or is it necessary to solve the "switching tabs can pause rendering" problem?

Offscreen rendering, no. Background tabs, yes.
It's a battery / cpu optimization thing, but IMO it prevents serious use of non-realtime rendering if you can't use your computer for other tasks while your work is being encoded. Again I sorta think this is one of those borderline features where it wouldn't really benefit most Luma users but would make a massive difference to the rendered use case.

I've thought of Hubble as only focused on the non-realtime use case, and am comfortable making design decisions that sacrifice the typical interactive web concerns in return for "pixel-perfect" results (like, never dropping a frame in a beauty render pass). Other unique capabilities emerge in this design space too like being able to completely swap data sources on every frame if the user wanted to (On the extreme of that I imagine creating a time lapse containing GBs of data paged in from a somewhere during render).

What are your thoughts here? [extend vs own]

I do think about this a good amount. In the past I generally leaned on extension within existing vis.gl packages if there's mutual buy-in for it. When we're unsure, I've hashed it out within hubble and later reevaluated if the result a good fit to be moved.
I see #236 as the encoders going through this kind of re-evaluation to see if loaders.gl is a good fit for the core encoder code, or not. Another evaluation coming up is if the hubble/kepler react components should remain in hubble, be completely moved into kepler, or a mix (the thesis being some components will be generic enough to be reused outside of a kepler app context).
Background tab support is a compelling feature. I assume users are confused when they encounter this limitation, so it should be addressed and, by extension, luma.gl timeline and keyframe re-evaluated. They were originally written by Tarek based on initial assumptions of what he and I thought might be useful for hubble and luma, but as you point out their design principles are pretty different in some cases.

I do think there's a niche to be carved out for a full-fledged webgl animation package: keyframes, timelines, and encoding being the main tasks... making Hubble renderer-agnostic, and even adding in some UI elements for timelines and animation curves, say.

This resonates for sure. It'd be great to use hubble with deck, kepler, and luma, even three.js - in theory anything webgl-based or canvas-based could use it. I've also thought about how nice it would be to support full-browser window capture with puppeteer or electron so that HTML can be used for what it's good at. Of course, I've focused on deck (and kepler) to do a few things well rather than everything poorly - but there's a lot of potential.


Release process: separate publishing to npm registry and updating latest tag.

Right now, they are performed in a same step. Splitting them would allow us to:

Prevent partial publish situations, where release script fails somewhere in the middle.
Perform some of release verification steps before updating latest and detect some of the packaging problems before they get to the users.

Hi there,
As part of our effort to clean up our GitHub repo, we’re closing this issue to help focus on features and improvements that align with our focus areas and those of our community.
This issue was originally created for internal tracking purposes, but if you feel this is important to you, feel free to reopen the issue and get like-minded users to upvote as we will prioritize fixing issues based on community interest.
For more insight into our priorities and how we’re thinking about the future of Prisma, please see our blog post: https://www.prisma.io/blog/prisma-orm-manifesto.
Thank you for your understanding and support!


Remove lock from Context

This PR removes the main lock in Context and changes some parts of the API to accommodate this change, mainly necessary to satisfy the borrow checker.
This change brings the following advantages:

No more deadlocks, code that would create a deadlock now gives a compile time error.

Since Context is no longer required to be Send + Sync, callback shapes can capture !Send + !Sync types.  For example the three-d context.

Improves performance by a couple percent.

It is no longer possible to use the same Context to draw UI on multiple threads at the same time, which is bound to give incorrect results.
Closes #1399

Apologies for the huge PR, but the bulk of the changes is basically search and replace so I hope it's not too difficult to review.

Just merged this into my own fork of egui, so I have a few comments as I just migrated my egui application to base off of this:

maybe make a note of the requirement of using memory_mut instead of simply memory to gain mutable access to memory
make a note of requiring a mutable access to context with things like on_hover_text

If this PR is to be accepted, I would recommend something of a migration guide or some deep documentation of the developer-facing changes so projects can more easily migrate.

This is a very nice effort, but I am not so happy with the worsening ergonomics. Adding <'_> everywhere is very ugly imho, and many methods now require an extra &mut Context argument.

Will any work be done on this? This was very promising.

I decided to go this route instead:

https://github.com/emilk/egui/pull/2625

Still, thanks so much for all the work in this PR 🙏


Improvements on nginx plugin. Fixed nginx_reload and added NGINX_PID_PATH

@willybarro would you like to follow this up?


How to change background color of legend if you use Stacked bar

I'm trying to change the background color of the legend in stacked bar graph. But the only thing I can change is the border color. Please see my code below.
function createNewDouble2LayerChart(context, type, bgColor, bdColor, labels, targetData, actualData, options){
	new Chart(context, {
	    type: type,
	    data: {
	        labels: labels,
	        datasets: [
		        {
		            label: "Total",
		            stack: "Stack 0",
		            backgroundColor: bgColor[0],
		            borderColor: bdColor[0],
		            data: targetData,
		        },
		        {
		            label: "Monde",
		            stack: "Stack 1",
		            backgroundColor: bgColor[1],
		            borderColor: bdColor[1],
		            data: actualData,
		        },
		        {
		            label: "Non-Monde",
		            stack: "Stack 1",
		            backgroundColor: bgColor[2],
		            borderColor: bdColor[2],
		            data: actualData,
		        }
		    ]
	    },

	    // Configuration options go here
	    options: options
	});
}

The data I'm passing in bgColor is an array of colors. So basically, I have 3 datasets here which should have 3 different colors.

I don't see any issues in setting background colors. Do you have a fiddle that reproduces this?

Hi @nagix . I saw the problem now. I put this code on other chart:
    Chart.plugins.register({
        beforeDraw: function(c) {
           var legends = c.legend.legendItems;
           legends.forEach(function(e) {
              e.fillStyle = 'transparent';
           });
        }
    });

Because I want one of my chart hide the legend. But, it seems like it is not working. It also hides all the legend after this code. uhmm any options for this?

@jonjie0317 did you try options.legend: falseon the chart you want the legend to be hidden?

The best way to do this is to override the legend callback
const options = {
  legend: {
    labels: {
      generateLabels: (chart) => {
        const datasets = chart.data.datasets;
        return datasets.map(dataset => ({
          fillStyle: 'transparent',
          // other settings here
        });
      }
    }
  }
}

The items returned from the callback need to match the format documented here: https://www.chartjs.org/docs/latest/configuration/legend.html#legend-item-interface


Why do we have a minItems in "otherContribution"?

I don't understand the requirement for minItems in "otherContribution", especially since the property is not required. I would argue an empty list as payload (although not nice) should not be invalid. Instead, it could be seen as an explicit "there is no other contribution" to differentiate from "not filled in"
https://github.com/HumanBrainProject/openMINDS_core/blob/802161ff8ac0ece09487a090ffb1dc15fc617a9f/schemas/products/researchProductVersion.schema.tpl.json#L111

@olinux this was a decision we made a while ago. We introduced it consistently for all array types, but (if I remember correctly) out of the reason that for obligatory properties the empty list would pass the validator which is of course not what we want in that case.
Also consistently we introduced "uniqueItems" for array types (I think so far we do not have a case where we would explicitly allow non-unique items in an array)

@lzehl, I think you misunderstood his suggestions. I think what @olinux is trying to suggest, is to actively remove this from just this one property so that you can explicitly express that there are no other contributions (since you need to actively add an empty contribution.
But I fear that we will run into some consistency issues (and general confusions). Explicitly expressing that there are no other contributions will look exactly like forgetting to fill in any fields in the schema for  contribution. Humans make mistakes, and I can see how this could happen.
Additionally, to be consistent, we should then apply this logic to other properties as well. I’m sure there are others that could benefit from this logic. But this would also mean that we would need to train the curators (and all other openMINDS users) to understand the difference. It would be more user-friendly to stick to the simpler logic with required vs. optional, but when you fill in an optional property you actually need to have at least one (properly filled in) item. This will make the maintenance of the content much easier.

@UlrikeS91 no I think I understood correctly. It comes back to consistency. Of course we could say all non required properties of type array do not have the "minItems": 1, because there the empty list is not really a problem, but would introduce a if/else logic which we always need to explain.
IMHO I would rather go with the consistent way: All properties of type array have to have at least one item (if the property is not required just do not use it).
The only reason to change this would be if a non required property technically is anyway required in the JSON-LD (with a null value). @olinux is that the case?

@olinux is your question solved? (or is there still a technical issue with the previous decision on this that I did not understand, yet?)

may reevaluated at a later point. we will close this for now.


Fix Travis build

This completely fixes Travis build.
I removed Clang from Linux builds; I can put it back if you'd like. Also if you want I can squash these commits — but it did involve a lot of testing.

Wait, you needed OpenCV for steamvr-osvr? Couldn't you just do a client-only build of core and disable BUILD_WITH_OPENCV?
Now, I would appreciate the same on the main osvr-core, since there the lack of a modern OpenCV is actually a pain.
Looks reasonable to me, though I suppose I should probably let somebody else do the merge ( @JeroMiya  ?) since I'm not really in the steamvr loop these days much. Any particular reason to remove clang? I like to keep it around because it keeps me honest, and keeps the error messages readable.

(PS. Sorry, that comment was a little harsh. Thanks for the hard work, I can see it was a lot of work!)

In my cmake configuration it said opencv not found but it would still build
(the dll), what piece is OpenCV used for, in osvr/steamvr ?
On Mon, 11 Jan 2016 17:31 Ryan Pavlik<EMAIL_ADDRESS>wrote:

(PS. Sorry, that comment was a little harsh. Thanks for the hard work, I
can see it was a lot of work!)
—
Reply to this email directly or view it on GitHub
https://github.com/OSVR/SteamVR-OSVR/pull/26#issuecomment-170627007.

@rpavlik I suppose if you'd prefer a client-only build here I can do that after this gets merged into OSVR-Core.
As I said I can put Clang back if so desired — just easier to test with 4 instead of 6 build variants running.


Search or Build your own plugin

I'd like to suggest adding more to help folks find more plugins and if not build it.

Running xcode is failing now in then?

Failure is likely just a flake. I restarted Travis.


:help bufferline not working

I installed bufferline with Pathogen, and I'm trying to use with vim-airline, but the command quoted above does not work, it simply says "Sorry, there's no help for bufferline".
What seems odd to me is that bufferline is actually working, it shows my buffers on statusline (I tested removing vim-bufferline from bundle/ to see what happens).
My repository is here (it's very young and undocumented). I'm using a compiled Vim 7.4 on Ubuntu 13.04.
What can be happening?

I am having a related issue.
When I run :help bufferline I am linked to airlines section on bufferline.  Is this the expected behavior?


Make accuracy metrics work with masked outputs

Several accuracy metrics end in a call to K.equal(), which gives a tensor with dtype bool.  The multiplication with a float mask then crashes.  This fixes that crash.

It would be preferable to fix this in the metric function instead.

I considered that, but thought it was cleaner to put it in the masked wrapper, because (1) you only have to do the cast once, instead of for every metric function, (2) you already have a cast there for the mask, so it's understandable why you would have one for the scores, and (3) the metric code isn't broken for most use cases, so why add complexity to the metric code when it's easy to put the complexity in the wrapper that makes the complexity necessary?
But, I updated the PR to put the cast in the metric function.  I looked at updating the documentation also, to note that metrics should return a dtype that is not a bool, but it looks like the categorical accuracy metrics already break the contract specified in the documentation, because they don't have a K.mean, and I was hesitant to make a larger change without understanding all the places the metric code is used.

In general it's important to avoid adding ops into every model when the use case that you are fixing is rare. Every op has a non-zero cost.
Looks reasonable now, thanks.


Generate CRD based via controller-gen

In what area(s)?

/area runtime
Describe the feature
The current code-generate makefile target does not generate crd so that all markers in types.go are not applied to the actual crd.
adding the options to code-generate, it will generate crd based on markers in types.go under https://github.com/dapr/dapr/tree/master/pkg/apis
then we need to add crd output option output:crd:artifacts:config=config/crd/bases
https://github.com/dapr/dapr/blob/28a15366c761b42325a576c98ace3090b0b05240/tools/codegen.mk#L8-L10
e.g.
code-generate: controller-gen
	$(CONTROLLER_GEN) object:headerFile="./tools/boilerplate.go.txt" \
		crd:trivialVersions=true paths="./pkg/apis/..." output:crd:artifacts:config=config/crd/bases

Release Note

RELEASE NOTE: ADD the option to generate crd via controller-gen

@yaron2 markers in types.go are not applied to our crd yaml. to use the markers, we need to generate crds via controller.gen as well, not a manual way.

Fixed with #2356


Enable event log for qualification & profiling tools testing from IT [databricks]

…on Databricks
Signed-off-by: Alex Zhang<EMAIL_ADDRESS>

related to https://github.com/NVIDIA/spark-rapids/issues/2954

build


Problem analyzing typescript files

Hi Team,
I started working on angular typescript project to setup with SonarTS on my mac.
Seems after running the sonar scanner i get the error below error for all the Typescript files.
blearner-mbp:SampleApp blearner$ /Users/blearner/Documents/sonar-scanner/bin/sonar-scanner -X
15:16:57.248 INFO: Scanner configuration file: /Users/blearner/Documents/sonar-scanner/conf/sonar-scanner.properties
15:16:57.252 INFO: Project root configuration file: /Users/blearner/Documents/Sample/SampleApp/sonar-project.properties
15:16:57.266 INFO: SonarQube Scanner <IP_ADDRESS>8
15:16:57.266 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
15:16:57.266 INFO: Mac OS X 10.12.6 x86_64
15:16:57.367 DEBUG: keyStore is :
15:16:57.367 DEBUG: keyStore type is : jks
15:16:57.367 DEBUG: keyStore provider is :
15:16:57.367 DEBUG: init keystore
15:16:57.367 DEBUG: init keymanager of type SunX509
15:16:57.438 INFO: User cache: /Users/blearner/.sonar/cache
15:16:57.438 DEBUG: Extract sonar-scanner-api-batch in temp...
15:16:57.445 DEBUG: Get bootstrap index...
15:16:57.445 DEBUG: Download: http://localhost:9000/batch/index
15:16:57.482 DEBUG: Get bootstrap completed
15:16:57.483 DEBUG: Create isolated classloader...
15:16:57.490 DEBUG: Start temp cleaning...
15:16:57.498 DEBUG: Temp cleaning done
15:16:57.498 DEBUG: Execution getVersion
15:16:57.501 DEBUG: Execution start
15:16:57.628 DEBUG: Publish global mode
15:16:57.710 INFO: Load global settings
15:16:57.742 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=27ms
15:16:57.754 INFO: Load global settings (done) | time=45ms
15:16:57.771 INFO: User cache: /Users/blearner/.sonar/cache
15:16:57.948 INFO: Load plugins index
15:16:57.951 DEBUG: GET 200 http://localhost:9000/deploy/plugins/index.txt | time=3ms
15:16:57.952 INFO: Load plugins index (done) | time=4ms
15:16:57.953 DEBUG: Load plugins
15:16:57.963 DEBUG: Load plugins (done) | time=10ms
15:16:57.970 DEBUG: API compatibility mode is enabled on plugin Git [scmgit] (built with API lower than 5.2)
15:16:57.971 DEBUG: API compatibility mode is enabled on plugin SVN [scmsvn] (built with API lower than 5.2)
15:16:58.049 DEBUG: Plugins:
15:16:58.049 DEBUG:   * C# <IP_ADDRESS>1 (csharp)
15:16:58.049 DEBUG:   * SonarPython <IP_ADDRESS>6 (python)
15:16:58.049 DEBUG:   * SonarJava <IP_ADDRESS>33 (java)
15:16:58.049 DEBUG:   * Flex 2.3 (flex)
15:16:58.049 DEBUG:   * Git 1.2 (scmgit)
15:16:58.049 DEBUG:   * SonarXML <IP_ADDRESS>7 (xml)
15:16:58.049 DEBUG:   * SonarPHP <IP_ADDRESS>7 (php)
15:16:58.049 DEBUG:   * TypeScript 1.2.0-rc1 (typescript)
15:16:58.050 DEBUG:   * SVN <IP_ADDRESS>5 (scmsvn)
15:16:58.050 DEBUG:   * SonarJS <IP_ADDRESS>28 (javascript)
15:16:58.060 DEBUG: Execution getVersion
15:16:58.060 INFO: SonarQube server 6.5.0
15:16:58.060 INFO: Default locale: "en_US", source code encoding: "UTF-8"
15:16:58.061 DEBUG: Work directory: /Users/blearner/Documents/Sample/SampleApp/.scannerwork
15:16:58.061 DEBUG: Execution getVersion
15:16:58.061 DEBUG: Execution execute
15:16:58.363 INFO: Process project properties
15:16:58.367 DEBUG: Process project properties (done) | time=5ms
15:16:58.385 INFO: Load project repositories
15:16:58.602 DEBUG: GET 200 http://localhost:9000/batch/project.protobuf?key=Sample | time=217ms
15:16:58.647 INFO: Load project repositories (done) | time=263ms
15:16:58.719 DEBUG: Available languages:
15:16:58.719 DEBUG:   * C# => "cs"
15:16:58.719 DEBUG:   * Python => "py"
15:16:58.719 DEBUG:   * Java => "java"
15:16:58.719 DEBUG:   * Flex => "flex"
15:16:58.719 DEBUG:   * XML => "xml"
15:16:58.719 DEBUG:   * PHP => "php"
15:16:58.719 DEBUG:   * TypeScript => "ts"
15:16:58.719 DEBUG:   * JavaScript => "js"
15:16:58.724 INFO: Load quality profiles
15:16:58.843 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?projectKey=Sample | time=118ms
15:16:58.848 INFO: Load quality profiles (done) | time=124ms
15:16:58.851 INFO: Load active rules
15:16:58.906 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-si5QTOVkPZXW-Z&p=1&ps=500 | time=53ms
15:16:59.016 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-vf5QTOVkPZXXFY&p=1&ps=500 | time=77ms
15:16:59.064 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-xE5QTOVkPZXXKz&p=1&ps=500 | time=32ms
15:16:59.080 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-xo5QTOVkPZXXLy&p=1&ps=500 | time=11ms
15:16:59.103 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-125QTOVkPZXXUv&p=1&ps=500 | time=23ms
15:16:59.133 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-yy5QTOVkPZXXN2&p=1&ps=500 | time=27ms
15:16:59.152 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8Ch-yE5QTOVkPZXXMV&p=1&ps=500 | time=18ms
15:16:59.184 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AV8rQUOm2gOvbMcJNMwC&p=1&ps=500 | time=30ms
15:16:59.202 INFO: Load active rules (done) | time=351ms
15:16:59.204 INFO: Load metrics repository
15:16:59.215 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=11ms
15:16:59.250 INFO: Load metrics repository (done) | time=45ms
15:16:59.256 DEBUG: SCM Step is disabled by configuration
15:16:59.257 INFO: Publish mode
15:16:59.257 INFO: Project key: Sample
15:16:59.257 DEBUG: Start recursive analysis of project modules
15:16:59.257 INFO: -------------  Scan Sample
15:16:59.341 INFO: Load server rules
15:16:59.422 DEBUG: GET 200 http://localhost:9000/api/rules/list.protobuf | time=81ms
15:16:59.434 INFO: Load server rules (done) | time=93ms
15:16:59.497 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : /.cs
15:16:59.497 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/.py
15:16:59.497 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : /*.java,/.jav
15:16:59.497 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/.as
15:16:59.497 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : /*.xml,/*.xsd,/.xsl
15:16:59.498 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/.php,/*.php3,/.php4,**/.php5,/*.phtml,/.inc
15:16:59.498 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/.ts,/.tsx
15:16:59.498 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/.js,/.jsx,**/.vue
15:16:59.532 DEBUG: Initializers :
15:16:59.532 INFO: Base dir: /Users/blearner/Documents/Sample/SampleApp
15:16:59.532 INFO: Working dir: /Users/blearner/Documents/Sample/SampleApp/.scannerwork
15:16:59.533 INFO: Source paths: src
15:16:59.533 INFO: Source encoding: UTF-8, default locale: en_US
15:16:59.534 INFO: Index files
15:16:59.547 DEBUG: 'src/app/app.component.css' indexed with language 'null'
15:16:59.548 DEBUG: 'src/environments/environment.ts' indexed with language 'ts'
15:16:59.548 DEBUG: 'src/app/app.component.html' indexed with language 'null'
15:16:59.548 DEBUG: 'src/app/app.component.spec.ts' indexed with language 'ts'
15:16:59.548 DEBUG: 'src/app/app.module.ts' indexed with language 'ts'
15:16:59.548 DEBUG: 'src/main.ts' indexed with language 'ts'
15:16:59.548 DEBUG: 'src/polyfills.ts' indexed with language 'ts'
15:16:59.548 DEBUG: 'src/app/app.component.ts' indexed with language 'ts'
15:16:59.549 DEBUG: 'src/styles.css' indexed with language 'null'
15:16:59.549 DEBUG: 'src/tsconfig.app.json' indexed with language 'null'
15:16:59.549 DEBUG: 'src/tsconfig.spec.json' indexed with language 'null'
15:16:59.549 DEBUG: 'src/environments/environment.prod.ts' indexed with language 'ts'
15:16:59.549 DEBUG: 'src/typings.d.ts' indexed with language 'ts'
15:16:59.549 DEBUG: 'src/test.ts' indexed with language 'ts'
15:16:59.549 DEBUG: 'src/index.html' indexed with language 'null'
15:16:59.549 DEBUG: 'src/favicon.ico' indexed with language 'null'
15:16:59.549 INFO: 16 files indexed
15:16:59.550 INFO: 0 files ignored because of inclusion/exclusion patterns
15:16:59.550 INFO: Quality profile for ts: TsLint
15:17:00.030 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
15:17:00.030 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
15:17:00.031 DEBUG: 'C#' skipped because there is no related file in current project
15:17:00.031 DEBUG: 'C# Unit Tests Coverage Report Import' skipped because there is no related file in current project
15:17:00.031 DEBUG: 'C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
15:17:00.031 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
15:17:00.032 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
15:17:00.032 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
15:17:00.032 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
15:17:00.032 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
15:17:00.033 DEBUG: 'Flex' skipped because there is no related file in current project
15:17:00.033 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
15:17:00.033 DEBUG: 'XML Sensor' skipped because there is no related file in current project
15:17:00.033 DEBUG: 'PHP sensor' skipped because there is no related file in current project
15:17:00.033 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
15:17:00.036 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
15:17:00.036 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
15:17:00.036 DEBUG: 'C#' skipped because there is no related file in current project
15:17:00.036 DEBUG: 'C# Unit Tests Coverage Report Import' skipped because there is no related file in current project
15:17:00.036 DEBUG: 'C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
15:17:00.036 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'Flex' skipped because there is no related file in current project
15:17:00.037 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
15:17:00.038 DEBUG: 'XML Sensor' skipped because there is no related file in current project
15:17:00.038 DEBUG: 'PHP sensor' skipped because there is no related file in current project
15:17:00.038 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
15:17:00.041 DEBUG: Sensors : SonarJavaXmlFileSensor -> Analyzer for "php.ini" files -> Linting sensor for TypeScript files -> Combined LCOV and LOC sensor -> Zero Coverage Sensor -> CPD Block Indexer
15:17:00.042 INFO: Sensor SonarJavaXmlFileSensor [java]
15:17:00.042 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
15:17:00.042 INFO: Sensor Analyzer for "php.ini" files [php]
15:17:00.044 INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=2ms
15:17:00.044 INFO: Sensor Linting sensor for TypeScript files [typescript]
15:17:00.045 DEBUG: Found sonar.ts.tslint.path path to be '/usr/local/bin/tslint'
15:17:00.045 DEBUG: Found sonar.ts.tslint.configPath path to be '/Users/blearner/Documents/Sample/SampleApp/tslint.json'
15:17:00.045 DEBUG: Path sonar.ts.tslint.rulesDir not specified, falling back to null
15:17:00.045 DEBUG: Found sonar.ts.tslint.projectPath path to be '/Users/blearner/Documents/Sample/SampleApp/tsconfig.json'
15:17:00.045 DEBUG: Path sonar.ts.tslint.outputPath not specified, falling back to null
15:17:00.045 DEBUG: Found sonar.ts.tslint.nodePath path to be '/usr/local/bin/node'
15:17:00.128 DEBUG: Using a temporary path for TsLint output: /Users/blearner/Documents/Sample/SampleApp/.scannerwork/.sonartmp/3085093627206079050.tmp
15:17:00.128 DEBUG: Running against a single project JSON file
15:17:02.448 INFO: Sensor Linting sensor for TypeScript files [typescript] (done) | time=2404ms
15:17:02.449 INFO: Sensor Combined LCOV and LOC sensor [typescript]
15:17:02.462 WARN: No coverage information will be saved because LCOV file cannot be found.
15:17:02.462 WARN: Provided LCOV file path: /Users/blearner/Documents/Sample/SampleApp/test-results/coverage. Seek file with path: /Users/blearner/Documents/Sample/SampleApp/test-results/coverage
15:17:02.462 WARN: No coverage information will be saved because all LCOV files cannot be found.
15:17:02.462 INFO: Sensor Combined LCOV and LOC sensor [typescript] (done) | time=13ms
15:17:02.462 INFO: Sensor Zero Coverage Sensor
15:17:02.471 INFO: Sensor Zero Coverage Sensor (done) | time=9ms
15:17:02.471 INFO: Sensor CPD Block Indexer
15:17:02.471 DEBUG: org.sonar.scanner.cpd.deprecated.DefaultCpdBlockIndexer is used for ts
15:17:02.471 DEBUG: No CpdMapping for language ts
15:17:02.472 INFO: Sensor CPD Block Indexer (done) | time=0ms
15:17:02.472 INFO: SCM Publisher is disabled
15:17:02.472 INFO: Calculating CPD for 0 files
15:17:02.473 INFO: CPD calculation finished
15:17:02.519 DEBUG: 'src/app/app.component.spec.ts' generated metadata  with charset 'UTF-8'
15:17:02.520 DEBUG: 'src/app/app.module.ts' generated metadata  with charset 'UTF-8'
15:17:02.521 DEBUG: 'src/app/app.component.ts' generated metadata  with charset 'UTF-8'
15:17:02.522 DEBUG: 'src/environments/environment.ts' generated metadata  with charset 'UTF-8'
15:17:02.522 DEBUG: 'src/environments/environment.prod.ts' generated metadata  with charset 'UTF-8'
15:17:02.523 DEBUG: 'src/main.ts' generated metadata  with charset 'UTF-8'
15:17:02.524 DEBUG: 'src/polyfills.ts' generated metadata  with charset 'UTF-8'
15:17:02.525 DEBUG: 'src/typings.d.ts' generated metadata  with charset 'UTF-8'
15:17:02.526 DEBUG: 'src/test.ts' generated metadata  with charset 'UTF-8'
15:17:02.551 INFO: Analysis report generated in 76ms, dir size=35 KB
15:17:02.566 INFO: Analysis reports compressed in 15ms, zip size=15 KB
15:17:02.566 INFO: Analysis report generated in /Users/blearner/Documents/Sample/SampleApp/.scannerwork/batch-report
15:17:02.566 DEBUG: Upload report
15:17:02.584 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=Sample | time=16ms
15:17:02.585 INFO: Analysis report uploaded in 18ms
15:17:02.586 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/Sample
15:17:02.586 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
15:17:02.586 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AV9LT4F1_g8Daf1iKtdx
15:17:02.586 DEBUG: Report metadata written to /Users/blearner/Documents/Sample/SampleApp/.scannerwork/report-task.txt
15:17:02.588 DEBUG: Post-jobs :
15:17:02.590 INFO: Task total time: 4.526 s
15:17:02.590 INFO: ------------------------------------------------------------------------
15:17:02.591 INFO: EXECUTION SUCCESS
15:17:02.591 INFO: ------------------------------------------------------------------------
15:17:02.591 INFO: Total time: 5.362s
15:17:02.662 INFO: Final Memory: 50M/402M
15:17:02.663 INFO: ------------------------------------------------------------------------
15:17:02.663 DEBUG: Execution getVersion
15:17:02.664 DEBUG: Execution stop
I tried multiple options but nothing worked. I verified my tslint and node are configured correctly
Here are my sonar-project.properties file for refrence
sonar.projectKey=SampleApp
sonar.ProjectName=SampleApp
sonar.sources=/Users/xxxx/Documents/git/Sample/SampleApp/src
sonar.ts.tslint.nodePath=/usr/local/bin/node
sonar.javascript.lcov.reportPaths=/Users/xxxx/Documents/Sample/SampleApp/test-results/coverage/lcov.info
sonar.ts.tslint.enabled=true
sonar.ts.tslint.typeCheck=true
sonar.ts.tslint.path=/usr/local/bin/tslint
sonar.ts.tslint.configPath=/Users/xxxx/Documents/Sample/SampleApp/tslint.json
sonar.ts.tslint.projectPath=/Users/xxxx/Documents/Sample/SampleApp/tsconfig.json
sonar.ts.coverage.lcovReportPath=/Users/xxxx/Documents/Sample/SampleApp/test-results/coverage
Any help is highly appreciated as stuck with this for 2 days now.
Thanks in advance

Got the same:
  "jsonrpc": "2.0",
  "method": "window/logMessage",
  "params": {
    "type": 3,
    "message": "Finished SonarTS Analysis"
  }
}
{
  "jsonrpc": "2.0",
  "method": "window/logMessage",
  "params": {
    "type": 4,
    "message": "\u0027SonarJS\u0027 skipped because there is no related file in current project"
  }
}
{
  "jsonrpc": "2.0",
  "method": "textDocument/publishDiagnostics",
  "params": {
    "uri": "file:///Users/glebmikheev/dokuro/prj/svo/libs/map/src/components/desktop-filters/desktop-filters.component.ts",
    "diagnostics": []
  }
}


name不是数据对象的唯一标识问题

以name作为数据对象的唯一标识来存取数据，这种场景用户理解name是唯一标识，只存一份数据。但是当前以同一个name put两份数据，两份数据都会存进vineyard数据库里，元数据里的name是一样的；通过name取的是最新的一份数据，请问vineyard的设计是如何考虑的？老的数据是不是相当于残留了？

你可以通过object id拿到之前的数据，如果必须要用name对应一个object的时候，需要确保name不会被覆盖。另外你预期覆盖后是个什么行为比较好呢？

When operating an object through name, currently it appears that name is associated with the latest object; So what is the purpose of retaining the name in the original object, for historical tracking?
Can it be assumed that a user no longer needs an old object with the same name when writing a new object using the same name, can it be automatically deleted, or can a prompt be returned to the user for decision?

At present, when using the same name to write an object, the name will be associated with the latest written object, but existing objects will also retain that name Why not remove this name from existing external objects? What is the purpose of retaining this name on an existing object? Is it because of immutable data?

Can a user assume that they no longer need an existing object with the same name when writing a new object using that name? Can the existing object be automatically deleted, or can a prompt be returned to the user for decision? Or rather, due to immutable data, no deletion or other operations are performed; Only new objects can be added and associated with that name

@Daniel-blue Thanks for the detail. We can validate whether the name exists and make sure the object-name mapping not to be overwritten.


get_agents returns an invalid json with two entries for osDescription

As reported here - https://github.com/Azure/azure-devops-cli-extension/issues/755
The get_agents function returns a json object as below -
[
  {
    "accessPoint": "CodexAccessMapping",
    "assignedAgentCloudRequest": null,
    "assignedRequest": null,
    "authorization": {
      "authorizationUrl": null,
      ..
       ..
      }
    },
    "createdOn": "2019-09-11T06:38:19.797000+00:00",
    "enabled": true,
    "id": 89,
    "lastCompletedRequest": null,
    "maxParallelism": 1,
    "name": "ATBAGGA-Agent",
    "oSDescription": null,
    "osDescription": "Microsoft Windows 10.0.18362 ",
    "pendingUpdate": null,
    "properties": null,
    "provisioningState": "Provisioned",
    "status": "online",
    "statusChangedOn": null,
    "systemCapabilities": null,
    "userCapabilities": null,
    "version": "2.155.1"
  }
]

The issue is due to different case in key (osDescription) returned by the API than the object in python client here where it is (oSDescription).

Serialization/Deserialization is controlled by this line:
'oSDescription': {'key': 'osDescription', 'type': 'str'},

The oSDescription is the python property name.  The key value is osDescription, which is the json name to serialize to or deserialize from.  It is basically saying to take the the value of the json kvp with key 'osDescription and assign that value to the python property oSDescription, so I expcect this to work fine.
The property name oSDescription does not follow python naming guidance, and should be os_description, but that should not cause the problem you mention.
The value in the 5.0 version of the api is wrong on this line, so i expect you are using 5.0 APIs or an older version of the sdk:
'oSDescription': {'key': 'oSDescription', 'type': 'str'},

I will fix both the improper naming of the property and the 5.0 deserialization issue.

#269 for the 5.0 APIs.


metrics-server v0.3.1 can't start when deploying k8s 1.12

Version: master 10/4
panic: unknown flag: --source

See https://github.com/kubernetes-incubator/metrics-server#flags and https://github.com/kubernetes-incubator/metrics-server/pull/113

Deployed 1.12 using master, tested kubectl top nodes and kubectl top pods -n kube-system. Also ran the HPA example from k8s docs, all worked.


Add a FAQ in the readme

It will be good to add a FAQ (frequent asked questions) apart on the readme because a lot of users have the same issues like "Interaction aknowledge", "Event modalSubmit on the command", "The client is not valid on this context", "The interaction is replied or defered". This will be fine because almost the half of the issues are that and It Will help the users reaching an answer faster than open an issue.

I will work on this. Thanks ;)

Added!

😎


Redirect to /index does not work with query parameter

https://digitalproductschool.io?hey=test should redirect to https://digitalproductschool.io/index?hey=test

@lustoykov I imagine this issue is obsolete after the move to Gatsby, isn't it?

👍  Waiting for the official release before we close all of them 😈 😈

Legacy as of Gatsby rework


Strange behavior with dshow device

Hi,
On windows I'm having trouble with ffmpeg-fluent. When with ffmpef-fluent I try to use dshow capture device as input, ffmpeg tell me that it doesn't find this device. But when i run exactly the same command directly via command line it works...
dump of ffmpeg-fluent :
started : ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -framerate 30 -s 1280x720 -rtbufsize 1500M -vsync 0 -fflags genpts -i pipe:0 -f dshow -i audio="virtual-audio-capturer" -acodec aac -b:a 128k -ac 1 -vcodec h264_nvenc -r 30 -preset fast -pix_fmt yuv420p -crf 20 -maxrate 4000k -bufsize 8000k -g 30 -flvflags no_duration_filesize -f mpegts udp://<IP_ADDRESS>:8888
Stderr output: ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg developers
Stderr output:   built with gcc 5.4.0 (GCC)
Stderr output:   configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
Stderr output:   libavutil      55. 43.100 / 55. 43.100
Stderr output:   libavcodec     57. 70.100 / 57. 70.100
Stderr output:   libavformat    57. 61.100 / 57. 61.100
Stderr output:   libavdevice    57.  2.100 / 57.  2.100
Stderr output:   libavfilter     6. 68.100 /  6. 68.100
Stderr output:   libswscale      4.  3.101 /  4.  3.101
Stderr output:   libswresample   2.  4.100 /  2.  4.100
Stderr output:   libpostproc    54.  2.100 / 54.  2.100
Stderr output: Input #0, rawvideo, from 'pipe:0':
Stderr output:   Duration: N/A, start: 0.000000, bitrate: 884736 kb/s
Stderr output:     Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1280x720, 884736 kb/s, 30 tbr, 30 tbn, 30 tbc
Stderr output: [dshow @<PHONE_NUMBER>70ac20] Could not find audio only device with name ["virtual-audio-capturer"] among source devices of type audio.
Stderr output: [dshow @<PHONE_NUMBER>70ac20] Searching for audio device within video devices for "virtual-audio-capturer"
Stderr output: [dshow @<PHONE_NUMBER>70ac20] Could not find audio only device with name ["virtual-audio-capturer"] among source devices of type video.
Stderr output: audio="virtual-audio-capturer": I/O error

Dump of cmd :
ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -framerate 30 -s 1280x720 -rtbufsize 1500M -vsync 0 -fflags genpts -i pipe:0 -f dshow -i audio="virtual-audio-capturer" -acodec aac -b:a 128k -ac 1 -vcodec h264_nvenc -r 30 -preset fast -pix_fmt yuv420p -crf 20 -maxrate 4000k -bufsize 8000k -g 30 -flvflags no_duration_filesize -f mpegts udp://<IP_ADDRESS>:8888
ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, rawvideo, from 'pipe:0':
  Duration: N/A, bitrate: 884736 kb/s
    Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1280x720, 884736 kb/s, 30 tbr, 30 tbn, 30 tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, dshow, from 'audio=virtual-audio-capturer':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Using -vsync 0 and -r can produce invalid output files
Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (udp://<IP_ADDRESS>:8888) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Output #0, mpegts, to 'udp://<IP_ADDRESS>:8888':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: h264 (h264_nvenc) (Main), yuv420p, 1280x720, q=-1--1, 2000 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.70.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 4000000/0/2000000 buffer size: 8000000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, mono, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.70.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=N/A

If anybody has an idea of what's happening. It could be great !
Thanks

Yep, that's a known issue. fluent-ffmpeg incorrectly interprets such inputs as files. I've started working on it a while ago but I didn't have time to finish yet.

Great !!!!!!!!!!!!! I will look if i can do something to help you.

Hey,
Did the ability to pick up devices ever get added?
I see the link njoyard put to a fix that scans the device output of ffmpeg but it doesn't look like it has been tested or merged.
Is this simply a syntax in the command string? ffplay will happily accept -i 'device name' -f 'dshow'. However, ffmpeg doesn't seem to accept it unless it is -f 'dshow' -i 'device name'

@njoyard was DirectShow device support ever added to the input() command? Would a PR be welcomed for this feature if I am able to create one?

Apologies, I found the problem when I tried to do it manually with child_process.spawn. My original attempt looked like this:
ffmpeg()
  .input('video="Virtual Camera"')

However, the double quotes were actually what was causing the error (this forum post tipped me off). Removing the quotes fixed it, both for child_process and for fluent-ffmpeg:
ffmpeg()
  .input('video=Virtual Camera')

So I can now confirm that fluent-ffmpeg does indeed work with directshow device input in 2021!

@super-ienien this likely also solves your original issue from way back in 2017! 😜

Is this already possible with fluent-ffmpeg in 2021?

And for anyone that came further, looking for the syntaxis to add video and audio device with Directshow ...
ffmpeg()
  .input('video=Virtual Camera:audio=Virtual Mic')

Many thanks to @nathanbabcock 🙌🏻

thank you, this works for me


Add support for 4 finger windows shortcut for going forward and backward

What's the Problem?
I've set up my advanced touchpad settings for 4 fingers to be, swipe left for backward navigation and swipe right for forward.
This doesn't seem to work in your app, works everywhere else just fine; really stops me from using this wonderful app as my daily driver cause of this single thing.
I am not really sure what's causing this issue, app not supporting 4 finger gestures or not allowing forward or backward nav?
regardless, please add support for this ASAP!!
screenshot showing my touchpad settings for 4 fingers,

Solution/Idea
Simply add this feature allowing me to go forward and backward using my four finger gesture setup.
Alternatives
No alternatives are there unfortunately, you have to fix this
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.434
Windows Version
WIndows 11 version 21H2 (OS Build 22000.434)
Comments
No response

Merging with #7702, €6804


Cache & logs now has a new location in Mautic 3.x

I noticed that we missed updating that the cache. and logs are now in /var/cache and /var/logs respectively from Mautic 3.x onwards.
We should do a search/replace to update, and add the info block at the top of the page where it is used heavily telling folk about the change in Mautic 3.x and what to use in Mautic 2.x (e.g. troubleshooting) using the markdown >>>

I'll work on this, @RCheesley. Please assign it to me.

Yes, it would be good to add the info there I think!

@swati-thacker13 this issue was assigned to you but I'm not sure if we got around to completing it. I've fixed a few references I've found as I've been going through other docs but would be good to do a general find/replace to catch any we might have missed.

@swati-thacker13 this would be a fairly simple PR - you should be able to do a find/replace globally for app/console and replace with bin/console and likewise app/logs to replace with var/logs

Opened this PR: https://github.com/mautic/mautic-documentation/pull/179 to address this issue.


Build failed

Hi, tried to build the todo, but it failed, can you help ? thanks.

<EMAIL_ADDRESS>postbuild C:\MYAPP\ANGULAR2\todo-angular2-firebas
e-master
./bin/postbuild.copy-assets.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postbuild: ./bin/postbuild.copy-assets.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postbuild script './bin/post
build.copy-assets.sh'.

Hi @hbela — I've replaced the shell script with a webpack plugin for copying assets. The changes have been merged into the master branch.


Other class is not mocked as required

Description
When Mocking strategy is set to "Other classes: Mockito" - other classes should be mocked in all tests.
To Reproduce
Steps to reproduce the behavior:

Run IntelliJ IDEA 2022.1.4 with one of the latest builds of UTBot plugin from main branch installed.
Open UTBotJava project
Find utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java
Generate tests for nextValue() method with Mocking strategy is set to "Other classes: Mockito"
Open the generated test

Expected behavior
RecursiveTypeClass used as the input parameter of the method is supposed to be mocked in all tests - except the one with null used.
Actual behavior
There are 4 tests generated. RecursiveTypeClass is mocked only in one test.
Visual proofs (screenshots, logs, images)
public class CommonMocksExampleTest {

    @Test
    public void testNextValue() {
        CommonMocksExample commonMocksExample = new CommonMocksExample();
        RecursiveTypeClass node = new RecursiveTypeClass();
        RecursiveTypeClass recursiveTypeClass = new RecursiveTypeClass();
        recursiveTypeClass.next = null;
        recursiveTypeClass.value = 0;
        node.next = recursiveTypeClass;
        node.value = 0;

        RecursiveTypeClass actual = commonMocksExample.nextValue(node);

        RecursiveTypeClass nodeNext = node.next;
        RecursiveTypeClass actualNext = actual.next;
        RecursiveTypeClass actualNextNext = actualNext.next;
        assertNull(actualNextNext);

        int nodeNextValue = nodeNext.value;
        int actualNextValue = actualNext.value;
        assertEquals(nodeNextValue, actualNextValue);

        int nodeValue = node.value;
        int actualValue = actual.value;
        assertEquals(nodeValue, actualValue);
    }

    @Test
    public void testNextValueThrowsNPE() {
        CommonMocksExample commonMocksExample = new CommonMocksExample();
        RecursiveTypeClass node = new RecursiveTypeClass();

        /* This test fails because method [org.utbot.examples.mock.CommonMocksExample.nextValue] produces [java.lang.NullPointerException]
            org.utbot.examples.mock.CommonMocksExample.nextValue(CommonMocksExample.java:25) */
        commonMocksExample.nextValue(node);
    }

    @Test
    public void testNextValue_NodeNextEqualsNode() {
        CommonMocksExample commonMocksExample = new CommonMocksExample();
        RecursiveTypeClass nodeMock = mock(RecursiveTypeClass.class);
        nodeMock.next = nodeMock;

        RecursiveTypeClass actual = commonMocksExample.nextValue(nodeMock);

        int nodeMockValue = nodeMock.value;
        int actualValue = actual.value;
        assertEquals(nodeMockValue, actualValue);
    }

    @Test
    public void testNextValue_ThrowNullPointerException() {
        CommonMocksExample commonMocksExample = new CommonMocksExample();

        /* This test fails because method [org.utbot.examples.mock.CommonMocksExample.nextValue] produces [java.lang.NullPointerException]
            org.utbot.examples.mock.CommonMocksExample.nextValue(CommonMocksExample.java:21) */
        commonMocksExample.nextValue(null);
    }

}

Environment
Windows 10 Pro
Gradle project
JDK 8
Additional context
When generating tests for MockWithFieldExample with same setting : Other classes : Mockito - VersionStamp is not mocked either

I checked it. There are two important points:

At the moment, I have four executions for this test at the latest master: two symbolic and two made by fuzzer, although we had all four made by the symbolic engine. I'm not sure whether it is expected behaviour or not, maybe @dtim has something to say about it;
Seems like the fuzzer doesn't know anything about the mock strategy, therefore it generates tests without them (for example, the longest method is made by the fuzzer). So, I think I can reassign this issue to @Markoutte since it is not the engine's mistake


Use case when having multiple purpose commits

I understand that the idea is to have a fine granularity that will imply that every commit is related to only one specific change. But would it be a good idea to have an explanation of how to handle the case when for some reason is very difficult or almost impossible to avoid committing only one change?
Maybe one solution would be to have a subject that tries to represent a general idea of the commit, and then the details could be somehow enumerated in the body?

That's an interesting question. Those commits are, by definition and intention, not writeable under the convention (since it requires the subject to be "a succinct description of the change"). Hence, adopting the convention strongly suggest developers to organize their workflow so that they are able to avoid that kind of commits.
In that spirit, the textbook answer would be "go back and make multiple commits whenever possible", because "it discourages moving fast in a disorganized way". From the Conventional Commits specification itself:

What do I do if the commit conforms to more than one of the commit types?
Go back and make multiple commits whenever possible. Part of the benefit of Conventional Commits is its ability to drive us to make more organized commits and PRs.
Doesn’t this discourage rapid development and fast iteration?
It discourages moving fast in a disorganized way. It helps you be able to move fast long term across multiple projects with varied contributors.

Of course, theory and practice are -in theory- the same, but in practice they are not. How to handle those cases depends on which changes are entangled, and whether they can be subsumed into some (not-so-succinct) description that amounts to something more than "if applied, this commit will apply changes". After all, the commit will be reviewed, and the reviewer can request some rewriting, depending on the specific occurrence.
Perhaps if you can illustrate the situation with some fictional example, we will be able to figure out what makes sense in those cases.

I think that the key is in here:

What do I do if the commit conforms to more than one of the commit types?
Go back and make multiple commits whenever possible. Part of the benefit of Conventional Commits is its ability to drive us to make more organized commits and PRs.

"whenever possible" means it could be, that for some reason, sometimes it could not be possible to disassemble the commit and break it down to smaller ones. Is up to the reviewer (that is probably working in the same project and has a better idea) to decide if a strict implementation of conventional commits is required in that case or if maybe this particular point can be relaxed in order to solve other problems or goals with more priority.
I think that we could close this issue without making changes to our specification, what do you think?

Closed with no changes.


WIP - Save message body as file

As discussed in issue 358 I've extended the code to support saving a messages body content to a file. Also bulk operations are supported to save more than one message body at once.

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0378.128.build.588 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/61610dfd28 by @evilbaschdi)

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0378.130.build.589 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/4d69d2f440 by @evilbaschdi)

I reversed some hunks and did a "git push --force" ... hopefully this works

Not everything got reverted properly. Do you want to send a fresh PR to ensure only the vital changes are in it?

Sure I can. But I had a quick look and see the issues. I'm sorry but it seems SourceTree has rolled back some changes I did since it was crashing all the time yesterday morning. So it's also possible to revert the rest of those "wrong" changes and push in this branch again.

No worries, happens.
I suggested a new PR (branch can remain the same) to have a clean work slate.
Marking this as WIP. Once you're done, remove WIP and ping us. Thanks.

thanks to https://www.devart.com/codecompare/ we have another try :-)

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0378.132.build.594 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/b6feb11838 by @evilbaschdi)

It's better now 🙂.
Let's coordinate with @ErikMogensen to ensure the changes are not conflicting with his work in PR #381.

Last time I had a look into his branch @ErikMogensen did not make changes to the files contained in my PR so I don't think there should be bigger merge issues.

Sounds good. There will be a 2nd reviewer anyways, so if I missed anything big, it will be (hopefully) caught.


Send Screen

A camera component with a paste option as well

https://www.react-native-vision-camera.com/docs/guides

https://github.com/rodgomesc/vision-camera-code-scanner


access rights signalR

this is to allow the system admin to update user's access, in the mean time a logout/login is required to refresh the access


153799905 GKE Usage Metering Data Studio connector fails on divide-by-zero error

Create a DataStudio report following instructions.
With some projects, you get a blank  widget that is based on cost_with_unallocated_untracked.  See attachment missing data.jpg. This is ultimately because for some values of sku, the SUM(usage.amount)   is 0 in the billing-export table. Presumably this is an ordinary occurrence when an SKU is unused, and so this case should be handled.
Minimal reproduction of divide-by-zero error follows. (To run it, replace table and project identifiers). This is a subquery directly from the connector sourcecode and only uses one table, so the problem is not in complex joins, just in the usage of data that can have zero values.
SELECT
  sku.id AS sku_id,
  project.id AS project_id,
  MIN(usage_start_time) AS min_usage_start_time,
  MAX(usage_end_time) AS max_usage_end_time,
  SUM(usage.amount) AS amount,
  usage.unit AS usage_unit,
  SUM(cost) AS cost,
   (SUM(cost) / SUM(usage.amount)) AS rate
FROM
  `MY_BILLING_EXPORT_PROJECT.BILLING_EXPORT_DATASET.BILLING_EXPORT_TABLE`
WHERE
  usage_start_time >= TIMESTAMP("2010-00-00")
  AND usage_end_time <= TIMESTAMP("2030-01-01")
 AND project.id = "MYPROJECT"
GROUP BY
  project.id,
  sku.id,
  usage.unit

Solution: Handle cases with value 0.
A related issue is at the Google Issue tracker, but apparently here at GitHub is the right place for the elements of this bug that involve the connector.

Here is what the blank widget looks like; and the error dialog. These don't give much info, but the query above helps diagnose this.


tegra-configs-alsa: setup default ALSA config swapping

The default asound.conf in L4T is only configured on the
Jetson Xavier NX for (card: tegra-hda-xnx, device id: 7).
Which is HDMI Audio Out. One can't hear audio over DP
unless the alsa config is updated to
(card: tegra-hda-xnx, device id: 3).
Commit swaps default L4T provided alsa config with custom
one that enables audio over both HDMI+DP.
Signed-off-by: Vincent Davis Jr<EMAIL_ADDRESS>

LGTM

The layer check is failing due to an issue in either OE-Core or meta-oe, so I'll go ahead and override the check for this.


Supposed conflict with ZeresPluginLibrary & FavoriteMedia Plugin

Versions
Discord: stable 342408 (bd62b7c)
BetterDiscord Core: 1.10.2
ZeresPluginLibrary: 2.0.22
FavoriteMedia: 1.10.4
Problem
Having both FavoriteMedia plugin and ZeresPluginLibrary enabled, when you visit a channel that has media such as an image on it, Discord will crash. According to the stack-trace, the issue is FavoriteMedia plugin. However, the author has said your plugin library is the cause (https://github.com/Dastan21/BDAddons/issues/274) and proceeded to lock the issue thread. Looking at the code myself, I don't see how there's a conflict, but I also don't know the BetterDiscord, BDFDB, or 0 libraries codebase.
Stack-trace
web.<hash>.js:12 TypeError: Cannot read properties of undefined (reading 'Messages')
    at MediaFavButton.componentDidMount (FavoriteMedia.plugin.js:1017:141)
    at sX (web.<hash>.js:12:1028028)
    at e (web.<hash>.js:12:1048602)
    at e (web.<hash>.js:12:1048498)
    at web.<hash>.js:12:1048613
    at oB (web.<hash>.js:12:1049125)
    at oy (web.<hash>.js:12:1032474)
    at b (web.<hash>.js:12:1230240)
    at D (web.<hash>.js:12:1230770)
    at web.<hash>.js:1:752248
    at O (web.<hash>.js:1:752013)
    at MessagePort.L (web.<hash>.js:1:752072)

Respective FavoriteMedia.plugin.js code: https://github.com/Dastan21/BDAddons/blob/b88d167d59c7791e35e9ecc2eaab9118f33da2b9/plugins/FavoriteMedia/FavoriteMedia.plugin.js#L1017
    componentDidMount () {
      this.tooltipFav = createTooltip(this.refs.tooltipFav, this.isFavorited ? Strings.Messages.GIF_TOOLTIP_REMOVE_FROM_FAVORITES : Strings.Messages.GIF_TOOLTIP_ADD_TO_FAVORITES, { style: 'primary' })
      Dispatcher.subscribe('FM_FAVORITE_MEDIA', this.updateFavorite)
    }

Mitigation
Deleting ZeresPluginLibary or FavoriteMedia lets you use Discord again as per usual. I tried disabling ZeresPluginLibrary and CTRL+R, but I was still crashing. My issue only fixed when I renamed the plugin file to 0PluginLibrary.plugin.js.BAK - or effectively deleting it.
I would appreciate it if you could take a deeper look into this and to confirm if the issue is with your plugin library and fix it if possible. It sucks having to choose between either using FavoriteMedia or plugins that rely on your plugin library because I use both effected plugins. In the mean time I guess I'll disable/remove FavoriteMedia until a solution or work-around is found. Thank you.

I'd like to add this also happens when using the BetterChannelList plugin made by arg0NNY https://github.com/arg0NNY/DiscordPlugins/tree/cb0a3dd12c50163e1c70f22c8623887a44b31ed2/BetterChannelList
It'd be of great use to compile a list of all the plugins using the library which happen to have a conflict with it upon loading.

Since it might not be as clear as OP says, FavoriteMedia Plugin does use and require Zeres, so the issue being from this makes sense to some level, however if the issue is only from Fav's side it suggests some function used from said library is no longer working how it used to, or is deprecated, or said function is bugged.

Since it might not be as clear as OP says, FavoriteMedia Plugin does use and require Zeres

Oh I'm sorry I wasn't aware of that. When I disabled Zere I did see a pop-up prompt appear now that you mention it asking to download ZerePluginLibrary, however IIRC I don't remember seeing the plugin description update to the typical message that reads something along the lines of This plugin won't work correctly until you install ZerePluginLibrary.

Since it might not be as clear as OP says, FavoriteMedia Plugin does use and require Zeres

Oh I'm sorry I wasn't aware of that. When I disabled Zere I did see a pop-up prompt appear now that you mention it asking to download ZerePluginLibrary, however IIRC I don't remember seeing the plugin description update to the typical message that reads something along the lines of This plugin won't work correctly until you install ZerePluginLibrary.

Yeah it's a known requirement, and is automatically downloaded when you enable it if I recall. The plugins code also says as much if you look at it.

Downgrading FavoriteMedia doesnt work
Downgrading BDFDB doesnt work

Downgrading FavoriteMedia doesnt work Downgrading BDFDB doesnt work

Likely because it tries to grab functions from a github file, since these just copy from internet hosted files to get their functions rather then having them all downloaded locally.

@ISAKEM I think FavoriteMedia was in fact the issue since there was no updates for Zeres library, but Dastan updated FavoriteMedia, and now it's working again for me. All I did was replace my FavoriteMedia.plugin.js with the current latest available on his repo (1.11.1 technically, but I think he forgot to update the version as the file has it under 1.11.0). Feel free to try the same too:
https://raw.githubusercontent.com/Dastan21/BDAddons/refs/heads/main/plugins/FavoriteMedia/FavoriteMedia.plugin.js
I'm not sure if he implemented a workaround and Zeres is still broken or not, but I guess the following commit specifically fixed this specific issue https://github.com/Dastan21/BDAddons/commit/9bdb55b6baf56f6058e0b265f7f8e73d9ffefc7b

This plugin has reached EOL and will only be receiving high priority fixes!


overlay default highlighted

After generating the html using overlay, I can click each group in the legend and de-highlight.
How do I set the options  so that every group is by default not selected, i.e., user clicks needed group to highlight rather than clicking each group to turn it off.

I think this is a duplicate of https://github.com/ioam/holoviews/issues/2742

Thanks for pointing that out @ahuang11. I'll close this one.


Initial emoji-menu loading is slow

Refresh page
Load emoji menu
It's slow
Close, and re-open
It's fast

I'm not able to replicate; is this still an issue?