Suggested way to do complex customization of "Edit this page" URL

The vispy library uses the sphinxcontrib.apidoc extension to automatically generate our API documents at build time. These generated files just use apidoc/autodoc tools to pull the information from the python package's source code. The issue with this is that the default "Edit this page" link in the pydata-sphinx-theme points to where the API doc file would be if it was committed to the repository. Since they aren't you get a 404.
I've hacked something together that seems to work, but wondering if anyone here had suggestions to make it better using either smarter jinja2 tips or features in the theme that I'm not aware of. You can find all the details here: https://github.com/vispy/vispy/pull/2220
But the main context changes make it pretty obvious what I'm doing:
html_context = {
    "github_user": "vispy",
    "github_repo": "vispy",
    "github_version": "main",
    "doc_path": "doc",
    "edit_page_url_template": "{{ vispy_custom_edit_url(github_user, github_repo, github_version, doc_path, file_name, default_edit_page_url_template) }}",
    "default_edit_page_url_template": "https://github.com/{github_user}/{github_repo}/edit/{github_version}/{doc_path}{file_name}",
    "vispy_custom_edit_url": _custom_edit_url,
}

Looks like GitHub succeeded in creating the first version of this issue. Closing this one...


fix: Remove d3dx11_42 fix for Total War Rome 2

Builtin should work fine in Proton Wine since commit https://github.com/ValveSoftware/wine/commit/5d34c6c0dd1618b4da8eec017da3f8231d753bd9. Haven't found any other issues.
Feel free to verify ofc.

https://github.com/ValveSoftware/Proton/issues/512


Remove no-cov from compiled_template call

Summary
While pairing with @joelhawksley , he noticed that there was a nocov block and we decided to try to remove it and fix the coverage gap. Looks like CI passes without it so 🔥 .
Other Information

❤🧡💛💚💙💜🖤

❤🧡💛💚💙💜🖤


Fixed issue #306

Added display of all the errors to the addition of the API key (fixes issue #306)
Know issues:

No file is created when starting an exercise when no folder is opened on Windows

Changes

Added extra error logging as window popup in VSCode when entering the API key (= connecting to Dodona)
Added extra section in Readme.md to explain users how to disable Http: System Certificates because this causes an error on Windows (RequestError: Cert date invalid)

Known issue

When starting an exercise from the main vscode screen (e.g. with no folder or workspace opened), no file is created. When a folder is opened, it works as expected


Animated collection is static

Collection: https://kodadot.xyz/base/drops/rvn3
Whole collection should be animated and its static
https://github.com/user-attachments/assets/71c6a094-11eb-4f3f-8372-64f2415ebb0d

duplicate of #10875

https://image-beta.w.kodadot.xyz/ipfs/bafybeihaxwqmsusefilvma2x7dick5qiny5izphs2l7l47iysoa5i37fzy/?hash=0x7880aec93413f117ef14bd4e6d130875ab2c7d7d55a064fac3c2f7bd51516380
The picture can be predicted, but the loading of the img tag is blocked.

this issue and #10875 should be fixed in this PR: https://github.com/kodadot/nft-gallery/pull/10934
the PR will double check to make sure the token get on chain metadata


Add throwErrorWhenNotResolved option to the token-transformer

Designers frequently make changes to the design tokens and occasionally make mistakes in tokens' values. As a result, we end up with "failed to resolve" tokens that can easily be missed. I didn't find an existing solution for the problem and put up this PR as a proposal. These changes will give a possibility to spot a problem on the stage of transforming tokens.

Our country 🇺🇦 is under attack by russia now, so I'll update my PR a bit later. Thank you for understanding @six7 ❤


[hardknott] Java Rhino Recipe Fix be backported

We have a major project that is dependent on 'hardknott' revision of bitbake.  It would be greatly appreciated if the fix for Rhino would be ported to hardknott.  I was unsuccessful to append the changes that were made to the master branch, into the current hardkot branch. One would think it would be simple to append these changes.

@EnriqueSLHC can you please test if #9 works for you?

I found another broken link in a different recipe.  let me append this one and give it a try again.


Fixed - The error log "Unable to unfreeze entry... " loop forever when sentinel slave pod IP in k8s changed #5078

Fixed - The error log "Unable to unfreeze entry... " loop forever when sentinel slave pod IP in k8s changed #5078

Thank you for the suggested changed. Please correct all checks.

Fixed in https://github.com/redisson/redisson/issues/3980


Add support for a track-level bin directory

... or something like that, anyway.
https://github.com/exercism/xlfe/issues/2#issuecomment-127135110

I just realized that this is a duplicate of #29


Created Generate Command Wrapper, Improved View Script, Fixed Redux View script file path

Fixed additional issue: Check if Add command is in project


AngularFire2 Auth flow in Redirect mode throw an Exception uncachable

Version info
Angular: 2.4.8
Firebase: 3.7.3
AngularFire: 2.0.0-beta.8
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic App Lib Version: 2.2.0
OS: OS X El Capitan
Node Version: v7.7.4
How to reproduce these conditions
I am trying to use Firebase Authentication through the Redirect method. My problem is that I'm getting an exception when the user is trying to use a new Provider with an email address already registered in Firebase.
I want to handle this error. For this I tried the solution of #566. It allowed me to retrieve the error but the exception is still thrown. How can I fix this behaviour ?
import { Injectable, Inject } from '@angular/core'
import { AuthProviders, AngularFireAuth, FirebaseAuthState, AuthMethods, FirebaseApp } from 'angularfire2'
import { User } from 'firebase'

@Injectable()
export class AuthService {
  private authState: FirebaseAuthState;

  constructor(public auth$: AngularFireAuth, @Inject(FirebaseApp) app) {
    auth$.subscribe((state: FirebaseAuthState) => { this.authState = state})
    app.auth().getRedirectResult().catch(error => console.log(error))
    //I also tried authBackend.getRedirectResult().subscribe(onSuccess, onFaillure) from AngularFire2 directly but I get the exact same result
  }

  get authenticated(): boolean {
    return this.authState !== null && this.authState !== undefined
  }

  get user(): User {
    return this.authState.auth
  }

  signIn(provider: AuthProviders) {
    return request = this.auth$.login({ provider, method: AuthMethods.Redirect })
  }
}

Debug output
xg {code: "auth/account-exists-with-different-credential", message: "An account already exists with the same email addr…ng a provider associated with this email address.", email<EMAIL_ADDRESS>credential: eg}code: "auth/account-exists-with-different-credential"credential: egaccessToken: "c979e40993baaffa78ee3f940b53210e19ddcfa9"provider: "github.com"providerId: "github.com"__proto__: Objectemail<EMAIL_ADDRESS>"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address."__proto__: N
error_handler.js:54 EXCEPTION: An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.

AngularFire2 no longer provides these auth methods. If this problem still persists open a question on Stackoverflow for Firebase Authentication.


neqproblem, LineSearch(Newton()): bail out early when result is not finite

a lot of times the main loop tries and tries again to solve for a vector of NaNs. bail out early instead.

failed tests are unrelated

Good catch, thanks

is it possible to get a new release with the current patches?


TACHYON-198 Move UserConf usage to use TachyonConf

This PR consist next steps to integrate new configuration work:
-) Remove usage of UserConf
-) Push TachyonConf to Tachyon Hadoop's file system (aka TFS class).
-) Remove UserConf.java from repo.

@haoyuan updated the PR based on review.

Thanks!


When Microsoft will remove Razor Page Identity from MVC project template?

I am going to be hard on Microsoft and ASP.NET Core team regarding this issue.
When Microsoft released ASP.NET Core 2.1 with Razor Page Identity in MVC template, we are complaining about this because it does not make sense I am selecting a MVC template but getting Identity as Razor Page. Every time I had to do insane amount of work to convert those Razor Page Identity into MVC controller based Identity.
Surely this is one of the critical bugs or mis-designs Microsoft ASP.NET Core team have ever made. And more dangerous thing is that ASP.NET Core team is not giving any heed to this issue. They are just ignoring.
Actually it should have been:

For ASP.NET Core MVC Project, Identity will be generated in MVC
For ASP.NET Core Razor Page, Identity will be generated in Razor Page

This grave mistake has been done on ASP.NET Core 2.1 and now its ASP.NET Core 3.0 Preview 3 but not fixed yet!
Today I have generated an Angular app with Authentication, I have found that its Razor Page identity in Angular app too. Oh my God! In Angular app you are redirecting to Razor Page route for registration. How comical this thing is.
Till ASP.NET Core 2.0, Identity for MVC project was in MVC and it was working fantastic. Then why did you do this illogical changes which does not make any sense. Any explanation?
You already have MVC based Identity  code in ASP.NET Core 2.0, then why are you not bringing those code into other versions as people are complaining about this.
You are saying you are making open source project but you not giving heed to the people's opinion then its not open source any way.
Regards
An angry Microsoft and ASP.NET Core Fan

@TanvirArjel , It is hard to maintain an MVC and RP based template simultaneously so they had to make a choice.

@TanvirArjel Being open source doesn't mean accepting every pull request or making changes based on an issue.
The project maintainers reserve the right to do as they please - and business and technical reasons would weigh in heavily on decisions regarding changes.
I think it's unfair to challenge ASP.NET Core's open source "status" based on your opinions relating to an issue you have.
You're free to provide a pull request which addresses your issue - and if it meets the contribution guidelines and the ASP.NET Core teams vision for the product then I'm sure they will consider your pull request.
Being open source does not mean you have to accept every proposed change.

As @Ponant has stated we have limited time and limited resources. Adding MVC identity scaffolding would more than double the time we take to make any chance to identity and that's not something we are willing to do.
We've ran surveys on this, taken feedback,  attempted to contact customers to discuss it in greater detail, but when it's all compiled the majority of users don't have a problem with how it is right now, and thus we concentrate on features that have more customer demand.
Of course, as with everything else you are free to publish your own template, with a scaffolded MVC version of identity, but it is not something we are considering doing.

@blowdart, You are completely wrong that people are not complaining about this or not facing any problem. Please go to stack overflow see that how questions has been asked related to this. Even new comer does not know what Razor Page Identity is! as they are already used to MVC. They become mad of searching the hidden Identity related code in the project. So your logic is pretty superfluous!

@blowdart  Please take a look on it: https://stackoverflow.com/questions/56060589/where-are-are-identityusers-uploaded-to-the-database  and see how Razor Page Identity is confusing people!


[Question] Give a item to a player!

Question
Hey how to do that when a player join the server give him a item?
Plugin Version
2.12.0
Additional Information
No response

You can use When a player joins a server event trigger and Add items to inventory action.


TilematrixSets must match to render maps performant

