When we display package manifest and lock files, hyperlink to the upstream package repo web page

When we display a package manifest or lockfile in the resource details, we should have a way to add a hyperlink to the upstream repository web page for this repo: for instance when we browse a requirements.txt lockfile, if it contains: scancode-toolkit==30.0.1 we should recognize this and link to https://pypi.org/project/scancode-toolkit/30.1.0/
We can parse manifests alright and we can create URLs based on the ScanCode TK packagedcode classes.

@pombredanne  can u work on this

@soma2000-lang sure thing. If you do, I think starting with requirements.txt files would be great. Another easy one would be go.mod and go.sum

Ok

@pombredanne is this issue unresolved?. I would love to work on it in case it is before mentioned.

@the-illuminatus I have not heard back from Soma and there has been no pending PRs... so go for it!
Note that you can likely reuse the URL templates and functions to get the proper URL that exist in scancode-toolkit packagedcode code. See https://github.com/nexB/scancode-toolkit/blob/fff140efd68dd0098f09ad1bc675569f1f1ad6ae/src/packagedcode/pypi.py#L1163

Sure, thanks!
On Sun, 10 Apr 2022, 10:19 pm Philippe Ombredanne, @.***>
wrote:

@the-illuminatus https://github.com/the-illuminatus I have not heard
back from Soma and there has been no pending PRs... so go for it!
Note that you can likely reuse the URL templates and functions to get the
proper URL that exist in scancode-toolkit packagedcode code. See
https://github.com/nexB/scancode-toolkit/blob/fff140efd68dd0098f09ad1bc675569f1f1ad6ae/src/packagedcode/pypi.py#L1163
—
Reply to this email directly, view it on GitHub
https://github.com/nexB/scancode.io/issues/403#issuecomment-1094315792,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKNS5G4GWQZJ3NACQTFQVLVEMBCNANCNFSM5PIPHJTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

A good example of a similar UI would be the hyperlinking in this https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/blob/master/Gemfile ... or  https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium-python/-/blob/v2/requirements.txt
In the SCIO UI, when we look a Codebase Resource content and that's a manifest file, we should get the URLs collected from SCTK or just use a few heuristics to hyperlink to the public package repo

Sure will look into it.
On Mon, 25 Jul 2022, 9:58 pm Philippe Ombredanne, @.***>
wrote:

A good example of a similar UI would be the hyperlinking in this
https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium/-/blob/master/Gemfile
... or
https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium-python/-/blob/v2/requirements.txt
In the SCIO UI, when we look a Codebase Resource content and that's a
manifest file, we should get the URLs collected from SCTK or just use a few
heuristics to hyperlink to the public package repo
—
Reply to this email directly, view it on GitHub
https://github.com/nexB/scancode.io/issues/403#issuecomment-1194318783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKNS5D5UQCBDFDLSBRHAV3VV26CFANCNFSM5PIPHJTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@pombredanne is this issue still open?

Ye,s It's open

@lf32 sir,
is this issue still open? I would like to look into in.

Yes @melencholicmice, this is still in open.

@pombredanne  @lf32  Hello sir i had few doubts in this issue , i will be really thankful if you can help me in them

should i create a hyperlink to webpage in extracted_requirement section or should i make some new column in the table ?
I'm making a class for getting urls with different methods like get_pypi_url , get_npm_url etc , so in which section should this class go to maintain the code consistency of this project

should i create a hyperlink to webpage in extracted_requirement section or should i make some new column in the table ?

We have to make the hyperlink in resource view in scancode.io.
Let's assume we scan using this download URL: https://github.com/nexB/python-inspector/releases/download/v0.9.4/python-inspector-0.9.4.tar.gz and use the scan_codebase/scan_package pipeline. We will have a requirements.txt like this:

Here each requirement will be a hyperlink, i.e. attrs will link to the latest version of attrs -> https://pypi.org/project/attrs/
If this had a version constraint: like pip install attrs==22.2.0 we would then link to https://pypi.org/project/attrs/22.2.0/ instead.

I'm making a class for getting urls with different methods like get_pypi_url , get_npm_url etc , so in which section should this class go to maintain the code consistency of this project

The code could go in https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/resolve.py, but this can be discussed more in the PR review stage, first step would be to get something working first, maybe with a few supported type of manifests, then we can think more about generalizing and supporting more lockfiles/manifests.

Greetings @pombredanne and @AyanSinhaMahapatra,
I have executed ScanCode.io locally and comprehended the issue along with the anticipated outcome, and I'd love to fix this. As this is my first endeavor in resolving an issue for a public project, I kindly request guidance on how to commence the process and identification of the particular file requiring code adjustments.
Thank you!


It is possible to open a window with maximized size?

The title tells the story... I want to open a window as maximized.

@ChayimFriedman2 not yet but I could implement it as next. I let you know when it's done.

I think a new method called fullscreen() should be added to the Window builder.
It would call a piece of code that acquires the current display resolution and would set a window position to (0.0, 0.0),
size to (resolution_x, resolution_y) and resizeable to false.
Application::new()
        .window(|ctx| {
            Window::new()
                .title("OrbTk - Fullscreen example")
                .fullscreen(yes)
                .resizeable(false)
                .build(ctx)
        })
        .run();

@kivimango That what I thought too. Too notes, though:

.fullscreen(yes)????? You probably meant .fullscreen(true)...
I think fullscreen() is an ambiguous, because it also means fullscreen window (i.e. without borders etc.). Better name is maximized(), or even better, something like state(requestedState: WindowState) where WindowState is an enum enum WindowState { Normal, Maximized, Minimized }.

@ChayimFriedman2 thank you for your input. It will be included in the 0.3.1-alpha4 relase.

