Tags list returns 404, releases tab missing entirely

Gitea version (or commit ref): 1.14.5
Git version: 2.25.1
Operating system: Ubuntu Server 20.04, all patches installed
Installed via a binary downloaded & verified from the GitHub releases page
Running via a manually created systemd service file on bare metal.
Running behind a non caching Nginx reverse-proxy providing HTTPS termination.
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No

Log gist:

Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /user/events 200 OK in 44.538203814s
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /sbrl/MusicBoxConverter/releases for CLIENT_IP:0
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /sbrl/MusicBoxConverter/releases 404 Not Found in 63.973903ms
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /js/index.js?v=bc281f6cb46e7a516fedc56eecf3c820 for CLIENT_IP:0
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /js/index.js?v=bc281f6cb46e7a516fedc56eecf3c820 304 Not Modified in 3.660387ms
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /img/logo.svg for CLIENT_IP:0
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /img/404.png for CLIENT_IP:0
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /avatars/7e96ec7a3ce16012aebb6129ba0d25ee?size=48 for CLIENT_IP:0
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /img/logo.svg 304 Not Modified in 5.748606ms
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /img/404.png 304 Not Modified in 7.223472ms
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Completed GET /avatars/7e96ec7a3ce16012aebb6129ba0d25ee?size=48 304 Not Modified in 10.280223ms
Jul 24 02:29:32 starbeamrainbowlabs gitea[407265]: 2021/07/24 02:29:32 Started GET /user/events for CLIENT_IP:0