As we found out, Openlayers renders tiled vector layers faster if the TileMatrixSet of the view (or the projection of the view) and the vektorlayer are identical.
So in Openlayers 6.5.0 we overloaded
ol.source.VectorTile.prototype.getTileGridForProjection
with
= function(projection) {
  const code = projection.getCode();
  let tileGrid = this.tileGrids_[code];
  if (!tileGrid) {
      if (!projection.getDefaultTileGrid()) {
          const sourceTileGrid = this.tileGrid;
          tileGrid = ol.tilegrid.createForProjection(
          projection,
          undefined,
          sourceTileGrid
              ?  sourceTileGrid.getTileSize(sourceTileGrid.getMinZoom())
              : undefined
          );
          this.tileGrids_[code] = tileGrid;
      } else {
          tileGrid = projection.getDefaultTileGrid();

      }
      this.tileGrids_[code] = tileGrid;
  }
  return tileGrid;
}

With Openlayers 6.9.0, however, the corresponding functions and variables became private.
Is there another way to replace the projections tileMatrixSet?
Since the poor performance makes our app unusable, especially under MS Windows, I would like to know how Openlayers can be made acceptably fast again.

I assume you're talking about the private variables tileGrids_? You can use getTileGridForProjection() and setTileGridForProjection().

Yes, tileGrids_ e.g. is private now.
As setTileGridForProjection is not a public method of ol.source.VectorTile, I cannot use it.
In addition, of course, I cannot overload/create setTileGridForProjection either on my own.

I think it would be better to solve this by being smarter about creating a render tile grid from the source tile grid. Could you maybe provide an example of your source tile grid, and the tile grid you previously used in the override?

I have a similar problem with custom grids and custom projections.  An EPSG:27700 tile grid is specified as
extent: [-238375, 0, 900000, 1376256]
origin: [-238375, 1376256]
maxResolution: 3584
tileSize: 512

The extent is not the standard extent for EPSG:27700 nor does it define the limits of a standard XYZ grid, merely the limit where tiles are served.  At level 0 the grid is two tiles wide, the second partly overflows the grid.
In 6.5.0 if I use a more drastic version of the above patch
  ol.source.VectorTile.prototype.getTileGridForProjection = function(projection) {
    const code = projection.getCode();
    let tileGrid = this.tileGrids_[code];
    if (!tileGrid) {
      // A tile grid that matches the tile size of the source tile grid is more
      // likely to have 1:1 relationships between source tiles and rendered tiles.
      const sourceTileGrid = this.tileGrid;
      this.tileGrids_[code] = sourceTileGrid;
    }
    return tileGrid;
  }

I get better results than using the one based on the projection extent.  But that might not work well for overzooming or if the tilegrid does not use a zoom factor of 2.
The same can be achieved without a patch by defining the projection extent so a standard XYZ grid will exactly match the source tilegrid (at least at zoom level 0)
let multiplier = 1;
while (resolutions[0] * tileSize * multiplier < extent[2] - origin[0]) {
  multiplier = multiplier * 2;
}
projection.setExtent([origin[0], extent[1], origin[0] + resolutions[0] * tileSize * multiplier, origin[1]]);

That is what I think should be set as the TileGridForProjection, but without having to set a meaningless projection extent to achieve it.

My TileGrid looks like e.g. like this:
aTileGrid: t
extent_: null
fullTileRanges_: null
maxZoom: 8
minZoom: 0
origin_: (2) [4549000, 5943000]
origins_: null
resolutions_: Array(9)
0: 23.364485981308412
1: 11.682242990654206
2: 5.847953216374269
3: 2.336448598130841
4: 1.1668611435239207
5: 0.5847953216374269
6: 0.23337222870478413
7: 0.11682242990654206
8: 0.058343057176196034
length: 9
[[Prototype]]: Array(0)
tileSize_: null
tileSizes_: Array(9)
0: (2) [214, 214]
1: (2) [428, 428]
2: (2) [171, 171]
3: (2) [428, 428]
4: (2) [857, 857]
5: (2) [342, 342]
6: (2) [857, 857]
7: (2) [428, 428]
8: (2) [857, 857]
length: 9
[[Prototype]]: Array(0)
tmpSize_: (2) [0, 0]
zoomFactor_: undefined
[[Prototype]]: Object
Could you add "setTileGridForProjection" to the Vectortile-Source?
So this would match to the other Tile- Sources.

I don't think adding a method to the API for solving a not obviously related problem is the way forward. Instead, I'd like to improve the way we generate a render tile grid. In general, this is only about adding enough resolutions for zoom levels that are higher than the highest source zoom level. This could be achieved by taking the tile size and resolution from the highest souce tile grid zoom, and keep adding resolutions until the default maxResolution of the view is reached.

No I did not. If someone can provide a working example with a publicly available tile set that shows the problem, I can take a look and see how my suggested approach could be implemented.

https://codesandbox.io/s/print-to-scale-forked-i7ur0n?file=/main.js
The tile edge artefacts might be unavoidable but the vertical line of background color should not be there.


[SPARK-10515] When killing executor, the pending replacement executors should not be lost

If the heartbeat receiver kills executors (and new ones are not registered to replace them), the idle timeout for the old executors will be lost (and then change a total number of executors requested by Driver), So new ones will be not to asked to replace them.
For example, executorsPendingToRemove=Set(1), and executor 2 is idle timeout before a new executor is asked to replace executor 1. Then driver kill executor 2, and sending RequestExecutors to AM. But executorsPendingToRemove=Set(1,2), So AM doesn't allocate a executor to replace 1.
see: https://github.com/apache/spark/pull/8668

Merged build triggered.

Merged build started.

Test build #43124 has started for   PR 8945 at commit 1bdde8e.

Test build #43124 has finished for   PR 8945 at commit 1bdde8e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43124/
Test FAILed.

Hmm, test failure looks like it might be related.
Also, does this replace #8668? If so, could you close one of them?

Merged build triggered.

Merged build started.

Test build #43389 has started for   PR 8945 at commit e382315.

Test build #43389 has finished for   PR 8945 at commit e382315.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43389/
Test FAILed.

jenkins test please.

retest this please

Merged build triggered.

Merged build started.

Test build #43453 has started for   PR 8945 at commit e382315.

Thanks LGTM. I'll merge this once tests pass.

Test build #43453 has finished for   PR 8945 at commit e382315.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43453/
Test PASSed.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #43458 has started for   PR 8945 at commit b7b42cc.

Test build #43458 has finished for   PR 8945 at commit b7b42cc.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43458/
Test FAILed.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #43464 has started for   PR 8945 at commit cb69dc5.

Test build #43464 has finished for   PR 8945 at commit cb69dc5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43464/
Test PASSed.

Merged build triggered.

Merged build started.

Test build #43628 has started for   PR 8945 at commit da13040.

Test build #43628 has finished for   PR 8945 at commit da13040.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43628/
Test PASSed.

Merged build finished. Test PASSed.

LGTM, will let Andrew have a final look.

Forgot to add: merged into master 1.5.


Added a workaround in order to avoid a known chrome maximize window error

Details about the error can be found at https://bugs.chromium.org/p/chromedriver/issues/detail?id=1901
The workaround ensures Chrome is started with a maximized window without errors on Linux based hosts

approved, thanks


IR refactor: simplify symbol table validation of identifier accesses

This is the second in a series of PRs to address #150 . This one begins to simplify the symbol table, and especially the handling of references to identifiers. It is built on top of #179 . I haven't updated documentation yet because I wanted to see what people think of the approach first

Thank you! I like this structure - it looks much cleaner.
One potential suggestion I have is maybe to rename IdentifierType into Symbol. It seems to me that data contained in this enum is more than just type information. This also will clear up some confusing naming patters. For example, in:
let symbol_type = symbol_table.get_type(symbol_name)?;

get_type() returns IdentifierType but we name it symbol_type. I'd probably have it as:
let symbol = symbol_table.get_symbol(symbol_name)?;

And then get_symbol() would return Symbol type.
This could also make naming easier throughout. For example, ValidateIdentifierAccess trait could be named SymbolAccessValidator.
It is entirely possible that this naming makes sense just to me - so, I don't have a strong preference here.

Yes, this is in a future PR. Breaking this stuff up into review-sized chunks has been a challenge in itself

I'm planning to wait to merge this until we've merged #179


Reading cuda array in c++ as tensor and reading that tensor in python

I am getting frames from camera feed, which is basically a cuda array/vector (not OpenCV mat). I want to read this array periodically in tensoflow python for further operations. To do that, first step is to read this cuda array in the form of GPU tensor in tensoflow, without transferring the array from GPU->CPU->GPU, which is basically an overhead. SInce it is cuda array is already present in the GPU, it can be done GPU->GPU.
The issue here is which function in tensorflow api supports this GPU->GPU operation? I could not find one, if any.
The second issue is, reading this array in array in python side of code. I have gone the https://www.tensorflow.org/guide/create_op, which tells how to create the custom operations in python. But, the template is you send some array, do the operation in cuda, and receive it back in tf. Here, I am trying to read the cuda array in c++ periodically,
Please help what should be the next step forward.
Basically my code looks like this:
``
#include    <unistd.h>
#include    <iostream>
#include    "VideoReader.h"
#include <cuda_profiler_api.h>

int main (int argc, char *argv[])
{
 void    *fReader = NULL;

//// Starting the frameReader to read the camera feed 1.
fReader = frameReader ::Init (  "rtsp://admin:........",  //camera feed url
                                                ......................);  //some more options to read the frame

   do
   {
    pOutData        = 0;

    // get frame from camera feed 1
    fResult = fReader::GetVideoFrame (fReader1, &pOutData);

   ///// pOutData is the cuda array containing the cuda vector . This vector, I need in tensorflow python for further processing.
  ///// How can I get this vector?

    }

} while (1);
return 0;
}

``

Hi @gowthamkpr @ravikyram . Please let me know if you need more clarity about the issue or you want me to go through some resources.

@govindamagrawal Please give us more clarity about the issue. Thanks!


Custom Training

How can we train on custom data and can we train the same model on Number Plates with multiple lines like two or three

if it is not chinese license plate and license plate lenth equal to 8, you should delete check(label) funtcion in LPRDataLoader.getitem;
you should modify the list of CHARS base on your license plate characters, and the filename of train/test images should be its label character;
T_length should be bigger or equal than twice max license plate lenth;
our model not support multiple lines at currenct, maybe you can merge multiple lines into one line.

2 'targets' to have scalar type Int; but got torch.cuda.FloatTensor instead (while checking arguments for ctc_loss_gpu)

@2017TJM please let me know how to reproduce this issue, thanks!

Anybody to help with 2 lines and 1 line license plates?

Have  u solved the problem?

Have u solved the problem?

the author has not done nothing relating to this issue

@sirius-ai
Thanks for such a great work!
what does T_length mean?
i am confused with args.lpr_max_len
if I change lpr_max_len
then output shape could change?
for now my  output shape is [1,50,18] Korean Character 50 is class score nums.
I want to make longer sequence than 18? is it available?