Hi, i think this feature could be implemented more easily when the new glutin backend arrives since it already have on WindowBuilder struct the function pub fn with_fullscreen(self, monitor: Option<Fullscreen>) -> WindowBuilder that can be used to set fullscreen exclusive window or borderless window. (https://docs.rs/glutin/0.24.1/glutin/window/struct.WindowBuilder.html#method.with_fullscreen)

1. `.fullscreen(yes)`????? You probably meant `.fullscreen(true)`...

Exactly.

2. I think `fullscreen()` is an ambiguous, because it also means fullscreen window (i.e. without borders etc.). Better name is `maximized()`, or even better, something like `state(requestedState: WindowState)` where `WindowState` is an enum `enum WindowState { Normal, Maximized, Minimized }`.

You are right.

Will take it on my agenda


feat: Tests and fixes [WIP]

Fix parsing of @method comments in a file. Before only the first comment would be matched. The fix matches all comments and then tries to match the method regex for each comment.
Return NOT_FOUND if no method comment is found in a file.
Remove usage of process.cwd() and use path.resolve. Added findDirectories function which will return the root, pages and api directories.
Remove console.log calls from within functions called by listAction.  Instead an array of strings is built which is then looped through by listAction and each one is printed.
Add snapshot tests for the list function. Closes #1
Sort output. Closes #2

Todo:

[ ] Figure out why the tests are failing. Looks like the number of arrows generated in the output is different when running in github vs locally (see the error log of the failing github action).

hi, tim! im gonna merge this PR changes although is WIP! i rly liked the patches you applied! ty for your contrib man! really appreciate it! 🪴

hi, tim! im gonna merge this PR changes although is WIP! i rly liked the patches you applied! ty for your contrib man! really appreciate it! 🪴

No problem glad I could help. Were you able to figure out why the tests are failing when running in GitHub actions? Everything passes locally.

hi, tim! im gonna merge this PR changes although is WIP! i rly liked the patches you applied! ty for your contrib man! really appreciate it! 🪴

No problem glad I could help. Were you able to figure out why the tests are failing when running in GitHub actions? Everything passes locally.

i couldn't! i did read your comments and actually tested it on my side... but i couldn't know what was going on!


Right click on close button shouldn't close window

Bug: Right-clicking on the close button in the activity bar closes the window. At the very least, it should do nothing.
Enhancement: Instead of doing nothing when the activity bars close button gets rightclicked, the same menu that gets shown when the "normal" close button (in the window title bar) gets rightclicked could be shown.
(Gnome offers the following actions by default for maximized windows: Minimize, Unmaximize, Move, Resize (disabled), Always on top (disabled), Always on Visible Workspace, Move to Workspace Up, Move to Workspace Down).

550789aee09de5f0bef30f6d9f36b70521cbe6f8 solve the right click by doing nothing. I'm not sure what is the sensible thing to do, so i'm not closing right away. Thank you for reporting.

Since the X in the activity bar is supposed to replace the X in the title bar, I think the sensible thing would be to show the exact same menu that the X in the title bar has. Otherwise it's not really a fully functional replacement.


fix: Testing CI

Codecov Report

Merging #726 (96ea5d1) into main (abfd735) will increase coverage by 0.51%.
The diff coverage is 16.32%.

@@            Coverage Diff             @@
##             main     #726      +/-   ##
==========================================
+ Coverage   14.57%   15.09%   +0.51%
==========================================
  Files          13       13
  Lines        1701     1643      -58
==========================================
  Hits          248      248
+ Misses       1425     1367      -58
  Partials       28       28

Flag
Coverage Δ

unittests
15.09% <16.32%> (+0.51%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/remover/remover.go
0.00% <0.00%> (ø)

pkg/scanners/trivy/helpers.go
47.91% <0.00%> (ø)

pkg/scanners/trivy/trivy.go
0.00% <0.00%> (ø)

test/e2e/util/utils.go
7.10% <10.00%> (+0.66%)
:arrow_up:

pkg/metrics/metrics.go
57.14% <100.00%> (ø)

pkg/remover/helpers.go
72.22% <100.00%> (ø)

pkg/scanners/trivy/types.go
23.25% <100.00%> (ø)

This was just for testing


Upgrade kubernetes version to v1.5.4

This PR upgrades the kubernetes version to the most updated release v1.5.4 which solves some major bugs for AWS:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#changelog-since-v153

cc @mumoshu

Codecov Report

Merging #401 into master will not change coverage.
The diff coverage is 33.33%.

@@           Coverage Diff           @@
##           master     #401   +/-   ##
=======================================
  Coverage   38.71%   38.71%
=======================================
  Files          29       29
  Lines        2278     2278
=======================================
  Hits          882      882
  Misses       1277     1277
  Partials      119      119

Impacted Files
Coverage Δ

model/region.go
0% <0%> (ø)
:white_check_mark:

core/controlplane/config/config.go
65.1% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

@AlmogBaku Thanks for your contribution.
LGTM 👍


Broken in ssr

I'm trying the component with Gatsby and I have an error in the SSR bundle:
WebpackError: ReferenceError: document is not defined
The problem is in Menu.js at line 27, maybe you can test document if not undefined.
Thanks

Hi @marco-streng, it is working now. I tested with a production build of gatsby and with gatsby develop and everything was ok.
thank you!

Fixed in v1.0.1


Kaminari not working with multisearch

I have been using pg_search's multisearch for a project which uses kaminari for pagination. When I use kaminari on the ActiveRecord::Relation objects returned by normal rails finders, pagination works.
But when it is used with PgSearch.multisearch('hai').page(1).per(5) I get this error:
undefined method 'page' for #<ActiveRecord::Relation:0x00000107310288>
How do i resolve this issue?
Rails Version: 3.0.10
Ruby Version: 1.9.2-p180
Kaminari Version: 0.12.4

We discovered the same issue and fixed it. Our pull request is at https://github.com/amatsuda/kaminari/pull/119
Unfortunately our fix hasn't been released as a new gem version yet. If you use the HEAD of https://github.com/amatsuda/kaminari you should probably be fine, though.


Bug updating profile

I was testing the instructions in the README as part of #259 and noticed two issues

This line references --link when it should reference --links
When I run the example command, I get an error

$ cargo run -- client update_profile marcua --display_name 'Adam Marcus' --links 'http://marcua.net'
    Finished dev [unoptimized + debuginfo] target(s) in 0.28s
     Running `target/debug/ayb client update_profile marcua --display_name 'Adam Marcus' --links 'http://marcua.net'`
Error: Database(PgDatabaseError { severity: Error, code: "42601", message: "syntax error at or near \",\"", detail: None, hint: None, position: Some(Original(18)), where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("scan.l"), line: Some(1145), routine: Some("scanner_yyerror") })
$ cargo run -- client profile marcua
    Finished dev [unoptimized + debuginfo] target(s) in 0.27s
     Running `target/debug/ayb client profile marcua`
 Display name | Description | Organization | Location | Links
--------------+-------------+--------------+----------+-------
 null         | null        | null         | null     |
$ cargo run -- client update_profile marcua --display_name 'Adam Marcus'
    Finished dev [unoptimized + debuginfo] target(s) in 0.29s
     Running `target/debug/ayb client update_profile marcua --display_name 'Adam Marcus'`
Error: Database(PgDatabaseError { severity: Error, code: "42601", message: "syntax error at or near \",\"", detail: None, hint: None, position: Some(Original(18)), where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("scan.l"), line: Some(1145), routine: Some("scanner_yyerror") })

I think the problem is in this line: https://github.com/marcua/ayb/blob/main/src%2Fayb_db%2Fdb_interfaces.rs#L280
That check is not enough because the first two elements can be None

Thank you! Let me try to resolve it :)


chore(dev.Dockerfile.tmpl): Remove superfluous step number

Summary
Issue
For some reason only the comment about copying the local flake dirs got a step number. Maybe a leftover?
Fix
Just remove it, as no other step is numbered.
How was it tested?
It wasn't as it is only a comment change. 😄

Thanks. It was indeed leftover from some changes we did on the template file.


Pets and fixes for pet skills

During testing of #122, I added some pets to the initialization data.
I also noticed that some skills of pets (Dark Horse, Fenrir) are not working correctly. I fixed them.
Both is included in this PR.

See also #6, but a system for pets which can be leveled up is not included in this PR.

Build fails, because merging #122 is required first.


[EN] Feedback for: /shows/new-in-chrome/index.html

i think to have a date on which the udpates are done will be very helpful

Same comment as my previous - it'll be on the redesign.


Nav bar items overflow

Describe the bug
Currently navbar items are getting overflow.
Expected behavior
Nav bar items should align properly in single row.

@MAVRICK-1  can you please assign this to me

@Hemu21 Can you provide screenshots or any kind of validation? I'll assign it to you

At laptop screen  1024px nav bar items are overflows

@Hemu21 go ahead!!


Add documentation link to "cmdline-tools component is missing" validation error

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ cmdline-tools component is missing
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

Add link to https://developer.android.com/studio/command-line.
    ✗ cmdline-tools component is missing.
      See https://developer.android.com/studio/command-line for more details.

Or better, if possible figure out the path/to/sdkmanager --install command to run.
Validation error added in #82560.

\cc @jonahwilliams


[11.x] Adds overwrite empty string helper

Nullable or empty string fields in a database table are common occurrences. However, we typically don't want to display those empty spaces in our Blade templates.
Consider a User table with a nullable field last_name. If this field is empty, when we display it in Blade as {{$user->last_name}} the expected result is:
first name: lakshan
last name:
But ideally, we want something like this:
first name: lakshan
last name: N/A
This situation is common in many projects. While there are multiple solutions, using a ternary operator like{{$user->last_name ?: 'N/A'}}can be cumbersome. Additionally, if our  value contains only empty spaces or new lines ...etc., we probably don't want to display them to the user. In such cases, we would need to use more complex logic in our Blade files.
To solve this issue more efficiently, the following feature comes in handy:
last name: {{Str::overwriteEmpty($user->last_name)}}
Although the default value is a hyphen, you can use any desired symbol like so:
last name: {{Str::overwriteEmpty($user->last_name, 'N/A')}}
This would result in:
last name: N/A

I'd suggest a shorter name. Like 'default' or value. overwriteEmpty is not a good name imho. And you could use the filled or blank helpers instead to determine if the value is empty.

if our empty value contains empty spaces or new lines

Then the value isn't empty, I don't think we should redefine what commonly accepted terms mean.
It's better IMO to make sure values are trimmed when inserted into the model (or when accessed if that works better for your use case), then it's very easy to just rely on ?: or ?? (i usually prefer the latter).

@henzeb  I think  filled() or blank() methods do not check for characters like \n or \r. It's important to note that these methods are not solely for checking emptiness, as described.

@johanrosenson, of course, you can use ternary or null coalesce operators. However, ternary operators may throw an error if the value is empty, and null coalesce operators only check if the value is empty. If the value is an empty space (' '), it will still be displayed.

@johanrosenson sorry for the misunderstanding description updated. Ternary throw error  for null values but null coalesce works with the trim middleware but I think it's little more  convenient with this helper (that's what helpers do)

@henzeb I also think name must be more fancier