Description
Both the releases page (https://git.example.com/user/repo/releases) and the tags page (https://git.example.com/user/repo/tags) result in a 404 page not found. This is regardless of whether tags already exist in the repository or not.

Navigate to a repository's home page
Observe that the Releases tab is missing
Try clicking X tags in the bar just above the prrogramming language bar
See 404

Adding DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls to the repository section of my app.ini (in custom/conf/) has no effect.
Screenshots
The top of the main page of a repository. Note that the releases tab is missing:

When one clicks on the text 1 Tag, one gets this:

Is it true that you cannot reproduce this on try.gitea.io?
If so would it be possible to upgrade to 1.15-RC2 to try to see if this is still present in 1.15 - if not then we can consider it fixed.

It seems you have no permission to visit release or your database lost release unit because of some reason.

I'll test it on 1.15 when it comes out. If it is still a problem, I'll comment here again.

or your database lost release unit because of some reason.

Is there any way I can check that my "release unit" has been lost? If it has been lost, how can I get it back?

I have the same problem and upgrading my docker image from 1.14.6 to 1.15.0-rc3 did not solve it.

@bovender please can you try to reproduce on try.gitea.io or give us some logs at DEBUG level.

@zeripath thanks for looking into this. I have created a gist that contains the log output: https://gist.github.com/bovender/2e71dd522ce34d56d9f125aa9ea39179
The log was produced by changing the log level to "Debug" and the log folder to log2 in app.ini, then hitting ENTER in the browser's address bar with https://MY.DOMAIN/MY_ORG/MY_REPO/tags.
I should add that this behavior (the 404 error on the tags page) occurs with at least several repositories (did not try all of them), and other users of my Gitea instance (we're a small NGO) reported the same. The setup is a dockerized Gitea with a Postgres database. Has been running fine for a few of years now.
By the way I am unable to log into try.gitea.io using Github authentication because a 500 error occurs (repeatedly):


Clarification about FE Table row behaviour and naming

As developer of trace x ,
I want to have clear information and alignment ,
so that i can develop the app in a consistent design .
Hints / Details

Miro UI Concept Board : LINK
Clarify naming of quality investigations / alerts:
• Quality incidents?
• Quality notifications?
• Quality topics?
Clarify Naming of User Configuration/Settings/View Settings
• User Settings
• User Configuration
• User View Settings
• Settings
Rename across application
Clarify Behaviour of parts table and quality topics table rows. One Click, two clicks, cmd + click -> make a map of what should happen when
Implement behaviour

Acceptance Criteria

[ ] Clarify all points in details
[ ] Consistent naming in application
[ ] Consistent Table row behaviour in application

Out of Scope

...

DISCUSSION_NEEDED:
Clarify naming of quality investigations / alerts:
• Quality incidents?
• Quality notifications?
• Quality topics?


Add graphics related sepolicy for hal_sensors_default

Fix VTS sensors issues.
-DirectChannelGralloc/0_android_hardware_sensors_ISensors_default
Test Done:
run vts -m VtsAidlHalSensorsTargetTest
Tracked-On: OAM-128294

Improper Commit Message
Jira issue not in ['bug','improvement'],
make sure jira issue is of type bug or improvement.

Improper Commit Message
Jira issue not in ['bug','improvement'],
make sure jira issue is of type bug or improvement.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

FAILURE: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web  for more details. For Binaries: /cactus-absp-or-local/celadon-merge/879


Terminal prompt blank after suspend

Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:50:36.977Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.3.0-40-generic (Ubuntu 19)
Steps to Reproduce:

Launch VSCode
Open the terminal
Have computer go to sleep/hybernate/suspend
Re-open terminal inside VSCode

Exiting the current terminal and starting a new session fixes it for the current session.
This happens with the Fish shell, I have not tested with Bash or Zsh.
I'm also using Oh My Fish with the Chain theme.
I haven't seen this happen with my MacBook, only on Ubuntu 19.

Does this issue occur when all extensions are disabled?: Yes

Just tested, the problem still happens in VSCode version 1.43

/duplicate https://github.com/Microsoft/vscode/issues/69665


NSwag.MSBuild 11.12.11 broke the ArrayType setting

I'm using the sample petstore specification from https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json
I'm using the following build target:
<Target Name="GenerateClientWithNSwag" AfterTargets="Build">
  <Exec Command="$(NSwagExe) swagger2csclient /input:swagger.json /classname:Client /arraytype:System.Collections.Generic.List /output:Client.cs" />
</Target>

When using NSwag.MSBuild 11.12.10, code like this is generated:
public System.Threading.Tasks.Task<System.Collections.Generic.List<Pet>> ListPetsAsync(int? limit)
{
    return ListPetsAsync(limit, System.Threading.CancellationToken.None);
}

When using NSwag.MSBuild 11.12.11, code like this is generated:
public System.Threading.Tasks.Task<System.Collections.ObjectModel.ObservableCollection<Pet>> ListPetsAsync(int? limit)
{
    return ListPetsAsync(limit, System.Threading.CancellationToken.None);
}

This regression is still present in the current 11.19.1 version.

I think for that you need to change the ReponseArrayType setting:

That works, thanks!


Add curl as core package dependency

Add curl as core package dependency, for correct work "api-umbrella-geoip-auto-updater".

Closes #290

Thanks for digging in and finding this, much appreciated!
I unfortunately missed your later edit, and ended up fixing this in an identical way in https://github.com/NREL/api-umbrella/commit/917ddf682dde72aeb75a48a3f8e8347c0b3168c3 (I had seen the original Dockerfile fix, but had wanted to fix this as part of the package dependencies, rather than for Docker-only). So apologies for not catching your later edit where you had already fixed this with the package dependencies, but in any case, this should be taken care of in the next package release.
Thanks again!

@GUI No problem, thanks for fix.


Gekko crashes when processing cex.io trades

Gekko recently crashed after processing trade history, when it's about to calculate advice. It happened with cex.io exchange.
I'm using:

Lubuntu 64bits
node v0.10.25,
Gekko v0.1.2,
config.js has no custom values other than api keys and exchange setup.

EDIT: Also happened with other exchanges recently, so it's an exchange independent error and seems also nothing to do with loss of internet conection
The first caught errors at 2015-11-19 02:03:34 were due a network conectivity loss, but the last critical errors managed to finally crash gekko.

2015-11-19 02:03:03 (DEBUG):	Requested GHS/BTC trade data from CEX.io ...
2015-11-19 02:03:34 (DEBUG):	cex.io returned an error, retrying.. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } waiting for 10000 ms
2015-11-19 02:04:04 (DEBUG):	cex.io returned an error, retrying.. { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } waiting for 10000 ms
2015-11-19 02:04:51 (DEBUG):	cex.io returned an error, retrying.. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } waiting for 10000 ms
2015-11-19 02:05:21 (DEBUG):	cex.io returned an error, retrying.. { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } waiting for 10000 ms
2015-11-19 02:05:51 (DEBUG):	cex.io returned an error, retrying.. { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } waiting for 10000 ms
2015-11-19 02:06:29 (DEBUG):	cex.io returned an error, retrying.. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } waiting for 10000 ms
2015-11-19 02:06:59 (DEBUG):	cex.io returned an error, retrying.. { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } waiting for 10000 ms
2015-11-19 02:07:29 (DEBUG):	cex.io returned an error, retrying.. { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } waiting for 10000 ms
2015-11-19 02:08:14 (DEBUG):	cex.io returned an error, retrying.. { [Error: socket hang up] code: 'ECONNRESET' } waiting for 10000 ms
2015-11-19 02:08:29 (DEBUG):	Fetched 1000 new trades, from 2015-11-17 13:35:41 UTC to 2015-11-19 02:01:36 UTC
2015-11-19 02:08:29 (DEBUG):	minimum trade treshold: 2015-11-19 02:01:36 UTC
2015-11-19 02:08:29 (DEBUG):	done with this batch (1)
2015-11-19 02:08:29 (DEBUG):	Processed trades, sleeping for a minute...
2015-11-19 02:09:17 (DEBUG):	Requested GHS/BTC trade data from CEX.io ...
2015-11-19 02:09:21 (DEBUG):	Fetched 1000 new trades, from 2015-11-17 13:35:41 UTC to 2015-11-19 02:01:36 UTC
2015-11-19 02:09:21 (DEBUG):	minimum trade treshold: 2015-11-19 02:01:36 UTC
2015-11-19 02:09:21 (DEBUG):	done with this batch (1)
2015-11-19 02:09:21 (DEBUG):	Processed trades, sleeping for a minute...
2015-11-19 02:10:09 (DEBUG):	Requested GHS/BTC trade data from CEX.io ...
2015-11-19 02:10:12 (DEBUG):	Fetched 1000 new trades, from 2015-11-17 13:35:55 UTC to 2015-11-19 02:09:29 UTC
2015-11-19 02:10:12 (DEBUG):	minimum trade treshold: 2015-11-19 02:01:36 UTC
2015-11-19 02:10:12 (DEBUG):	processing 1 trade(s)
2015-11-19 02:10:12 (DEBUG):	from 2015-11-19T02:09:29+00:00 to 2015-11-19T02:09:29+00:00
2015-11-19 02:10:12 (DEBUG):	Skipping creation of already loaded database 2015-11-19
2015-11-19 02:10:12 (DEBUG):	inserting candle 121 (2015-11-19 02:01:00 UTC) volume: 68.98050563
2015-11-19 02:10:12 (DEBUG):	inserting candle 122 (2015-11-19 02:02:00 UTC) volume: 0
2015-11-19 02:10:12 (DEBUG):	inserting candle 123 (2015-11-19 02:03:00 UTC) volume: 0
2015-11-19 02:10:12 (DEBUG):	inserting candle 124 (2015-11-19 02:04:00 UTC) volume: 0
2015-11-19 02:10:12 (DEBUG):	inserting candle 125 (2015-11-19 02:05:00 UTC) volume: 0
2015-11-19 02:10:12 (INFO):	We have all required history, going to calculate advice from this point.
/home/lubuntu/Documents/gekko/gekko/core/candleManager.js:560
this.days[mom.dayString].handle.find({
^
TypeError: Object false has no method 'find'
at Manager.getCandles (/home/lubuntu/Documents/gekko/gekko/core/candleManager.js:560:35)
at bound [as getCandles] (/home/lubuntu/Documents/gekko/gekko/node_modules/lodash/dist/lodash.js:729:21)
at iterator (/home/lubuntu/Documents/gekko/gekko/core/candleManager.js:516:10)
at bound (/home/lubuntu/Documents/gekko/gekko/node_modules/lodash/dist/lodash.js:729:21)
at /home/lubuntu/Documents/gekko/gekko/node_modules/async/lib/async.js:227:13
at /home/lubuntu/Documents/gekko/gekko/node_modules/async/lib/async.js:111:13
at Array.forEach (native)
at _each (/home/lubuntu/Documents/gekko/gekko/node_modules/async/lib/async.js:32:24)
at async.each (/home/lubuntu/Documents/gekko/gekko/node_modules/async/lib/async.js:110:9)
at _asyncMap (/home/lubuntu/Documents/gekko/gekko/node_modules/async/lib/async.js:226:9)

this is fixed in 0.2


Stop downloading ALSA on AIX/Solaris during build

These two operating systems do not require ALSA support so we should stop downloading it during the build.
Also fixes https://github.com/adoptium/temurin-build/issues/3357
Approvals welcome but this is in draft until I do some more verification.

Fixes https://github.com/adoptium/temurin-build/issues/3357


Args 1544 ci - do not merge!

This PR is just to trigger the CI build

@sebbASF better to make it a draft PR if it's not ready.


Tti fix again

Trying to fix the TTI code.

cosine and sine have now an extra 'Taylor' mode

cos and sin are replaced by cosf and sinf in float32

Initialization of Igrid() fixed to include azimuth (phi)

Still random segmentaion faults for some spacial orders

Have you checked that the trigonometric approximations work?

Do you recommend to use this "TTI version" in test_rewriter.py too ?

Have you checked that the trigonometric approximations work?
I have tested the approximation an the error should be less than 1% for any appproximation and angle which is more than sufficient.

Ok, changes look good, many thanks. I'd like the caching fix in PR #164 to go in first though, so that we can set the new test live straight away.

Works for me

@mlange05 only fail is test_sumbolic_caching. Don't know why or how to fix that.


Satellizer not sending Authorization token

Angular  : 1.4.7
satellizer : ~0.12.5
After Login, I can see the local storage having satellizer token , but unfortunately when sending http requests, Authorization token is not sent.
Though It doesnt work only for a specific directive. Now this directive is basically Select2 ajax call. Now If I manually insert token then it works.
So I know the workaround, but I am not sure why SatellizerInterceptor didn't work.

My guess is, (and I could be wrong), Satellizer's interceptor gets overridden somehow, possibly by Select2. I can't say for sure without further debugging and investigation of this particular issue.
If manual approach works for you then use that. Satellizer's interceptor is more there for convenience. You can even disable it completely:
$authProvider.httpInterceptor = false.


[CWS] disable new track in e2e tests

What does this PR do?
The e2e tests don't really support the new track for now. Until then this PR disables the use of the new track
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


SCRD-3481 - add filesystem utilization metrics from Monasca

When Monasca is available on the system, load filesystem metrics for a server when a user views the server details.
The filesystem metrics are at the bottom of the details modal below the networks list

This can be tested by using dogwoods ardana-service, set 'shimurl': 'http://<IP_ADDRESS>:9085' in your config.dev.js  , the current login pass is Pse3EdcdkN4 (will change when updated)


Merge Sort on Linked List [GFG]

Aim

Will be adding solution for Sort the given linked list using Merge Sort.

Details

Topic - Linked List.
Difficulty level - Medium

Problem Statement -

Given Pointer/Reference to the head of the linked list, the task is to Sort the given linked list using Merge Sort. Note: If the length of linked list is odd, then the extra node should go in the first list while splitting.

Please assign me this issue, LMG SoC'21 Participant.

Programming language

[ ] C
[ ] C++
[x] Java
[ ] Python

@Saurabh4626 @ravikr126 @Ayush7614 Please Assign me this issue. I will be solving it in java.
LGM-SOC'21
Thank You

Please Assign me this issue. I will be solving it in c++. I am participating in LGM-SOC.

Please Assign me this issue. I will be solving it in C. I am participating in LGM-SOC.

Already in repo @Aryan-Srivastava


Return spectral axis units in OneDSpectrum

No units were being returned with the spectral axis in OneDSpectrum.

:+1:, but we should also include conversion to the OneDSpectrum's unit (as we do with SpectralCube)

e.g., https://github.com/radio-astro-tools/spectral-cube/blob/master/spectral_cube/spectral_cube.py#L1853

@keflavich  - So __new__ would accept a spectral_unit argument?

I suppose a with_spectral_unit method should also be added.

Adding with_spectral_unit isn't as trivial as I had hoped. The new WCS from spectral_axis.convert_spectral_axis reverts to the original units when newwcs.wcs.set() is called. @keflavich - Any idea why that is happening?

@e-koch yes.  WCS has a method... forget the name, but something like "fixunits"... that is called every time any manipulation is made of the WCS, and it automatically converts to a specific set of units (deg, deg, [m/s, hz, m]).  This is why we change the units on outputting them in https://github.com/radio-astro-tools/spectral-cube/blob/master/spectral_cube/spectral_cube.py#L1853 rather than changing the underlying WCS.  So, any tracking of units has to happen at the class level, not at the WCS level.  This is a fundamental limitation of the wcslib library, so it's not something that can be worked around even in astropy.

This looks pretty good to me now, but there is a lot of duplicated code between OneDSpectrum and SpectralCube now (only one function, but a lot of lines).  Is this a case where we want some parent class to inherit the function from?  Is that called a mixin class?  @astrofrog, you might know the terminology better than I do.

I think this is going to need a _new_cube_with to method as well (or add this to with_spectral_unit). The WCS unit conversion is still an issue here. I'm probably going to be delayed with adding changes until ~ Monday.
I think a parent class with common functionality would be a good idea. In another branch, I've added world and spatial_coordinate_map functionality to Projection so you can extract regions based on world coordinates (like subcube). The vast majority of the additions are duplicates from SpectralCube.
We could split with_spectral_unit and maybe spectral_axis functionality into its own class, and a generalized version of world, spatial_coordinate_map, world_extrema, etc... into another. Maybe?

@e-koch that sounds like a plan, and perhaps a good idea for a half-day sprint next week

merged manually with a rebase... ugly weird history here; I tried PRing onto e-koch's branch then rebased onto master and that lead to a royal mess, so I just dealt with it offline


Fix add widget test by mocking the response

Description
Mock the execute action api for the add widget test.
Fixes https://dashboard.cypress.io/projects/eyxvp8/analytics/top-failures/4c795857-06f9-c825-ec3a-f080836ef66e-a63d6407-9c5c-5344-7eb0-78f0bd6a39e7
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Locally
Checklist:

[x] My code follows the style guidelines of this project
[x] 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
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
No changes to code coverage between the base branch and the head branch

ExecutionParams_spec has failed and is fixed via https://github.com/appsmithorg/appsmith/pull/6284


mgmt, add sample for DiskEncryptionSet and CMK

Description
Fix https://github.com/Azure/azure-sdk-for-java/issues/29112
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

I'll update samples.json in next samples PR with Spring Cloud.


Need to get keosd API should use a secure protocol (e.g. HTTPS)

This would be a great feature to include in RC2, right now we've got 13+ Block Producers all hosting over HTTPS (mostly LetsEncrypt + Nginx).
https://scholar.eosnation.io
Unfortunately, using cleos doesn't seem to support HTTPS domains at the moment.
Feel free to use the following BP's to test HTTPS cleos connections:
cleos -p 443 --host scholarnet.eosnation.io get block 1
cleos -p 443 --host testnet.eosocal.io get block 1
cleos -p 8911 --host scholartestnet.cryptolions.io get block 1
cleos -p 443 --host testnet.meet.one get block 1
cleos -p 443 --host testnet.eoscannon.io get block 1

CC: @GMory @wuyahuang @luckybean


Pylint is not ignoring errors that are configured to be ignored

Issue
I see the following Pylint error:
[invalid-name] Invalid constant name "app_settings"

Even when I've configured it to be ignored.
Steps to reproduce

include the following configuration:
let g:neomake_python_pylint_maker = {
  \ 'args': [
  \ '-d', 'C0301',
  \ '-f', 'text',
  \ '--msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}"',
  \ '-r', 'n'
  \ ],
  \ 'errorformat':
  \ '%A%f:%l:%c:%t: %m,' .
  \ '%A%f:%l: %m,' .
  \ '%A%f:(%l): %m,' .
  \ '%-Z%p^%.%#,' .
  \ '%-G%.%#',
  \ }

let g:neomake_python_enabled_makers = ['flake8', 'pylint']
let g:neomake_open_list=2
let g:neomake_list_height=5
let g:neomake_verbose=3

autocmd BufWritePost,BufWinEnter * Neomake

open file with invalid code inside of it

view error appearing in location list (when it shouldn't be)

Output of the ":NeomakeInfo" command
= Neomake debug information =
Async support: 1
Current filetype: python
== Enabled makers ==
For the current filetype (with :Neomake): ['pylint']
You can define g:neomake_python_enabled_makers to configure it (or b:neomake_python_enabled_makers).
For the project (with :Neomake!): []
You can define g:neomake_enabled_makers to configure it.
== Settings ==
g:neomake_open_list = 2
g:neomake_python_flake8_maker = {'errorformat': '%E%f:%l: could not compile,%-Z%p^,%A%f:%l:%c: %t%n %m,%A%f:%l: %t n %m,%-G%.%#', 'args': ['--format=default']}
g:neomake_list_height = 5
g:neomake_python_pylint_maker = {'errorformat': '%A%f:%l:%c:%t: %m,%A%f:%l: %m,%A%f:(%l): %m,%-Z%p^%.%#,%-G%.%#', 'args': ['-d', 'C0301', '-f', 'text', '--msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}"', '-r', 'n']}
g:neomake_python_enabled_makers = ['flake8', 'pylint']
g:neomake_verbose = 3

Versions
$ nvim --version
NVIM v0.1.6-109-gdc6cc47
Build type: Dev
Compilation: /usr/local/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160917-48038-jynr1n/build/config -I/tmp/neovim-20160917-48038-jynr1n/src -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/tmp/neovim-20160917-48038-jynr1n/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160917-48038-jynr1n/build/src/nvim/auto -I/tmp/neovim-20160917-48038-jynr1n/build/include
Compiled by markmcdonnell@MarkMcDonnell-MBPr

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-dc6cc47/share/nvim"

Output from ":messages"
"../bpager/bpager.py" 38L, 845C
Neomake: Starting: flake8 --format=default /Users/markmcdonnell/code/foo.py
Neomake: Starting: pylint -d C0301 -f text --msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" -r n /Users/markmcdonnell/code/foo.py
Neomake: [#1] exit: flake8: 0
Neomake: flake8 completed with exit code 0
Neomake: File-level errors cleaned in buffer 1
Neomake: [#2] stderr: pylint: ['No config file found, using default configuration', '']
Neomake: [#2] pylint: processing 1 lines of output.
Neomake: [#2] stdout: pylint: ['************* Module bpager', '/Users/markmcdonnell/foo.py:1:0:C: [missing-docstring] Missing module docstring', '/Users/markmcdonnell/code/foo.py:17:0:C: [invalid-name] Invalid constant name "app_settings"', '/Users/markmcdonnell/code/foo.py:23:0:C: [missing-docstring] Missing function docstring', '/Users/markmcdonnell/code/foo.py:35:4:C: [invalid-name] Invalid constant name "app"', '']
Neomake: [#2] pylint: processing 5 lines of output.
Neomake: Nothing to make: no enabled makers.
Neomake: Nothing to make: no enabled makers.
Neomake: Placing sign: sign place 5000 line=1 name=neomake_err buffer=1
Neomake: Placing sign: sign place 5001 line=17 name=neomake_err buffer=1
Neomake: Placing sign: sign place 5002 line=23 name=neomake_err buffer=1
Neomake: [#2] exit: pylint: 16
Neomake: pylint completed with exit code 16
Neomake: WideMessage echo pylint: [missing-docstring] Missing module docstring

Ignore. I had the wrong code :-/ it was supposed to be C0103 not C0301

Note that you should be able to configure this for your project (or globally) via ´e.g. setup.cfg also, without changing the Neomake conf.
(When changing the conf however, setting g:neomake_python_pylint_args would be enough.
Thinking about it, it would be nice to have something like g:neomake_python_pylint_args_add, or when using a function for g:neomake_python_pylint_args to pass in the default value, so you could adjust it.)

@blueyed , I am new to Neomake. Can I disable certain warnings in the .pylintrc file under my $HOME? It seems that disabling warnings there does not take effect.

@jdhao
Normally tools will use config files, but if you have e.g. some project config files it will not look at config in $HOME etc.  Try running pylint manually from a shell and see if it works there.  Often tools have an option to display what config is used also.  And you could try something like strace -e open pylint … to see which files it opens.

I do not have any project config files. Just one .pylintrc file under my $HOME. I regenerated the pylintrc file based on suggestion here.
Now Neovim works well and can recognize the settings inside .pylintrc even if I comment out relevant settings in my init.vim file.


Update join testnet instructions

Update testnet go-spacemesh release link and toml canonical url.
Motivation

Closes #

Changes

Test Plan

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

bors merge

bors merge

bors merge

bors merge

bors merge


Feature Request: Highlight Tags with Related Results

Is your feature request related to a problem? Please describe.
As an analyst using the current version of the platform, it can be time-consuming to identify which tags have related results. The only available method is to manually right-click each tag and select "Find Related Results", which can be a bottleneck in workflow efficiency.
Describe the solution you'd like
A more efficient and user-friendly approach would be to have a visual indicator - such as highlighting or a different colour - for tags that have related results. This would instantly inform users which tags can be utilized to pivot on, eliminating the need to individually check each tag through different sources.
Describe alternatives you've considered
An alternative solution might include a hover-over feature that shows the number of related results to a tag. However, this could still be more time-consuming than the preferred solution of colour-coding or highlighting tags with related results.

This may completely take down the system. Some files generate hundreds of tags which we would have to perform individual queries for each to see if they are found in other results. I'm not sure how we could acheive this without having the UI being very very slow to load and without putting too much pressure on elastic. If you have any ideas, I'm all ears.

Thanks @cccs-sgaron, this makes sense, I don't see an easy solution, feel free to close this case. If I think of something I'll bring it up.


View study bible videos

Hi, the ability to mirror the websites is a great feature.
Is it possible to enable flash (or equivalent) in the Chromium browser so that the videos from the study bible notes eg "Battlement of The Temple" in Luke 4 can be played. At the moment the browser doesnt allow it to play
Jon

@jsquiggz I think you can install pepper flash as a system installation.
https://bitbucket.org/chromiumembedded/cef/issues/1586/add-pepper-flash-plugin-support#comment-16898332
Perhaps you could try?

As an alternative, as of JWL 10.6, the Study Bible videos play on the second screen as well.


How to attach api keys(Private API key, Public validation key, HTTP webhook signing key) to code

Hi, I'm so confuse about what keys I should use on each option,
I already receive keys like these, but I dont know how to attach to mailgun.client({})

then, my code

result

Is my config on line 14 correct?

Hello @RobyCigar
It seems you use an incorrect username, can you please try to use 'api' as a user name?
Also to just send a message you don't need to provide a public key to the client, it is enough to mention only a private key that starts from "key-".
So your configuration should look like
{
    username: 'api',
    key: 'your key that starts from key-'
}


justification for adding app.kill()

The problem
We have an app shell architecture, meaning a host app that loads several other apps on our page. This lets us maintain and deploy each app separately. The app shell routes to /app1  and App 1 will route to everything after /app1/.... Some of the loaded apps are using Navigation.program. When the path changes from /app1 to /app2, App 1 still listens to popstate events even though it should be idle.
Possible workarounds
There are a couple of ways to circumvent this from being a problem.

Removing all subscriptions. => Won't work. There is no way to tell the Navigation.program to stop listening to this event since the subscription is untouchable and always there https://github.com/elm-lang/navigation/blob/master/src/Navigation.elm#L73.

"Turning off" the App1 when routing away (with something like this update = (\model msg -> if model.isMounted then update model msg else (model, Cmd.none))) => would work but bloats the model and update function a little bit.

Making sure each app only parses routes that are within it's namespace (only parse stuff starting with /app1)

All these methods will just elimate the reaction to the event, rather than removing the actual event listener.

I actually found that that leaking stuff is not necessarily specific to multiple elm apps on the page, but more to reinitializing elm modules(calling Elm.<Module>.embed/fullscreen()). This can happen for example when using react-elm-components and mounting the component multiple times via navigating through the page if subscriptions are used without reloading the page.
I created an example here: https://www.google.com/url?q=https%3A%2F%2Fellie-app.com%2F3LHDqnYqD4za1%2F10&sa=D&sntz=1&usg=AFQjCNFJOQ1jz9_IdoqIEyce6Z7_YIv1hA

@ChristophP Almost a year later, but I just came up with a workaround for this issue; using web components, you can fire a custom event when the elm app is detached from the DOM. You could then create a custom program function that automatically disconnects subscriptions when the app is unmounted. I have not tested this extensively yet, but I can verify it fixes the ellie example you posted above. Here's the code:
https://gist.github.com/joefiorini/4372e2362e658d3092419e708416f92c
Sorry it's not an ellie, but it was easier to write in an editor with multiple files due to having multiple Msg and Model types and the custom element.

Adding workaround for the memory leak where smaller Elm apps embedded in other things - https://github.com/Pilatch/angularjs-ng-elm#technical-stuff

@joefiorini I haven't thought of using web components callbacks yet but nice idea. I have been using something similar with ports and callbacks to clean up lingering subscriptions. But it would we cool if there was a function for elm that clobbers everything down on command. However now with 0.19 out, ther only seems to be a string use case for this with Browser.element. The other ones will pretty much always live as long as the page does.

+1 Elm applications are a great candidate for stable drop-in components, and having no way to cleanup lingering listeners is very detrimental.

Is this still a thing in 0.19?

@FranzSkuffka Yup

Here's another use case:
I'm using Elm in a browser extension content script, so I inject a little Elm app on certain pages. This is happening on someone else's single-page-app, so when the user navigates away from the current view, I need to clean up my Elm stuff.

Up! I have a very similar situation as @ChristophP have.

I would suggest this being called terminate() instead of kill(). This mimics the Worker API and sounds less violent.

I just came up with another reason why a stop, unsubscribe, destroy mechanism for an elm app/element would be good:
the debugger
The debugger records a history of all events that happened. In a scenario with multiple pages and Browser.elements running on different pages each one will have a debugger instance.Now when on pageA a debugger will be spawned, when navigating to page B a new debugger will be spawned. When navigating back to page A, yet another debugger for page A we be created and the old one is still in memory. Dependending on the frequency is size of messages this leaks memory over time in development.

So all in all what a app.kill/app.destroy should do to accomodate the scenarios for mulitple Browser.elements on the page:

remove all subscriptions
kill the debugger/clear it's history
unbind all ports code
unmount things from the DOM
clean up any other things that may linger in memory
(not important IMO if the other things work) optionally allow for a callback to react to the destruction

I just opened #1125 and I used the name shutdown (the name of the commit is still incorrect). I was looking for nicer words than "destroy", "terminate", "kill".
I also considered:

"close", but elm also can be used to build headless applications. You would not "close" a service, but you can shut down pretty anything.
"end" similar to "close" you would end a game, but not an app or a service
"stop" was also considered, but it suggests that we suspend something which could be resumed.
"disconnect" is similar to "stop". it hints at something resumable

Very interesting. And thanks for sharing the gist.


OData model function import (http GET) count result not reflected in oData model

OpenUI5 version:
1.48.10
Browser/version (+device/version):
chrome Version 61.0.3163.100
Steps to reproduce the problem:

Instantiate sap.ui.model.odata.v2.ODataModel
Execute an function import e.g. *.callFunction('/count_something', * with
method = GET
The submitted URL looks like this:
_host/service/count_something?id='1000'
the returned promise contains the result, which is not an entity type but a count value (e.g. {"d":{"count":5}})...
oModel.callFunction(sFunction, mParameters).then(function (oResponse) {
var sCount = oResponse && oResponse.count; //count e.g. 5
}
the result is not reflected in oController.getView().getModel().oData, there only a contextEntry (count_something('id-1509685431555-26')) is made without the actual result --> therefore getting data at a later point (via mContext and oData) is not possible

What is the expected result?
the result should also be reflected in count_something('id-1509685431555-26'), which means in this case the count would also be there
Any other information?
could be reached by adding metadata to functionImport result
in debugging a test by adapting the metadata, it was possible to get the expected result, via

ODataModel.prototype._importData
ODataModel.prototype._getKey (here set "vValue.__metadata = this.oData["count_something('id-1509686911991-26')"].__metadata")
Then the returned key is filled and oController.getView().getModel().oData will contain the result.

Please have a look.

Do you maybe have something new on this topic?

Apologies for the delay
How do you define the FunctionImport, can you please paste the following details:

FunctionImport and ReturnType from metadata
Created request from the Network tab (F12 dev tools)
Response from the Network tab in the browser window (F12 dev tools)

Thanks

@yaazone My colleagues will check the case via #1870145718 and they will post an update here
Thank you for your patience


Making spec/actions lint free

To prepare for modularization of iD, I believe it would be good if we could lint all our test folder.

This is awesome!  I've wanted to do it for a while..
Can you also make sure the spec files get linted when npm run test is called?

@bhousel sure.

@bhousel updated the PR.

npm run commands look great, merge it if you are happy with it.. :shipit:


e2e: test mount options

CC @openshift/storage

something is wrong:
started: 0/173/249 "External Storage [Driver: filestore.csi.storage.gke.io] [Testpattern: Dynamic PV (default fs)] provisioning should provision storage with mount options"
skip [k8s.io/kubernetes@v1.25.0/test/e2e/storage/testsuites/provisioning.go:189]: Driver "filestore.csi.storage.gke.io" does not define supported mount option - skipping

something is wrong:
started: 0/173/249 "External Storage [Driver: filestore.csi.storage.gke.io] [Testpattern: Dynamic PV (default fs)] provisioning should provision storage with mount options"
skip [k8s.io/kubernetes@v1.25.0/test/e2e/storage/testsuites/provisioning.go:189]: Driver "filestore.csi.storage.gke.io" does not define supported mount option - skipping

Jan pointed out that this file lives here: https://github.com/openshift/release/blob/75fcf7acedf740aff0c726553c4b0df760864a72/ci-operator/step-registry/storage/create/csi-gcp-filestore/storage-create-csi-gcp-filestore-commands.sh#L45-L73
This file was added here most likely due to a oversight.
/close


[Share conversation] single shared chat is not auto-selected

EPAM AI DIAL chat version
0.21.0
What happened?

By user1 create a chat with history and copy the link for sharing
By user2 click on the link
Note that the chat appears in Shared with me (ok), but it's not auto-selected -> bug

Expected: shared chat should auto-selected and its history should be shown on central part.
Note: it works ok for shared folders. A chat inside the shared folder is focused.
Confidential information

[X] I confirm that do not share any confidential information

Not reproduced on 0.22.0 version anymore.


gtscore and gtsummary

@ok1zjf Hello,
I see there are two fields in the dataset - gtscore and gtsummary. Can you explain the difference and significance of these? I see that you have used gtscore in your code while calculating losses. In the readme file, you have written gtscore is the frame-level importance scores and used for regression loss while gtsummary is the ground truth summary which is used for likelihood loss. I couldn't understand this part.
Thank you.

@ayushkothari27 Hi, I'm also confused about this.
Have you understood their difference and relationship?


Allow updating more than just SequenceCount on message transmit

Is your feature request related to a problem? Please describe.
Currently, the CFE_SB_TransmitMsg() API has a second parameter, to update the sequence count of the outgoing message.
This was a bit short-sighted because the MSG headers are user-configurable (via customizing the MSG module) ... it is possible that there is more than just a Sequence Count that needs to be maintained.  If users can add custom header fields, this hook needs to be more generic to update other headers.
Describe the solution you'd like
Generalize the boolean to mean "Update Headers"  (thus not limited to a sequence count).  This would include a sequence count, of course, to not break existing code.
Additional context
Other headers that could conceivably be updated, if applicable to the message being sent:

Timestamp
Checksum/error control field

Requester Info
Joseph Hickey, Vantage Systems, Inc.

This overlaps/supercedes my old issue #1157 ... which was similar in the sense that the boolean on this function was oddly implemented and too limited in nature.


Add type annotations to lib/utils/request.ts

Context
Continuing on the typescript conversion. There are 8 functions in lib/utils/request.ts these are utilities functions are used by Superglue to manage request objects.
Issue
Lets convert all 8 functions in lib/utils/request.ts to typescript. Most of the conversion should be straightforward, the only one that may be tricky is  argsForFetch, which return literally Fetch arguments, you'll need to find a return type for it.

I'll pick this one up too.


Add warning for automatically adding a hook at the OS level for common shortcut key combinations

Description of the new feature / enhancement
As noted on the JetBrains forum (https://intellij-support.jetbrains.com/hc/en-us/community/posts/11893546874258-Code-Completion-keyboard-shortcut-not-working-) and on Stack Overflow (https://stackoverflow.com/q/76444491/1376939), many users were surprised to find out that their CTRL+SPACE key combination suddenly stopped working. I had no idea and was at a loss until another user happened to spot the change made by an update to PowerToys, that when Peek was added, prevented use of CTRL+SPACE by other applications.
Scenario when this would be used?
During installation, disable these by default and/or provide some kind of obvious warning. Not just something in the change log either, as I rarely read those for this app (too many changes).
Supporting information
I even submitted this as a defect in PhpStorm before I was told it was caused by PowerToys:
IDEA-322187 CTRL+SPACE key combination no longer works

Agreed.  It may not be the case all the time, but Ctrl+Space is a critically common keymap (Autocomplete in most IDEs) for the exact sort of users that would be likely to download a fabulous tool like PowerToys.
At minimum, only eating the key combination while File Explorer has focus would be ideal.
If Peek functionality is actually extended outside of just File Explorer Windows+Space would make more sense and be less likely to collide with standard keystrokes from other developer tools.

We are also rethinking the upgrade notification experience.  We do call out things like this in release notes, https://github.com/microsoft/PowerToys/releases/tag/v0.70.0 which are the notes we pull in the upgrade dialog.  We do directly state that we use ctrl-space but the rethinking would be far more aggressive.  It would also possibly replace the "general" page.  It still won't help a user from closing out the dialogs nor would this have helped the bug slipping through.
We refined our testing to be sure this issue won't happen again too
I'm going to close this against https://github.com/microsoft/PowerToys/issues/26816 for tracking this issue

@crutkas

We do call out things like this in release notes, https://github.com/microsoft/PowerToys/releases/tag/v0.70.0 which are the notes we pull in the upgrade dialog. We do directly state that we use ctrl-space ...

I actually did read the release notes and saw that note and thought it would be a useful addition.  But what wasn't clear is that Ctrl-Space would be captured at the OS level, not just for File Explorer.  I'm don't know if that was just a bug in this case, or if that's how all PowerToys shortcuts work, but that side-effect in essence is the "missing" warning.
(I'm not sure where it is best to capture that little nugget of feedback, so I'm just commenting here on a closed issue. 😅)

I don't think so if the bug is that the shortcut was being captured regardless of the focused application.
I've been using PowerToys for quite a while now and I haven't encountered any similar issues.  If the Peek feature only applied to File Explorer I think we'd be golden.  Alternatively, if the shortcut were Win+Space the chance of a collision with a common developer shortcut would at least be far less.


[MENFORCER-430] Allow one of many files in RequireFiles rules to pass

This PR resolves the issue MENFORCER-430.
Given a list of files it was not possible to enforce only a list where only one filed would be sufficient.
For example check if one of the following files exists:

README
README.md
README.adoc

A new paramenter satisfyAny was added to AbstractRequiresFiles. If satisfyAny is true then it is enough if one of the files passes the check.
This PR affects the following built-in rules:

RequireFilesDontExist
RequireFilesExist
RequireFilesSize

Tests have been added.
I do not know if the documentation of the builtin-rules updates itself with the new paramenter satisfyAny or if I have to do this myself.
Please note this is an up-for-grabs issue and given my lack of experience in Maven Development I might have missed something.

Following this checklist to help us incorporate your
contribution quickly and easily:

[x] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without
pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [MENFORCER-XXX] - Fixes bug in ApproximateQuantiles,
where you replace MENFORCER-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the
commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
[x] You have run the integration tests successfully (mvn -Prun-its clean verify).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ ] In any other case, please file an Apache Individual Contributor License Agreement.

@raupachz thanks for PR - looks ok.
Please add corresponding documentation in this PR - we will have complete change.
Files to edit are in https://github.com/apache/maven-enforcer/tree/master/enforcer-rules/src/site/apt

@slawekjaranowski Thank you for reviewing. PR is updated.

@raupachz thanks


Friday - Open Scienc/Source

Videos for Day 4 are also part of this

Maybe this wasn't clear since there was still commit activity from Jessica and I after the PR was opened and these changes are ready for review.


New package: AHS.TohokuKiritan version 1.1.0

[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.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{B3321719-69C8-483A-8AE3-84C612F9D8E6}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{B3321719-69C8-483A-8AE3-84C612F9D8E6}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

Pending Manual Validation.

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{B3321719-69C8-483A-8AE3-84C612F9D8E6}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{B3321719-69C8-483A-8AE3-84C612F9D8E6}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

https://github.com/microsoft/winget-pkgs/pull/129891#issuecomment-1852578139

@wingetbot waivers Add Validation-Executable-Error


Address Sanitizer cuases libdepthengine.so.2.0 to not be found

Describe the bug
When using the Azure Kinect SDK release 1.4.1 with Address Sanitizer, the libdepthengine2.0 dll fails to load.
Code To Reproduce
CMakeLists.txt
cmake_minimum_required(VERSION 3.9)
project(kinect_dll_asan_check LANGUAGES CXX VERSION 1.0)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(CPLUS_PLUS_FLAGS -Werror -Wall -Wextra)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 99)

set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")

add_executable(kinect_test ${CMAKE_CURRENT_LIST_DIR}/main.cpp)
target_link_libraries(kinect_test k4a)

main.cpp
#include <chrono>
#include <iostream>
#include <k4a/k4a.hpp>

int main(){
  // Get Kinect SDK Version
  std::cout << "Kinect SDK Version: " <<  K4A_VERSION_STR << std::endl;
  // Get the device
  k4a::device device = k4a::device::open(K4A_DEVICE_DEFAULT);
  // Setup config for the camera
  k4a_device_configuration_t config = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL;
  config.color_format = K4A_IMAGE_FORMAT_COLOR_BGRA32;
  config.color_resolution = K4A_COLOR_RESOLUTION_720P;
  config.depth_mode = K4A_DEPTH_MODE_WFOV_UNBINNED;
  config.camera_fps = K4A_FRAMES_PER_SECOND_5;
  config.synchronized_images_only = true;
  // Start the cameras
  device.start_cameras(&config);
  // Take a random set of captures
  for(int i = 0; i < 5; ++i){
    std::cout << "Taking capture " << i << std::endl;
    k4a::capture capture;
    device.get_capture(&capture, std::chrono::milliseconds(1000));
  }
  // Stop the cameras
  device.stop_cameras();
  // Exit
  return EXIT_SUCCESS;
}

build.sh
#!/bin/bash
set -uexo pipefail

readonly DEBUG_DIR=debug
readonly RELEASE_DIR=release

pushd `pwd`
mkdir -p $DEBUG_DIR
cd $DEBUG_DIR
cmake -GNinja -DCMAKE_BUILD_TYPE="Debug" ..
ninja
K4A_ENABLE_LOG_TO_A_FILE=~/logs_debug.log K4A_LOG_LEVEL=i ./kinect_test
popd

pushd `pwd`
mkdir -p $RELEASE_DIR
cd $RELEASE_DIR
cmake -GNinja -DCMAKE_BUILD_TYPE="Release" ..
ninja
K4A_ENABLE_LOG_TO_A_FILE=~/logs_release.log K4A_LOG_LEVEL=i ./kinect_test
popd

Expected behavior
I expected the dll to be located since it is found when ASAN is disabled.
Logs
Logs if libdepthengine2.0.dll doesn't exist in the /usr/lib/x86_64-linux-gnu/
logs_without_libdepthengine.log
The fix that got the code working for me was to copy libdepthengine2.0.dll from /usr/lib/x86_64-linux-gnu/libk4a1.4 to /usr/lib/x86_64-linux-gnu/, but this is not ideal.
Logs if libdepthengine2.0.dll does exist in the /usr/lib/x86_64-linux-gnu/
logs_with_libdepthengine.log
Desktop (please complete the following information):

OS with Version: Ubuntu 18.04.1 LTS
SDK Version:  1.4.1
Firmware version:

RGB Sensor Version:   1.6.102
Depth Sensor Version: 1.6.75
Mic Array Version:        1.6.14
Sensor Config:             6109.7
Build type:                    Release
Signature type:             MSFT

Has anything has been done to make progress on this issue?


[Q] TSduck Dockerfile

Hi
Has anyone got an example Dockerfile for building tsduck from scratch?
Thanks in advance
Neil

I've been using this Dockerfile to build a minimal Ubuntu docker image with tsduck from source. Note that I'm copying the tsduck repo dir into the build container rather than doing a git clone inside the container.
Now, it's been a while since I built it so I'm not sure if it will work, but if nothing else maybe you can use it as a starting point.
 Just tidying up my lab environments and ill start picking through this, see if I can get SRT to build.... I will post updates :)

Having some problems building from source with srt support
heres some snippets from the docker file
RUN apt install tclsh pkg-config cmake libssl-dev build-essential -y
WORKDIR /
RUN git clone https://github.com/Haivision/srt.git
WORKDIR srt

RUN ./configure
RUN make
RUN make install

WORKDIR /

RUN git clone https://github.com/tsduck/tsduck.git
WORKDIR tsduck
RUN build/install-prerequisites.sh
RUN make -j10 NOPCSC=1 NODTAPI=1
RUN make install

Seems to complete without issues but get the following error when I run tsp -O srt 8001:
tsp: error while loading shared libraries: libsrt.so.1.4: cannot open shared object file: No such file or directory
Thanks in advance
Neil

Hi @themoog
I added
RUN git clone https://github.com/Haivision/srt.git
WORKDIR srt
RUN ./configure && make && make install

to build srt and then you need to copy the libs in the secound container:
COPY --from=build /usr/local/lib/libsrt.so.1.4.4 /usr/local/lib/
COPY --from=build /usr/local/lib/libsrt.so.1.4 /usr/local/lib/
COPY --from=build /usr/local/lib/libsrt.so /usr/local/lib/
COPY --from=build /usr/local/lib/libsrt.a /usr/local/lib/

I had success with this.

If it helps someone.. recently built a container, and had to add a few extra copy for libraries..
It's not the cleanest nor probably the most correct to copy libraries  from one to the other layer, but it works for what i needed (multicast and srt transport streams).

Seems that the lib is not installed? Or did u have this problem before?

I know the problem,

the lib in my docker lib is 1.5, so the copy command not found 1.4.4
and I change the version, now it's work for me!

Sorry, that has to do with what version of libsrt you've building. I had specific need to build the 1.4.x version. Forgot to mention that.

Seems that the lib is not installed? Or did u have this problem before?


custom cluster marker doesn't work

Hi, i tried to use one of the props customClusterMarkerDesign but it didn't work. I follow exactly like the documentation. Appreciate if you could help
<MapView
     ref={(ref) => { this.mapView = ref; }}
     region={this.state.currentRegion}
     style={{ width, height }}
     onClusterPress={(coordinate) => { this.animateRegion(coordinate); }}
     customClusterMarkerDeisgn={(
     <Image
         style={{ width: 24, height: 34, tintColor: '#ff6600' }}
         source={ImageMarker}
     />
     )}
>
    {this.createMarker()}
</MapView>

It's a typo on the props name.. issue solved


Shortening manual build image name prefix

Merging myself, as it's a single file that won't affect existing workflows.


Admin - Security CM-03/4/5/8/9 - Security Impact Analysis

Description
Document process for making changes to config files, who approves, how we analyze impact
CM-03
Configuration change control. How to approve and implement changes to the configuration.
CM-04
(A)	The organization analyzes changes to the information system to determine potential security impacts prior to change implementation.
CM-05
(A)	The organization defines, documents, approves, and enforces physical and logical access restrictions associated with changes to the information system.
CM-08
(A)	The organization develops and documents an inventory of information system components that accurately reflects the current information system.(B)	The organization develops and documents an inventory of information system components that includes all components within the authorization boundary of the information system.(C)	The organization develops and documents an inventory of information system components that is at the level of granularity deemed necessary for tracking and reporting.(D)	The organization develops and documents an inventory of information system components that includes [Assignment: organization-defined information deemed necessary to achieve effective information system component accountability].(E)	The organization reviews and updates the information system component inventory [Assignment: organization-defined frequency].
CM-09
(A)	The organization develops, documents, and implements a configuration management plan for the information system that addresses roles, responsibilities, and configuration management processes and procedures.(B)	The organization develops, documents, and implements a configuration management plan for the information system that establishes a process for identifying configuration items throughout the system development life cycle and for managing the configuration of the configuration items.(C)	The organization develops, documents, and implements a configuration management plan for the information system that defines the configuration items for the information system and places the configuration items under configuration management; and(D)	The organization develops, documents, and implements a configuration management plan for the information system that protects the configuration management plan from unauthorized disclosure and modification.
Required for Completion

[ ] Documentation

Create configuration management plan in GitHub

Will be done as part of the assessment - led be TBS.

Can start with VA scan and TRA recommendations


Add componentType in odo list output

/kind feature
Which functionality do you think we should add?
odo list -o json should mention the specific componentType associated with that component.
e.g. 'type': 'git'
Why is this needed?
With the change mentioned with this PR https://github.com/openshift/odo/pull/2674 , it removes Source tag from the output.
The adapters workflow was using this tag to figure out the component Type as in git, binary, local.
Hence this change will help in keeping the view consistent in OpenShift connector view.

I have the following , looks like the type is kept? or misunderstand the question above? Thanks
 "spec": {
                "app": "app",
                "type": "ubi",
                "source": "file://./",
                "env": [
                    {
                        "name": "DEBUG_PORT",
                        "value": "5858"
                    }
                ]
            },

@jichenjc are you planning to work on this?

If not, I would like to work on this.

yes, please, I didn't plan to work on this , above are just questions to make sure understand this
thanks for asking this @girishramnani

@mohitsuman currently the json output looks like this
( for a single component present in an application )
{
            "kind": "Component",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "nodejs-tesrr-hqtz",
                "namespace": "testproject",
                "creationTimestamp": null
            },
            "spec": {
                "app": "app",
                "type": "nodejs",
                "source": "file://./",
                "ports": [
                    "8080/TCP"
                ]
            },
            "status": {
                "state": "Not Pushed"
            }
        }

now the issue is that we already have a type which corresponds to the component type i.e. nodejs, java etc.
To introduce the git,local or binary information in the json output we can consider

source_type
source

In terms of implementation we already have sourceType present as an annotation here https://github.com/openshift/odo/blob/2a56a67dc45e9ca5559a6cc243fda0e294b48e79/pkg/component/component.go#L1015.
Its just matter of exposing it for --all and current application scenerio.
I would also consider changing the standard output ( non-json one ) to have the sourceType information for consistency.


Set exp name

Can we also add exp name? Seems odd to me that we have support for message but not name.
Originally posted by @dberenbaum in https://github.com/iterative/dvclive/issues/565#issuecomment-1551350667

I'm also interested in having an experiment name parameter for the Live class. At the moment, the experiment name is always set at random string. Isn't it the prefix parameter that should do the job?


Can't close my foreground task when I exit the app

I'm using the foreground task to prevent the app to sleep and still receive firebase events when the user changes app or screen is off.
The problem is I want to close my foreground task when the app is killed. I can't find a way from within the task to detect the app is killed and then close the task.
From the app a tried to listen to AppLifecycleState.detached using the didChangeAppLifecycleState(), I can detect the event but then when I call FlutterForegroundTask.stopService(); it doesn't close the foreground service. And I get this error:
W/FlutterJNI( 5009): Tried to send a platform message response, but FlutterJNI was detached from native C++. Could not send. Response ID: 39

Ok so I found out there is a Flag on android to achieve this:
<service android:name="com.pravera.flutter_foreground_task.service.ForegroundService" android:stopWithTask="true" />

Spent A LOT of time trying to get the app to close the foreground task when the app was closed. I think this flag should be more visible in the documentation on the flutter package page @Dev-hwang !
Other than that, great package! :)

@DanielHoltebo the very point of a foreground task is to execute stuff even when the app is closed. I think you should have known it. No offense.

@h2210316651
Most of the time the need for this kind task is to keep the app active when the user switches to another app or the screen sleeps.

@h2210316651 Most of the time the need for this kind task is to keep the app active when the user switches to another app or the screen sleeps.

Hi. I agree, and that's my case. But when the user "closes all" apps (you know: swipe or click squere => it displays all apps on android, then you can close all), you may expect the foreground task exits.
Especially given this "problem": https://github.com/Dev-hwang/flutter_foreground_task/issues/120


Question: what do you think about traits (like in FactoryGirl)?

http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md#Traits
factory :user, aliases: [:author]

factory :story do
  title "My awesome story"
  author

  trait :published do
    published true
  end

  trait :unpublished do
    published false
  end

  trait :week_long_publishing do
    start_at { 1.week.ago }
    end_at   { Time.now }
  end

  trait :month_long_publishing do
    start_at { 1.month.ago }
    end_at   { Time.now }
  end

  factory :week_long_published_story,    traits: [:published, :week_long_publishing]
  factory :month_long_published_story,   traits: [:published, :month_long_publishing]
  factory :week_long_unpublished_story,  traits: [:unpublished, :week_long_publishing]
  factory :month_long_unpublished_story, traits: [:unpublished, :month_long_publishing]
end

I think I'm in favor of it

It's a matter of tweaking factory inheritance so that it supports more than one builder identifier, ie Factory.define(user: [:active, :admin, :with_posts]) { |f| ... }

I think it'd be helpful / preferable if there's some way to include / specify a trait at usage time  ... so, you'd be able to do Factory[:user, traits: [:admin, :with_posts]] rather than needing to pre-define every combination you may end up using ...

Would love to make PR. I personally really need this as well.


Get-DbaLastBackup Shows Wrong Last Backup Timestamp on AlwaysOn Replicas

This is a 4 node always on cluster and the the backups are done on the primary only. The report is for a database in the primary node. The result shows wrong last backup time.

Do you use the latest version of dbatools?

Hi, is there a command to check version? Thanks.

Get-Module -Name dbatools -ListAvailable

Get-Module -Name dbatools -ListAvailable

Thank you, I am on 1.0.97

Can you upgrade to 1.0.130? There was a fix for that problem a few versions ago.

Can you upgrade to 1.0.130? There was a fix for that problem a few versions ago.

I apologize for asking this but can you please give me the command to upgrade? I appreciate the help.

It depends a bit on how you installed the module. If you installed it with Install-Module dbatools from the PSGallery, you just need to execute Update-Module dbatools from an elevated powershell session. Do this in a new powershell session where the old version is not loaded yet.

Thanks, I was able to update it.
That did fix the issue, I appreciate your help. thank you!

I'm glad I could help.


Improved user handling

Added an option to fetch and add null users to the room
(I wish this wasn't needed, but plug occasionally doesn't send join events)
Added a function to get external users, also updates the internal object if the user is in the room

This issue is a plug.dj issue and has already been reported to them, they are actively looking into it.

Yes, I'm aware it's their issue.  This problem has been coming and going since January or so.
I thought plugAPI should at least provide an option to use a similar band-aid like the web client does.
But if you don't want to accept this I understand, I'm not too happy with this "fix" either.
Though, what are your thoughts on the second function?

I'm not really sure if a getExternalUsers function is needed. It looks to me that all possible nulls are already handled via the other events in your pull request

Hey, I thought I'd just chime in, on this,
I am the one actively pushing this to be fixed internally now, new guests are fine but the problem is existing users, the frontend doesn't have it right until they talk or whatever, which isn't good either.
I expect this issue to be fixed within the next week

@Hunchmun Great, I'll be happy to see that finally resolved.
@thedark1337 That function is unrelated to the fix. My primary use for it would be to get the properties that aren't defined in _/rooms/state as needed.  Secondary use is to update a database row for a user that isn't in the room, if required.
But I'm not certain anyone else is doing anything like that, or using those properties even. I'll just continue patching it in myself.


chore: Fix issue without traling slash. (#499)

If a location is defined by a prefix string that ends with the slash character, and requests are processed by one of proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass, memcached_pass, or grpc_pass, then the special processing is performed. In response to a request with URI equal to this string, but without the trailing slash, a permanent redirect with the code 301 will be returned to the requested URI with the slash appended.

http://nginx.org/en/docs/http/ngx_http_core_module.html#location
Also see: https://nginx.org/en/docs/http/ngx_http_autoindex_module.html
ngx_http_autoindex_module expects a trailing /.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.08%. Comparing base (c335d04) to head (0f15653).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #500   +/-   ##
=======================================
  Coverage   96.08%   96.08%
=======================================
  Files         153      153
  Lines        3293     3293
=======================================
  Hits         3164     3164
  Misses        129      129

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Replace RPC request union with bytes

Using a union creates an unnecessary duplication with the method id (with
the union index of the serialized union as a stand-in for the request
method_id) and ultimately must be rechecked against the method_id to
ensure that the proper type has been/will be deserialized.
Instead, the union has been changed to a byte list. This allows for
simple programmatic switching on method_id to determine the deserialized
type as the sole determination, rather than having multiple coupled
switches, eg the method_id AND the union prefix. This also aligns the
Request type with the Response type, as both now have a "body" that is
a byte list and can be decoded with the method_id (and response_code).

The duplication does not seem a very strong argument for changing the structured union type to just unstructured "bytes" with a potentially new serialisation format (we're talking about 4 extra bytes here). Alternatively, can the request type be uniquely inferred from the message body type?

Its less a matter of duplication, and more a matter of the ultimate primacy of the method id in the current scheme, and where the mapping of request types to request type bodies should be stored. Do we want it stored programmatically, where method ids are mapped to types? or do we want it stored in the union type?
I tend to think method ids are more friendly to experimentation, as they aren't necessarily tied to the order of an array that must have consensus. Eg: a client may add a nonstandard method id and it won't break if a new consensus method id is added. If the methods are implicit to the union type, any new addition of a consensus method id will break nonstandard methods (by changing the index of the nonstandard response body).
I don't think I'm proposing any new serialization format, we would still technically be using SSZ everywhere.
Interesting alternative, its similar in spirit. If the method id is removed, the request type can still be known by the decoded request body type. Or in another interpretation, the union prefix bytes become the new method id. See above why I think just using method ids is a better idea.
But if we go that direction, we might look at replacing the response result with a union as well, in the vein of unstructured bytes == bad, single-pass ssz == good.

Not decoding the body immediately with standard SSZ can be a nice side-effect. E.g. you may not support the data types used in a specific method (i.e. you don't know how to decode), or you may want to proxy the method to some service that handles the specific method id.

E.g. you may not support the data types used in a specific method  (i.e. you don't know how to decode)

Exactly. If we want to let the rpc stream be extensible by client implementations, to allow for client-specific methods with client-specific request bodies, we should not also be relying on the union.
Doing so makes it difficult for other clients to differentiate incompatible methods from invalid request bodies, because unknown request bodies will trigger ssz parse errors before the parsed method id can be checked against known methods.

Hey @wemeetagain, it seems outdated after #1328, can we close it?

Closing this. Please bring up in an issue for discussion if still relevant


Bug report: wrong error format for commands

Description
When running the command spo folder roleinheritance reset with wrong parameters, the displayed error is in XML.

The problem can be fixed by editing this line:
https://github.com/pnp/cli-microsoft365/blob/4b19747d800afa8595aa6d3e3929de6595b985b7/src/m365/spo/commands/folder/folder-roleinheritance-reset.ts#L71
Instead we should use accept: 'application/json'.
This issue is happening for the following commands:

[ ] spo folder roleinheritance reset
[ ] spo file roleinheritance reset

Steps to reproduce

Run the command spo folder roleinheritance reset with a wrong folderUrl f.e. --folderUrl "DoesntExist/FolderName"

Expected results
Instead of the entire XML, we should see only the error message itself so: The object specified does not belong to a list.
Actual results
<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-2113929210, Microsoft.SharePoint.SPException</m:code><m:message xml:lang="en-US">The object specified does not belong to a list.</m:message></m:error>

Diagnostics
No response
CLI for Microsoft 365 version
v5.9.0
nodejs version
v16.13.2
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response

Currently, the same goes for m365 spo file roleinheritance reset

Let's analyze which commands are effected so we can fix them all up in this issue 😄

In that case, let's indeed list all commands which are experiencing the same problem, I'll create a separate issue for the docs change. 😃

@milanholemans thanks for pointing this out. Very good catch. Lets research all other commands that have it and group them in this single issue 👍

According to me this is only happening for 2 commands.
spo folder roleinheritance reset
spo file roleinheritance reset
Opening it up to the community. If you find more commands, feel free to add them.

Can I work on this?

You sure can @nanddeepn!

Could we use application/json;odata=nometadata? odata.metadata=none aligns with OData v4 whereas SPO APIs are v3 by default. If there's no need for us to retrieve metadata, we shouldn't to avoid transporting unnecessary data.

Could we use application/json;odata=nometadata? odata.metadata=none aligns with OData v4 whereas SPO APIs are v3 by default. If there's no need for us to retrieve metadata, we shouldn't to avoid transporting unnecessary data.

That might work, haven't tested it. However I don't think this odata header is needed. Only one POST request is performed that returns no data. We only get data back when an error occurs.

We only get data back when an error occurs.

Still, if we can avoid retrieving data that we don't need, we should do it. It puts less strain on M365 and speeds up the CLI.


[KLAR-948] Fix icons positioning in input

Fixed icons positioning in Input component by changing absolute positioning to normal.
Before:

After:

The name of the task in Jira is not relevant to this repository I think.


Error handling

Alien needs a more robust error handling.
C++ exceptions are notoriously hard to make work in parallel, so return values might be a better way.
std::expected might be a solution but it is not standard yet (https://wg21.link/P0323R10).
In some places, we can use std::optional which is supported.
This way to deal with error has been proven successful in Haskell and Rust.

https://github.com/TartanLlama/expected is an implementation of such API.


form-control-feedback doesn't sustain icon position

When an icon is placed inline with a text box using form-control-feedback, the icon does not follow the textbox when the label extends lines.

@bradyclifford Please post a JS Fiddle that demonstrates the problem. We can't debug screenshots.

No good way to do that honestly, unless you wrap the input with another class.

@mdo So, do we close this as CantFix/WontFix then?

Yup. I have ideas on how to account for some of this in v4 which I haven't yet gotten around to implementing.


Changed page to recipe on error page

Some user in the salad discord submitted this as a feedback i found it cool so here it is. I belive this adds some extra "salad" flair to the site!

This thing is good

Thanks for the fun recommendation. We've decided to keep it as-is to minimize confusion for newcomers not accustomed to our puns.


Fix for nginx with disabled ipv6

fixes #1889
Note for Release:
If ipv6 is disabled during setup, nginx fails to start.
To fix this on an existing installation please run:
sed -i '/listen \[::\]:80/d' /etc/nginx/sites-available/default

We should add somewhere in the docs that ipv6 needs to be disabled

What do you mean with "needs to be disabled"?
Currently it only works if it's NOT disabled.
See note above for existing installations.


Remove background for comic drawings

Hello, thank you for the great model. The model works great most of the time, but it seems to have trouble with some "easy images" like the one below.  The it and pants are getting erased.  Is that a known issue? Thank you!

Here are the weights im using:
BiRefNet-ep480.pth pvt_v2_b2.pth pvt_v2_b5.pth swin_base_patch4_window12_384_22kto1k.pth swin_large_patch4_window12_384_22kto1k.pth

The weights there were copied from my google-drive. You can download the latest weights from my google-drive as links given in my README (it should be DIS-ep580). It may be better.
But this problem still exists as I tested this image in my online demo. In my mind, I tried to get a high recall with relatively lower resolution input, and it worked for some improvement (it's still not perfect, but it is indeed an idea of ensembling to alleviate this problem). I've attached the results of your image in both 1024x1024 and 768x768.

Also glad to hear more from you about it.

Thank you for the response. Is the idea that I should always resize to 768 X 768 before sending it to BiRefNet?

Sorry I'm still confused on how to do this via code. However, I have another question, what makes it difficult to remove the background from this image? The background is pretty green-ish. I can try to modify the output image and make it work better for BiRefNet. Any pointers? Thanks!

Hi, Ynie,
I guess the high contrast between the bright person and his clothes and the low contrast between the pants and background jointly lead to the unsatisfying result. Of course, models may learn better on this (but this is not guaranteed). For example, using my latest weights you can perfectly extract the tie (also low contrast with the background) which was not extracted well in the result you provided:

Got it. Thank you!


Implement jBallerina debugger test framework and integration tests

Purpose
This PR adds integration test framework and basic integration test scenarios for jBallerina debugger implementation.
Fixes #22657.
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #22893 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #22893   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 cac38b8...788ea1b. Read the comment docs.


Moderator

Why would you merge two branches together???
Now the two new functionalities are hard to tell apart...


Feature/mobile design incidents

Description
Implemented all breakpoints for media queries for the incidents page and navbar page
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?
I have tested the media queries on my browser using dev tools

[ ] npm test

Checklist

[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
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Please clarify what changes were made with Admin Dashboard page and AntTable. It seems like  you (Didi) pushed only CSS changes but i see some commits from Anas(i don't know how it's happened) and it doesn't mentioned in description.

Please clarify what changes were made with Admin Dashboard page and AntTable. It seems like you (Didi) pushed only CSS changes but i see some commits from Anas(i don't know how it's happened) and it doesn't mentioned in description.

Hey Alex I was working with Anas to implement it so I was working on his branch but I have not made any of those changes and he has yet to push those changes as well

Please clarify what changes were made with Admin Dashboard page and AntTable. It seems like you (Didi) pushed only CSS changes but i see some commits from Anas(i don't know how it's happened) and it doesn't mentioned in description.

Hey Alex I was working with Anas to implement it so I was working on his branch but I have not made any of those changes and he has yet to push those changes as well

@didi-codes it does look like there are significant changes to the AntTable in this PR. If you did not intend for that, this may be able to help https://stackoverflow.com/questions/61354821/github-including-other-peoples-commits-in-my-pull-request


feat: regular expressions support DotAll flag

related: https://github.com/dop251/goja/issues/591
When the DotAll flag is passed, fallback directly to regexp2.

@dop251 Please review again!


Bugfix: calling getConfig() removed mergeCells NODEs

Change in 7fbee25e37ccde9c8a848d438d99a3510dc1c597 broke setMerge() and removeMerge()
You really shouldn't store NODEs in table options, it creates so many issues...

Without this fix, cell (un)merging is unusable after calling getConfig().


issue with esp32

When i want to run demo esp32_read adc.
I meet a problem with "AttributeError:'module'object has no attribute 'ESP32_SPI'.
I use maixpy_v0.3.2_full.bin

v0.3.2 not support, master branch do

Thanks for reply.
So, how am I supposed to deal with this problem?

ok,I know.
I use the newer firmware from http://dl.sipeed.com/MAIX/MaixPy/release/master/
This problem fix

Thanks again


Added A2560K support

Changes

Added support for A2560K model.

I suspect that you need to make changes to the low_level_68000.s to add some variant code for A2560K?


Safari HLS Variant Track handling?

I just found out that getVariantTracks and selectVariantTrack does not work as expected in Safari.
So I looked into the source and the comment says
// Safari's native HLS won't let you choose an explicit variant, though
// you can choose audio languages this way.

Does this mean ShakaPlayer uses audioTracks to workaround the resolution selection OR Safari handles it with its bulit-in ABR and we can't do manual resolution selection?
Thanks :)

Actually can't we parse the set of resolutions from the master m3u8 file?
https://stackoverflow.com/a/53617416

Safari's HTML5 video element does not have an API to restrict resolutions / force video tracks, you'd have to rely on their internal ABR algoritms.

@matvp91 is right.
Safari has its own implementation for handling hls and thus is not very invested into their MediaSource API support (which is how we work with other browsers).
There seems to be quite a bit of interest in this from the community, so let me file a separate issue for us to revisit our codebase on HLS+Safari and see if we can route it through Safari's MediaSource on Desktop after all. I remember running into bugs in their MediaSource implementation before, but we can see what state it's currently in.

Here's #2116 to look into this.


Upgradable - multiple private networks support

This is added in this commit: 195121c.
Closing this PR.


Brunch extension for Visual Studio is available.

I suggested this feature https://github.com/aspnet/Tooling/issues/37 on the aspnet tooling repo and @madskristensen created an extension here:
https://visualstudiogallery.msdn.microsoft.com/de706ad0-8a73-4df3-bef5-867bb9a70d51
I wanted to let you know! this is great news btw.

Awesome! :+1:

This is great news indeed, but is there any value in this issue being open? @paulmillr

my guess is that when this is communicated on readme, documentation or anywhere else it can be closed. right now here is the only place to know about this stuff.

yep

Submitted https://github.com/brunch/brunch.github.io/pull/139 to mention this one and also an Atom plugin

Should we close this one - https://github.com/brunch/brunch.github.io/issues/137 ?

@paulmillr close this.


Add clear:cache after resore

Hey,
thank you for this addon.
Could you add clear cache function after restoreBackup function?
It should prevent inconsistent content issues.

Hi @OleksiiBrylin,
Thank you for your feedback and I'm glad you like the addon!
I've added the cache clear to the restoreBackup function as you suggested. This should help in preventing any inconsistent content issues after a restore operation.
Please let me know if everything works as expected or if there's anything else I can help with.


[macOS] Update llvm to version 15

Description
Update LLVM version to 15
Related issue:
#6803
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos11,macos12

/azp run macos11,macos12


Idea: create a twitter card image for each app

When we start making standalone app pages, then links in places like Slack could have a nice preview, assuming we get the meta tags right and everything:

@jkleinsc didn't you end up working on this?

Yup. It is done for the new site

new site

https://github.com/electron/electron.atom.io/pull/758


Shader job

A big refactoring to the way that shaders are handled during generation, and better support for generating Vulkan-ready shaders.

Looks good but does not build.

Actually, it is possible that master does not build or it is just my issue. I will check.


Pick a new public API that is more interesting/useful than Carbon Intensity

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1177
Originally created by @dmor on 2019-10-23 14:42:09

Currently, our Getting Started Guide has a quickstart path where a new Meltano user selects the Carbon Intensity extractor and SQLite loader
Find an API we can swap out for Carbon Intensity to be more interesting and impactful. Needs to be an open API with no password or configuration.
cc: @iroussos to implement once selected

View 3 previous comments from the original issue on GitLab


Fix for not showing Ballerina docs in Ballerina central

Description
Fixing the issue- Ballerina central docs are not shown.
Fixes https://github.com/ballerina-platform/ballerina-extended-library/issues/274
One line release note:

Fix Ballerina central documentaion issues

Type of change
Please delete options that are not relevant.

[X] 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 not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
All Passed
Test Configuration:

Ballerina Version: Swan Lake 2201.0.0
Operating System: Ubuntu
Java SDK: 11

Checklist:
Security checks

[X] Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines?
[X] Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets?

Let's bump the version to 2.2.1.
Please send the same fix to 2201.0.0 branch also


Feature request: Add a search bar for both categories and tools

Is your feature request related to a problem? Please describe.
Finding a particular tool from the "all" tools category is a bit tedious as there are quite a number of tools there. Plus, maybe it's early because there not be many tools in some categories but soon there will be more tools and categories. Then searching can save the additional time to manually find it out.
Describe the solution you'd like
So my suggestion is to add a search bar where we can search for both the tools and category.
Thank you.

@suzy-g38   we already have a search bar, but we need to implement the functionality to search by category

I have worked on this issue @JasonDsouza212. In filteredProducts function added a new line  "product.category.match(regex)" and Changed the placeholder in the header as  placeholder=" Search for a tool or category...". Can I open a PR?


Support File type environment variables

Why
User should be able to upload files to environment variables
How
When an envvar is created with flag --type FILE, selected file is encoded to base64 and sent to www
Test Plan
Tested manually
Deploy plan

https://github.com/expo/universe/pull/16367
https://github.com/expo/eas-cli/pull/2512

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2512  👈
#2591
#2588 : 1 other dependent PR (#2589 )
#2587
#2586
#2585
#2584
#2583
#2582
#2581
#2580
main

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

Join @khamilowicz and the rest of your teammates on  Graphite


update manager role. Add doc for definting and placing gateways. remo…

…ve local file refs
closes #74
Main item is the new doc to describe how to define and place a gateway
two other small fixes included

update perms for gatewayclass controller to be able to read params
change ocm walkthrough not to reference folders that might not exist for some locally

looks like e2e failed on throttling: https://github.com/Kuadrant/multicluster-gateway-controller/actions/runs/6022142751/job/16336296734?pr=461#step:9:155

looks like e2e failed on throttling: https://github.com/Kuadrant/multicluster-gateway-controller/actions/runs/6022142751/job/16336296734?pr=461#step:9:155 I've restarted the e2e job now.

It's going to fail again. You need rebase main onto this branch as the e2e workflow has changed and isn't compatible with the resources this branch is creating (Error from server (NotFound): managedzones.kuadrant.io "mgc-dev-mz-aws" not found)


Add Darwin availability annotation for new Thermostat feature bit.

This was added in https://github.com/project-chip/connectedhomeip/pull/26686

Fast-tracking platform-specific fix with platform owner review.


Destructuring leads to invalid js code

Hi guys,
I have recently started to work with Ceylon 1.2.2 and came across this issue: The following example code executes on a jvm but results in a js syntax error:
shared void run() {
	value map = HashMap<[Anything, Anything], Anything>();
	for([a,b]->c in map){
	}
}

The generated js code for the loop looks something like this:
var $zm;for(var $zl=$zk.iterator();($zm=$zl.next())!==m$1.finished();){
var $zn=$zm.item.$_get(0),$zo=$zm.item.$_get(1)$zp=$zm.item;
}

As you can see there seem to be two problems, the missing comma before $zp which causes the syntax error and the first two statements use the item field rather than the key field of the map entry.
I hope this does not cause too much hastle to fix ;-)
BTW, thanks for a fantastic new language, I really like it a lot!

not really.


chore(Data/Finsupp/Defs): remove superfluous DecidableEq

Found by the linter in #10235.

Thanks! :tada:
bors merge


Feature, Using RAML additionnaly to Markdown

Hi,
I like a lot what you're doing with slate — Stripe api is in fact a great example of a clean slate ;-).
May I ask why you choose Markdown rather than RAML to describe APIs?
May you consider to add the support for it too?
RAML is a great way to describe resources, routes, status, authentication schemes, and its broadly supported by editors.
Thanks in advance (I may imagine it will be lots of work, I hope it may still be possible).
ps. I just find this raml2slate (almost new) library, but it do not support RAML 1.0 right now (so I cannot use it)

@yamsellem It may be better to stay with RAML 0.8 until the tooling around it matures - it's still very new. If you can convert a RAML 0.8 specification into OpenApi / Swagger (and I understand if you don't want to do this), you can use Widdershins to convert to Slate-compatible markdown. There are multiple options for converting RAML 0.8 to OpenApi, including api-spec-converter and raml2swagger. Of course it would also be possible to fork a project like Widdershins to make it RAML 1.0 compatible.

@MikeRalphson RAML 1.0 is here for almost a year now, not so new ;-).
May I understand from your words that RAML won't be supported by slate? Because you don't really answer the question here ;-).

@yamsellem according to this blog post RAML 1.0 was only released in May 2016? I can't speak for @lord or Slate in general, but if you see issue #279 it seems unlikely that support for any API description format will be built into Slate itself.

Yup! We support just markdown, and will probably leave implementing other markup languages/specifications either up to middleman plugins or other format2slate projects.


Improve matching to be better at finding terms that are arranged differently

As reported in https://github.com/NCATSTranslator/Feedback/issues/448, we do pretty badly on type 2 diabetes with the Disease/MONDO filter but we do just fine on diabetes type 2 with the Disease/MONDO filter), despite the preferred label being "type 2 diabetes mellitus". Weirdly enough, "type 2 diabetes " (note the space at the end, as per https://github.com/NCATSTranslator/Feedback/issues/447) ALSO works, so maybe this is something to do with our assumption that the last word is incomplete.
This will probably require tweaking the boosts on the query or looking into other ways of configuring the eDisMax query parser.

"type 2 diabetes", "t2d", "type ii diabetes", "diabetes type 2" and "diabetes type ii" all work on CI now (although the options with 2 in them are slow, presumably for the same reason as #95), so I'm going to close this ticket.


Facebook throws error

App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions.

PR #1443 might have fixed this issue, but to be sure, we need to have a test in the live environment.

@sandygarcia can you please include a screegrab(s) and steps you took that shows the error? We need some more detail to help us investigate.

Closing this as we have validated the social logins here at NDC and made some small changes to handle some issues we were seeing. In this case it sounds like Facebook dev setup issue?


Dagwidth part2 2564

Summary
Along with the just-submitted pull request to qiskit-aqua (number 613) this should complete #2564
Details and comments

Changed invocations of DAGCircuit.width() to DAGCircuit.num_qubits()
Changed  DAGCircuit.width() to intended semantic of "all bits, qu + cl"

We should hold off on this until qiskit-aqua pull request 613 goes in.


[FEAT]: Add prettier-plugin-jsdoc

Description
It seems to be a nice idea to add the prettier-plugin-jsdoc plugin.
Additional Information
No response

Resolved in #10.