Configure Istio to the R3 Template

The R3 template design is to utilize ISTIO for Authentication. This needs to be configured into the infrastructure and be deployed as part of the infrastructure template.
Acceptance Criteria
All tests should pass.
Istio should be able to Run and configure Auth rules.
Tasks

[x] Install Istio 1.4 with Helm Charts
[x] Upgrade/Install Istio 1.6
[x] Configure Rules with YAML template
[x]  Configure RequestAuthentication
[ ]  Configure PeerAuthentication.

@kiranveerapaneni -- This is completed I believe.  Can we close this Issue yet?

Closing this issue as completed.


can't add new faculty as second drop down list says..No Record found.

To add a faculty, you need to have following:

Check if you have added Institutes, Programme and Department.
Check if you have added IPD mapping i.e. Institute, Programme and Department using "IPD Mapping" option from "Masters" menu item. This is necessary because it tells that Institute X offers Programme Y in Department Z.


chore: fix OneShot methods are used as properties, so should be properties.

superseded by https://github.com/Effect-TS/core/pull/1176


Bind name to attributes upon construction

See https://github.com/Quantco/spox/pull/123#issuecomment-1845282902 for more context. Belongs to #123 but wanted to hear everyone's thoughts and separate the changes to make them easily reviewable.
Checklist

[ ] Added a CHANGELOG.rst entry

This looks good to me as well.


NLS uses old translation files

What's going on? :D

Since latest update.

VSCode Version: 1.25.1
OS Version: Arch Linux

Steps to Reproduce:

Change some files, do not stage them
Try to commit

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

This is very strange. Related to https://github.com/Microsoft/vscode/issues/54649 ?

Can you reliably reproduce?

yes. the left  button seems to normally be something like "yes, always", becuase it sets git.enableSmartCommit to true. in other words, git.enableSmartCommit needs to be not true in order for this popup to show up in the first place. but that is intended behaviour, I guess.  The dialog has just become a little weird.

@phil294  What is your exact VS Code version (commit id)?
Similar to #54847

@joaomoreno Latest official download I think, 1.25.1, 1dfc5e55

And it reproduces 100% of the time?
Can you zip up the installation of VS Code and send me the bits?

Ah, not necessary, because I found the guilty files: I upgrade VS Code manually using something like
curl -L 'https://vscode-update.azurewebsites.net/latest/linux-x64/stable' | tar xzf - -C ~/codeworkdir -

This does not erase files from a previous version that are not included in a new one. This should not make any difference though, should it?
And from the previous stable release, I still have the following files which are absent in the new version:
VSCode-linux-x64/resources/app/extensions/git/out/nls.bundle.{de,es,fr,it,ja,,ko,ru,zh-cn,zh-tw}

nls.metadata[.header].json is still there in the latest version. When I delete the language bundles so it complies with the latest version, the prompt is fine. Note that the issue is valid for extensions-disabled mode too (I guess "git" is considered an always-active extension that cannot be disabled?).
I'm curious what you think about this. Is it expected behaviour that certain parts of VS Code break when you don't delete previous files before upgrading?
#54847 probably also came by due to a manual upgrading process.

Excellent insights. cc @dbaeumer

@joaomoreno i thought under Windows we install into a new directory and then swap them. So there shouldn't be any old files. Right? (unless the unzip the archive over the same location)

@dbaeumer That's true! But one can still hit it by disabling background updates.

I fixed it however it requries vscode-nls version 3.2.5

@dbaeumer Did you do that adoption in our extensions? If not, can you create items to track that?

I thought it will happen automatically but it doesn't because of the lock file. Will create myself and item and do it for everyone.

See https://github.com/Microsoft/vscode/issues/57343

I can repro this bug & it'll take #57343 to fix. So nothing to verify really.


Fix to trending chart

Contribution Type: bug fix
Link to Bug: https://github.com/Block8/PHPCI/issues/1221
This pull request affects the following areas:

[X] Front-End
[ ] Builder
[X] Build Plugins

In raising this pull request, I confirm the following (please check boxes):

[X] I have read and understood the contributing guidelines?
[X] I have checked that another pull request for this purpose does not exist.
[X] I have considered, and confirmed that this submission will be valuable to others.
[X] I have created or updated the relevant documentation for this change on the PHPCI Wiki.
[X] Do the PHPCI tests pass?

There's a bug in the JS code that renders the Trending chart.
Also restored PHPCS in it.

What is the status of this pull?

I think we're waiting for review, and the PHPCI build never completed, I haven't updated recently, but I can do it.

Was there a reason that this was closed without merge - it still appears broken in master?


feat(client): add Clear to the log stream appender manager

What this PR does
This change adds a new method, Clear to the log stream appender manager. Clear closes all the log stream appenders registered to the Manager and removes them. It does not destroy the Manager. Therefore, users can continue using it after calling Clear. However, users have to call Clear after completing the use of the Manager to release associated resources.

Current dependencies on/for this PR:

main

PR #514   👈

This comment was auto-generated by Graphite.

Codecov Report
Patch coverage has no change and project coverage change: +0.21 :tada:

Comparison is base (1fdc7e3) 62.04% compared to head (f4d7645) 62.26%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
+ Coverage   62.04%   62.26%   +0.21%
==========================================
  Files         133      133
  Lines       18490    18490
==========================================
+ Hits        11473    11513      +40
+ Misses       6437     6404      -33
+ Partials      580      573       -7

see 7 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


한국공학대학교

한국공학대학교
Tech University of Korea

@jmamoru I am sorry, the domain tukorea.ac.kr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Library not loaded: @rpath/Flurry_iOS_SDK.framework/Flurry_iOS_SDK

Describe the bug
We are using Xcode 14.0. On the app launch app is crashing because Flurry _iOS_SDK.framework is not loaded
Previously we were using Xcode 13.4.1 and 'Flurry-iOS-SDK/FlurrySDK', '=11.3.0' this setup is working fine.
But when we tried with Xcode 14.0 it breaks and failed to Flurry SDK (11.3.0). So we tried with the latest Flurry SDK
(12.1.1) but still, we are facing the same issue.
This Bug is About
Please choose the closest item by replacing [ ] with [x].

[x] Integration
[ ] Analytics
[ ] Ads
[ ] Messaging/Push
[ ] IAP
[ ] Remote Configuration
[ ] Flurry Website/Dashboard
[x] Other

Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

[x] iOS
[ ] tvOS
[x] WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

Flurry SDK:  12.1.1
Xcode: 14.0
iOS: 16

To Reproduce
Steps to reproduce the behavior:

We are using WXWorks.frameworks inside that Flurry SDK is used.
On app launch app is crashing.

Additional context
Are you using Flurry Push/Messaging? No
(iOS) Are you using CocoaPods? Yes
Add any other context about the problem here.
Flurry_SDK_Error_Log.pdf

Hi @flurrydev
Is there any updates?

@Nil7172Raykar
Are you seeing the frameworks in your pods folder?

I have updated our sample here for running Flurry 12.1.1 here: https://github.com/flurrydev/Flurry-iOS-core-analytics-sample-Swift
It sounds like WXWorks.frameworks is wrapping Flurry's SDK?
Can you show me their github repo where the podspec is located please?

Hi @flurrydev,
Yes we are seeing Flurry framework into the Pod folder. Please refer following screenshot

WXWorks.framework need to add it manually. There is no pod repo available for share.
Please refer WXWorks.framework with Sample app.
https://drive.google.com/file/d/1ncGnv4SmG9boynSeoWUzE47-WzOqvNxo/view?usp=sharing


Date format is not working properly

Hi! I noticed that in the new version of the library datetime format works differently than the standard one. Older versions worked correctly. Here is a demo of my problem with different culture formats. I wonder if you could help me with this test?
[Fact]
public void Test_DateTime_Formats()
{
    var value = new DateTime(2022, 1, 2, 3, 4, 0);

    // test cultures
    var cultureEn = CultureInfo.GetCultureInfo("en-US");
    var cultureRu = CultureInfo.GetCultureInfo("ru-RU");

    // compile lamdba delegate
    var template = @"p0.ToString(""dd\/MM HH:mm"")";
    var p0 = Expression.Parameter(typeof(DateTime), "p0");
    var expression = DynamicExpressionParser.ParseLambda(new[] { p0 }, typeof(string), template);
    var del = expression.Compile();

    // en-US culture tests
    CultureInfo.CurrentCulture = cultureEn;
    CultureInfo.CurrentUICulture = cultureEn;

    Assert.Equal("02/01 03:04", value.ToString(@"dd\/MM HH:mm")); // v1.2.12 - ok, v.1.2.15 - ok
    Assert.Equal("02/01 03:04", del.DynamicInvoke(value)); // v1.2.12 - ok, v.1.2.15 - ok

    // ru-RU culture tests
    CultureInfo.CurrentCulture = cultureRu;
    CultureInfo.CurrentUICulture = cultureRu;

    Assert.Equal("02/01 03:04", value.ToString(@"dd\/MM HH:mm")); // v1.2.12 - ok, v.1.2.15 - ok
    Assert.Equal("02/01 03:04", del.DynamicInvoke(value)); // v1.2.12 - ok, v.1.2.15 - failure (Actual: 02.01 03:04)
}

@volodin-danila
Thank you for investigating this issue.
You are correct, since version 1.2.13 this functionality did change. I'll take a look.

@volodin-danila
I found the issue.
In the 1.2.13 version the StringParsing was fixed, and actually included a breaking change with the previous incorrect implementation.
So in order to get it working again for the latest version you need to use this:
"p0.ToString(\"dd\\\\/MM HH:mm\")"

or
@"p0.ToString(""dd\\/MM HH:mm"")"