What I would do in this situation is to use the model's attribute. I have total control about what value should be overwritten and what not.
In your case, it could be like this:
public function lastName(): Attribute
{
    return Attribute::get(fn (array $attributes) => empty($attributes['last_name'] ? 'N/A' : $attributes['last_name');
}

@Rizky92 Even though I didn't mention it in the description, as I said, there are different ways to address this, including using model attributes. However, none of them seem ideal to me, so I've made this pull request.
For instance, if you have a model with five nullable fields, would you implement five different mutators for that? This would likely make your model messy and hard to maintain. In my opinion, mutators are meant to handle more advanced tasks, and they may not apply when returning data for an API.
Even though this may seem like a small issue, in my personal experience, it can escalate into a bigger mess."

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Attempting to follow a specific users crashes to worker

Hi, on my instance running takahe 0.7, I am able to follow most users without issue, however if I follow a specific user the worker process will error and shut down:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/asgiref/sync.py", line 486, in thread_handler
    raise exc_info[1]
  File "/takahe/stator/models.py", line 233, in atransition_attempt
    next_state = await current_state.handler(self)  # type: ignore
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/takahe/users/models/follow.py", line 52, in handle_unrequested
    await follow.source.signed_request(
  File "/takahe/users/models/identity.py", line 915, in signed_request
    return await HttpSignature.signed_request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/takahe/core/signatures.py", line 251, in signed_request
    raise ValueError(
ValueError: POST error to https://mastodon.cloud/users/coloradotravis/inbox: 401 b'Public key not found for key https://social.ivydra.com/<EMAIL_ADDRESS>Watchdog timeout exceeded

Curious - we've done a lot of stator timeout fixes since 0.7, so I can't really act on this as-is. Are you able to upgrade to main, or should I put this one aside until we get 0.8 out and you can test that?
(Ignore the specific user thing - it's probably a specific server instead, likely under a lot of pressure and taking ages to respond and thus timing out)

Absolutely, my usage can handle being on main. You can close this and I’ll
let you know if I see it again.
Thanks for the project.
On Sun, 12 Feb 2023 at 18:14, Andrew Godwin @.***>
wrote:

Curious - we've done a lot of stator timeout fixes since 0.7, so I can't
really act on this as-is. Are you able to upgrade to main, or should I
put this one aside until we get 0.8 out and you can test that?
(Ignore the specific user thing - it's probably a specific server instead,
likely under a lot of pressure and taking ages to respond and thus timing
out)
—
Reply to this email directly, view it on GitHub
https://github.com/jointakahe/takahe/issues/506#issuecomment-1426960111,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPKBW7XV5I77ULRLCUJK3WXCET7ANCNFSM6AAAAAAUY5RK2M
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have never seen this again and I am still following the same accounts. Happy to close as fixed since 0.8

Hooray!


Uni-directional navigation property

Hi Team
Is it possible to support uni-directional navigation properties built on a one-to-many relationship? As an example, here are two entities I have:
public class Domain : EntityBase
{
  public string Host { get; set; }

  public string Name { get; set; }

  public virtual Language Language { get; set; }

  public int LanguageId { get; set; }
}

public class Language : NodeEntityBase<Language>
{
  public string Name { get; set; }
}

These two entities exist in different logical modules in my framework, whereby the host module for Domain has a dependency on the host module for Language. Language doesn't know anything about domains because its outside of its problem area. Domain on the other hand, has an explicit dependency on Language creating a one-to-many relationship between the two (one language - many domains).
How can I model this relationship off of IModelBuilder.Entity<T>? What I'd like to do is something like this:
modelBuilder.Entity<Domain>().HasOne(d => d.Language).WithForeignKey(d => d.Language);

...without having to call .WithMany(l => l.?).HasPrincipalKey(l => l.?)
I am currently doing all the work for dynamic DbContext composition of model builders and have a working example of cross-database navigational properties, the final glue is this sort of relationship setup.
Many thanks
cc @rowanmiller

Closed as I completely missed the fact that you don't have to pass in an expression when calling WithMany


Yarn V1 Audit

[ ] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
[x] The pull request is targeting the dev branch.
[ ] The code has been validated to compile successfully by running go vet ./....
[ ] The code has been formatted properly using go fmt ./....

I have read the CLA Document and I hereby sign the CLA


Error Converting Problem Modification to PDF

There seems to be a latex error but I have not used any latex for this notebook. WIll have to investigate.

Skipping PDFs in favour of better rendered HTMLs.


How can I tell what level an item is at?

Level2Ids = [...]
Level3Ids = [...]
Do I have to implement this logic myself?
Can I just add a property Level: 1, Level: 2, etc... to the TreeViewItem?

I have the same issue. Is there any solution and updates?

I have the same issue. Is there any solution and updates?


Add default-label property to Jdbc Repository

Close #2165
add defaultLabel property to JdbcEnvironmentProperties as same as NativeEnvironmentProperties

sorry for the delay

Yes, that's exactly what I wanted to do in the first place. And you also mentioned

We try main then master because it was a default for Git repos. That doesn't mean much in terms of JDBC.

this sounds very reasonable, and I checked the design of File System Backend:
private String defaultLabel = "master";

it uses master as default label and also don't have tryMasterBranch feature. So... I think maybe we should make JDBC Backend act as same as File System Backend. And this will not break anyone because the lable was hardcoded to master before.

I mean, the "try main then master feature" should exclusive to Git Backend

Maybe I was thinking that we could make that breaking change in our 2022 release, however since the release has already been released with master and in addition this PR is for 2021 we cannot break functionality, so now we have to try main and then fallback to master.

This PR will not break anything, the label used to be hardcoded to master and I just added a new variable defaultLabel with value master. No logic has been changed and everything will still run smoothly.


Could Amarok hide applications from system fields with root?

Would it be possible for Amarok to hide applications within system fields such as the "Apps" list in settings, or the sharing menu, or permissions area?
I believe OnePlus' OxygenOS goes about hiding it from the apps list but not the other aforementioned locations...

Hi @CompeyDev! 👏
In theory, with Root or Shizuku/Sui mode, the hidden apps should not appear anywhere in the system menu.
Are you sure that you are using these modes?
I haven't tested this on OxygenOS, but it works fine on vanilla Android and MIUI.

Hi @CompeyDev! 👏
In theory, with Root or Shizuku/Sui mode, the hidden apps should not appear anywhere in the system menu.
Are you sure that you are using these modes?
I haven't tested this on OxygenOS, but it works fine on vanilla Android and MIUI.

Hey! Thanks for the quick response; I created this issue before actually installing the app - in order to see if it would match my use case, and it works just as expected. Works fine on OxygenOS as well as vanilla.


Images are not being rendered when inlined

I'm using Astro for static site generation, and org-mode and I think the parser doesn't understand inline images :cry:

Fixed in: https://github.com/venikx/venikx.com/commit/8fa0b44bdfd2be1f9142953449407e7ce14e5abf


Unicode sms support

@sahilchopra Unicode is supported.
Just specify the type parameter to match the data you are sending. For example:
client.send_message(from: 'RUBY', to: number, text: "Unicode 👍", type: 'unicode')

I've added a small example to the README.
See also: #13

Thanks!
Sent from my iPhone

On 17-Sep-2016, at 9:07 PM, Tim Craft<EMAIL_ADDRESS>wrote:
Closed #51.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


(Docker) Error initializing backend.

When starting fabio as docker container using the following command
docker run -d -p 9999:9999 -p 9998:9998 -v $PWD/fabio/fabio.properties:/etc/fabio/fabio.properties magiconair/fabio:1.0.6

the container will exit and I get this error in docker logs:
2015/12/06 21:42:01 [INFO] Version 1.0.6 starting
2015/12/06 21:42:01 [FATAL] Error initializing backend. Get http://localhost:8500/v1/agent/self: dial tcp [::1]:8500: getsockopt: connection refused

Thank you and
with best regards

Did you override consul.addr to point to a consul agent? By default fabio assumes that there is a consul agent running on the same machine which most likely isn't the case for the docker container.

Can I pass those settings, partly (overriding), as command line argument?
Because I would use it together with docker-compose or maestrodev-ng (or swarm?)
and then it would be helpful to pass the ip address of the consul server container.
Thank you and
with best regards

Yes, smart idea. Thx


ACA-Py 0.6.0: How do I implement Revocation registry?

I had integrated ACA-PY and could the steps I followed were:

Created Schema
Created Credential Definition ID with support revocation=true
Setup Von tail Server
Changed startup command added --auto-provision, --recreate-wallet, --tail-server-base-url {https://custom-url}.

Is this enough to setup revocation registry or am I missing something.?

Assuming you have setup and started the tails server BEFORE you started aca-py with the tails server URL setting you should be good to go.
You will need to keep track of either the credential-exchange-id or revocation-registry-id and revocation-id for each issued credential (these attributes come back to you in the webhooks) in order to be able to revoke.

Thank you so much.


ipp backend doesn't consider contimeout value set via DEVICE_URI

Hi all,
I am using CUPS 2.2.6 on RHEL 8.0 . If I pass an "unreachable" IP via an IPP URI, then then the job seem to stay forever in processing.  I found out there is a default connection timeout set to 1 week (604800 seconds) for the ipp backend so I'v tried using 30 seconds for the contimeout argument . Even if I pass the 'contimeout' argument it still loops forever trying to reach the printer.
This is how I set DVICE_URI: ipp://<IP_ADDRESS>:631/printer?contimeout=30
Let me know if other info is needed.
Regards,
Marius

Hi @mstefan-spr ,
I encountered the same issue with the newest cups-2.3.1- it happens because httpAddrConnect2 sets errno to EINPROGRESS after the first failure on connect(), then keeps reconnecting till timeout is reached, but it never sets errno to different value after that.
Then any backend which called connect() function in a way (directly(lpd)/via httpReconnect() (ipp)/ via httpAddrConnect() (socket)) gets EINPROGRESS which is not handled specially and contimeout is not applied at all, resulting in the job blocks the queue for eternity.
@salgernon  I have the following proposition:

add EINPROGRESS into handled errnos in every network backend (lpd,socket,ipp)
assign a different errno (e.g. ETIMEDOUT) in httpAddrConnect2() when timeout is reached and execution goes out of loop - this way will not fix the issue for lpd, where direct connect() is used, so EINPROGRESS should be added in lpd either way.

Only as a side note FYI related to connect timeout versus
possible subsequent hangup (i.e. after connect succeeded)
see https://github.com/apple/cups/issues/5559
I.e. fixing only connect issues is not sufficient
to avioid that jobs may stay forever in processing state.

So right now it looks like contimeout is supported in CUPS 2.3.x. If you are still having problems with the current version of CUPS, please report this to the OpenPrinting CUPS project.


Keep public claims on the tree

Keep the public claims on the claims tree instead of removing them.

Current coverage is 98.05% (diff: 100%)

Merging #112 into v3 will not change coverage

@@                 v3       #112   diff @@
==========================================
  Files            28         28
  Lines           565        565
  Methods           0          0
  Messages          0          0
  Branches         82         82
==========================================
  Hits            554        554
  Misses            5          5
  Partials          6          6

Powered by Codecov. Last update a007aaa...bd39cb4

Current coverage is 98.05% (diff: 100%)

Merging #112 into v3 will not change coverage

@@                 v3       #112   diff @@
==========================================
  Files            28         28
  Lines           565        565
  Methods           0          0
  Messages          0          0
  Branches         82         82
==========================================
  Hits            554        554
  Misses            5          5
  Partials          6          6

Powered by Codecov. Last update a007aaa...bd39cb4


Final IK components does not copy properly

Some components like VR IK and Execution Order are ignored by the Component Copier.
All object references in the newly copied Final IK components are linked to the original avatar.
If only FinalIK Components are selected in the Component Copier, the 'Copy Selected' button is grayed out even if Final IK components are present on the source avatrar.
All of this mostly worked on version 1.3.2, except copying the Execution Order.

I added execution order to the copier. Not sure what's up with the other components since I didn't have finalik on hand to test.
There's an update on my discord in the wip-releases channel, if you'd like to take a look.
Gonna push the update to github and VCC later if all goes well.


make build leaves a lingering watcher for less

@richsilv

@diasdavid could you confirm that this isn't the result of previously running make dev without make dev-stop before you built the site for prod?  I can't recreate this issue with only make build.

@richsilv seems that is the case. Can we make the watchers go away with ctrl^c?

@RichardLitt has solved this . Thank you!

I did? Huh. Cool.

I meant @richsilv. You are awesome too, @RichardLitt  :)


Increase disk size limit for SC workflows product

Depending on the dataset size, 2 TB is limiting given the number of large intermediate files that get generated. I propose increasing the limit to 5 TB (just for the workflows product) to give more breathing room. I need this in case NF Tower isn't set up in time to meet deadlines for processing data in the imCORE project.
I believe once this PR is merged, a new version of this repository will need to be minted and this file will need to be changed.

Requesting review from @zaro0508 and @tthyer.

@BrunoGrandePhD IOW consider also increasing the volume size for sc-ec2-linux-docker.yaml, too

@tthyer @zaro0508: I've increased the limit on the Docker product too!


Spread of any object into jsx causes react/prop-types to stop working (errors not detected)

Here is a minimal example:
import React from 'react'

class MyComponent extends React.Component {
	render() {
		// should be "'someProp' is missing in props validation (react/prop-types)" but is not
		this.props.someProp()

		return <div {...{}} />
	}
}

export default MyComponent

remove the spread {...{}} and everything is fine

This was filed as #1601 for no-unused-prop-types and there's an unfinished PR in #1646.
If #1946 is merged, the fix will go into that common helper and apply for both rules.

In that case, I'll close this now.


[WIP] Feature/guid routing

Purpose

Summary of Changes

Side Effects

Feature Flags

QA Notes

Ticket

https://openscience.atlassian.net/browse/EMB-
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

@aaxelb didn't actually think about that one. I'll give it a shot and see what happens!


Allow timestamp correction

When I can programatically track the skew between client and server clocks, I find it useful to adjust the timestamp that oauth uses.  This modification allows passing a positive or negative number of seconds to adjust the client's timestamp.

i think somehow the +- timestamp should be in the constructor, as
var oauth = OAuth({
    consumer: {
        public: '<your consumer key>',
        secret: '<your consumer secret>'
    },
    timestamp: '<timestamp>'
});

what do you think ?

That would allow me to set it one time, if I know it in advance.  But in the API I use, I start to know the skew after I've made API calls, and continue to update it over time.

ic, i'm still considering on it


Improve automatic while checks

We should allow only text or index if it's a parent node

Fixed in 1.2.1


Goals?

Hi, could you please let me know where is the goal coordinates of each environment specified?
Thanks

hi @ngthanhtin
It is in the README.
The goal is to proceed as fast as possible 60m in positive x-direction without colliding into obstacles and exiting a pre-defined bounding box. The parameters of the goal location and the bounding box can be found here.


Cannot filter on existing values

Is there a way to filter existing values?
(and therefore non existing values with operator 'Not')
This is very useful with dynamic data. For instance, data imported that sometimes contain a property, sometimes not.
We should be able to filter objects with something like {path: ["property_name"], operator: Exists, value: '*'} :
a) If the property is not defined in the schema, the 'Exists' operator should return no object (and not trigger any error of course)
b) If the property is not set on an object, the 'Exists' operator should not return this object

For Apache Solr, we can use the filter: property_name:*
For Elasticsearch, we can use the filter: ['exists' => [ 'field' => 'property_name'] ]

For Weaviate, I tested in vain:
{
 path: ["property_name"]
 operator: Equal
 valueString: null
}

{
  search: Get {
    WeaviateWooCommerce(limit: 1) {
      wpsolr_product_visibility_str
    }
  }
}

{
  "data": {
    "search": {
      "WeaviateWooCommerce": [
        {
          "wpsolr_product_visibility_str": null
        }
      ]
    }
  }
}

{
  search: Get {
    WeaviateWooCommerce(
      limit: 1
      where: {operator: And, operands: [{path: ["wpsolr_product_visibility_str"], operator: Equal, valueString: null}]}
    ) {
      wpsolr_product_visibility_str
    }
  }
}

{
  "errors": [
    {
      "locations": [
        {
          "column": 113,
          "line": 5
        }
      ],
      "message": "Syntax Error GraphQL request (5:113) Unexpected Name \"null\"\n\n4:       limit: 1\n5:       where: {operator: And, operands: [{path: [\"wpsolr_product_visibility_str\"], operator: Equal, valueString: null}]}\n                                                                                ^\n6:     ) {\n",
      "path": null
    }
  ]
}

Agreed, I don't think this currently exists. What's missing is that we don't write a null/not set entry in the inverted index. The only place where we do that is for the count of references where we write an explicit 0 if there are no references on a class.
⬆ is not meant as a pro/contra to this feature request, just a tech explanation of what would need to be done.

Sorry to bombard you with all those new issues, but I'm discovering missing features while integrating Weaviate to WooCommerce.
If you can implement those features, Weaviate will be on equal terms with Elasticsearch/Solr/Algolia on a standard WooCommerce site (available to normal WooCommerce site owners, without a deep knowledge of coding or AI models or vector search).


Snippet trigger will overwrite all the way to first occurrence of snippet lhs.

If you have a |+| b and the following text:
a, a, a, a, a, a<cursor>

Triggering the snippet will give you:
b

Which is certainly not intended behavior. This bug stems from the searchSnippet method used to find matches. This is because each search will return multiple matches for each word of a multi-word lhs. For example, with "a new line |+| anl", the search results will contain three matches: "a", "new", and "line". Hastily I just had the search use the first match to the last and replace all of that selection, but evidently if the lhs occurs earlier in the line it will replace all up to the first instance of the lhs.
This should be fixable by actually scanning backwards and matching with the snippet lhs in reverse.

https://github.com/rabirabirara/obsidian-jelly-snippets/commit/90311f1b325c03d17ff55fc271df96cb195ce7cd should fix this.


Updated link for etcd to point at latest docs

Current link is broken.

This change is

I signed it!

@leahnp thanks for the link update


Self-host transpiler

Seems rather obvious...

 The rest works rather well though, but I'll just close this and keep the current example schwalbe project as a replacement.


Fix ray peristently setting OMP_NUM_THREADS=1

#723  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dongreenberg and the rest of your teammates on  Graphite


slightly simpler deferred css loading

Coverage remained the same at 47.053% when pulling 1a5abbb741d23c6d6c5746930e6e9873c110d8e3 on simpler-deferred-css into 508edf4c65cc68614166bf8ebe48f191d893e0bf on master.

 Last update 508edf4...2fce55c

Coverage remained the same at 47.053% when pulling 1a5abbb741d23c6d6c5746930e6e9873c110d8e3 on simpler-deferred-css into 508edf4c65cc68614166bf8ebe48f191d893e0bf on master.


Vup.Vup version 0.14.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/109071&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error


Support to mark a PVC/workspace as "secondary"

Feature request
Add a field so that a PVC/workspace can be marked as "secondary" - so that it would be possible to use more than one PVC for Tasks when using the Affinity Assistant or the custom scheduler https://github.com/tektoncd/pipeline/issues/3052
Use case
It is not working well to support more than one PVC per TaskRun in a Pipeline in a regional cluster. The current implementation of the Affinity Assistant also prohibit this up front. The custom scheduler that eventually should replace the Affinity Assistant also must use the same constraint - to avoid deadlocks when volumes are in different AZs.
But by marking additional PVCs as "secondary" - the Affinity Assistant and the custom scheduler could ignore those PVCs. This "field" should probably be in the WorkspaceBinding.

This sounds like something that would need a TEP to fully design it.
It's unclear to me what the semantics of secondary are in the case where a task wants to mount both a source and configuratiton PVC workspace -- which one should the user choose as "secondary", and how would they make that decision?
Does "secondary" mean effectively "mount the other one first, then try to mount this one (or many secondary workspaces)"? Do we expect a "tertiary" option, or some general notion of workspace priority?
(Sorry if these are dumb questions, I don't think I understand how this would help with workspace PVC scheduling)


provide logs sub-command for tailing process logs

so that I could simply do process-compose logs -f my-service-name instead of: tail -f path/to/log/file.log
why: cause I don't want to remember and type in the path/to/log/file.log for each service

process-compose logs withouth the service-name should tail logs from all services

@adrian-gierakowski,
Thanks for this proposal.
Just to make sure, you are talking about a secondary (client) process-compose process that retrieves the logs from the primary (server) process-compose?

Yes!

Hey @adrian-gierakowski
I added the logs tailing support in v0.43.1, but without the ability to tail all the processes at the same time.
It would have added too much complexity and created disparity with the TUI in which that is also not possible.
I hope this is not a deal breaker for you :)
Thanks again for the suggestion, this is an absolute must for process-compose!

Amazing, will give it a try later this week. Thanks!

Please create a new issue if anything is not as expected.


Cleanup repository

Switch the whole repository to UNIX-only newlines
Switch to yarn 3.2.3
Upgrade NPM dependencies
Add a script that removes devDependencies, scripts, and eslinkConfig from package.json before packing
Add publishing instructions to README.md

@101100 addressed feedback, ready for next round.


Form schema

Is there a JSON schema for the ASF form structure?
Couldn't we to some degree build ASF forms using ASF itself if we had one?
And a nice form for that, perhaps?
I am thinking about discussions like:
https://github.com/mike-marcacci/angular-schema-form-builder/issues/2
If there is non isn't it to super ironic that ASF has a JSON format that lacks a schema? :-)

Or at least we should have it for fields, I guess.

@nicklasb go on, you know you want to do it ;)

Well I really do. :-)


[Task]: GraphQL sentence case changes

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
All details are on notion

This has been fixed in https://github.com/appsmithorg/appsmith/pull/23515


Cursor cannot move inside charctors in a textfield

I have this problem:
The cursor cannot move inside of characters when the text is English. It only can be on the left or  right side.

The cursor can move inside of characters when the text is Chinese.

I can't find a solution to the problem。

This is my localizations settings:

I find the reason.
  Widget build(BuildContext context) {
 return MaterialApp(
   title: 'Flutter Demo',
  theme: ThemeData(
    primarySwatch: Colors.blue,
    platform: TargetPlatform.iOS,
 ),
   localizationsDelegates: [
 S.delegate,
    ],
 supportedLocales: S.delegate.supportedLocales,
   home: MyHomePage(title: 'Flutter Demo Home Page'),
 );
 }
}
When I set the platform in the ThemeData, the problem occured. When I remove the platform, the problem does not exist.
Is this a bug?

