Some cases of wrong QASM code return empty exception

In some cases when providing wrong QASM code exceptions are empty
python --version
Python 3.10.12
[tool.poetry.dependencies]
qiskit-qasm3-import = "^0.4.1"
Tests example:
from qiskit.qasm3 import loads

test_cases = [
    ('OPENQASM 3.0; include "stdgates.inc";'),
    ('OPENQASM 3.0;include "stdgates.inc";qubit[2] q;h q[0];cx q[0], q[1];'),
    ("INVALID QASM STRING"),
    ("kjkasdhgfjkgh"),
    ("const int size = 4;"),
    ("int size = 4;"),
    ("float[64] ang = pi/2;"),
    # Add more test cases here...
]

for test in test_cases:
    try:
        print(f"\nSuccessful case: {test}\nOutput:\n{loads(test)}\n")
    except Exception as e:
        print(f"Failed case: {test}, Exception: {e}")

Output:
 % python short_qiskit_tests.py

Successful case: OPENQASM 3.0; include "stdgates.inc";
Output:

Successful case: OPENQASM 3.0;include "stdgates.inc";qubit[2] q;h q[0];cx q[0], q[1];
Output:
     ┌───┐
q_0: ┤ H ├──■──
     └───┘┌─┴─┐
q_1: ─────┤ X ├
          └───┘

Failed case: INVALID QASM STRING, Exception:
line 1:13 no viable alternative at input 'kjkasdhgfjkgh'
Failed case: kjkasdhgfjkgh, Exception:
Failed case: const int size = 4;, Exception: '1,0: node of type ConstantDeclaration is not supported'
Failed case: int size = 4;, Exception: "1,0: declarations of type 'int' are not supported"
Failed case: float[64] ang = pi/2;, Exception: "1,0: declarations of type 'float' are not supported"

In case of INVALID QASM STRING exception is empty
In case of random string (like kjkasdhgfjkgh) exception is empty but additionally there is line printed that is not included in exception: line 1:13 no viable alternative at input 'kjkasdhgfjkgh'

pytest format:
import pytest
from qiskit.qasm3 import loads

test_cases = [
    ('OPENQASM 3.0; include "stdgates.inc";', False),
    ('OPENQASM 3.0;include "stdgates.inc";qubit[2] q;h q[0];cx q[0], q[1];', False),
    ("INVALID QASM STRING", True),
    ("kjkasdhgfjkgh", True),
    ("const int size = 4;", True),
    ("int size = 4;", True),
    ("float[64] ang = pi/2;", True),
    # Add more test cases here...
]

@pytest.mark.parametrize("input_string,should_error", test_cases)
def test_loads(input_string, should_error):
    if should_error:
        with pytest.raises(Exception):
            loads(input_string)
    else:
        try:
            loads(input_string)
        except Exception:
            pytest.fail(
                f"loads() raised Exception unexpectedly for input: {input_string}"
            )

The times you're seeing an empty message are when the underlying ANTLR parser is failing, and the cases that have messages are when the conversion to Qiskit that is actually part of this package is throwing the exception.
We can potentially put a generic message in the case that ANTLR fails, but largely this package is a fairly thin wrapper around the reference parser at github.com/openqasm/openqasm, so there's a limited amount we can do from here.

Thank you for your reply.
From my perspective exception should always contain information what happen, even if it's only something generic that hint us where to search for exception source.
I also don't like when library is outputting anything to stdout or stderr. This stuff should always be returned as part of exception message.

I agree with you - this is actually one of the reasons we're moving away from this thin wrapper package to replace it with a more in-house OpenQASM 3 parser: so we can provide better error messages (see #13).  The ANTLR-based parser isn't entirely within our control, and even if it were, ANTLR's Python runtime doesn't offer the best developer tooling for writing good diagnostics and improving the failure paths.


Which version of TypeScript is Visual Studio Code "Insiders" using?

VSCode Version:1.4.0-insider (commit 01a3f86)
OS Version:Windows 7 x64

I get inconsistent behaviour between the typescript compiler (installed with npm install -g typescript@next) and the TypeScript language services included in Visual Studio Code "Insiders".
To get a quick fix for this TypeScript issue, I installed the development version, currently Version 2.1.0-dev.20160722, of typescript via npm.
Now, the issue is gone when I build the application with the typescript task (on save) inside of Visual Studio Code "Insiders".
However, when I edit the source code (just adding a newline at the end or other insignificant changes), the error pops right up again without invoking tsc via the task but using the built-in TypeScript language services of the editor.
The Info output of Visual Studio Code "Insiders" in the menu "Help" -> "Info" does not show the TypeScript version used, either.
What is the TypeScript language service version that Visual Studio Code "Insiders" uses for its internal editor, then?

We are bundling TS version 1.8.10 right now.  You can change the TS language server version vscode uses by setting the typescript.tsdk property to the path of your custom TS language server installation.

thanks @kieferrm
for anyone else pulling hair out b/c VSCode squiggle lines on "exports" and "require" et. al. while using TS 2.0 just make that change in settings
"typescript.tsdk": "/usr/local/lib/node_modules/typescript/lib" <- or whatever your path is


Subsequent extraction of Questionnaire returns only Patient resource instead of Patient and Observation resources

Describe the bug
When extracting a Questionnaire containing both Patient and Observation resources using the Android FHIR SDK, the extraction behavior is inconsistent:
On the first extraction attempt, both Patient and Observation resources are returned as expected.
On subsequent attempts, only the Patient resource is extracted.
This behavior suggests a potential issue with resource handling or caching during the extraction process.
Component
SDC Library.
To Reproduce

Create a Questionnaire containing Patient and Observation resources.
Perform an extraction using the SDC Library.
i). First attempt: Both Patient and Observation resources are returned.
ii). Subsequent attempts: Only the Patient resource is returned.

Expected behavior
Both Patient and Observation resources should consistently be extracted on every attempt.
Screenshots

Additional context
Add any other context about the problem here.
Would you like to work on the issue?
N/A

please post the input and output of both extraction calls

You can use the code below to convert the resources (Questionnaire, QuestionnaireResponse) into a JSON string for posting here.
 FhirContext.forCached(FhirVersionEnum.R4).newJsonParser().encodeResourceToString(uriTestQuestionnaireResponse)

the problem is the get questionnaire response code is not making a copy of the response correctly.
https://github.com/google/android-fhir/blob/dc44a44a6ab380b3ed73e9234376ae951f281b0f/datacapture/src/main/java/com/google/android/fhir/datacapture/QuestionnaireViewModel.kt#L479
needs to be changed to take from this rather than questionnaireResponse


Language improvements

The amount of language causing confusion keeps growing in Picasso codebase. I am not even referring to documentation (which itself could use a language review), but rather to names of components, variables, classes etc.. Encouraged by @bytasv I created this issue as a place to gather them, and hopefully one day Picasso will improve also in this area. Of course some items listed below might be false positives, but we can always clarify them. Feel free to add your findings.

Issue
Suggestion for improvement
Comment

CompoundedComponentWithRef
CompoundComponentWithRef
Compound is an adjective, while compounded doesn't seem to be an English word.

ShowMore
ShowMoreContainer?
I'm not sure about this one, but it stands out on the list of components, because all other are named using nouns and ShowMore doesn't say whether it is a container, a link, text or whatever.

~Stepper (component name)~

~According to dictionaries, stepper is a dancer (or horse) who steps (specific type of dance). There seems to be no connection of that word with "something containing/consisting of steps".~

Tabs
TabBar?
All other components have singular names, so why have this as plural?

TagSelector
TagSelect?
There is a YearSelect, AccountSelect and Select. All of them do similar things. It makes sense to follow the same pattern.

Synced with @piotrd.This is no longer an actual issue. Closing.


Chinese garbled

Insomnia Version: ___6.6.2
Operating System: ___Windows 10

Details

Insomnia does not currently convert XML/HTML Entities, which is what you are seeing, when displaying response content.
Perhaps there could be a setting to enable this, or it could automatically convert them in "Visual Preview" but not in "Source Code" mode.

Sorry, that's not clear enough.
That is in "Visual Preview" mode.


Unable to get any tweets, even with elevated access

Whenever I run "download_tweets.py", no matter the user, I always get the following error:

I have elevated access and am running this on a terminal with Administrator access. I'm on Windows 11, if that's helpful.

I didn't have a "Full Archive" set up.


mysql ssh tunneling failing until connecting to a non-mysql databases

Hello.
I'm trying to connect to a mysql db through an ssh tunnel.
The connection will never work (it returns an auth fail) until I connect to a non-mysql server through tunneling.
For example:

I try to connect to mariadbServer1.
I connect to oracleServer1: the ssh connection is of the same type of the others. It works.
I connect to mariadbServer1 again. This time the connection will work. From now on the connections to all mysql servers will work. The connection to oracleServer1 is not needed anymore.
When I restart dbeaver, the problem is there again.

I would like to avoid connecting to other servers before connecting to the one I want. But I can't find any clue about the issue here.
I tried with other software like dbeaver and the connection is working right at the first try. I always had this problem only with dbeaver and I always updated it. I think it's something related to ssh global status inside the jvm running dbeaver.

there is no update on ticket for a long time.
Ticket closed


Haste2

This pull request is used to track the implementation of node-haste2.

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

The new module execution code is a little bit more ugly but it is super-hot code and yields a 10 sec perf win on www (~8.5 % of the entire runtime).

@facebook-github-bot import

omg it works.

#dope

Outstanding list of TODOs:

Add cache and fileWatcher to actually make this fast
Only construct one moduleLoader in TestRunner; re-use HasteResolver
Make 'HasteResolver' class configurable
Test this at FB and fix issues that come up

Future release:

Support NODE_PATH + traversal up the tree for node_modules so we can drop resolve

None of these should be blockers for merging this PR except for testing this at FB (no point in building this if it doesn't work on all of our tests ). I will try to run it on Monday and fix minor issues as they come up (assuming it won't blow up completely :) ). The first for TODO items are blockers for tagging a new version of jest itself, of course.

Correct me if I'm wrong, but it looks like the (soon to be pluggable) module resolver still can only provide filepaths to resolved modules, and the file contents are actually loaded from disk by the lib/transform module.
From the perspective of being able to plug-in different module transformation+bundling pipelines (eg. webpack, browserify), with the goal of reducing the amount of duplicated config/machinery required to use Jest, it would be great to have the option of providing module sources as the output of the resolver, to be used, instead of only providing filepaths.
In both browserify and webpack, resolving and transforming of modules is interleaved, and transforms/loaders are async, so the easiest place to plug them in would probably be in place of HasteResolver, but also providing the transformed module source text along with the resolved module filepath.

All the other stuff looks good though :)

@jsdf thanks for the review! What would the ideal API look like to you? I take it webpack/browserify pre-transform code and then resolve them?
I can imagine to merge the preprocessor and the resolver: resolving the dependencies for a path will pre-transform the file and apply the transform recursively for every dependency before resolving its dependencies. Now that there is only a single entry point for transform (there used to be three!) this should be easy to change. All that it needs is a map from real path to the cache path, which should be achievable using the getCacheKey method in the preprocessor.

High level description of all the changes:

replaced node-haste with node-haste2
major cleanups in HasteModuleLoader, TestRunner and jest.js
fixed a bunch of bugs.
Split up HasteModuleLoader into two classes, the new class is HasteResolver which will soon receive more functionality.

Here is a breakdown of all the changes from oldest to latest:
https://github.com/cpojer/jest/compare/89481fbf1a7d7ce9b37b85bb6ffbd0a76cda69ad...cpojer:5f82cc75872ae02e97fcfa5f41039f8f6d6e3686

The first few commits are cleanups. They remove some cruft in the test runner and inline the module execution. By not using objects and Object.keys when executing a module we get a slight speedup. Note that this code will move out of HasteModuleLoader in the future and I just consolidated this convoluted piece of code

https://github.com/cpojer/jest/commit/e1faf1bd8ea38cb14c8f2cc955e47685782ef788

This diff is inconsequential. getJestRuntimeForTest was removed in a later commit in the stack.

https://github.com/cpojer/jest/commit/620ea9e003751e96bbee139f139e61a71043665d

This diff cleans up a bunch of minor things. Most notably I noticed that the disposed variable wasn't useful at all. I'm now using the global to check if a context should be disposed.

https://github.com/cpojer/jest/commit/f518a9235f4273af64559dde9cb7e047c0fc0f14