(The `\` needs to be escaped.)


chore: drop node 12 and 14

Summary
In preparation for Jest 29, let's drop EOL node versions

Test plan
Green CI

Typo 14 in the commit message, should be 17 😉

Oops! 😅 good catch!


Make method examples collapsible

All method examples are now collapsible and collapsed by default. When you click on the plus sign or when a anchor is defined in the URL it will expand it's content.

\o/


errors need to be logged.

currently a coworker of mine is experiencing trouble with the dht. it works fine on my machine but not on his. without any logs, it's hard to tell what might be the cause. looks like the socket for example just swallows any errors.

Ok, I was hesitant to add any tracing because it is not without cost. But now I have a real-world request.
Do you have a preferred way to do it? tracing? or simply eprintln!()?

tracing or log work. I don't think logging using eprintln is very common. And filtering logs by crate and level is really useful when you have a large rust project.


Add Support for Retrieving Messages from IBM MQ by Matching Correlation ID and Message ID

Purpose

$subject

Fixes: #6918
Part of: #767
Examples
Message producer
Queue producer = check queueManager.accessQueue("DEV.QUEUE.1", ibmmq:MQOO_OUTPUT);

check producer->put({
    messageId: "reply-message-1".toBytes(),
    correlationId: "request-message-1".toBytes(),
    payload: "Sample message".toBytes()
});

Message consumer
Queue consumer = check queueManager.accessQueue("DEV.QUEUE.1", ibmmq:MQOO_INPUT_AS_Q_DEF);

// Can query by using both `messageId` and/or `correlationId`
Message? message = check queue->get(matchOptions = {
    correlationId: "request-message-1".toBytes()
});

Checklist

[X] Linked to an issue
[X] Updated the changelog
[x] Added tests
[x] Updated the spec
[ ] Checked native-image compatibility

Shall we update the changelog file as well?

It is already updated.


How to set the player view to a view in a storyboard?

The example project does not provide a storyboard file, how would I set the player to play from a view in the storyboard with an iboutlet

Should be pretty straightforward. Create an UiView and set the class to Player

Quick note for anyone who happens to search storyboard related stuff in the issue section (as I did):

In storyboard create a container
Set container's view controller to Player
Give segue an identifier like "EmbeddedPlayer"
In main view controller use prepareForSegue method:

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
  {
    if let identifer = segue.identifier
    {
      switch identifer
      {
      case "EmbeddedPlayer":

      let player = segue.destinationViewController as! Player

      // Setup your player here...

      default: break
      }
    }
  }

Hope that helps anyone who happens to stumble upon this :)
Matt


Explicit define builder for Remote and Config e2e tests

Changes

:broom: Defines builder for e2e tests tied to GoLang functions such a Test Remote Repository, Config Envs, Labels and Volumes
kind

/kind cleanup

@zroubalik Yes, and we already have one specific for s2i builder. Just a little more background about this change. The tests being modifed here are meant to test the ones related to Remote repository and Config (as envs and volumes). These tests actually builds and deploys a pre-existing function from a template on boson-project. They are implemented in Go and have some logic that aids test validations.
For example, the config envs test function adds envs (from config maps and secrets) https://github.com/knative-sandbox/kn-plugin-func/blob/main/test/_e2e/cmd_config_envs_test.go#L34-L54 and the validation expected the deployed function (https://github.com/boson-project/test-templates/blob/main/go/envs/handle.go) to read ENV vars and return them to the actual test, so it can compare and ensure the envs got properly loaded from maps/secreats.
These template test functions are all written in Go, so having the builder as "pack" ensure the tests will be executed properly on upstream and eventually on midstream projects, which in OSH case, uses s2i builder (but that builder currently does not support golang as runtime).
The other solution would be change these test templates implementation to Node so the could be cross-builder (pack+s2i) and test would pass on both upstream and midstream.


Adds CI Testing for Linux and Package Intallation

As discussed. We continue support for Linux only, stick to PyTorch 1.5 only for now.

Packaging CI will check only on Ubuntu if we are able to build .whl of our repo.
It contains the entire installation Procedure that is required for end user and tries to Mimic it.
In other PR I will add PyPI releasing too.
Do let me know if changes are needed.
As a backtrace and reference for future. #226 Was the Orignal CI PR which was too extensive.
To make this into a single commit. Squash and Merge it !!

Since Ross has fixed for PyTorch 1.6 with this commt. I'm giving one final try to it. If it works. We will pin to 1.6

Codecov Report

Merging #243 into master will decrease coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
- Coverage   80.17%   79.98%   -0.19%
==========================================
  Files         101      101
  Lines        1897     1879      -18
==========================================
- Hits         1521     1503      -18
  Misses        376      376

Flag
Coverage Δ

#unittests
79.98% <ø> (-0.19%)
:arrow_down:

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

Impacted Files
Coverage Δ

mantisshrimp/core/bbox.py
64.70% <0.00%> (-4.79%)
:arrow_down:

mantisshrimp/metrics/metric.py
90.90% <0.00%> (-0.76%)
:arrow_down:

mantisshrimp/core/mask.py
84.29% <0.00%> (-0.63%)
:arrow_down:

mantisshrimp/parsers/splits.py
95.65% <0.00%> (-0.19%)
:arrow_down:

mantisshrimp/parsers/parser.py
95.00% <0.00%> (-0.13%)
:arrow_down:

mantisshrimp/models/rcnn/fastai/callbacks.py
100.00% <0.00%> (ø)

...antisshrimp/models/rcnn/lightning/model_adapter.py
100.00% <0.00%> (ø)

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 c0c61e0...8e98c56. Read the comment docs.

Bingo !!! WoW !!! All the tests passed on PyTorch 1.6. Seems people have fixed up. We can pin to PyTorch 1.6 for now. I see no trouble.
This is ready to merge @lgvaz @ai-fast-track

Helps #209 #182 #157 .

If tests fail due to invalid SHA key error we can simply ignore them. It should work fine for 2/3 Python versions.
This issue is due to GitHub.


Cannot install ruby 3.2.2 with rbenv on macOS 13.5

When i try to run
rbenv install 3.2.2

it fails with this output:
-c -o crypto/evp/libcrypto-lib-bio_b64.o crypto/evp/bio_b64.c
make[1]: *** [crypto/err/libcrypto-lib-err_prn.o] Killed: 9
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [crypto/engine/libcrypto-lib-tb_rsa.o] Killed: 9
make[1]: *** Deleting file `crypto/engine/libcrypto-lib-tb_rsa.o'
/bin/sh: line 1: 81757 Killed: 9               mv crypto/engine/libcrypto-lib-tb_pkmeth.d.tmp crypto/engine/libcrypto-lib-tb_pkmeth.d
make[1]: *** [crypto/engine/libcrypto-lib-tb_pkmeth.o] Error 137
make[1]: *** [crypto/ess/libcrypto-lib-ess_err.o] Killed: 9
make[1]: *** [crypto/err/libcrypto-lib-err_all_legacy.o] Killed: 9
make[1]: *** Deleting file `crypto/err/libcrypto-lib-err_all_legacy.o'
make[1]: *** [crypto/ess/libcrypto-lib-ess_asn1.o] Killed: 9
make: *** [build_sw] Error 2

BUILD FAILED (macOS 13.5 using ruby-build 20231025)

i tried running it like this but also had no luck:
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" rbenv install 3.2.2

thats the output i get then:
To follow progress, use 'tail -f /var/folders/1w/k8rgm53s7t33qkby3xscbj_80000gq/T/ruby-build.20231102161952.87732.log' or pass --verbose
Downloading ruby-3.2.2.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz
Installing ruby-3.2.2...
ruby-build: using readline from homebrew
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew

BUILD FAILED (macOS 13.5 using ruby-build 20231025)

Inspect or clean up the working tree at /var/folders/1w/k8rgm53s7t33qkby3xscbj_80000gq/T/ruby-build.20231102161952.87732.t3ReDJ
Results logged to /var/folders/1w/k8rgm53s7t33qkby3xscbj_80000gq/T/ruby-build.20231102161952.87732.log

Last 10 log lines:
compiling option.c
linking shared-object strscan.bundle
compiling unixsocket.c
compiling ifaddr.c
linking shared-object stringio.bundle
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
linking shared-object socket.bundle
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
make: *** [build-ext] Error 2

i tried running it like this but also had no luck:
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" rbenv install 3.2.2

Hi, first a minor note<EMAIL_ADDRESS>from Homebrew is now deprecated because OpenSSL 1.1 isn't maintained anymore. You can try using openssl@3 instead:
brew install openssl@3
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@3)" rbenv install 3.2.2

Second, the "last 10 log lines" output rarely includes the actual build failure, in my experience. Please look into the log file indicated at the Results logged to <FILE> line and search for keywords like "error" or "failure". If you isolate something that looks like a proper build failure, you can paste it here (if it's relatively short) or as a Gist (if the output is really long, like a whole build log file). Thanks!

Thank you, i will try to look up in the logfile, but openssl@3 is also not working since this is my default installation in homebrew. I will provide more logs then.

when i run it with openssl i get this in the logfile:
compiling ripper.c
compiling init.c
make[2]: *** [readline.o] Killed: 9
make[2]: *** [../../.ext/common/psych/coder.rb] Killed: 9
clang: make[1]: *** [ext/readline/all] Error 2
error: unable to execute command: Killed: 9
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [ext/psych/all] Error 2
make[1]: *** [ext/stringio/all] Killed: 9
compiling ossl_hmac.c
compiling constants.c
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/1w/k8rgm53s7t33qkby3xscbj_80000gq/T/limits-9b34dc.c
clang: note: diagnostic msg: /var/folders/1w/k8rgm53s7t33qkby3xscbj_80000gq/T/limits-9b34dc.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/$USER/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
make[2]: *** [limits.o] Error 1
make[1]: *** [ext/rbconfig/sizeof/all] Error 2
compiling ossl_kdf.c
compiling basicsocket.c
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
compiling strscan.c
compiling ossl_ns_spki.c
compiling ossl_ocsp.c
installing default libraries
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
compiling ossl_pkcs12.c
ripper.c:10310:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs = 0;
        ^
compiling syslog.c
compiling ossl_pkcs7.c
compiling socket.c
compiling ipsocket.c
compiling ossl_pkey.c
compiling tcpsocket.c
installing default ripper libraries
linking shared-object strscan.bundle
installing default syslog libraries
compiling tcpserver.c
compiling ossl_pkey_dh.c
linking shared-object syslog.bundle
compiling udpsocket.c
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
compiling ossl_pkey_dsa.c
ossl_pkey.c:326:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
    arg->interrupted = 1;
                     ^ ~
compiling sockssocket.c
compiling ossl_pkey_ec.c
1 warning generated.
compiling unixsocket.c
compiling unixserver.c
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
compiling option.c
compiling ossl_pkey_rsa.c
compiling ossl_rand.c
compiling ossl_ssl.c
compiling ancdata.c
ossl_pkey_ec.c:489:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    GetEC(self, ec);
    ^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
compiling ossl_ssl_session.c
1 warning generated.
compiling ossl_x509.c
1 warning generated.
compiling raddrinfo.c
compiling ossl_ts.c
compiling ossl_x509attr.c
compiling ifaddr.c
linking shared-object ripper.bundle
compiling ossl_x509cert.c
compiling ossl_x509crl.c
compiling ossl_x509ext.c
compiling ossl_x509req.c
compiling ossl_x509revoked.c
compiling ossl_x509name.c
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
compiling ossl_x509store.c
linking shared-object socket.bundle
installing default openssl libraries
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
linking shared-object openssl.bundle
ld: warning: ignoring duplicate libraries: '-lruby.3.2'
make: *** [build-ext] Error 2

the crash log thats mentioned here does not exist. There is no clang_* file. Maybe there is a permission problem.


Synctoken: invalid value

I set a sync token with a Nextcloud-24 server:
cal = dav_client.principal().calendar( calName )
objects = cal.objects()
syncToken = objects.sync_token

Its value is then 'http://sabre.io/ns/sync/3' which does not seem correct. -- Am I doing the right thing at all?

http://sabre.io/ns/sync/3 seems like a weird value, but please check that it works.
In my compatibility matrix it says that sync tokens works on Nextcloud ... all until one tries to delete an event from the calendar.  Then Nextcloud will send a "418 I'm a teapot" next time one is trying to do a sync using the sync-token.


Cupcake website page creation - Components/Checkbox page

@JennySanchez commented on Fri Oct 18 2019

User Story

As an IBM.com page creator

I need to: have a good understanding of the checkbox component

so that I can: do my day to day work without confusion.

Additional information

Cupcake website page development priority can be viewed via #1664.
Make sure we follow the component content template from the carbon team but take out the "General guidance" section title at the beginning of the page.

Task

Collaborate with @oliviaflory for the content creation.

Acceptance criteria

[ ] Content and design created and reviewed with the stream lead, the developer and Wonil.
[ ] Shared with the Carbon and IDL team for feedback.
[ ] Content and design accepted by Wonil and Linda.
[ ] Create the page with markdowns as the next step.

@jacobottesen-dgc Can you save the content work file in the BOX folder and provide the link to it here?

@JennySanchez Yes, here is the the box note link: https://ibm.box.com/s/s8h0d5zjb5j0iv7hvwc6z2hx2n53wfzy

@jimpistilli This is not related to #14.

As we pivot to the new Cupcake website structure, we will no longer work on the Checkbox page, the current content from Jacob will be saved in the BOX folder for future use if we decide to add the Checkbox page in the future.


Cannot find module when deploying Meteor 1.3

Hi. I just installed modulus@next, which makes it farther than the stable version did, but it's failing here:
Installing a Meteor distribution in your home directory.
######################################################################## 100.0%
client/pages/admin/Admin.ts (1, 27): Cannot find module 'angular2/core'.
client/pages/admin/Admin.ts (2, 29): Cannot find module 'angular2-meteor-accounts-ui'.

Many more similar lines follow. It appears that it's failing to find any modules in node_modules. Maybe there isn't anything in node_modules? I'm not sure how to tell. I tried running meteor npm rebuild. The project runs just fine locally. I'm using Meteor 1.3, Typescript, and angular2-meteor, if that's important. Thanks!

@twastvedt Can you open a support ticket so an engineer can look into your project with you?
https://help.modulus.io
<EMAIL_ADDRESS>

Just did. Thanks!


Add missing animation values to native-stack docs

This PR adds 3 missing animation types to native-stack documentation - fade_from_bottom , simple_push, slide_from_bottom .
PR connected to https://github.com/react-navigation/react-navigation/pull/9788

This PR is put on hold till the next Expo SDK update.


Cmake hang up while trying to configure a folder

Due to @bobbrow suggestion I create an issue reffering #1362

Brief Issue Summary
I repeat, what I wrote in in #1362
A problem with the current solution is that if path in which no CMakeLists.txt file is located the CMake Tool is stopping with further configuration of other paths, even if in the other paths CMakeLists.txt are located.
My workaround is to set the paths in which no CMakeLists.txt files are located after all paths where CMakeLists.txt are located.
While I'm writing this lines, I see, that I explained my problem not correct. Sorry for that.
Cmake stops, because the cmake tool is searching for a linker script file, which is set in a toolchain file, which is not available for this path. In this path is only a CMakeLists.txt file is available. This CMakeLists.txt file creates a library.
The structure is:
The top CMakeLists.txt file (let's say project 1) includes a Toolchain file in which a linker script file is set.
This CMakeLists.txt file of project 1 includes several subdirectories. Each subdirectory creates a library.
So the main CMakeLists.txt file of project 1 merges all libraries to one output file.
Each subdirectory, for example "drivers" contains a CMakeLists.txt file, which includes source files.
The output of this CMakeLists.txt is a drivers.lib.
I've added the path of drivers to the workspacesettings file to be able to see the folder in the file explorer.
Drivers is not located in a subpath of project 1. Drivers is a "standalone" path, because drivers is used by other projects, too.
CMake tool scans the workspacesettings file and add the drivers path to the cmake tool pane.
Because drivers cannot be created without a toolchain file, which is not available in the drivers folder, the cmake tool stops to configuring all other paths, which are given.
If the order of paths in the workspacesettings file is like:

project 1
project 2
drivers
project 3

Project 3 will never be created, altough project 3 contains a toolchain file and it is correct configured, because drivers path don't have a toolchain file.
The correct order needs to be:

project 1
project 2
project 3
drivers

In this order all three projects creates their correct output files and drivers cmake configuration will crash.
Expected:

I think a setting where I can cmake tool tell, that only the main paths shall be configured.
I think this could be a little bit difficult, because e.g. drivers is a path which is needed by project 1.
Cmake tool needs to differe between calling drivers from project 1 and drivers direct.
If this could be possible, then cmake will detect drivers as standalone and stop to configure without "crash".
Apparent Behavior:

Stop to configure project, because of missing toolchain file.
CMake Tools Log

The output of the configuration process is:
[main] Configuring folder: drivers
[proc] Executing command: C:\msys64\mingw64\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\GnuToolChain\9_2019_q4_major\bin\arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\GnuToolChain\9_2019_q4_major\bin\arm-none-eabi-g++.exe -Hd:/GitRepos/7700_software/drivers -Bd:/GitRepos/7700_software/drivers/build/Debug -G "Unix Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] -- The C compiler identification is GNU 9.2.1
[cmake] -- The CXX compiler identification is GNU 9.2.1
[cmake] -- Check for working C compiler: C:/GnuToolChain/9_2019_q4_major/bin/arm-none-eabi-gcc.exe
[cmake] -- Check for working C compiler: C:/GnuToolChain/9_2019_q4_major/bin/arm-none-eabi-gcc.exe - broken
[cmake] CMake Error at C:/msys64/mingw64/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
[cmake]   The C compiler
[cmake]
[cmake]     "C:/GnuToolChain/9_2019_q4_major/bin/arm-none-eabi-gcc.exe"
[cmake]
[cmake]   is not able to compile a simple test program.
[cmake]
[cmake]   It fails with the following output:
[cmake]
[cmake]     Change Dir: D:/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeTmp
[cmake]
[cmake]     Run Build Command(s):C:/msys64/usr/bin/make.exe cmTC_a065b/fast && /usr/bin/make  -f CMakeFiles/cmTC_a065b.dir/build.make CMakeFiles/cmTC_a065b.dir/build
[cmake]     make[1]: Entering directory '/d/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeTmp'
[cmake]     Building C object CMakeFiles/cmTC_a065b.dir/testCCompiler.c.obj
[cmake]     C:/GnuToolChain/9_2019_q4_major/bin/arm-none-eabi-gcc.exe    -o CMakeFiles/cmTC_a065b.dir/testCCompiler.c.obj   -c D:/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeTmp/testCCompiler.c
[cmake]     Linking C executable cmTC_a065b.exe
[cmake]     C:/msys64/mingw64/bin/cmake.exe -E rm -f CMakeFiles/cmTC_a065b.dir/objects.a
[cmake]     C:/msys64/mingw64/bin/ar.exe cr CMakeFiles/cmTC_a065b.dir/objects.a @CMakeFiles/cmTC_a065b.dir/objects1.rsp
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "D:/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeOutput.log".
[cmake] See also "D:/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeError.log".
[cmake]     C:/GnuToolChain/9_2019_q4_major/bin/arm-none-eabi-gcc.exe      -Wl,--whole-archive CMakeFiles/cmTC_a065b.dir/objects.a -Wl,--no-whole-archive  -o cmTC_a065b.exe -Wl,--major-image-version,0,--minor-image-version,0
[cmake]     c:/gnutoolchain/9_2019_q4_major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version'
[cmake]     c:/gnutoolchain/9_2019_q4_major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: use the --help option for usage information
[cmake]     collect2.exe: error: ld returned 1 exit status
[cmake]     make[1]: *** [CMakeFiles/cmTC_a065b.dir/build.make:109: cmTC_a065b.exe] Error 1
[cmake]     make[1]: Leaving directory '/d/GitRepos/7700_software/drivers/build/Debug/CMakeFiles/CMakeTmp'
[cmake]     make: *** [Makefile:141: cmTC_a065b/fast] Error 2
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]   CMake will not be able to correctly generate this project.
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:2 (project)
[cmake]
[cmake]

Developer Tools Log

<!-- Paste the log contents HERE -->

Platform and Versions

Operating System:  Windows 10 build 2004
CMake Version:  3.17
VSCode Version: 1.47.1
CMake Tools Extension Version: 1.4.1
Compiler/Toolchain: gcc-arm-none-eabi-9-2019-q4-major

Other Notes/Information

Thank you for opening an issue for this.


resolving "substrates" for enzyme regulators

On Monday I added.

This seems to have worked partially, because it has appeared in the esyN model as a directional arrow:
https://github.com/pombase/curation/issues/1699
but it does not appear on the gene pages as a Has_substrate.
I think this might be because, behind the scenes it is "regulates activity of" (although in Canto it displays as has_substrate, so I'm not sure.
Is this a configuration issue?
I can't think....

The annotation is there now:
http://pombase-dev.bioinformatics.nz/gene/SPAC23H3.13c
I'll update the preview soon.  There will be about a minute of downtime.

yay, auto fixing.


Issues with MPEGTS / RTSP

Which version are you using?
rtsp-simple-server-0.12.2
Which operating system are you using?

OS

[〇] Linux
[ ] Windows
[ ] macOS

But i'm using wsl2.
Architecture

[〇] amd64
[ ] arm64
[ ] arm7
[ ] arm6

Describe the issue
i could use this rtsp-simple-server 2 weeks ago, by using ffmpeg.
ffmpeg -re -stream_loop -1 -i test.mp4 -c copy -f rtsp rtsp://localhost:8554/mystream
but today, i cant use this server with following error code.
ERR: unable to find control attribute (rtsp://localhost:8554/mystream)

i dont figure out why this problem has occured.
So please help me...
thank you.
Describe how to replicate the issue

start the server
publish with ffmpeg
read with

Hello, sorry but i need more details

are you able to publish to the server, and then you are not able anymore to read from the server? which reader are you using?
or alternatively, you can't publish anymore? from the logs it appears you're connecting again to the server, after a minute, so i don't know if this is the case

Hello, sorry but i need more details

are you able to publish to the server, and then you are not able anymore to read from the server? which reader are you using?
or alternatively, you can't publish anymore? from the logs it appears you're connecting again to the server, after a minute, so i don't know if this is the case

Same problem here @aler9 . Publishing (as a simple testcase) mp4/ts via ffmpeg seems to work as server logs 'is publishing...'. But when client connects (TVHeadend in my case) I get the exact same message and nothing happens.

Same problem here @aler9 . Publishing (as a simple testcase) mp4/ts via ffmpeg seems to work as server logs 'is publishing...'. But when client connects (TVHeadend in my case) I get the exact same message and nothing happens.

@dlueth to fix this i need a network dump, that can be generated in this way

If the bug arises when using rtsp-simple-server with an external hardware or software, the most helpful content you can provide is a dump of the data exchanged between the server and the target (network dump), that can be generated in this way:

Download wireshark (https://www.wireshark.org/)
Start capturing on the interface used for exchanging RTSP (if the server and the target software are both installed on your pc, the interface is probably "loopback", otherwise it's the one of your network card)
Start the server and replicate the issue
Stop capturing, save the result in .pcap format
Attach

@dlueth to fix this i need a network dump, that can be generated in this way

If the bug arises when using rtsp-simple-server with an external hardware or software, the most helpful content you can provide is a dump of the data exchanged between the server and the target (network dump), that can be generated in this way:

Download wireshark (https://www.wireshark.org/)
Start capturing on the interface used for exchanging RTSP (if the server and the target software are both installed on your pc, the interface is probably "loopback", otherwise it's the one of your network card)
Start the server and replicate the issue
Stop capturing, save the result in .pcap format
Attach

@aler9 will debug a bit more tonight and see what I can do ;)

@aler9 will debug a bit more tonight and see what I can do ;)

@aler9 seems as if in my case TVHeadend is the problem. Although it should play rtsp natively it's implementation seems to be buggy. Requesting the stream via ffmpeg works.
Now I only have to find a working pipeline for GST to publish an incoming rtp (not rtsp) Iptv stream to the rtsp server... All my attempts failed so far @aler9 :(

@aler9 seems as if in my case TVHeadend is the problem. Although it should play rtsp natively it's implementation seems to be buggy. Requesting the stream via ffmpeg works.
Now I only have to find a working pipeline for GST to publish an incoming rtp (not rtsp) Iptv stream to the rtsp server... All my attempts failed so far @aler9 :(

Now I only have to find a working pipeline for GST to publish an incoming rtp (not rtsp) Iptv stream to the rtsp server... All my attempts failed so far @aler9 :(

gstreamer is hard, keep trying :D
In the meanwhile i'll try with TVHeadend

Now I only have to find a working pipeline for GST to publish an incoming rtp (not rtsp) Iptv stream to the rtsp server... All my attempts failed so far @aler9 :(

gstreamer is hard, keep trying :D
In the meanwhile i'll try with TVHeadend

Hehe, thx @aler9 - let's see what we both can achieve ;)

Hehe, thx @aler9 - let's see what we both can achieve ;)

Ok, i've checked and

rtsp-simple-server works as TVHeadend mux when the URL is a pipe://ffmpeg like
pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://user:password@<IP_ADDRESS>:554/videoMain -vcodec copy -acodec copy -metadata service_provider=Foscam -metadata service_name=FB836 -f mpegts -tune zerolatency pipe:1

rtsp-simple-server doesn't work as TVHeadend mux when a RTSP url is used natively; the TVHeadend RTSP implementation is too minimal and sends this

SETUP rtsp://localhost:8554/stream RTSP/1.0
CSeq: 1
Transport: RTP/AVP;unicast;client_port=48474-48475

Instead of this
SETUP rtsp://localhost:8554/stream/trackID=0 RTSP/1.0
CSeq: 1
Transport: RTP/AVP;unicast;client_port=48474-48475

I'll evaluate whether i can add support for the minimal syntax

Ok, i've checked and

rtsp-simple-server works as TVHeadend mux when the URL is a pipe://ffmpeg like
pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://user:password@<IP_ADDRESS>:554/videoMain -vcodec copy -acodec copy -metadata service_provider=Foscam -metadata service_name=FB836 -f mpegts -tune zerolatency pipe:1

rtsp-simple-server doesn't work as TVHeadend mux when a RTSP url is used natively; the TVHeadend RTSP implementation is too minimal and sends this

SETUP rtsp://localhost:8554/stream RTSP/1.0
CSeq: 1
Transport: RTP/AVP;unicast;client_port=48474-48475

Instead of this
SETUP rtsp://localhost:8554/stream/trackID=0 RTSP/1.0
CSeq: 1
Transport: RTP/AVP;unicast;client_port=48474-48475

I'll evaluate whether i can add support for the minimal syntax

@aler9 That would be so awesome! ffmpeg was my planned workaround for the moment - if I manage to get that damn gstreamer pipeline done ;) But guess that a potential fix within TVHeadend would be beneficial for switching times, so I would greatly appreciate that!

@aler9 That would be so awesome! ffmpeg was my planned workaround for the moment - if I manage to get that damn gstreamer pipeline done ;) But guess that a potential fix within TVHeadend would be beneficial for switching times, so I would greatly appreciate that!

tvheadend is now supported natively; keep in mind that it supports only streams encoded in MPEG2, encapsuled in MPEGTS, encapsuled again in RTP, that can be generated only with Gstreamer. This is the pipeline i used for testing
gst-launch-1.0 -v filesrc location=VTS_01_3.VOB ! mpegpsdemux name=d d. ! 'video/mpeg' ! mpegvideoparse ! mpegtsmux ! queue ! rtspclientsink location=rtsp://localhost:8554/stream

tvheadend is now supported natively; keep in mind that it supports only streams encoded in MPEG2, encapsuled in MPEGTS, encapsuled again in RTP, that can be generated only with Gstreamer. This is the pipeline i used for testing
gst-launch-1.0 -v filesrc location=VTS_01_3.VOB ! mpegpsdemux name=d d. ! 'video/mpeg' ! mpegvideoparse ! mpegtsmux ! queue ! rtspclientsink location=rtsp://localhost:8554/stream

Awesome @aler9 ! 1000 thanks ;) I had no problem getting gstreamer pipeline into rtsp-simple-server at all - just that TVHeadend could not read it. ATM my flow is as follows
TVHeadend => rtsp-simple-server => dumpstream => gstreamer => rtsp-simple-server => TVHeadend (via ffmpeg-pipe)
If you could have a look at #185 and either solve it or help me find my error I guess I am 100% happy ;)

Awesome @aler9 ! 1000 thanks ;) I had no problem getting gstreamer pipeline into rtsp-simple-server at all - just that TVHeadend could not read it. ATM my flow is as follows
TVHeadend => rtsp-simple-server => dumpstream => gstreamer => rtsp-simple-server => TVHeadend (via ffmpeg-pipe)
If you could have a look at #185 and either solve it or help me find my error I guess I am 100% happy ;)

@aler9 hm, just cloned the repo, built the binary and tested it: seems as if onDemand does not work at all with this version...
... and I switched TVHeadend to rtsp-simple-server directly (instead of via ffmpeg) but kodi-client still reports "no signal"

@aler9 hm, just cloned the repo, built the binary and tested it: seems as if onDemand does not work at all with this version...
... and I switched TVHeadend to rtsp-simple-server directly (instead of via ffmpeg) but kodi-client still reports "no signal"

@aler9 OK, I see, your wrote "MPEG2" - my streams are MPEGTS containing H264 video + MP2 audio

@aler9 OK, I see, your wrote "MPEG2" - my streams are MPEGTS containing H264 video + MP2 audio

It works with

video: MPEG2 / H264 streams
audio: MP2 streams

they have to be encapsuled in MPEGTS - usually MPEGTS is not used with RTSP, since it's a mux format that contains multiple tracks, while RTSP supports multiple tracks natively.
Here are the instructions for anyone wishing to use rtsp-simple-server together with tvheadend:

i started rtsp-simple-server

i published a stream to rtsp-simple-server, by using gstreamer and one of the pipelines below. It's necessary to wait about 15 seconds before Gstreamer starts publishing to rtsp-simple-server.
MPEG2 video only
gst-launch-1.0 -v filesrc location=VTS_01_3.VOB ! mpegpsdemux ! 'video/mpeg' ! mpegvideoparse ! mpegtsmux ! rtspclientsink location=rtsp://localhost:8554/stream

H264 video only (please look at the config-interval parameter)
gst-launch-1.0 -v filesrc location=myfile.mp4 ! qtdemux ! 'video/x-h264' ! h264parse config-interval=1 ! mpegtsmux ! rtspclientsink location=rtsp://localhost:8554/stream

i started tvheadend, i went to http://localhost:9981

in configuration -> DVB inputs -> muxes, i added a new mux called "test" with URL rtsp://localhost:8554/stream and status active

in configuration -> DVB inputs -> services, there's an automatically-generated service; i clicked the "map services -> map all services" button

i opened this URL in VLC
http://localhost:9981/playlist/channels

Regarding the streaming of muxes with video AND audio, it's a GStreamer problem, unfortunately i can't do anything.

It works with

video: MPEG2 / H264 streams
audio: MP2 streams

they have to be encapsuled in MPEGTS - usually MPEGTS is not used with RTSP, since it's a mux format that contains multiple tracks, while RTSP supports multiple tracks natively.
Here are the instructions for anyone wishing to use rtsp-simple-server together with tvheadend:

i started rtsp-simple-server

i published a stream to rtsp-simple-server, by using gstreamer and one of the pipelines below. It's necessary to wait about 15 seconds before Gstreamer starts publishing to rtsp-simple-server.
MPEG2 video only
gst-launch-1.0 -v filesrc location=VTS_01_3.VOB ! mpegpsdemux ! 'video/mpeg' ! mpegvideoparse ! mpegtsmux ! rtspclientsink location=rtsp://localhost:8554/stream

H264 video only (please look at the config-interval parameter)
gst-launch-1.0 -v filesrc location=myfile.mp4 ! qtdemux ! 'video/x-h264' ! h264parse config-interval=1 ! mpegtsmux ! rtspclientsink location=rtsp://localhost:8554/stream

i started tvheadend, i went to http://localhost:9981

in configuration -> DVB inputs -> muxes, i added a new mux called "test" with URL rtsp://localhost:8554/stream and status active

in configuration -> DVB inputs -> services, there's an automatically-generated service; i clicked the "map services -> map all services" button

i opened this URL in VLC
http://localhost:9981/playlist/channels

Regarding the streaming of muxes with video AND audio, it's a GStreamer problem, unfortunately i can't do anything.

Thanks @aler9 it works like this for source-paths! I forgot the mpegtsmux as it is not required for conforming clients. Funny enoug this works for TVHeadend directly, but my other mux there with an ffmpeg-pipe to the same URI does not work with MPEGTS.
 I forgot the mpegtsmux as it is not required for conforming clients. Funny enoug this works for TVHeadend directly, but my other mux there with an ffmpeg-pipe to the same URI does not work with MPEGTS.
 Instead I get no one is publishing to path message.

@aler9 Still, one thing I just found out:
While non MPEGTS-streams (meaning push video+audio seperately into rtspclientsink) trigger runOnDemand commands MPEGTS streams do not, for some reason. Instead I get no one is publishing to path message.

@aler9 digging a bit deeper in the sources and adding a some debugging to the related fmt.Errorf shows that MPEGTS-requests seem to end up in internal/path/path.go line 677 without ever calling any onDemand commands like the default way does.

@aler9 digging a bit deeper in the sources and adding a some debugging to the related fmt.Errorf shows that MPEGTS-requests seem to end up in internal/path/path.go line 677 without ever calling any onDemand commands like the default way does.

@aler9 digging a bit deeper in the sources and adding a some debugging to the related fmt.Errorf shows that MPEGTS-requests seem to end up in internal/path/path.go line 677 without ever calling any onDemand commands like the default way does.

This means, if i understood correctly, that the publisher request is being interpreted as a reader request.
To replicate (and fix) this i need a Gstreamer pipeline that causes the issue, based on videotestsrc and audiotestsrc - if you want to use Jetson elements it's ok, i have a lot of Xavier AGXs / NXs at my disposal.

@aler9 digging a bit deeper in the sources and adding a some debugging to the related fmt.Errorf shows that MPEGTS-requests seem to end up in internal/path/path.go line 677 without ever calling any onDemand commands like the default way does.

This means, if i understood correctly, that the publisher request is being interpreted as a reader request.
To replicate (and fix) this i need a Gstreamer pipeline that causes the issue, based on videotestsrc and audiotestsrc - if you want to use Jetson elements it's ok, i have a lot of Xavier AGXs / NXs at my disposal.

Here you go @aler9 - used omxh264enc if that is OK for you:
gst-launch-1.0 \
  rtspclientsink name=out location=rtsp://<IP_ADDRESS>:8554/test latency=500 udp-buffer-size=5000000 \
  videotestsrc is-live=true \
    ! queue \
    ! 'video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)25/1, format=(string)NV12' \
    ! omxh264enc insert-aud=1 iframeinterval=25 preset-level=0 profile=8 control-rate=2 EnableTwopassCBR=true bitrate=4000000 insert-sps-pps=true cabac-entropy-coding=true \
    ! video/x-h264, stream-format=byte-stream \
    ! queue \
    ! out.sink_0 \
  audiotestsrc \
    ! queue \
    ! out.sink_1

The pipeline works for me if I start it onDemand and request it through an ffmpeg-pipe within TVHeadend like this
pipe:///usr/bin/ffmpeg -loglevel fatal -hide_banner -fflags +genpts -i rtsp://x.x.x.x:8554/test -c copy -tune zerolatency -f mpegts pipe:1

It does not start onDemand if I directly put rtsp://x.x.x.x:8554/test in TVHeadend + it does also not start if I set it to source: record and publish it manually before requesting it via rtsp://x.x.x.x:8554/test in TVHeadend (although rtsp-server logs it is indeed being published).
Let me know if the info is sufficient or you need anything more ;)

Here you go @aler9 - used omxh264enc if that is OK for you:
gst-launch-1.0 \
  rtspclientsink name=out location=rtsp://<IP_ADDRESS>:8554/test latency=500 udp-buffer-size=5000000 \
  videotestsrc is-live=true \
    ! queue \
    ! 'video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)25/1, format=(string)NV12' \
    ! omxh264enc insert-aud=1 iframeinterval=25 preset-level=0 profile=8 control-rate=2 EnableTwopassCBR=true bitrate=4000000 insert-sps-pps=true cabac-entropy-coding=true \
    ! video/x-h264, stream-format=byte-stream \
    ! queue \
    ! out.sink_0 \
  audiotestsrc \
    ! queue \
    ! out.sink_1

The pipeline works for me if I start it onDemand and request it through an ffmpeg-pipe within TVHeadend like this
pipe:///usr/bin/ffmpeg -loglevel fatal -hide_banner -fflags +genpts -i rtsp://x.x.x.x:8554/test -c copy -tune zerolatency -f mpegts pipe:1

It does not start onDemand if I directly put rtsp://x.x.x.x:8554/test in TVHeadend + it does also not start if I set it to source: record and publish it manually before requesting it via rtsp://x.x.x.x:8554/test in TVHeadend (although rtsp-server logs it is indeed being published).
Let me know if the info is sufficient or you need anything more ;)

@aler9 connection seems to get established just fine, onDemand command is started correctly, but kodi does not display anything from TVHeadend and ouputs "no signal". What I can see in the rtsp-simple-server service output is the following:

This is a bit different to what gets logged when I put an ffmpeg-pipe into TVHeadend, which is:
is reading from path 'test', 2 tracks with udp

@aler9 connection seems to get established just fine, onDemand command is started correctly, but kodi does not display anything from TVHeadend and ouputs "no signal". What I can see in the rtsp-simple-server service output is the following:

This is a bit different to what gets logged when I put an ffmpeg-pipe into TVHeadend, which is:
is reading from path 'test', 2 tracks with udp

@aler9 looks as if the new version does not stop the command automatically when no client is connected, in addition

@aler9 looks as if the new version does not stop the command automatically when no client is connected, in addition

This is a bit different to what gets logged when I put an ffmpeg-pipe into TVHeadend, which is:
is reading from path 'test', 2 tracks with udp

This means that

ffmpeg is reading TWO separate mpegts streams, probably one with the video, the other with the audio
tvheadend is able to read only a single mpegts stream, that must contain both the video and the audio

This is a bit different to what gets logged when I put an ffmpeg-pipe into TVHeadend, which is:
is reading from path 'test', 2 tracks with udp

This means that

ffmpeg is reading TWO separate mpegts streams, probably one with the video, the other with the audio
tvheadend is able to read only a single mpegts stream, that must contain both the video and the audio

@aler9 So something like this should work and can be properly handled by rtsp-simple-server?
gst-launch-1.0 \
  mpegtsmux name=out ! rtspclientsink location=rtsp://<IP_ADDRESS>:8554/test latency=500 udp-buffer-size=5000000 \
  videotestsrc is-live=true \
    ! queue \
    ! 'video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)25/1, format=(string)NV12' \
    ! omxh264enc insert-aud=1 iframeinterval=25 preset-level=0 profile=8 control-rate=2 EnableTwopassCBR=true bitrate=4000000 insert-sps-pps=true cabac-entropy-coding=true \
    ! video/x-h264, stream-format=byte-stream \
    ! queue \
    ! out. \
  audiotestsrc \
    ! queue \
    ! out.

@aler9 So something like this should work and can be properly handled by rtsp-simple-server?
gst-launch-1.0 \
  mpegtsmux name=out ! rtspclientsink location=rtsp://<IP_ADDRESS>:8554/test latency=500 udp-buffer-size=5000000 \
  videotestsrc is-live=true \
    ! queue \
    ! 'video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)25/1, format=(string)NV12' \
    ! omxh264enc insert-aud=1 iframeinterval=25 preset-level=0 profile=8 control-rate=2 EnableTwopassCBR=true bitrate=4000000 insert-sps-pps=true cabac-entropy-coding=true \
    ! video/x-h264, stream-format=byte-stream \
    ! queue \
    ! out. \
  audiotestsrc \
    ! queue \
    ! out.

@aler9 tried the pipeline above: works without TVHeadend ffmpeg-pipe, just rtsp-url pointing to rtsp-simple-server directly! Big thx ;)

@aler9 tried the pipeline above: works without TVHeadend ffmpeg-pipe, just rtsp-url pointing to rtsp-simple-server directly! Big thx ;)

@aler9 This might not be an rtsp-simple-server issue: Just realized that this works perfect for h264 video + mp2 audio streams but when doing the same with h264 + ac3 the audio channel does not exist or is empty. Gstreamer pipeline is running fine though, and it works with the ffmpeg pipe in TVHeadend.
Any idea?

@aler9 This might not be an rtsp-simple-server issue: Just realized that this works perfect for h264 video + mp2 audio streams but when doing the same with h264 + ac3 the audio channel does not exist or is empty. Gstreamer pipeline is running fine though, and it works with the ffmpeg pipe in TVHeadend.
Any idea?

Well, i can solve one problem at a time :)
Regarding the runOnDemand problem, please try this nightly release and let me know if the custom command is shutdown down properly.
rtsp-simple-server_v0.13.3-11-gb30dbc1_windows_amd64.zip
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm64v8.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm7.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm6.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_amd64.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_darwin_amd64.tar.gz

Well, i can solve one problem at a time :)
Regarding the runOnDemand problem, please try this nightly release and let me know if the custom command is shutdown down properly.
rtsp-simple-server_v0.13.3-11-gb30dbc1_windows_amd64.zip
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm64v8.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm7.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_arm6.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_linux_amd64.tar.gz
rtsp-simple-server_v0.13.3-11-gb30dbc1_darwin_amd64.tar.gz

@aler9 Seems to work just fine - have not had any leftover custom commands not getting shutdown properly ;)

@aler9 This might not be an rtsp-simple-server issue: Just realized that this works perfect for h264 video + mp2 audio streams but when doing the same with h264 + ac3 the audio channel does not exist or is empty. Gstreamer pipeline is running fine though, and it works with the ffmpeg pipe in TVHeadend.

the working diagram is
gstreamer (mux into mpegts) --> rtsp-simple-server --> ffmpeg (demux from mpegts, mux into mpegts) --> std pipe --> tvheadend

while the not-working diagram is
gstreamer (mux into mpegts) --> rtsp-simple-server --> tvheadend

in my opinion, tvheadend is unable to demux properly the mpegts generated by gstreamer, while is able to demux the mpegts generated by ffmpeg. Anyway, not a server problem.

@aler9 agreed, not a server problem

Hi @dlueth,
are there any alternatives to using omxh264enc and nvv4l2h264enc?
I tried using the default x264enc plugin but it does not have the following parameters you used: insert-aud=1 iframeinterval=25 preset-level=0 profile=8 control-rate=2 EnableTwopassCBR=true bitrate=4000000 insert-sps-pps=true cabac-entropy-coding=true
I am working on something and think that SPS/PPS might be the issue, so I would still like them to be present.
I am on an x86 machine.

@pigubaoza You can always use something like gst-inspect-1.0 x264enc to get all available properties of a gstreamer element

@dlueth Yup. What I'm trying to say is that the x264enc element does not have the same properties, especially insert-sps-pps. Does this mean it is not inserting the SPS/PPS? Are there any alternative h264 encoder elements on x86 that would have this capability?

@dlueth Yup. What I'm trying to say is that the x264enc element does not have the same properties, especially insert-sps-pps. Does this mean it is not inserting the SPS/PPS? Are there any alternative h264 encoder elements on x86 that would have this capability?

h264parse inserts sps and pps if you set the config-interval property. You should put it after your h264 encoder plugin

Thanks for that valuable discussion. I do not see, why this should be limited to h.264 with MP2 audio only?
The following example pipeline also muxes h.264 + aac with GStreamer and packs this MPEGTS into RTSP:
gst-launch-1.0 -e videotestsrc is-live=true ! video/x-raw, width=1280, height=720, framerate=30/1, format=NV12 ! queue ! videoconvert ! queue ! x264enc bitrate=2500 ! mux. audiotestsrc ! queue ! audioconvert ! queue ! avenc_aac bitrate=128000 ! mux. mpegtsmux name=mux alignment=7 ! rtspclientsink location=rtsp://localhost:8554/live latency=1000 protocols=tcp+udp-mcast+udp rtx-time=0
Beside vlc, I could also play it e.g. with mpv, like:
mpv rtsp://localhost:8554/live
But the tone was not "clean". With avenc_ac3 it was clean and also with mfaacenc instead of avenc_aac it was clean. mfaacenc is an hardware accelerated "Media Foundation" encoder available in the Windows version of GStreamer.
My problem is, that it can not be requested using HLS but this is another discussion at #788


chore: make the error message more readable

Checklist

[x] tests and/or benchmarks are included
[x] commit message follows commit guidelines

Description of change

Sometimes, in the data, The users may made an error in the type attribute or passed in an unregistered shape by mistake, like this:
    const data = {
        nodes: [
            {
                id: 1,
                data: {
                    x: 100,
                    y: 100,
                    type: 'circle-node',
                },
            },
            {
                id: 2,
                data: {
                    x: 200,
                    y: 100,
                    type: 'star-node',
                },
            },
        ],
        edges: [
            {
                id: 'edge1',
                source: 1,
                target: 2,
                data: {
                    type: 'custom-edge'
                }
            }
        ]
    };

If the star-node and custom-edge haven't been registered, An error message will be :"TypeError: RenderExtension is not a constructor."
It seems be better to make this error message more readable to remind users of where is the original error from, making it easier for users to troubleshoot and modify.
old version
const lodStrategy = modelLodStrategy
      ? formatLodStrategy(modelLodStrategy)
      : theme.lodStrategy;
    this.renderExt = new RenderExtension({
      themeStyles: this.themeStyles.default,
      lodStrategy,
      device: this.device,
      zoom: this.zoom,
    });

new version
const lodStrategy = modelLodStrategy
      ? formatLodStrategy(modelLodStrategy)
      : theme.lodStrategy;
    if (!RenderExtension) {
      if (this.type === 'node') {
        throw new Error(`TypeError: RenderExtension is not a constructor. The '${type}' in your data haven't been registered. You can use built-in node types like 'rect-node', 'circle-node' or create a custom node type as you like.`);
      } else if (this.type == 'edge') {
        throw new Error(`TypeError: RenderExtension is not a constructor. The '${type}' in your data haven't been registered. You can use built-in edge types like 'line-edge', 'quadratic-edge','cubic-edge' or create a custom edge type as you like.`);
      } else {
        throw new Error(`TypeError: RenderExtension is not a constructor. The '${type}' haven't been registered.`);
      }
    }
    this.renderExt = new RenderExtension({
      themeStyles: this.themeStyles.default,
      lodStrategy,
      device: this.device,
      zoom: this.zoom,
    });