Hi @beiger
this is because of https://github.com/flutter/flutter/issues/58638#issuecomment-642271019,
closing since this is not an issue with flutter,
if you disagree please write in the comments and I will reopen it


[Editor] Set rotated free highlight at the right position after having changed its thickness (bug 1879108)

/botio integrationtest


Translate to Italian

Translate the user interface and controls into Italian

The following files need to be translated:

Plurals.xml
Strings.xml

Just the values need to be translated (not the translation descriptions).  Values are denoted like this: <tag>(this is the value)</tag>.
Example
For example, in plurals.xml, the following line exists:
<item quantity="one">%d version</item>

This is specifying that for the quantity one, the English string is %d version, where %d is automatically replaced with the number of versions (one in this case). The translated line would look like this:
<item quantity="one">%d [translation of the word version]</item>

Example 2
In the values.xml file, the following line exists:
<string name="app_action_export_playlists" translation_description="The button text to export playlists">Export favorites and playlists</string>

In this example, the only section that needs to be translated is Export favorites and playlists.

Translations can be completed through crowdin: https://crowdin.com/project/tabs-lite/invite?h=2cf642473a7398656da8bc4e1b26fff62082308


VSCode integration connect ENOENT message when debugging

I am trying to use debug with VSCode and this message pops up:

The launch.json file is currently untouched.
I can provide more information if necessary.

Sorry for late.
Could you give me a step-by-step reproduce process?

Please reopen if you have any more info.


Extra white line is rendered below menu bar on Windows

Repro
At first, enable dark theme by visiting the system colors settings.
https://www.pcmag.com/how-to/how-to-enable-dark-mode-in-windows-10
Then save the following Rust code and run it.
use muda::{Menu, MenuEvent, PredefinedMenuItem, Submenu};
use wry::application::platform::windows::{EventLoopBuilderExtWindows, WindowExtWindows};
use wry::application::{
    event::{Event, WindowEvent},
    event_loop::{ControlFlow, EventLoopBuilder},
    window::WindowBuilder,
};
use wry::webview::WebViewBuilder;

fn main() -> wry::Result<()> {
    let mut event_loop_builder = EventLoopBuilder::new();

    let menu_bar = Menu::new();

    {
        let menu_bar = menu_bar.clone();
        event_loop_builder.with_msg_hook(move |msg| {
            use windows_sys::Win32::UI::WindowsAndMessaging::{TranslateAcceleratorW, MSG};
            unsafe {
                let msg = msg as *const MSG;
                let translated = TranslateAcceleratorW((*msg).hwnd, menu_bar.haccel(), msg);
                translated == 1
            }
        });
    }

    let event_loop = event_loop_builder.build();

    let window = WindowBuilder::new()
        .with_title("Window 1")
        .build(&event_loop)
        .unwrap();

    let file_m = Submenu::new("&File", true);

    menu_bar.append(&file_m).unwrap();

    file_m
        .append_items(&[
            &PredefinedMenuItem::copy(None),
            &PredefinedMenuItem::cut(None),
            &PredefinedMenuItem::paste(None),
        ])
        .unwrap();

    menu_bar.init_for_hwnd(window.hwnd() as _).unwrap();

    let _webview = WebViewBuilder::new(window)?
        .with_html(
            r#"
            <html>
                <head>
                    <style>
                    html {
                        background-color: black;
                    }
                    </style>
                </head>
                <body></body>
            </html>
            "#,
        )?
        .build()?;

    let menu_channel = MenuEvent::receiver();

    event_loop.run(move |event, _, control_flow| {
        *control_flow = ControlFlow::Wait;

        if let Event::WindowEvent {
            event: WindowEvent::CloseRequested,
            ..
        } = event
        {
            *control_flow = ControlFlow::Exit;
        }

        if let Ok(event) = menu_channel.try_recv() {
            println!("{event:?}");
        }
    })
}

On my machine, the following window showed up:

The white line was rendered below the menu bar.
Expected behavior
No extra white line is rendered.
Environment

muda: f3b7d54224c6d3a5b0dda5e0fae125d39d2d82fa
Rust: 1.72.0
OS: Windows 10

Note
When removing the menu bar, the white line was no longer rendered as follows.

Thank you for fixing this quickly.


AttributeError: 'module' object has no attribute 'graphviz' on Windows 10

finally, I found solution.. removed pydot and pydot-ng
just installed pydotplus
pip install pydotplus
it works fine now in Windows

Worked for me too. Thanks!

Kudos.  That fixed my problem too!

I am getting the same error:
AttributeError: module 'graphviz.backend' has no attribute 'ENCODING'