Slightly unrelated change but we were reporting the wrong number of total test suites (we didn't include the failed ones, this was annoying during the refactors)

https://github.com/cpojer/jest/compare/9a4e8d0a11f8055f5683c9fc7d8ee6a712fbb263...cpojer:000d0d9d6c53b64e5c25b9e2018c3035c8f50a4b

This is the collection of diffs with all the changes that replace node-haste with node-haste2. At the end I changed all objects in the loader from {} to Object.create(null).

https://github.com/cpojer/jest/commit/422ab8863d02953682f6fcfe1f762297a4c9d25d

This diff reorganizes all the methods in HasteModuleLoader, the file is now readable. I sorted it similar to how classes are organized in node-haste, with the public interface on top. The one change I made was to not only create coverage data for direct dependents. This doesn't seem useful and isn't worth mutating the config object over. I can bring this back in the future if we need it but I think ignoring node_modules is enough. I froze the config object in the next diff: https://github.com/cpojer/jest/commit/1b06d9e9d9d78032568b3b0fbcb50b0e7d2a9a82 which will allow further optimizations in the future.

https://github.com/cpojer/jest/commit/92bcc173dc9936305ea409255621d6e8a951c57a

Just a code cleanup and moved the code to ES2015

https://github.com/cpojer/jest/commit/5fd0c8888d4413b418c5bea6793772f04cee9d44

I noticed jest --onlyChanged never properly worked in the jest repo itself. This fixes the command for repos where <rootDir> doesn't equal the git root. The big algorithmic change in this diff is that instead of looking at all the changed files and resolving their dependents recursively up to a test file, we are now looking at all the recursive dependencies of all the test files and intersect them with the changed files. Let's bring back the old algorithm (and support for it in node-haste) if this proves to be too slow internally at FB.

@cpojer your description of the combined preprocessor and resolver sounds right. For the use case I have in mind, the ideal API would be (most of which is already there):

The module resolver class should be instantiated once and reused between test files.
There should be a getDependencies method which is called with a test file before it is run by the test runner. This method should return a promise of a dependency map for that test file.
the resulting dependency map can include preprocessed source contents.
In this case, either the Jest preprocessor implementation wouldn't be used, or alternatively if it is used by the custom module resolver implementation then there should be a version of the transform function which would be able to take (src, filename) as arguments rather than loading the source file from disk itself.

Ok we are back in business. I just rebased this branch on top of all the work that went into jest since I started on this diff. Everything up until "Use Object.create(null) in HasteResolver." was reviewed by @amasad about two weeks ago. I'll pull in the minor cleanups from the beginning of this PR into jest 0.8.1 and once I'm done with the jasmine2 conversion at FB I'll pick this one back up.

Another rebase with all of the haste2 unrelated changes removed and pushed to jest.

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

@facebook-github-bot import

I updated the PR summary with a better description of what is being accomplished here.

I updated the PR summary with a better description of what is being accomplished here.

thanks a lot! When you plan to get it merged?

tomorrow!

wow! :+1:

😍👍🏾👏🏽🔥

🤘

Seeing similar perf gains in open source, from #jest on our discord channel from @ncuillery:

If you'd like to try this with react-native, you might need to specify the haste option in jest now:
  "haste": {
      "defaultPlatform": "ios",
      "providesModuleNodeModules": [
        "fbjs",
        "react",
        "react-native",
        "parse",
        "react-transform-hmr"
      ],
      "platforms": ["ios", "android"]
    },

I'm not entirely sure whether putting react-native into providesModuleNodeModules is going to be sufficient. I'll do more testing before the release to make sure that apps dependent on react-native have a smooth upgrade experience.

Diff was landed against Facebook's main codebase and it seems to be working fine. I'll hold off merging this diff here for another day to make sure everything stays green internally.

Another person tried and got significant speedups:

We've tried this on Windows 8 with a different outcome:
Using jest via npm test:
Using Jest CLI v0.9.0, jasmine1
No tests found for "./src/js".

And with an absolute path:
Using Jest CLI v0.9.0, jasmine1
No tests found for "C:/path/to/project/src/js".

This is also present with a globally installed jest-cli, at this version.
The same config is working on OSX. I'll do some more investigation on Windows when I get home and add details if I find anything.

As the execution time of huge tests suites is far better, single test runs seem pretty slow now.
I did some measurements here https://gist.github.com/ncuillery/0e0dbce66a9281de6fde

Thanks @ncuillery that is super useful. I haven't been able to repro this on any platform so far.
Would you mind sharing the size of your repository? How many files are visible from all the testPathDirs (or rootDir if testPathDirs wasn't specified) and how many of those are js/json? One thing you could try is to limit the testPathDirs to an array of folders as close to the JS as possible. At FB, for example, we have /html/js which is only a tiny subset of the root folder of all files in our repository. Crawling the root would be super slow, but crawling only the subset that contains JS is reasonably fast.
The new implementation uses watchman for file crawling if available and that should be much faster. Would you mind trying to set this up for your project? https://facebook.github.io/watchman/ I'm curious to hear about the difference.
One important thing to note is that I'm planning to improve the --watch command soon and to turn Jest into a server, so that single test runs are instant and there won't be a startup time penalty.

You are right ! I had a problem with my config !
Sources are located in <rootDir>/src with ~50 sub-directories, all tests are located in <rootDir>/tests/units which contains the same structure (we didn't follow the default: having relative sub-directories  __tests__, an old choice we deeply regret today).
<rootDir>/src contains 209 js files and 135 jsx files (React components). <rootDir>/tests/units contains 189 test files.
My config was containing "testDirectoryName": "units". I added "testPathDirs": ["<rootDir>/tests"] and now the "warm-up" time is unnoticeable.
Jest was looking for units directory in each sub-directories of <rootDir> including <rootDir>/src and its sub-directories (and also <rootDir>/node_modules ? not sure about that).
The whole test suite is now fast as hell: ~50s (and not ~60s like I said before)

Awesome!
Alright, it is time to merge. We should figure out the Windows issue before tagging 0.9.0.

I've published this PR as 0.9.0-fb1 for anyone who would like to try it out.

Gone from 70 tests in 26 tests suites running in ~21secs to ~9secs (after warming up)
Great work @cpojer go and get yourself a beer 👍🍻😀

:clap::clap:

Working great for us, also appears to have fixed https://github.com/facebook/jest/issues/632 :clap:

I'm running tests with jest.runCLI() via Gulp, and it still takes a lot of time. Also, when tests have been passed, gulp task doesn't exit and loading CPU at 80%. If I run it with npm test, all is ok. @cpojer

@irudoy can you try passing watchman: false to your jest run?

@cpojer it didn't help

If you are willing to add tests to Jest that point out this issue you are seeing with your integration or sahre a test suite with a repro, I can try to look into this.

@cpojer https://github.com/irudoy/jest/tree/master/examples/gulp

Thanks! Note that 0.9 is not out yet and you should be safe using 0.8. Would you mind opening a separate issue on this repo with the details of this issue and what you'd expect to work that doesn't any more? :)

@cpojer okay, here it is #722 :)

Published jest@next again as 0.9.0-fb2 which should resolve the watcher issues.

Performance improvements from v0.8.2 to v0.9.0 were SIGNIFICANT for us.
The following is output from a Jenkins build with v0.8.2:

And the following is output from a Jenkins build after upgrading to v0.9.0:

(Note: Coverage was turned on for both runs. The upgrade was added along with additional tests in a feature branch which is why the test suite numbers went up.)
Really appreciate the dedication to improving the performance and look forward to future improvements!

Ohhh, there is an open task to improve caching when coverage is being used. If anyone wants to work on that, it should improve test runs with coverage by 20-50 %.


Create CODE_OF_CONDUCT.md

There's no need for this @daikitag, as tskit-dev automatically "inherit" the organisation's CoC

Thank you for your prompt feedback!


span.badge.pull-right in div.dropdown-menu line-breaks

JSBin Demo: http://jsbin.com/tabenizono/edit?html,js,output
Could you look into this issue?

There is no line break here, this is bootstrap CSS at play here, see: http://stackoverflow.com/questions/198153/why-does-the-css-min-width-attribute-not-force-a-div-to-have-the-specified-minim
Closing as this is not a problem with this library but rather how bootstrap CSS works. Feel free to report in Bootstrap's repo if you believe that this is a bug.


Feature: add setting to display all error messages in the same column (margin from start of line)

I like this extension, but sometimes inline error messages just make the code harder to read. It would be great if we could have a setting to add a margin for all messages from start of the line instead of from last word.
Because a picture is worth a thousand words, here's an example..
Actual setting with default margin of 4ch from last word:

Requested feature with margin from start of the line:

Came here to ask for the exact same thing! :)

From the next extension version (whenever that happens):
"errorLens.alignMessage": {
	"start": 80,
	"end": 0,
	"minimumMargin": 0,
},

https://github.com/usernamehw/vscode-error-lens/assets/9638156/76bfadff-f14f-4267-91bc-98ca81f6a63f

Thanks @usernamehw! I can't wait for the new version to be released.

It should be out now.

The docs could be slightly improved; it's unclear what the minimumMargin setting does, to me?
that said, such a huge improvement.
one last tweak in this general direction — it'd be nice if the update-delay could be a little dynamic (instead of a flat ms, perhaps a combination of 'when moving to another line', and 'faster update when typing new characters near to the start value'?)

minimumMargin is pretty much the same as global margin. Only global margin is a string so it can be "10px" while this one can only be a number of characters (integer). Missing description on setting - added.

Complex delay feels like a hard thing to implement (if trying something remotely generic).
Without complex delay the next best way to use this extension is likely to just add a keybinding to command errorLens.toggleInlineMessage.


Replaced Find-AzureRmResource with Get-AzureRmResource

To address

https://github.com/microsoft/WingtipTicketsSaaS-DbPerTenant/issues/31
https://docs.microsoft.com/en-us/troubleshoot/azure/general/find-azurermresource-fails
https://github.com/Azure/azure-powershell/blob/preview/documentation/migration-guides/migration-guide.6.0.0.md#breaking-changes-to-azurermresources-cmdlets

@billgib @dhruvanmurthy @ninarn @ajlam any chance this seemingly abandoned project can get some love and this PR looked at, please?


Update terraform-aws-ec2-admin-server to use the latest terraform-aws-ec2-instance

What

Update terraform-aws-ec2-admin-server to use the latest terraform-aws-ec2-instance

Why

Fix outputs to be a string values into terraform-aws-ec2-instance

Plan

Invalidated by #16


fix(comparison)-config-key-validation

Fix Unknown config key used in .happo.js: "afterSyncComparison" warning when passed afterSyncComparison configuration

Thanks! I'll get this merged and released right away.

Released in 8.1.1


White animation seems to break on ZStack

A simple
ZStack {
Rectangle()
ProgressIndicatorView(isVisible: $showProgressIndicator,
type: .impulseBar(progress: $progress, backgroundColor: .gray))
}
https://imgur.com/hFcGuD3

Hey @dpyy, sorry for the super late response, please check out version 1.0.0, should be fixed there. Have a great day!


Fix TTS options

Description:
Fix TTS options to allow default configuration overriding.
Related issue (if applicable): fixes #8375
Checklist:
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Thanks! 🐬


Cannot request new magic code after the first time

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

https://staging.new.expensify.com/ -> logout if logged in already
Enter a new email, click next
On the magic code screen, click on the ‘Didn’t receive the magic code?’ label, it will change to ‘Magic code sent!’
Now enter some random 6 digits in the input and submit, it will show error ‘Incorrect magic code. Please try again or request a new code.’ but there is no way to request a new code after the first time

Expected Result:
User should be able to request a new magic code after the first attempt
Actual Result:
User can only request a magic code once but the error message shows that they can try again.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.3.5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/234442218-d718a3c5-48a2-451f-8523-c30475ca92c8.mov
https://user-images.githubusercontent.com/43996225/234442223-fe0d61d6-c3c6-4660-802e-179f9f94b0fa.mp4
Expensify/Expensify Issue URL:
Issue reported by: @huzaifa-99
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682415279931959
View all open jobs on GitHub

Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

This issue might be fixed here

Able to reproduce on version 1.3.6-0:

@danieldoglas @parasharrajat - do you think this is the same/similar as your issue here and might be fixed at the same time? If so, I can place this on hold until that issue is fixed so we can confirm.

Closing as a dupe! Thanks Rajat 😊


Custom headerRight/headerLeft buttons are not clickable on Android

I just noticed that custom buttons on Android are not clickable.
The simplest example would be a one screen stack navigator:
const TestStack = createStackNavigator({
  TestScreen: {
    screen: TestScreen,
    navigationOptions: ({navigation}) => ({
      headerRight: (
        <TouchableOpacity
          onPress={() => console.log('Button is Pressed!') }>
          <Text>PRESS ME</Text>
        </TouchableOpacity>
      ),
    }),
  },

Everything works flawless on iOS but on Android I get not press feedback.
I tried adding elevation, a different combination of headerModes, but even in this simple example it's not working.

I have same problem with  "react-navigation": "4.0.10",


Use a requirements.txt to pin versions.

There were some library updates that broke the sample (both App Engine and GCE). This would be better if we pinned version numbers and updated more systematically.

PR merged quite some time ago, so closing this.  Thanks!


Unable to pick colour in second colour picker in initial test scenario #2

Expected Behavior
Actual Behavior
I could open the colour-picker pop-up, but was unable to select any colour—cursor keys did nothing.
Steps to Reproduce the Problem

If you use the mouse to select a colour, the functionality then works with the keyboard as expected.
I can use the arrow keys to navigate around and press enter to change the colour. It works with the keyboard from then on.


chat admin required for GetMegagroupStats

pyrogram.errors.exceptions.forbidden_403.ChatAdminRequired: Telegram says: [403 CHAT_ADMIN_REQUIRED] - The method requires chat admin privileges (caused by "GetMegagroupStats")
error might seem to be error of pyrogram, but i wouldn't say it is pyrogram's fault.
Notice: I'm group owner with all avaliable rights in my group

Pyrogram doesn't use tdlib. If you think this is a server-side error, ask the in-app support

isn't this method implemented only in Tdlib?

This isn't a TDLib method at all.


Yet more '$_AwaitThenValue1' is not defined

Before You File a Bug Report Please Confirm You Have Done The Following...

[X] I have tried restarting my IDE and the issue persists.
[X] I have updated to the latest version of the packages.

What version of ESLint are you using?
8.23.0
What version of eslint-plugin-svelte are you using?
2.14.1
What did you do?

Configuration
{
  "parser": "svelte-eslint-parser",
  "parserOptions": {
    "parser": "@typescript-eslint/parser",
    "extraFileExtensions": [".svelte"]
  },
  "rules": {
    "no-undef": "error"
  }
}

<script lang="ts">
  let lockedError: string | null = null;
  const mutexPromise = new Promise<void>();
</script>

{#await mutexPromise}
{:then _}
  {#if lockedError !== null}
  {:else}
  {/if}
{/await}

What did you expect to happen?
No error
What actually happened?
Yet more '$_AwaitThenValue1' is not defined - same as in #325
Link to GitHub Repo with Minimal Reproducible Example
Will provide if necessary
Additional comments
I'm on svelte-eslint-parser 0.22.3

Will provide if necessary

A minimal reproduction is always required

Thanks for the quick fix!


Add amx to complementary extensions

Amx now has support for selectrum, too.

I will give it a try!

I don't use prescient currently because it was kind of slow for me. amx is snappy because it doesn't do the sorting on command invocation. Now that history support is present I'm using the following which might also be useable as default sorting function for selectrum:
(defun selectrum-hist-first+ (cands)
  (when (and selectrum-should-sort-p
             (< (length cands) 3000))
    (let ((hist (symbol-value minibuffer-history-variable)))
      (setq cands
            (sort cands (lambda (c1 c2)
                          (> (length (member
                                      (or (get-text-property
                                           0 'selectrum-candidate-full
                                           c1) c1) hist))
                             (length (member
                                      (or (get-text-property
                                           0 'selectrum-candidate-full
                                           c2) c2) hist))))))))
  cands)

I don't quite understand how that's faster, actually. It's more or less the same thing that prescient.el does. (prescient.el just does one sort, and the implementation is optimized down to the byte-code level.)

I meant amx is faster for M-x not my presented sorting function. I use my sorting function for other commands because it makes use of the history variables and doesn't use one pool for all completions. It is fast enough for normal collection sizes but the threshold could be configurable of course. I meant this could be an alternative to selectrum-default-candidate-preprocess-function which currently just sorts by length.

I accidentally discovered the alternate actions, and added that back to the paragraph. This feature really needs to be documented by Amx though.

I'm fine with it! The commands are already documented in the README of amx

Ah. I did a number of searches and was unable to find that part. It doesn't use the word "action", which threw me.

Thanks.


Fix istioctl_test

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istioctl-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test istioctl-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istioctl-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test istioctl-tests

prow/daily-perf-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-perf-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istioctl-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test istioctl-tests

prow/daily-perf-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-perf-tests

prow/daily-upgrade-tests-1.0.1.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.1

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istioctl-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test istioctl-tests

prow/daily-perf-tests.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-perf-tests

prow/daily-upgrade-tests-1.0.1.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.1

prow/daily-upgrade-tests-1.0.2.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-upgrade-tests-1.0.1.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.1

prow/daily-upgrade-tests-1.0.2.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.2

prow/daily-perf-tests.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-perf-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-upgrade-tests-1.0.2.sh
77cbf8467fff70e6bf4f606bdae7fc5418a9daae
link
/test daily-upgrade-tests-1.0.2

prow/daily-perf-tests.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-perf-tests

prow/daily-upgrade-tests-1.0.1.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-upgrade-tests-1.0.1

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-perf-tests.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-perf-tests

prow/daily-upgrade-tests-1.0.1.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-upgrade-tests-1.0.1

prow/daily-upgrade-tests-1.0.2.sh
e69a0ef080522ebabc7c0c4ca1b431e12eac60e2
link
/test daily-upgrade-tests-1.0.2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Member tag

This proposal fixes #255 by adding a '@member' tag for classes.
usage:
/**
 * A class with hidden members
 * @member {number} myAttribute Some random attribute
 */
class MyClass {
...

I made 3 changes to make this work:

A Doc class (subclass of Doc/AbstractDoc) can now add additional entries to the database, other than this._value (this allows to generate doc entries from doc tags).
Add the member tag to ClassDoc
make sure that ignored getters and setters don't hide a class member (this way you can define a member with @member and hide get/set as well).

The PR comes with an additional doc entry and tests.
By the way, this module is awesome, good job @h13i32maru :+1:

What is the status of this. I'm seeing a need for this as well, to document dynamic properties added by decorators.

It seems that @h13i32maru is quite busy since around March 15. He has only been responding to a few issues since then. I don't know how long it is customary to wait before asking, but given the interest from the community for this repo, an extra maintainer would be helpful...
Other than that, you can merge this branch into your own fork and it will work just fine :)

@hmil  Sorry for late reply 🙇
The Class Property Syntax is discussed in ES.next (ref. http://babeljs.io/docs/plugins/transform-class-properties/). So, now, I do not support member tag.


Doesn't seem to be a way to make all builds on my server not-private

I'm using organizational auth but all builds seem private. I can just add everyone on my team to each build, but there's a string next to my build that says "private" which makes me wonder if I'm missing something?

How does the organizational auth stuff work?
How many builds do you have?
Seems like a good idea in general. It's in this attribute:
https://github.com/bslatkin/dpxdt/blob/master/dpxdt/server/models.py#L99
Which is used here:
https://github.com/bslatkin/dpxdt/blob/master/dpxdt/server/auth.py#L222
I guess you could add a new config parameter on "app" like IGNORE_AUTH that you use to override the auth check?

On GAE I have it set to do domain-level auth for access in any capacity to my-company-server.appspot.com, so I just want anyone in my company to be able to see everything in our dpxdt service without having to explicitly add them as an admin.
The public attribute looks good to me, I just don't see a way to configure it. Happy to add that if that makes sense..

Gotcha. Yeah there's no way to configure that. You'd have to add a new parameter. Sounds like a good idea. With that type of Auth can you still allow completely public resources? I'm wondering how your worker is going to talk to the API server, since it's not going through a Google account login, ya know?

Somehow it already works (my worker has access via the Dev Console) so making my builds public shouldn't make it worse..

Great. Sounds straight forward. That function in auth.py should do it.

PR coming your way then =)

Oh and I meant to add: There are two ways to do it:

As a read-time change, so you just allow all builds to be public
As a write-time default, so all builds default to public

I see benefits to each approach.  The problem with (1) is it'll still say "private" next to your builds. I guess you could also override that property accessor on the model to take the global setting into account? Or hide the column?

I'm fine if all builds default to public but I just have to click Settings to update that value (that's what I'm planning this first PR is gonna do)

https://github.com/bslatkin/dpxdt/pull/141 =)


coqPackages.interval: 4.6.1 → 4.7.0

Description of changes
https://gitlab.inria.fr/coqinterval/interval/-/blob/interval-4.7.0/NEWS.md?ref_type=tags#version-470
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 241243 run on x86_64-linux 1

1 package built:

coqPackages.interval


Quiz Exercise: Move apollon drag-and-drop creation into quiz edit view

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I followed the coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context
The "Create Drag and Drop Quiz Exercise" did create a new Quiz with one dnd question generated out of an apollon diagram. This does not make logical sense. E.g. you can not create a quiz with two apollon generated dnd quizzes.
Description
This PR moves this import functionality inside the quiz edit view as modal. It does now only create a new question within an existing/now created quiz exercise.
Steps for Testing

Prerequisites:

1 Instructor

Log in to Artemis
Navigate to Exercise Administration
Create a new Quiz Exercise and within the edit/create view Click "Create Apollon Diagram Dnd Question"
Create a new Apollon Diagram in the Modal
Open it in the Modal
Add some elements
Click on the "Interactive" tab
Add some interactive elements
Click on "Generate Question" in the lower right corner
See that a new dnd question is generated
Verify that everything works as normal (e.g. Preview Quiz)

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage
Client

Class/File
Line Coverage
Confirmation (assert/expect)

drag-and-drop-question.model.ts
100%
✅

apollon-diagram-create-form.component.ts
88.88%
✅

apollon-diagram-detail.component.ts
87.25%
✅

apollon-diagram-import-dialog.component.ts
100%
✅

apollon-diagram-list.component.ts
91.83%
✅

quiz-exercise-generator.ts
88.79%
✅

drag-and-drop-question-edit.component.ts
89.96%
✅

quiz-question-list-edit.component.ts
89.28%
✅

delete-button.directive.ts
97.56%
✅

delete-dialog.model.ts
100%
✅

Screenshots

Thank you for the tests:

I fixed the issues with updating the Diagram List after the creation of a new ApollonDiagram. Please test it again
Once you are in the "interactive" Tab, you have to click on some elements in the Diagram to make them interactive. Unfortunately, this UI is part of the ApollonEditor itself and therefore cannot be improved within the scope of this PR.

When testing, Everything worked up until the point I want to add interactive elements. I could not see any interactive elements to add and therefore could not generate the quiz.


[BUG] Azure.Search.Documents.Tests.ManualRetryDelayTests.ClampDelay test case is non deterministic

Describe the bug
Azure.Search.Documents.Tests.ManualRetryDelayTests.ClampDelay test case sometimes passes and sometimes fails and it appears to be due to a timing issue
Expected behavior
Test should be deterministic
Actual behavior (include Exception or Stack Trace)
Test passes sometimes and fails others simply by rerunning
To Reproduce
Executed the following pipeline https://github.com/Azure/azure-sdk-for-net/pull/18968/checks?check_run_id=1966779626 enough times and you will see it fail randomly.
Environment:
N/A

Thank you for your feedback.  I will take a look.

Another failure https://dev.azure.com/azure-sdk/public/_build/results?buildId=799975&view=ms.vss-test-web.build-test-results-tab&runId=17611868&resultId=110485&paneView=debug

https://dev.azure.com/azure-sdk/public/_build/results?buildId=827749&view=ms.vss-test-web.build-test-results-tab&runId=18087660&resultId=111976&paneView=debug
ClampDelay

Result Details
Failed 24m ago on 63d4e3a7c000000
Duration0:00:00.870
Ownernot available
Date started4/6/2021, 12:14:45 PM
Date completed4/6/2021, 12:14:46 PM
Failing since24m ago
Failing since build20210406.6

Debug

Work items

Attachments

History

Attachments*

Error message
Expected a delay between 248ms and 500ms, not 247
Expected: True
But was:  False

Stack trace
   at Azure.Search.Documents.Tests.ManualRetryDelayTests.ClampDelay() in /mnt/vss/_work/1/s/sdk/search/Azure.Search.Documents/tests/Batching/ManualRetryDelayTests.cs:line 79
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

ClampDelay

Result Details
Failed 20m ago on 0c27daacc00000G
Duration0:00:00.843
Ownernot available
Date started4/29/2021, 12:43:13 PM
Date completed4/29/2021, 12:43:14 PM
Failing since20m ago
Failing since build20210429.10

Debug

Work items

Attachments

History

Attachments*

Error message
Expected a delay between 248ms and 500ms, not 247
Expected: True
But was:  False

Stack trace
   at Azure.Search.Documents.Tests.ManualRetryDelayTests.ClampDelay() in /mnt/vss/_work/1/s/sdk/search/Azure.Search.Documents/tests/Batching/ManualRetryDelayTests.cs:line 79
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

ClampDelay

Result Details
Failed 46m ago on 27ff5587c000000
Duration0:00:00.770
Ownernot available
Date started5/3/2021, 9:04:54 AM
Date completed5/3/2021, 9:04:55 AM
Failing since46m ago
Failing since build20210503.1

Debug

Work items

Attachments

History

Attachments*

Error message
Expected a delay between 248ms and 500ms, not 244
Expected: True
But was:  False

Stack trace
   at Azure.Search.Documents.Tests.ManualRetryDelayTests.ClampDelay() in /mnt/vss/_work/1/s/sdk/search/Azure.Search.Documents/tests/Batching/ManualRetryDelayTests.cs:line 79
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

ClampDelay

Result Details
Failed 8h ago on 352d277fc000000
Duration0:00:02.390
Ownernot available
Date started6/1/2021, 1:22:43 AM
Date completed6/1/2021, 1:22:45 AM
Failing since8h ago
Failing since build20210601.1

Debug

Work items

Attachments

History

Attachments*

Error message
Expected a delay between 248ms and 500ms, not 646
Expected: True
But was:  False

Stack trace
   at Azure.Search.Documents.Tests.ManualRetryDelayTests.<ClampDelay>d__2.MoveNext() in D:\a\_work\1\s\sdk\search\Azure.Search.Documents\tests\Batching\ManualRetryDelayTests.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

@Mohit-Chakraborty can we disable this test, please?


Send retry-after header when ratelimiting service-broker calls

A short explanation of the proposed change:

This adds a Retry-After header to responses sent by the ServiceBrokerRateLimiter, which already rate limits users who make too many concurrent requests to endpoints associated with the six API resources below:

v2/service_instances
v2/service_bindings
v2/service_keys
v3/service_instances
v3/service_credential_bindings
v3/service_route_binding

The new header suggests an absolute retry time between 30 and 90 seconds in the future (a time within this range is selected at random at the time of the call).

An explanation of the use cases your change solves

This addresses an anomaly whereby this rate limiter does not include such a header while other rate limiters in the Cloud Controller do, and will help clients (some of whom immediately attempt retries) to avoid getting themselves rate limited.

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

/easycla

/easycla

I've pushed a new commit implementing the approach outlined in my last comment, and have set this PR back to 'ready for review'.


Update card and alert demo page ID

These demos use the page demo ID's. They should be unique to the demo they apply to.

:tada: This issue has been resolved in version 2.23.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Include full Apache License text

This fixes github's license detection.
See https://github.com/benbalter/licensee/issues/103
@richadams - Great work BTW!

@alexjfisher Thanks!
There was an issue with our builds I had to fix. Can you rebase against master to pull in those changes so the build passes? Then I'll go ahead and merge this.


Having Issue Running node index.js

When I run for first time I get this
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'canvas'

Type npm install canvas in terminal

yes thank you!


[Task]: Update Electron

Task description
Update Electron to a major version (>=14) now that we're not using the Proxy object anymore.
See for more info: https://github.com/iotaledger/firefly/issues/2213
Requirements
Electron version at least 14. 16 would be even better.
Acceptance criteria
TBD
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

The update should also fix this issue https://github.com/iotaledger/firefly/issues/1628. @rajivshah3 mentioned something that this was solved with Electron 13.5 or later.

Bumping into a similar issue: https://github.com/TryGhost/node-sqlite3/issues/1504

I think the problem is related to the deprecation of allowRendererProcessReuse
If I understand it correctly the renderer process crashes, because it fails to initialize the native modules (I tried building N-API modules in wallet.rs), upon a reload. Possibly neon is not the right tool to generate the bindings. We could have a look into napi-rs to build new bindings, but this requires some work of wallet.rs.
https://github.com/electron/electron/issues/18397

Here is a repository that contains only the relevant code for the crash for Electron v14 and higher: https://github.com/Tuditi/native-module-issue


problem of matrix non symmetric positive definite

Can't Solve Cholesky since LHS matrix is apparently not symmetric positive definite.

Hi Paul,
Cholesky decomposition is supposed to be applied to SDP matrices only. If you are supposed to use Cholesky (or LDL) decomposition in an algorithm, please check the construction of the left-hand side matrix.
Could you provide us a minimal working example?
Best,
Romain

Hi Paul,
Is your problem solved ?
Regards
Nicolas

Yes, it's all good.


I am not able to find the MERGE Syntax in Azure Synapse Dedicated Pool. When will the feature be available?

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@Rajarshi789 As of September 23, 2020, MERGE is now in Preview for Azure Synapse Analytics.
For more information on how to use MERGE: consult this documentation: https://docs.microsoft.com/en-us/sql/t-sql/statements/merge-transact-sql?view=sql-server-ver15.
Are you looking for this ?

Hi Saurabh,
But I see this is in Preview mode, and some features like Output action, WHEN NOT MATCHED .. INSERT INTO tables with Identity fields are not supported yet.
Any idea, when these will be available?
Thanks & Regards,
Rajarshi Das.
Assoc Data Engineering Manager.
• +91-7569981429
•<EMAIL_ADDRESS>[A picture containing text, clipart  Description automatically generated]
A UnitedHealth Group Company
■ Integrity ■ Compassion ■ Relationships ■ Innovation ■ Performance
From: SaurabhSharma-MSFT @.>
Sent: Friday, February 25, 2022 8:29 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Das, Rajarshi @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] I am not able to find the MERGE Syntax in Azure Synapse Dedicated Pool. When will the feature be available? (Issue #88704)
@Rajarshi789https://github.com/Rajarshi789 As of September 23, 2020, MERGE is now in Preview for Azure Synapse Analytics.
For more information on how to use MERGE: consult this documentation: https://docs.microsoft.com/en-us/sql/t-sql/statements/merge-transact-sql?view=sql-server-ver15.
Are you looking for this ?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/88704#issuecomment-1050470905, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX5YGZTB6IBM654YJY6SDR3U43V7BANCNFSM5PH2GL4Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or intended recipient’s authorized agent, the reader is hereby
notified that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

@Rajarshi789 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Add localization support

As the wallet will be used by people around the world, we will need to provide deployments in multiple languages. Therefore, we need to add localization support. Please note localization should be done statically rather than dynamically, i.e. at build time such that we produce a separate build for each language.

@yanivkalfa Any suggestions?

Do you guys need a translation to brazilian portuguese? I can help with that.

Do you have a xml or json file with the string constants of the app messages in english so that I can translate for you? Just send me or point me the file on the directory structure.

@LMilfont Not yet. It will take some time to implement localization. We will let you know when done.

Packaging the build exposes the localization keys not localized text

Packaging issue resolved with PR #292
We now have localization support.


net/freeradius: improve EAP section

@mimugmail I would like to offer my help in improving the Freeradius plugin, e. g. being able to specify the tunnel protocol (TLS, TTLS, PEAP, None) separately from the auth type (MD5, GTR, CHAP, ...) or the ability to authenticate against AD/LDAP via bind. You are interested in this or rather not right now?

The plugins dont belong to me, I pish them out in the hope some guys start contributing :) As long as your changes dont touch production setups in any case, I'm open for every PR :)

Are you still working on this?

Still active here?

@fichtner timeout?


Use file extension code from service commons

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 92.1%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
2623

Relevant Lines:
2848

💛  - Coveralls


[Proto Annotations] Parse out all Resources and ResourceSets

wait don't review yet; gotta fix CI first

Codecov Report

Merging #2419 into master will decrease coverage by 0.09%.
The diff coverage is 69.38%.

@@             Coverage Diff             @@
##             master    #2419     +/-   ##
===========================================
- Coverage     86.75%   86.65%   -0.1%
- Complexity     5261     5275     +14
===========================================
  Files           460      460
  Lines         20936    20980     +44
  Branches       2255     2265     +10
===========================================
+ Hits          18162    18181     +19
- Misses         1971     1993     +22
- Partials        803      806      +3

Impacted Files
Coverage Δ
Complexity Δ

.../java/com/google/api/codegen/util/ProtoParser.java
73.07% <69.38%> (-15.16%)
30 <19> (+14)

.../google/api/codegen/config/GapicProductConfig.java
73.3% <0%> (-2.85%)
46% <0%> (ø)

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 e052651...2023007. Read the comment docs.

Fixed CI
PTAL


Add reserved name 'stdout' for file output, referring to stdout

Add reserved name 'stdout' for file output to stdout.
This is useful when sending output from the receiver to another process (e.g. tcpdump) which reads from stdin, as it avoids the intermediate file and allows for a more concise, single-line usage:
packetStreamer receiver --config receiver-stdout.yaml | tcpdump -r -
Note: the usual convention is to use the filename '-' to refer to stdout, but '-' cannot be used in the yaml configuration as it is a reserved symbol.
Update README.md accordingly.  Also a minor fix to the file permissions for the output file

Closes #5 - support output to stdout


Docstring cleanup

This is adding in mostly cosmetic fixes to docstrings, including some sphinx additions. I think these will help catch docstring style choices that are determined by looking at the function above or below where you're adding your new one.
This is part two of two for #3427.

Left a note.

Commit removing whitespace between docstrings and code is removed. I did have another question regarding the acceptability of an extra blank line before the closing """ of a docstring.
e.g.

These all look rather straightforward.

:sparkles: :cake: :sparkles:


img with srcset not working

Hi Kenneth,
great plugin!
But when using images with srcset (with or without polyfills like picturefill or lazysizes/respimage) detection is not working correct. Also errors are thrown (IndexSizeError: Index or size is negative or greater than the allowed amount / context.drawImage image ...) when resizing images over 100% of their natural size.
Any ideas?
Thank you,
Michael

Any news about that? Same issue wondered if you could find a solution @pipeTM .

@psntr sorry, no! I did'nt use this lib in that project.

Try this fix: https://github.com/kennethcachia/background-check/issues/116


How to use this library as a newcomer to Unity

Hi, I'm new to Unity, how can I use this library, can I request a detailed manual?

Add following dependencies to /Packages/manifest.json in your Unity project:

{
    "dependencies": {
        "com.mochineko.voice-activity-detection": "https://github.com/mochi-neko/voice-activity-detection-unity.git?path=/Assets/Mochineko/VoiceActivityDetection#0.4.2",
        "com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
        "com.neuecc.unirx": "https://github.com/neuecc/UniRx.git?path=Assets/Plugins/UniRx/Scripts",
        "com.naudio.core": "https://github.com/mochi-neko/simple-audio-codec-unity.git?path=/Assets/NAudio/NAudio.Core#0.2.0",
    }
}

Opne your Unity project then these packages will be installed.

Create an AssemblyDefinition file (.asmdef) and add references:  Mochineko.VoiceActivityDetection, UniTask and UniRx to "Assembly Definition References".

Implement some script that you want to do with reference to a basic sample code.

You can select voice audio source (microphone or AudioSource component) and output of active voice data (AudioClip, WAV file or nothing (detection only)) with reference to other samples.

You can use voice activity changing event like

 vad
    .VoiceIsActive
    .Subscribe(isActive => Log.Debug("[VAD.Sample] IsActive: {0}", isActive))
    .AddTo(this);

and AudioClip of buffered voice data for active segment like
buffer
    .OnVoiceInactive
    .Subscribe(clip =>
    {
        Log.Info("[VAD.Sample] OnInactive and receive AudioClip and play.");
        audioSource.clip = clip;
        audioSource.Play();
    })
   .AddTo(this);

.
Is there anything unclear to you?

Thank you for using this library and for providing additional information!
Such feedback is a great motivation for OSS development.
If there is a need, I might be able to make the following adjustments to make it more accessible for beginners:

Change settings to make it easier to use even for those who do not use AssemblyDefinition.
Provide components that do not require additional scripting.
Enable installation of sample code in the Unity Editor through UPM samples.
Add more detailed installation instructions to the README.


Building the endpoints 2/5 -> /projects

Sample /projects Response
{
    "projects": [
        {
            "id": 1,
            "title": "Navi Web Companion",
            "description": "This project is...",
            "image": "<link_to_image>",
            "link": "https://github.com/..."
        },
        {
            "id": 2,
            "title": "RealTalk Application",
            "description": "This project is...",
            "image": "<link_to_image>",
            "link": "https://github.com/..."
        },
        {
            "id": 3,
            "title": "SmartClaims",
            "description": "This project is...",
            "image": "<link_to_image>",
            "link": "https://github.com/..."
        }
    ]
}

/projects Methods

GET /projects --> Retrieves all the projects I've done.
GET /projects/{ projectId } --> Retrieves one specific project.
POST /projects --> Creates a new project.
PATCH /projects/{ projectId } --> Updates a specific project by id.
DELETE /projects/{ projectId } --> Deletes a specific project by id.


Moving .p2.t2.sort_bucket_xxx.tmp to temp2 to speed up a little

Assuming that there is a 110G RamDisk for temp2, moving .p2.t2.sort_bucket_xxx.tmp to temp2 will speed up about 10 to 20 seconds.
The change would be really easy, just change the phase2.hpp line below near the bottom from:
out.sort[i] = std::make_shared(32, log_num_buckets, prefix + "t" + std::to_string(i + 1));
to
out.sort[i] = std::make_shared(32, log_num_buckets, (i == 1 ? prefix_2 : prefix) + "t" + std::to_string(i + 1));
This moves about 40G from temp1 and temp2 and will not exceed the 110G limit. I tried a bucket size of 512 and then 128 and both work fine.

yeah phase 3 itself only uses 40 GB of the RAM disk

yeah phase 3 itself only uses 40 GB of the RAM disk

it seems to use significantly more than 40gb for me.. more like 80? - i tried a 190gb ramdisk, it fills up completely when i tried to start another plot in phase 3.

yeah phase 3 itself only uses 40 GB of the RAM disk

it seems to use significantly more than 40gb for me.. more like 80? - i tried a 190gb ramdisk, it fills up completely when i tried to start another plot in phase 3.

I wonder if bucket size has any impact on the temp2 usage. You may want to get a listing of the files and check what exactly is in temp2.
When I tried both 512 and 128 bucket size with a 110G ramdisk, the plot finished without running out of temp2 space. So I believe the bucket size only affect the number of files (i.e. more buckets but smaller files) but not the total sum of space.
With this change, temp2 will increase by 40G at the end of phase 2 and very beginning of phase 3, and that extra 40G is removed after this:
[P3-1] Table 2 took 34.3048 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 42.39 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
So if you can tightly control when you start the other plot, I would suggest 1 minute after phase 3 of the first plot.


❓ [Question] Runtime check of the inference platform FP16 support

❓ Question
Let's assume one converts a TorchScript to a Torch-TensorRT TorchScript requesting inference type to be FP16. At conversion time, if the GPU doesn't support FP16 (GTX1060 typically), a nice ::torch_tensorrt::Error is thrown saying
Requested inference in FP16 but platform does not support FP16

That's all good.
Now, it seems that if one tries to run an already converted Torch-TensorRT TorchScript with an inference type FP16 on a GPU that doesn't support FP16, there is no check and the program crashes with:
warning: Critical error detected c0000374

Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffac1baf1d3 in ntdll!RtlIsZeroMemory () from C:\WINDOWS\SYSTEM32\ntdll.dll

My questions are:

Are these observations (still) correct? I am using torch-tensorRT 1.0, so it might have changed.
Is there any plan to check for the device capability at runtime as well, given that it is possible to figure out what the inference type is (don't know if that's possible / easy to do)?

Torch-TensorRT programs should be built for the specific GPU they will be deployed on. So the

already converted Torch-TensorRT TorchScript with an inference type FP16 on a GPU that doesn't support FP16

case is technically an unsupported usecase due to TensorRT limitations. In most cases programs built on a GPU of a particular compute capability can be run on others of the same compute capability. So in the Torch-TensorRT runtime we check for these, both specific model of GPU and the compute capability when we go to deserialize.

@peri044 Thoughts on expanding the metadata to include information like this? I think we were talking about this a bit earlier. I could see adding platform capability flags to the metadata but not sure if it adds much past addressing this special case since in theory compute capability should do the same thing.

@andi4191 now that you are back, thoughts on this feature?

@narendasan: We can make a check for precision request against the SM compute capability as per support matrix.
Something like https://docs.nvidia.com/deeplearning/tensorrt/support-matrix/index.html#hardware-precision-matrix
This check will be done at runtime though.

Well the question is will it do anything if engines are not portable across compute capability?

I don't think we can do anything other than throwing an error instead of letting it crash. IIRC If the engines are not portable across computing capability, TensorRT fails at deserialization.

We arent going to implement this as Pascal is about to be deprecated in TensorRT.


How to integrate proprietary/open-source codes to KanTV for personal/proprietary/commercial device-side AI R&D activity

The Mozilla's DeepSpeech has been integrated  in this project. The entire source codes(Java, JNI, native, build system......) of personal customized DeepSpeeech could be found here

So developer can integrate  proprietary codes(Java, JNI, native codes...)  for personal need accordingly.

updated on 03-20-2024,16:29(Beijing Time /GMT + 8), I think I got the real "real-time" English subtitle for English online TV. the latest source code will be submitted accordingly after some sanity check and validation.


1080p on linux

I'm submitting a ...

[X ] bug report
[ ] feature request
[X ] support request

General information
OS: ubuntu linux 18.04
Kodi 18 nightly installed from kodi ppa
inputstream 2.2.28
Prerequisites

[X ] Are you running the latest version?

Description
[Description of the bug or feature]
when i try to play "suits" on ubuntu linux using kodi nightly, i can't see the show in 1080p but just 480p. the same show on windows is correctly in 1080p
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
the show should be run in 1080p
Actual behavior: [What actually happened]
the show run in 480p
Context (Environment)
Installation

[ ] I installed the plugin via zip from the Releases page
[X ] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[X ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ ] Linux (ARM)
[ ] Android

Additional informatin on the environment
[Descripe your environment a bit more detailed, are you using LibreElec f.e.]
Debug log
[Please include a link to your debug log (use something like http://sprunge.us/) or similar, please do not paste]
Other information
[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]
Screenshots
[Please add a screenshot if that helps understanding your problem]
[You can erase any parts of this template not applicable to your Issue.]

Some content is restricted to lower quality on certain systems (especially Linux) by the content provider. There's nothing we can do about that.
To check which resolutions are available, set stream selection to manual in the inputstream.adaptive addon and check out the list of resolutions during playback.

Have a look at the manifest.json in the plugin data folder after starting a video. All available resolutions are contained in this file. If they don't show up there, Netflix is not making them available to you.

There was a bug in inpustream.adaptive where if you selected 720p, you would get a lower quality stream. And if you selected 1080p you would get the 720p stream. It is fixed in peak3d/inputstream.adaptive#259


Update obs list to use React Query, fetch observations via id_below

This closes #244. A few changes here:

API calls in ObsList use React Query (observations.search and observations.updates)
onEndReached only gets triggered if the previous observations.search API call is not still loading
Adds some extra height to the FlatList so onEndReached can still be called and the FlatList is still scrollable if a user has less observations than fill the screen

I like the idea of removing Explore, since I think a lot of that code will have to be rewritten anyway. (The dropdowns weren't working, we don't necessarily want an Explore provider, and everything was using styles instead of Tailwind). I'd rather have less complicated code that works as expected for now, and we can refactor and add Explore back in when needed.
Tests are passing, though there are a couple warnings and open handles. I think these are related to fetchRemoteUser being called without a user id and UserCard rerendering in ways that are unnecessary -- this is the code I worked on simplifying yesterday in the 254-user-locale-preference` branch, so maybe it's better to try to merge that one first.


Update decorators.py

Thank you for a great repository!
From the official python docs:
get(key[, default])
Return the value for key if key is in the dictionary, else default. If default is not given, it defaults to None, so that this method never raises a KeyError.
Specifying a keyword argument causes an error, at least on my machine.
Ubuntu 20.04.5
Python 3.9.16
https://docs.python.org/3.10/library/stdtypes.html?highlight=dict get#dict.get

Merged and released in v1.3.2 :tada:


install ws-rtsp-proxy problem

I install  ws-rtsp-proxy with "apt install ws-rtsp-proxy",  but nothing installed like this picture

I guess ws-rtsp-repo-1.2.deb is Incomplete package,Can you  send a complete package to<EMAIL_ADDRESS>thanks.

We have fixed the package. Need to reinstall it:
apt remove ws-rtsp-proxy
wget http://repo.tom.ru/deb/debian/non-free/all/ws-rtsp-repo-1.2.deb
dpkg -i ./ws-rtsp-repo-1.2.deb
apt update
apt install ws-rtsp-proxy
because the package is depend of systemd, it supports quite last versions of debian/ubuntu

We have fixed the package. Need to reinstall it:
apt remove ws-rtsp-proxy
wget http://repo.tom.ru/deb/debian/non-free/all/ws-rtsp-repo-1.2.deb
dpkg -i ./ws-rtsp-repo-1.2.deb
apt update
apt install ws-rtsp-proxy
because the package is depend of systemd, it supports quite last versions of debian/ubuntu

We have fixed the package. Need to reinstall it:
apt remove ws-rtsp-proxy
wget http://repo.tom.ru/deb/debian/non-free/all/ws-rtsp-repo-1.2.deb
dpkg -i ./ws-rtsp-repo-1.2.deb
apt update
apt install ws-rtsp-proxy
because the package is depend of systemd, it supports quite last versions of debian/ubuntu

hi,
I finished it follow above steps, nothing error report. but service ws-rtsp-proxy already can not running,

Can you help me analyze possible causes.
System version：ubuntu16-64amd

according to documentation need to write

service ws_rtsp start

I'm still having the same issue here. I downloaded rtsp-repo-1.3-all.deb and installed ws-rtsp-proxy 1.2-1.
When trying to write service ws_rtsp start, it shows Failed to start ws_rtsp.service: Unit ws_rtsp.service not found.
I think the ws-rtsp-proxy 1.2-1 package is still not complete. Also I can not find /etc/ws_rtsp.ini on my machine.
I'm running ubuntu 16.04 64bit version.

hello
Thank you for information I will see
21.06.2016 5:46, videoanalytica пишет:

I'm still having the same issue here. I downloaded
rtsp-repo-1.3-all.deb and installed ws-rtsp-proxy 1.2-1.
When trying to write service ws_rtsp start, it shows Failed to start
ws_rtsp.service: Unit ws_rtsp.service not found.
I think the ws-rtsp-proxy 1.2-1 package is still not complete. Also I
can not find /etc/ws_rtsp.ini on my machine.
I'm running ubuntu 16.04 64bit version.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SpecForge/html5_rtsp_player/issues/3#issuecomment-227292735,
or mute the thread
https://github.com/notifications/unsubscribe/AQqMKZPegW1LsdgHLaHjFXRiQk97Cteyks5qNxhKgaJpZM4IqUT6.

I am having the same problem as videoanalytica.
service ws_rtsp start
Failed to start ws_rtsp.service: Unit ws_rtsp.service not found.

if the service does not start - most likely something was not installed.
Could you say what's system do you use?
29.07.2016 9:45, Josh Ancill пишет:

I am having the same problem as videoanalytica.
|service ws_rtsp start|
|Failed to start ws_rtsp.service: Unit ws_rtsp.service not found.|
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SpecForge/html5_rtsp_player/issues/3#issuecomment-236081182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQqMKTwrsvpQCHtEUB6I3JL-2r3r-5KRks5qaWlbgaJpZM4IqUT6.

Ubuntu 16.04 64bit. Installed the rtsp-repo-1.3-all.deb package followed by an "apt install ws-rtsp-proxy"

I have put new version ws-rtsp-proxy to repo, try to install it. I hope
this problem's fixed.
29.07.2016 14:46, Josh Ancill пишет:

Ubuntu 16.04 64bit. Installed the rtsp-repo-1.3-all.deb package
followed by an "apt install ws-rtsp-proxy"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SpecForge/html5_rtsp_player/issues/3#issuecomment-236116503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQqMKUfuAf_jbGYnqbz99KLjHPn5G6Wjks5qaa_TgaJpZM4IqUT6.


fix(54463): Move to existing file — Error: Debug Failure. at doChange4

Fixes #54463
This issue is a regression - If the source file doesn't exist in the program, the refactoring should generate a new file. However, there is a scenario where the file exists but is not included in the list of program files.
@DanielRosenwasser I'm not certain if it is acceptable to parse the existing file and add changes to it.

We decided that cross-project moves won’t be supported for now. I think the refactor just shouldn’t be offered if the target source file exists but isn’t in the program.

@andrewbranch Is it necessary to provide a specific message for that particular case?

I think that would be good, but we might need to discuss what the message should be. The problem is that inferred projects only contain open files, so this feature is very limited for users with no tsconfig. They probably think of their project as all files in the open directory, but from TSServer’s point of view, the “project” is only the open files. So saying something like “Cannot move to file outside the current project” won’t make much sense to those users.


Add mail check at registration

Done
https://github.com/AlexeyOs/GoodCourses/tree/CHANGE_PASSWORD

Done
https://github.com/AlexeyOs/GoodCourses/tree/CHANGE_PASSWORD


Draft: Initial implementation of Elegant OTA with support for API server

This PR replaces the stock OTA implementation with Async ElegantOTA  one.
I've refactored how the OTA is bootstrapped as well as the API server, main changes include hoisting the AsyncWebServer out of the APISerwer class so that what the class does is inject its endpoints only

I've merged the main branch in (I did try to rebase instead but that turned out to be a mistake), fixed some typos, removed no longer needed ENABLE_OTA flag and gave it a test:

uploaded new firmware - worked like a charm
restarted the device via rebootDevice command - just to test if API works, worked perfectly
tested the streaming - just to make sure that it still could connect to wifi and stream - everything is fine

Looks like it's ready then, I'm gonna go ahead and merge it tomorrow!


[spi_device] Adding sck_ prefix

To clarify the signal clock domain, adding sck_ to the BUSY set and
broadcast signal.

is this mostly clean-up to clarify what domain each signal belongs to?

Yep. There will be a lot of cleanup PRs coming. I will do the BUSY to block passthrough, then a few bug fixes along with code cleanup.


added kick,ban,purge commands

Kick and purge should be role based, not permission based
No ban command
Add new commands to config.json
Merge conflicts. Check again


Enhancement: Style -> changing Fonts

The font selection should be revised to enhance the overall aesthetic appeal of the program.
An explanation how this could be done can be found here: https://www.youtube.com/watch?app=desktop&v=Lx-Xj1edhSQ

This can also resolve the low quality issue of the default font when it's upscaled.
Likely Font Data Embedded In Source Code is to be used for the project.

This can also resolve the low quality issue of the default font when it's upscaled. Likely Font Data Embedded In Source Code is a good choice for the project, if needed.

Thank you ! i'll take a look.

If you feel that you're up to the task, I'd be happy to entrust it to you. Would you be comfortable with that?@DanielNowak98


Tut / docs on how to build all the projects

I love to see a detailed paper on how to build the various components (.NET + React) into an 'install' asset. I also prefer VIDEO (YouTube). This would greatly empower the community. Please share your ideas ...

@kurtwilbies This is documented here: https://github.com/dnnsoftware/Dnn.Platform/blob/development/.github/BUILD.md
There is a SLIGHT change after last night, but the notes in that article will still work.
In the end it is a single command now.

We are also working next on improving the debug experience and will update the documentation when that improves, closing this issue for now since we already have that on our todo list.


multiple tmp notes??? no issues here !

hello,
ive been using your app for a while now thanks its great and so usefull.
i have got to the stage i would like 5 of these running.
i compiled my own and gave it a new name and logo and such but when i run it, it appears with the same txt as the other note currently open.
i supose i have to change the adress of where the data is stored,but cant find where it is in your code as im a bit new.
is there an easy fix to have multiple notes open say upto 5 would be wounderfull.
if you could help point me in the right direction of where or how your saving the txt id like to add a backup button
to push the txt to a file everynight so its empty in the morning.
regards

There is a function defaultTextFileURL in TmpNoteViewController.swift:597. You can as some kind of app id to fileName. So the first app would save notes to files like: app1_defaultContainer_1.txt, app1_defaultContainer_2.txt..., the second app: app2_defaultContainer_1.txt, etc.

I'm wandering what the use case you have. Maybe it would be more convenient to have more workspaces in one app?

ok i will have a look and try to compile another tonight thanks.
bassically i use them as difrent memory blocks when im working and its a mess if i use one,where as having a few of them i can switch between would be brilliant, i could have multiple notes in the same app,where i could use cmd+1 cmd+2 cmd+3 to access each note individually it would be perfect.
another thing i was looking for is a script to do a backup of the files every night or something.
anyway thanks for the tip ill have a look tonight.

There are 5 workspaces right now and you can switch between them with cmd+1...cmd+5. Or I didn't understand you correctly.
I will create a separate issue for the backup feature. It sounds useful.

Hello, I'm facing the problem that you've faced before is I can't use more than one slide cause it copies to the rest of them. how did you solve the problem


https://developer.mozilla.org/en-US/docs/Web/CSS/mask-clip

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

The example (Examples > Results) does not show in Firefox Dev Edition*, it is just a white field with a select box. Selecting other options doesn't change anything. Tried in Chrome, there is a green field with a purple border.
*Firefox 82.0b6; macOS
https://developer.mozilla.org/en-US/docs/Web/CSS/mask-clip#Result
Firefox

Chrome

@chrisdavidmills this is a CORS issue, that's why the image isn't loading. Is there somewhere else to load the image from?

@rachelandrew I'd create a new version of the example on GitHub, on the css-examples repo, and then embed it using the macro, like we did for the learning area and grid examples. That'd fix it.

I have created this in css-exmples, which also means I can include the -webkit prefixed versions as well, so this will work for Chrome browsers: https://wiki.developer.mozilla.org/en-US/docs/Web/CSS/mask-clip#Examples


MULE-16914: Adding 'deploying-to-multiple-environments' page

Changes:
-Improved wording, styling.
-New main doc title and subsections titles to match the conceptual information presented in the doc.
-Updated introduction paragraph.
-Basic Anatomy: Moved "Warning" message to the bottom of section.
-New section "Testing Configured Environment Properties in Studio"
-Reorganizing and adding subsections:
== Deploying Mule Apps using your Specific Environment Configurations
=== Setting a Specific Environment when Starting Mule On-Premises
==== Using the command line
==== Using Runtime Manager
=== Setting a Specific Environment when Deploying to CloudHub
==== Deploying to CloudHub from Studio
==== Deploying to CloudHub from Runtime Manager


Automated Package Upgrade

:tada: This PR is included in version 5.0.168 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


libldap.so.2: undefined symbol

Describe the bug
Hi, when I pdm install my pdm.lock file, I encounter the following error. I am able to resolve it by conda install openldap, but I'm wondering if there is a better solution (can we include ldap dependency or binaries in the unearth package)? Thank you!
Traceback (most recent call last):
  File ".venv/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/pdm/installers/synchronizers.py", line 286, in
install_candidate
    self.manager.install(can)
  File ".venv/lib/python3.11/site-packages/pdm/installers/manager.py", line 34, in install
    dist_info = installer(str(prepared.build()), self.environment, prepared.direct_url())
                              ^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 403, in build
    self.obtain(allow_all=False)
  File ".venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 458, in obtain
    self._unpack(validate_hashes=not allow_all)
  File ".venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 472, in _unpack
    result = finder.download_and_unpack(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/unearth/finder.py", line 413, in download_and_unpack
    file = unpack_link(
           ^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/unearth/preparer.py", line 311, in unpack_link
    backend.fetch(link, location)
  File ".venv/lib/python3.11/site-packages/unearth/vcs/base.py", line 152, in fetch
    return self.fetch_new(location, url, rev, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/unearth/vcs/git.py", line 50, in fetch_new
    self.run_command(
  File ".venv/lib/python3.11/site-packages/unearth/vcs/base.py", line 78, in run_command
    raise UnpackError(e.output) from None
unearth.errors.UnpackError: /usr/libexec/git-core/git-remote-https: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version

System:

unearth version: 0.14.0
Python version: 3.11.7
OS: Linux

It's not an issue of unearth, it is just invoking git to fetch the repository and git command fails due to the above reason.

Understood, thanks!


message displayed to users needs fixing in multi endpoints dialog in providers UI

This message is displayed to users in multiple endpoints dialog: (in containers provider in metrics endpoint)
"Used for gather Capacity and Utilization metrics."
It seems that the phrase in English needs improving. (used for gathering? used to gather?)
Also, capital letters in the middle of the sentence might need revising as well.

@hstastna please change this on master to say "Used to gather capacity and utilization metrics."  Thx, Dan

@dclarizio should it really contain small letters only? I am not sure yet what capacity and utilization metrics are but if it represents names of exact metrics we use I would use capital letters as it was. If it represents some general capacity and utilization metrics I would use small letters. But maybe I am wrong and not as good in English. I'm just trying to think little bit about the issue. Thx.

@abonas This was fixed by https://github.com/ManageIQ/manageiq/pull/10122
So we can close this issue.

@abonas is this issue still actual? Thanks.


Issue with custom UE 4.27 docker GUI error

Hi,
Thank you for your support for Unreal Engine Docker. I have written a custom docker for building UE4.27 (Linux + WSL2) as follows:
FROM nvidia/opengl:1.2-glvnd-runtime-ubuntu20.04
ENV DEBIAN_FRONTEND noninteractive
ARG UNREAL_USER=unreal
RUN apt-get update &&
apt-get install -y
build-essential
sudo
wget
libopenal-dev
libfreetype6-dev
libglfw3-dev
xdg-user-dirs
unzip
RUN useradd -ms /bin/bash $UNREAL_USER
WORKDIR /home/$UNREAL_USER
USER $UNREAL_USER
COPY UnrealEngine-4.27.tar.gz .
RUN tar -xzf UnrealEngine-4.27.tar.gz &&
rm UnrealEngine-4.27.tar.gz &&
cd UnrealEngine-4.27 &&
./Setup.sh &&
./GenerateProjectFiles.sh &&
make
WORKDIR /home/$UNREAL_USER/UnrealEngine-4.27
CMD ["./Engine/Binaries/Linux/UE4Editor"]
The Dockerfile builds but it does not open the UE4Editor in the GUI (in Xlaunch in Windows). I have received the following error:
[2023.05.19-23.41.04:787][  0]LogInit: Initializing SDL.
error: XDG_RUNTIME_DIR not set in the environment.
[2023.05.19-23.41.04:789][  0]LogInit: Warning: Could not initialize SDL: No available video device
[2023.05.19-23.41.04:790][  0]LogInit:  - Physical RAM available (not considering process quota): 32 GB (31934 MB, 32700736 KB,<PHONE_NUMBER>4 bytes)
[2023.05.19-23.41.04:790][  0]LogInit:  - VirtualMemoryAllocator pools will grow at scale 1.4
[2023.05.19-23.41.04:790][  0]LogInit:  - MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change)
[2023.05.19-23.41.04:804][  0]LogInit: Physics initialised using underlying interface: PhysX
[2023.05.19-23.41.04:819][  0]LogInit: Using OS detected language (en-US-POSIX).
[2023.05.19-23.41.04:819][  0]LogInit: Using OS detected locale (en-US-POSIX).
[2023.05.19-23.41.04:820][  0]LogTextLocalizationManager: No specific localization for 'en-US-POSIX' exists, so the 'en' localization will be used.
[2023.05.19-23.41.04:949][  0]LogInit: Initializing SDL.
error: XDG_RUNTIME_DIR not set in the environment.
[2023.05.19-23.41.04:951][  0]LogInit: Warning: Could not initialize SDL: No available video device
[2023.05.19-23.41.04:951][  0]LogInit: Warning: FLinuxSplashState::InitSplashResources() : InitSDL() failed, there will be no splash.
[2023.05.19-23.41.04:951][  0]LogInit: Initializing SDL.
error: XDG_RUNTIME_DIR not set in the environment.
[2023.05.19-23.41.04:953][  0]LogInit: Warning: Could not initialize SDL: No available video device
[2023.05.19-23.41.04:953][  0]LogInit: Error: FLinuxApplication::CreateLinuxApplication() : InitSDL() failed, cannot create application instance.
[2023.05.19-23.41.04:953][  0]LogCore: FUnixPlatformMisc::RequestExit(bForce=true, ReturnCode=1)
[2023.05.19-23.41.04:953][  0]LogCore: FUnixPlatformMisc::RequestExit(1)
Please help me and correct me!

There are multiple reasons why this is failing:

Unlike the Dockerfiles provided by ue4-docker, this custom Dockerfile does not install the required X11 and Vulkan runtime libraries, or configure the necessary NVIDIA driver capability environment variables, to facilitate interactive use of the Unreal Editor as described by the Linux Sandboxed Editor page of the Unreal Containers community hub documentation.

As discussed in this issue thread from the ue4-runtime repository, WSL2 does not currently expose the required Vulkan capabilities to run the Unreal Engine. So even when using the images provided by ue4-docker itself, the Editor will fail to run interactively under WSL2.

I'm going to close this issue, since custom Dockerfile code is outside the scope of ue4-docker's issue tracker.