太棒了～为了更好支持 Tree Shaking 很多都要先注册这一点确实容易让用户遗漏～


fix(validate): sqlc.arg & sqlc.narg are not "missing"

Fixes: https://github.com/kyleconroy/sqlc/issues/1807

@kyleconroy this is a pretty simple fix - I think just a slight oversight.


Signature error in Futures

Hi!
I'm trying to test the binance Futures API but I always get:
{
"code": -1022,
"msg": "Signature for this request is not valid."
}
I have this restrictions for the API

I have the correct API key and Secret key on my postman environment, but I'm getting the error with all requests which the signature is required.

What I'm doing wrong?
Thanks in advance.

This may be caused due to incorrect API credentials. Please confirm that you are using the correct environment and the correct environment variables.

close the ticket due to no response.


deprecate set-optout command

Per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ , deprecating set-output command in favor of GITHUB_OUTPUT.

@scong-ttd any idea when this PR will be merged?


Windows: Screen freezes when clicking on app

When clicking on any application, the window freezes

Fixed via 2c4b8feea77cb302b28d0c0ca9d33b0ae9103242


Minification fails on a particular jQuery line

Hi.
I'm working with Wordpress, and I found that my minification routines were failing now when trying to minify jQuery. I know that jQuery should be avoided to minify, because jQuery already has a minified version in Wordpress, but I noticed either Wordpress or a plugin is loading the unminifed version of jQuery. I've fixed that in my own methods to skip trying to minify jQuery and scripts already minified.
However, I thought it was good to submit this issue showing you what line JSLite breaks the syntax, when minifying jQuery.
I also submitted this because I did not notice a particular $config option to avoid this issue in the minification process. So just correct me here, if there is a $config option to pass to avoid the syntax issue mentioned here, if I missed that option to pass.
For reference or testing...
I've created a gist of that jQuery and the line that JSLite breaks the syntax of:
https://gist.github.com/theperfectwill/ef1bac5ffb7f06bca3332e362bd455cd#file-jquery-js-L9365
Here is a screenshot of that line:

The issue is that JSLite adds a semi colon at the end of this line/code:
s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==

Making the syntax to be:
s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==;

What version are you running? I took your Gist and couldn't recreate the issue, latest version of JSlite and Torque both minify correctly.
Try it here: https://hexydec.com/apps/minify-js/
I tried it with the full code and no problem, I also cut it down to this:
if ( s.crossDomain == null ) {
	urlAnchor = document.createElement( "a" );

	// Support: IE <=8 - 11, Edge 12 - 15
	// IE throws exception on accessing the href property if url is malformed,
	// e.g. http://example.com:80x/
	try {
		urlAnchor.href = s.url;

		// Support: IE <=8 - 11 only
		// Anchor's host property isn't correctly set when s.url is relative
		urlAnchor.href = urlAnchor.href;
		s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
			urlAnchor.protocol + "//" + urlAnchor.host;
	} catch ( e ) {

		// If there is an error parsing the URL, assume it is crossDomain,
		// it can be rejected by the transport if it is invalid
		s.crossDomain = true;
	}
}

And it produces:
if(s.crossDomain==null){urlAnchor=document.createElement("a");try{urlAnchor.href=s.url;urlAnchor.href=urlAnchor.href;s.crossDomain=originAnchor.protocol+"//"+originAnchor.host!==urlAnchor.protocol+"//"+urlAnchor.host}catch(e){s.crossDomain=!0}}