GPII-3590: new users, downtime procedures

The new users and groups are created in G Suite as documented in the .md changes. Rendered markdown USER-TRAINING, rendered markdown downtime procedures
Per an earlier discussion, I'm granting all developers permissions over all dev clusters as I think this will do more good (shared communication, "let me try something on your cluster") than harm (one developer accidentally or maliciously interfering with another developer's environment). I expect this to work, but I haven't tested it yet because...
As we have discussed, testing these kinds of changes to common is tricky. Since these changes are straightforward -- copying the existing pattern for dev environments, with the caveat about group ownership mentioned above -- I'd prefer to merge this and let CI handle things. Am I missing a reason to be more cautious?
While I was in here, I added a section on downtime procedures as discussed in our last postmortem. I suspect we'll expand this documentation over time, but this is a start.

Sounds good, thanks! LGTM

I will refer her back to this thread and we can re-visit.

I think that is a good approach - keep it consistent with current environments state and re-visit if/when we have such need.


puppet-rescuetime

https://github.com/rhoml/puppet-timerescue

@tarebyte can this be merged in or closed?

@rhoml @seanknox there appears to be a homebrew cask formula for this: https://github.com/caskroom/homebrew-cask/blob/6a66da2e01e5d9b7b71921045aaeb810e22ff206/Casks/rescuetime.rb.
I would rather not add anymore wrappers for applications unless that add something more to the functionality.
@rhoml I apologize for getting to this so late.

@tarebyte is correct: Boxen is using brewcask for OS X applications, so there is no need to wrap them in modules anymore. We are planning to deprecate the existing modules at boxen organization and improve the documentation about brewcask.

So the idea is to remove default puppet providers? What happens if I don't want to use brew paths for everything?

@rhoml what is your use case that you don't want to use brew paths?

It is just an idea, imagine that I want to install my packages on the applications folder instead of using brew for it. (Actually I dislike brew/ports)

Check out brew cask. I think it does what you want.
On Mon, Mar 23, 2015 at 9:50 AM Rhommel Lamas<EMAIL_ADDRESS>wrote:

It is just an idea, imagine that I want to install my packages on the
applications folder instead of using brew for it. (Actually I dislike
brew/ports)
—
Reply to this email directly or view it on GitHub
https://github.com/boxen/our-boxen/issues/700#issuecomment-85091907.


Make TypeScript Definitions More Strict

Although the current TypeScript types for this package are valid, they cause issues with TypeScript projects that have strict mode enabled for the compiler options. The e parameter of the return type signature should not be an implicit any. It should be of type Event or a generic event type.

Just ran into that issue too

Saw this in my feed for PRs on GH, so just following up as it affects folks that have strict mode enabled in TS.


Continue after stream interruption

Using avconv to pull an RTMP stream off of the rtmp Nginx module and sent it to bmdplay for output on a Blackmagic SDI card. If the RTMP stream is interrupted at all avconv will display non monotnic DTS errors (makes sense) and eventually settles down and is happy again, but it appears that bmdplay stop receiving from the pipe and avconv starts to buffer. I am starting to look into code, but is bmdplay capable of handling stream interruptions gracefully? Is there an option flag I am missing?
avconv -r 30 -max_delay 1000 -probesize 500000 -analyzeduration 3000000 -fflags nobuffer -i rtmp://localhost:1935/AV2015Local/stream1 -f nut -strict experimental -c:v copy -c:a pcm_s16le - | /home/vidcontrol/Builds/'Blackmagic DeckLink SDK 10.4.1'/Linux/Samples/bmdtools-master/bmdplay -m 13 -C 0 -f pipe:0
Glenn

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24156690-continue-after-stream-interruption?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).

bmdplay is really simple and I'm adding complexity as the need arises, I never had this problem though if no data is fed normally bmdplay would just quit (so you can put it on a simple loop).

Hi Glennolsen,
maybe you should consider to instruct avconv to exit if errors occur and restart (simple while/do loop).
-xerror option should handle this if I'm not wrong

Hi lu-zero,
Is this behavior still the same.
I also got this issue, do we have a solution for this behavior.
Thanks.

If the stream is interrupted the chain of programs should be terminated and then restarted.
Exactly how are you causing this condition? Could you make a sample file to reproduce the issue in a predictable way?
I have plans to rewrite some of the bmdplay to rely less on avconv (and not die because piping 4K content makes memcpying the buffers too wasteful), but I'm currently a bit busy with my paying job :).

Hi,
This is not an issue of bmdplay. I use "another" project than avconv and I use librtmp with that. I modified librtmp to resume after net interrupts in meanwhile making sender side buffer and push the delayed packets. Using bmdplay with a suitable buffer works like a arq protocol.

You can provide the patches to Libav as well : P

I released on the "other" project, they didnt like the coding :)
Maybe I send you, you can review it.
(BTW, it is really dirty coding - as I am capable of :D -, but does the job.)

Thanks for quick response.
It's an HLS stream that I make source to avconv and pipe to the bmdplay. when there is a fluctuation in the network bandwidth or some other reason the input video gets stuck. Then suddenly the video output from the bmdplay freezes.
Normally the source quickly get recovers and the start steaming but what I can see a frozen frame from the
The memory usage of bmdplay increases and at some point. Following message appears.
"Queue size **** problems ahead"
In the meantime the RAM usage of bmdplay increases until it reaches near 100% and it get killed automatically.
The glitch of video source makes the bmdplay to hold two to three minutes to get resumed when I use a infinite loop to make it run again.


Provide an example (unit test?) of building a simple static glyf glyph

I believe we now have numerous tests that accomplish this.


[Hub Generated] Review request for Microsoft.Confluent to add version preview/2020-03-01-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

/azp run unifiedPipeline

hi @ruowan , as of now we are not planning to support CLI, so is it mandatory to pass the SDK Cliextension task?

The PR is to pull everything from RPSaaSMaster of private repo to public repo for service release.  Everything in RPSaaSMaster should already been reviewed and approved by ARM RPSaaS team.


step info handling improvements

accumulate step info in arrays instead of summing values, pass last info to end of episode callbacks

Have you tested if that works the TrainEpisodeLogger (verbose=1)?

TrainEpisodeLogger doesn't have a verbose param ;) I did try verbose=1 and verbose=2 on the fit/train methods and didn't get any errors.

Alright. Can you clarify why this is needed? It seams reasonable to me to sum over the infos if action_repetition is > 1.

Now that I think I about it. Leaving the accumulated info as arrays is not needed any more now that I stick the final info into the log. I initially wanted the game info exposed as metrics and was going to move the summing to the loggers code that processed the metrics. None of that is needed if the info is just added to the info. I needed a way of getting end of episode stats into the logs. I will remove this change from the PR.


Fix encoded textarea resizing

Summary

This PR fixes the following bugs

[x] Fixes #5
[x] Move show example buttons into same row as proof explorer

The Encoded textarea did not resize after decoding and displaying a UCAN. The problem was that we set a static number of rows for the textarea. The TextArea component requires some value for rows, so the fix was to use a plain <textarea> with the Carbon bx--text-area styles and some CSS grid to set a minimum height and auto-sizing.
I also noticed the show example buttons were in a weird place in the markup, and moved them down to be with the proof explorer.
Test plan (required)

Closing issues
Closes #5

This is for readjusting the height when the right pane gets bigger, right?

Yep, that's right! To keep them even so the UI doesn't look unbalanced.


Upgrade python-urllib3 and python-requests to fix CVE-2019-11236, CVE-2020-26137

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Upgrades python-urllib3 and python-requests to fix CVE-2019-11236 and CVE-2020-26137.
Change Log

Upgrade python-urllib3 to 1.25.9 to fix listed CVEs
Upgrade python-requests to 2.22.0, first version of python-requests to support upgraded version of python-urllib3 (upgrade is almost entirely docs changes and dependency upgrades- low risk)

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2019-11236
https://nvd.nist.gov/vuln/detail/CVE-2020-26137

Test Methodology

Local build
Booted core VHD/VHDX images, confirmed functionality of relevant consumers of these packages- namely, tdnf and cloud-init

Co-authored-by: Rachel Menge<EMAIL_ADDRESS>