I did only do it with all the minification options enabled. If you can find the combo that produced the incorrect result then let me know.


Added proxyPath option to view docs behind a reverse proxy

Hello,
I saw #368 and needed that functionality too.
As you suggested, I added a new property proxyPath.
Hope I understood the code correctly; thanks for reviewing this PR.
All the best,
Mathias

Coverage remained the same at 100.0% when pulling 24cd0d888041d008ae11c4074c53649bdbb83fb6 on floristic-project:master into 1a698d62df09da2e507607544d9c9065be4f0da8 on glennjones:master.

Updated PR from v9 (master)

up

see https://github.com/glennjones/hapi-swagger/pull/368#issuecomment-536380053

@robmcguinness After a lot of digging and testing around swaggerUIPath and templates options (as you referred to in #368), I am quite certain that they are not sufficient when trying to achieve what this PR is achieving.
I am happy to work off of this PR, but in the meantime (and in order to use this in my projects immediately) I have my own fork here - https://github.com/glennjones/hapi-swagger/compare/master...nickrobillard:v11-proxypath. My changes are mostly the same as this PR, but with a bit less.
Notice that all I/we are doing here is prefixing the request paths in index.html of all assets served by hapi-swagger. Nothing more.
For clarity, here is the Nginx reverse proxy configuration that makes the concept of proxyPath config necessary. In the following example, the new proxyPath config value would be "/api".
# The UI is served at example.com.
location / {
      proxy_pass http://localhost:3000/;
}

# The API is served at example.com/api. This is where swagger is used and requires
# the /api prefix to be prepended to all hapi-swagger asset requests.
location /api/ {
      proxy_pass http://localhost:8000/;
}

@nickrobillard sure. Please back the configuration via test and we can add as feature.


com.google.fonts/check/varfont/grade_reflow: cleanup output

com.google.fonts/check/varfont/grade_reflow is a fabulous check. However, it returns a list of glyphs which often contains duplicates. It may be better to use a set instead.

This can be seen by running the check against ofl/robotoflex/RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].ttf

@m4rc1e, now it is working as expected:


feat: add actions on completion for aggregators and sources

Codecov Report
Attention: Patch coverage is 87.09677% with 4 lines in your changes missing coverage. Please review.

Project coverage is 88.18%. Comparing base (55dedd9) to head (49b070a).

Files
Patch %
Lines

Streamistry.Core/Pipes/Aggregators/Count.cs
0.00%
0 Missing and 2 partials :warning:

Streamistry.Core/Pipes/Aggregators/Sum.cs
75.00%
0 Missing and 1 partial :warning:

Streamistry.Core/Pipes/Sinks/MemorySink.cs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   87.97%   88.18%   +0.21%
==========================================
  Files          40       40
  Lines         424      440      +16
  Branches       89       91       +2
==========================================
+ Hits          373      388      +15
- Misses         20       21       +1
  Partials       31       31

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


Changes to summoned pet weapon logic

Made a few separate changes to improve pet weapon reliability / performance. Now, check_Supply allows the player to specify multiple copies of an item to be summoned in advance.

Added support for a Quantity specified in check_Supply. Use the ini format:
Supply=ItemName|SpellName|Delay|SpellGem|Quantity
Supply=Folded Pack of Enibik's Heirlooms|Grant Enibik's Heirlooms|10s|8|12
Also added additional checks for when the player is dead as it seems Waiting4Rez may not always be true causing the mage to summon Supply items while they are waiting to be rezzed.
Added logic in event_petWeapons to better handle the bag slot requirements:
It will check for existing folded packs and move them to a bag
Looks for unfolded packs and destroys them (it also checks the packs only contain summoned items before destroying)
When finished, it will return the folded pack to the main bag slot, to prevent an item being auto inventoried to the bag slot
When handing weapons to pets, the mage will use folded packs in their inventory before summoning new ones - this allows them to arm multiple pets faster

Didn't realize mine was coming in behind a major release. Will retest against latest when the other PR is through and make a new PR after that.