Leaving context for the requests upgrade:
The urllib3 upgrade breaks cloud-init because another python module required by cloud-init, requests, is very particular about the dependency versions it wants (and it didn't want the new version of urllib3). Upgrading requests by two minor versions fixes the dependency issue. I've looked at the commit logs for requests and the only changes from our version of requests to the new version are docs changes and dependency upgrades.


Invalid intellisense when typing a dot in index key

Found this as part of issue #15635.
TypeScript Version:  2.3 (current Playground)
Code
window['.|'] // <-- Triggers suggestions (the | is the cursor)

Expected behavior:
Only properties that contain a dot are shown.
Actual behavior:
All properties are shown as suggestions. Select alert, for instance, and the result will be
window['.alert']

which is not a valid window member.

This gets a correct replacement span now


Action stream is probably a better definition than reducer stream.

Distinction:
A reducer is a function reducer :: Action -> State -> State.
An action is a function action :: State -> State.
What you describe as returning to onion is a stream of actions not a stream of reducers.
A stream of actions also has a more intuitive meaning.

Common sense:

A reducer is a function you use in [1,2,3].reduce(reducer, initialState)
An action is a function that takes one state to another (state transition).

Other:

redux calls functions of type fn :: State -> Action -> State reducers.

Well, "common sense" actually varies from group to another. :) You can think of onionify as defining the term reducer as being State -> State, not borrowing from other projects like Redux.


job,test: Improved reliability of TestTimer_DoubleTrigger

There existed an edge case in this test which caused it to flake:
panic: close of closed channel

goroutine 106 [running]:
github.com/cilium/cilium/pkg/hive/job.TestTimer_DoubleTrigger.func1()
	/home/runner/work/cilium/cilium/pkg/hive/job/job_test.go:445 +0x1d

This PR moves the triggering of the timer to before the hive starts to ensure they are all processes before the timer has a chance to start consuming them. Also added a guard around the closing of the channel so we don't panic if the test were to fail for another reason.
Improved reliability of pkg/hive/job timer double trigger unit test

/test


Fixed a blunder in _parse_version

Added hastily remove slicing of dpctl version tuple to the first two elements which are expected to be integral.

[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

Perhaps a test is in order to verify that numba_dpex.dpctl_support.dpctl_version is a 2-tuple with integral values consistent with the dpctl.__version__. Something like
def test_dpctl_version():
    dpctl_v = dpctl.__version__
    computed_v = ".".join(dpctl_version)
    assert len(computed_v) <= len(dpctl_v)
    assert computed_v == dpctl_v[:len(computed_v)]

Where would such a test belong?

Perhaps a test is in order to verify that numba_dpex.dpctl_support.dpctl_version is a 2-tuple with integral values consistent with the dpctl.__version__. Something like
def test_dpctl_version():
    dpctl_v = dpctl.__version__
    computed_v = ".".join(dpctl_version)
    assert len(computed_v) <= len(dpctl_v)
    assert computed_v == dpctl_v[:len(computed_v)]

Where would such a test belong?

Please add to numba_dpex/tests in the top level folder.

thank you!


mvn install -Pdev -Djavacpp.platform.extension=-gpu -e --> FAILURE! - in org.tensorflow.framework.optimizers.AdaGradDATest

Many thanks for TF-Java!  mvn install -Pdev -Djavacpp.platform.extension=-gpu -e on the master branch appears to fail a test, so I thought I'd share it, in case anyone else encounters this:
# mvn install -Pdev -Djavacpp.platform.extension=-gpu -e
...
Downloading from ossrh-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/tensorflow/tensorflow-core-api/0.3.0-SNAPSHOT/tensorflow-core-api-0.3.0-20201008.134402-33-linux-x86_64-gpu.jar
...

tensorflow framework build error
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ tensorflow-framework ---
[INFO] Surefire report directory: /tmp/docker-share/tensorflow-java/tensorflow-framework/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.tensorflow.framework.optimizers.AdaDeltaTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.573 s - in org.tensorflow.framework.optimizers.AdaDeltaTest
[INFO] Running org.tensorflow.framework.optimizers.NadamTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.113 s - in org.tensorflow.framework.optimizers.NadamTest
[INFO] Running org.tensorflow.framework.optimizers.AdamTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.134 s - in org.tensorflow.framework.optimizers.AdamTest
[INFO] Running org.tensorflow.framework.optimizers.AdaGradTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.083 s - in org.tensorflow.framework.optimizers.AdaGradTest
[INFO] Running org.tensorflow.framework.optimizers.RMSPropTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.367 s - in org.tensorflow.framework.optimizers.RMSPropTest
[INFO] Running org.tensorflow.framework.optimizers.AdamaxTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.118 s - in org.tensorflow.framework.optimizers.AdamaxTest
[INFO] Running org.tensorflow.framework.optimizers.FtrlTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.273 s - in org.tensorflow.framework.optimizers.FtrlTest
[INFO] Running org.tensorflow.framework.optimizers.MomentumTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.206 s - in org.tensorflow.framework.optimizers.MomentumTest
[INFO] Running org.tensorflow.framework.optimizers.OptimizersTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.054 s - in org.tensorflow.framework.optimizers.OptimizersTest
[INFO] Running org.tensorflow.framework.optimizers.GradientDescentTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.14 s - in org.tensorflow.framework.optimizers.GradientDescentTest
[INFO] Running org.tensorflow.framework.optimizers.AdaGradDATest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.055 s <<< FAILURE! - in org.tensorflow.framework.optimizers.AdaGradDATest
[ERROR] testBasic  Time elapsed: 2.044 s  <<< ERROR!
org.tensorflow.exceptions.TFInvalidArgumentException:
Cannot assign a device for operation adagrad-da_1: Could not satisfy explicit device specification '' because the node {{colocation_node adagrad-da_1}} was colocated with a group of nodes that required incompatible device '/job:localhost/replica:0/task:0/device:GPU:0'. All available devices [/job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:GPU:0, /job:localhost/replica:0/task:0/device:GPU:1, /job:localhost/replica:0/task:0/device:GPU:2, /job:localhost/replica:0/task:0/device:GPU:3].
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index_=1 requested_device_name_='/job:localhost/replica:0/task:0/device:GPU:0' assigned_device_name_='/job:localhost/replica:0/task:0/device:GPU:0' resource_device_name_='/job:localhost/replica:0/task:0/device:GPU:0' supported_device_types_=[CPU] possible_devices_=[]
ApplyAdagradDA: CPU
VariableV2: GPU CPU
Assign: GPU CPU
Colocation members, user-requested devices, and framework assigned devices, if any:
  var0 (VariableV2)  framework assigned device=/job:localhost/replica:0/task:0/device:GPU:0
  adagrad-da_1 (Assign)
  var0-gradient_accumulator (VariableV2)
  adagrad-da_10 (Assign)
  var0-gradient_squared_accumulator (VariableV2)
  adagrad-da_15 (Assign)
  adagrad-da_36 (ApplyAdagradDA)

         [[{{node adagrad-da_1}}]]
        at org.tensorflow.framework.optimizers.AdaGradDATest.testBasic(AdaGradDATest.java:90)

[INFO] Running org.tensorflow.framework.data.SkipDatasetTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.029 s - in org.tensorflow.framework.data.SkipDatasetTest
[INFO] Running org.tensorflow.framework.data.BatchDatasetTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.021 s - in org.tensorflow.framework.data.BatchDatasetTest
...
[INFO] Running org.tensorflow.framework.initializers.OrthogonalTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.333 s - in org.tensorflow.framework.initializers.OrthogonalTest
[INFO] Running org.tensorflow.framework.initializers.HeTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.451 s - in org.tensorflow.framework.initializers.HeTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   AdaGradDATest.testBasic:90 ? TFInvalidArgument Cannot assign a device for oper...
[INFO]
[ERROR] Tests run: 112, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for TensorFlow Java Parent 0.3.0-SNAPSHOT:
[INFO]
[INFO] TensorFlow Java Parent ............................. SUCCESS [  3.164 s]
[INFO] TensorFlow NdArray Library ......................... SUCCESS [ 30.072 s]
[INFO] TensorFlow Core Parent ............................. SUCCESS [  0.006 s]
[INFO] TensorFlow Core Annotation Processor ............... SUCCESS [  0.190 s]
[INFO] TensorFlow Core API Library ........................ SUCCESS [ 34.833 s]
[INFO] TensorFlow Core API Library Platform GPU ........... SUCCESS [  0.021 s]
[INFO] TensorFlow Framework Library ....................... FAILURE [01:29 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:37 min
[INFO] Finished at: 2020-10-14T01:44:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project tensorflow-framework: There are test failures.
[ERROR]
[ERROR] Please refer to /tmp/docker-share/tensorflow-java/tensorflow-framework/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project tensorflow-framework: There are test failures.

Please refer to /tmp/docker-share/tensorflow-java/tensorflow-framework/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
...

This new quad-GPU machine presents new challenges, compared to our previous small test systems in #100 etc.  Really appreciate the fast -Pdev option for building from artifacts, thanks!

@Craigacp , any hint on this?

The tests pass just fine for me with a GeForce GTX 1050.

I can replicate this trying to build master on OL7, with two V100 GPUs. I'll poke at it some more over the next few days. It's very odd.

Thanks for investigating! As a workaround to build, is it safe for me to disable this test if not using AdaGrad?

Thanks for investigating! As a workaround to build, is it safe for me to disable this test if not using AdaGrad?


Remove suspisous app from winutil.

Type of Change

[ ] New feature
[ ] Bug fix
[ ] Documentation update
[ ] Refactoring
[ ] Hotfix
[x] Security patch
[ ] UI/UX improvement

Description
Removes an app that has been flagged in Virus Total by a bunch of antiviruses. This was reported in issue #2844.
Testing
No testing required.
Impact
N/A
Issue related to PR

Resolves #2844

Additional Information
N/A
Checklist

[ ] My code adheres to the coding and style guidelines of the project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no errors/warnings/merge conflicts.

Images that prove the evidence:

Yeah this TRASH. Removed, thanks for the PR.

Thanks for catching this and submitting a PR! Resolved my report as well, excellent work! Thanks to ChrisTitusTech as well for merging. Glad to see this was jumped on quickly.


FIXED Signature for this request is not valid

data needs to be inside BODY rather than in URL for POST requests
jaggedsoft/php-binance-api#248
binance-exchange/php-binance-api#59
https://github.com/yasinkuyu/binance-trader/pull/263

i am getting Signature for this request is not valid. error my code just work only for a small time and the stopes. the cod blow has bean working for 4 weeks but now it gives me
{ Signature for this request is not valid. error}
PATH = '/api/v3/account'
    timestamp = int(time.time() * 1000)
    params = {

       'recvWindow': 5000,
       'timestamp': timestamp
    }

    query_string = urlencode(params)
    params['signature'] = hmac.new(self.SECRET_KEY.encode('utf-8'), query_string.encode('utf-8'), hashlib.sha256).hexdigest()

    url = urljoin(self.BASE_URL, PATH)
    r = requests.get(url, headers=self.headers, params=params)

i am getting Signature for this request is not valid. error my code just work only for a small time and the stopes. the cod blow has bean working for 4 weeks but now it gives me
{ Signature for this request is not valid. error}

Can you try the code change from this PR? The rest of this PR is not in sync with master at the moment, so it would be easiest to try this change in your installed version of the binance module:
https://github.com/zoeyg/binance/pull/75/files
Does the issue stop happening?
@rxcod9 Hi Ramakant, can you pull the latest master into your patch-1 branch linked to this PR?

am not using an sdk how can i change the code
blow
timestamp = int(time.time() * 1000)
params = {
   'recvWindow': 5000,
   'timestamp': timestamp
}

query_string = urlencode(params)
params['signature'] = hmac.new(self.SECRET_KEY.encode('utf-8'), query_string.encode('utf-8'), hashlib.sha256).hexdigest()

url = urljoin(self.BASE_URL, PATH)
r = requests.get(url, headers=self.headers, params=params)

Thank you for the contribution. Fixed in #122. Please try it there and provide feedback.


Application crashes with linker error

The app crashes every time on Lenovo P780 with Android 4.2.1:
  java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libgnustl_shared.so" needed by "libJniBitmapOperationsLibrary.so"; caused by load_library(linker.cpp:745): library "libgnustl_shared.so" not found
        at java.lang.Runtime.loadLibrary(Runtime.java:365)
        at java.lang.System.loadLibrary(System.java:514)
        at com.jni.bitmap_operations.JniBitmapHolder.<clinit>(JniBitmapHolder.java:15)

On genymotion with Android 4.2.2 it crashes with this error:
     Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: load_library(linker.cpp:750): library "/system/lib/libhoudini.so" not found
        at java.lang.Runtime.loadLibrary(Runtime.java:371)
        at java.lang.System.loadLibrary(System.java:535)
        at com.jni.bitmap_operations.JniBitmapHolder.<clinit>(JniBitmapHolder.java:15)

I don't understand. Why did you have an issue? It worked fine on all devices I've tried it on, and also on emulators...

It works fine on most of devices for me too, what is posted here is a rare but 100% reproducible case for some devices and emulator configurations.
Can this be related to my gradle configuration? My gradle ndk configuration looks like this:
    ndk {
        moduleName "JniBitmapOperationsLibrary"
        stl "gnustl_shared"
        cFlags "-std=c++11 -frtti -fexceptions -pthread"
        ldLibs "log",  "jnigraphics"
    }

@denisk20 I really have no idea how to work well with Gradle. I've a huge newb in Gradle, and all documentations of Gradle are very complex for me to learn. It's like a whole new language.

No worries, I'll mess around with the gradle setup, maybe there is just a
better way to configure it. If there is no such way then you may want to
consider merging the current PR (I'll decline it for now and will reopen if
I don't find anything better). I'll also submit a documentation pull
request with the description of how to setup the library in gradle if you
don't mind.
On Thu, Jan 8, 2015 at 11:53 AM, AndroidDeveloperLB <
<EMAIL_ADDRESS>wrote:

@denisk20 https://github.com/denisk20 I really have no idea how to work
well with Gradle. I've a huge newb in Gradle, and all documentations of
Gradle are very complex for me to learn. It's like a whole new language.
—
Reply to this email directly or view it on GitHub
https://github.com/AndroidDeveloperLB/AndroidJniBitmapOperations/issues/13#issuecomment-69157842
.

Sure. Since I've moved to Android-Studio, that would be great.
Is it possible to write using NDK/JNI on Android Studio, or is it still only possible via workarounds ?

Sure, it is possible. It just doesn't offer any code suggestions nor error highlighting, but it kind of highlights the syntax. And gradle compiles the C/C++ code automatically.

Really? what is there to do in order for it to work? Maybe I should convert the entire library (and sample) to be used on Android Studio?

That would be a really good idea. It would be even better if the library
was uploaded into maven central repository, which would require it to be a
gradle library. I'm not sure about a native android gradle library though,
never met one before. It would probably require to include binaries for all
possible architectures, taking this choice away from a developer.
I will try to experiment with it and let you know. As a minimum - yes, it
would be cool for the library to be a gradle project so that a developer
could simply run gradle assemble to get the binaries to include into the
app.
On Thu, Jan 8, 2015 at 12:17 PM, AndroidDeveloperLB <
<EMAIL_ADDRESS>wrote:

Really? what is there to do in order for it to work? Maybe I should
convert the entire library (and sample) to be used on Android Studio?
—
Reply to this email directly or view it on GitHub
https://github.com/AndroidDeveloperLB/AndroidJniBitmapOperations/issues/13#issuecomment-69160438
.

So... You think I should merge this? Have you tested the library with the fix on devices that don't have this issue?

No, I have declined the pull request. I'll do some testing and will post here, will either re-open the original pull request or will create a new one with gradle-related documentation (if it appears to be a gradle config issue).

I don't understand. You mean it might be because of something else?

Sorry I can't state anything until I do deeper investigation of the issue.
I'll post the results here.
On Fri, Jan 9, 2015 at 10:00 PM, AndroidDeveloperLB <
<EMAIL_ADDRESS>wrote:

I don't understand. You mean it might be because of something else?
—
Reply to this email directly or view it on GitHub
https://github.com/AndroidDeveloperLB/AndroidJniBitmapOperations/issues/13#issuecomment-69390116
.

ok thank you.

It was a bad gradle ndk config, the correct minimal config which does not require any library changes and which works reliably among the devices is
    ndk {
        moduleName "JniBitmapOperationsLibrary"
        ldLibs "log",  "jnigraphics"
    }

I'm working on a documentation update pull request.

Created the PR: https://github.com/AndroidDeveloperLB/AndroidJniBitmapOperations/pull/16

I don't understand what's going on here.

@denisk20
Now I can't import the project on both Ecilpse and Android Studio.
What went wrong?
:(
I've done all the things that are written in the instructions...
I've made a StackOverflow here, hoping someone will succeed telling me about it:
http://stackoverflow.com/questions/27910777/c-c-file-on-jni-folder-filled-with-errors

I didn't change files layout, so it should still be valid for Eclipse (assuming that it was valid before). Sorry, I'm not an Eclipse expert, I can only talk about Android Studio. Please post the steps and error(s) that you get from Android Studio.

Did you follow the steps that I have posted with gradle PR ?

I've done both the Eclipse steps (for Eclispe), and the ones for Android Studio .
Both failed...
Now I can't use the library I've made. :(
I hate Android Studio so much for this.

Did you follow the steps from the Pull Request?
https://github.com/AndroidDeveloperLB/AndroidJniBitmapOperations/pull/17

and did you do git pull ?

yes, and yes.
I think you've called "filp-horizontal" as "flip-vertical" and vice versa... This is how it's supposed to be:
http://converter.gomlab.com/eng/guide/rotation_flip.gom


Remove test for code that was removed eariler

In a recent PR #64 @dcoutts removed the VRF implementation but left behind some tests.
This PR removes those now broken tests.

Closing in favor of #65 .


Notifications get sent out for each image

Instead of notifying one time, the package notifies for each image separately I believe. I'm using the instructions from the npm page for setting up the Gulp file.

I've removed the success notification for now. c56834a5822af1821299d868173b748ea3989544