text:
cordova-config 0.0.3

New Pull Request Checklist
close #1296
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[ ] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Hi @blackjid ,
thanks for the update, looks great to me. I will merge this step and close the old pr.

awesome!, this has been super helpful for us, I hope more people using cordova find it useful :)

Glad to hear and thank again for the PR @blackjid ;)

authors: blackjid godrei viktorbenei

repo: bitrise-io/bitrise-steplib


text:
xamarin-builder 1.3.4

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a minimal test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run stepman audit --step-yml ./step.yml (in the step's repository - note, stepman is part of the Bitrise CLI, you don't have to install it separately)
[x] I read and accept the Abandoned Step policy

LGTM ;)

source: gharchive/pull-request

authors: godrei viktorbenei

license: MIT

license_type: permissive

license_source: github-api


text:
Fix #164, changed memo type in decrypt from str to dict

Remade pr for develop branch

https://github.com/xeroc/python-graphenelib/commit/3188e2b2b578b703e9969ee17d8cfc40b5ad4c93

authors: Algruun xeroc

repo: bitshares/python-bitshares


text:
Not able to add attributes on tags

As you can see in the doc some tag needs attributes. For example, <Total currencyID="CurrencyCodeType"> AmountType (double) </Total>.
I tried to do this :
Ebayr::Request.new(:AddOrder, input: [{ Order: { CreatingUserRole: 'Buyer', 'Total' => 100 } }]).send
And I have this result :
{:xmlns=>"urn:ebay:apis:eBLBaseComponents",
 :timestamp=>"2016-04-04T19:49:15.014Z",
 :ack=>"Failure",
 :errors=>
  [{:short_message=>"No <Order.Total.CurrencyID> exists or <Order.Total.CurrencyID> is specified as an empty tag.",
    :long_message=>
     "No <Order.Total.CurrencyID> exists or <Order.Total.CurrencyID> is specified as an empty tag in the request.",
    :error_code=>"10009",
    :severity_code=>"Error",
    :error_parameters=>{:param_id=>"0", :value=>"Order.Total.CurrencyID"},
    :error_classification=>"RequestError"},
   {:short_message=>"No <Order.TransactionArray> exists or <Order.TransactionArray> is specified as an empty tag.",
    :long_message=>
     "No <Order.TransactionArray> exists or <Order.TransactionArray> is specified as an empty tag in the request.",
    :error_code=>"10009",
    :severity_code=>"Error",
    :error_parameters=>{:param_id=>"0", :value=>"Order.TransactionArray"},
    :error_classification=>"RequestError"}],
 :version=>"949",
 :build=>"E949_CORE_API_17895653_R1"}

By reading the code, at this line, is see there is no way to do. I propose to do a Pull Request with a format like :
Ebayr::Request.new(:AddOrder, input: [{ Order: { CreatingUserRole: 'Buyer', 'Total' => { value : 100, attr: { CurrencyID: 'EUR' } } }]).send
What you think ?

Looks like a good idea to me, @GCorbel . If the Travis CI build passes, then I'm happy to accept.

I don't why it doesn't pass. I have this weird error message : An error occurred while installing rake (11.1.2), and Bundler cannot continue.. Maybe a rebuild will work  but I can't do it.

Hi @bjjb look like the changes are not related since its errors with old Rubies:

Gem::InstallError: rake requires Ruby version >= 1.9.3., cf https://travis-ci.org/bjjb/ebayr/jobs/120736828#L191
NoMethodError: undefined method spec' for nil:NilClass`, cf https://travis-ci.org/bjjb/ebayr/jobs/120736827#L177

Are you interested in a PR fixing that ?

Hmm, I wonder how many people are using 1.8? Maybe there's stats available from Rubygems. If you want to remind me later in the week, I can look into it. And if the usage is negligible (I recently retired a ruby 1.8 ebayr project), then I'd be happy to only support >= 1.9.3. It would need a post-install message and a new minor version.

Support for 1.8 is over for a long time now and 1.9 also but still largely used (https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/)

@spk Sure, I'd welcome a PR.

Hi @bjjb all green on #27 !

source: gharchive/issue

authors: GCorbel bjjb spk

repo: bjjb/ebayr

license: mit

license_source: bigquery


text:
Stoichiometry with substances on both sides

Hi,
I would like to calculate the stoichiometry of reactions like the one bellow:
reac, prod = balance_stoichiometry({'H4P2O7', 'HPO3', 'H2O'}, {'H4P2O7', 'HPO3'})
Answer would be:
H4P2O7 + 4 HPO3 + H2O <-> 2 H4P2O7 + 2 HPO3
OR
2 HPO3 + H2O = H4P2O7
Any idea on how this would be performed? At the moment I receive an error: "Stoichiometry with substances on both sides".

It should be possible to devise an algorithm which comes up with the second solution (which looks preferable to me in the sense that it is arguably more "canoncial"). There is however no such algorithm implemented at the moment.

I would start considering small examples using "pen and paper" first. And solve a bunch of those to develop test cases and get an intuition.
C + CO + CO2 -> C + CO + CO2  # should fail
C + CO + CO2 -> C + CO        # suggested solution:  C +      CO2 ->     2CO
C + CO + CO2 -> C +      CO2  # suggested solution:      2CO      -> C +      CO2
C + CO + CO2 ->     CO + CO2  # suggested solution:  C +      CO2 ->     2CO
C + CO       -> C + CO + CO2  # suggested solution:      2CO      -> C +      CO2
C +      CO2 -> C + CO + CO2  # suggested solution:  C +      CO2 ->     2CO
    CO + CO2 -> C + CO + CO2  # suggested solution:      2CO      -> C +      CO2

here's a start. Does those solutions look like the canonical ones to you?
I think I can throw together a naïve implementation using brute force.

Hi Björn.
Yes, this is exactly the kind of solution I'm looking for. I'm not having much success in implementing a code to replicate these results. Thank you.

@rcolpo I released chempy-0.7.6 with this feature. Make sure you pass underdtermined=None as well as allow_duplicates=True.

You are the best. Thank you so much. This will be very useful.

I will most certainly do it. Thank you so much.

Hi bjodah,
I receive an error (Failed to remove duplicate keys: ['Mn1']) with the following command:
balance_stoichiometry({'H2O2', 'Mn1', 'H1'}, {'Mn1', 'H2O1'}, allow_duplicates=True, underdetermined=None)
Solution should be:
2 H2O1 = H2O2 + 2 H1
Do you know what the problem is?
Thank you.

I see, here's one possible remedy:
https://github.com/bjodah/chempy/pull/126
Please take a look at the tests and see if you agree on my choice of expected results.

Thank you so much. This is really helped!

Hi bjodah,
Do you think it's also possible to check if a given reaction is already stoichiometrically balanced? (or whether a stoichiometric solution is correct?)
I'm asking this because every reaction has multiple possible stoichiometric solutions, and I would like to test if a suggested solution is valid before trying to find another solution (of course, with repeated metabolites in both sides).
Thank you.

Sure, ReactionSystem checks for imbalance by default:
>>> ReactionSystem([Reaction({'H2O': 1}, {'H2': 1, 'O2': 1})],
...     substances=[Substance.from_formula(f) for f in 'H2O H2 O2'.split()])
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-4-82729cf4de88> in <module>()
----> 1 ReactionSystem([Reaction({'H2O': 1}, {'H2': 1, 'O2': 1})], substances=[Substance.from_formula(f) for f in 'H2O H2 O2'.split()])

~/vc/chempy/chempy/reactionsystem.py in __init__(self, rxns, substances, name, checks, substance_factory, missing_substances_from_keys, sort_substances)
    102
    103         for check in (self.default_checks if checks is None else checks):
--> 104             getattr(self, 'check_'+check)(throw=True)
    105
    106         if sort_substances:

~/vc/chempy/chempy/reactionsystem.py in check_balance(self, strict, throw)
    308                     if throw:
    309                         raise ValueError("Composition violation (%s: %s) in %s" %
--> 310                                          (k, net, rxn.string(with_param=False)))
    311                     else:
    312                         return False

ValueError: Composition violation (8: 1) in H2O -> H2 + O2

(Any improvements to the documentation or the README is of course most welcome)

authors: bjodah rcolpo

repo: bjodah/chempy


text:
Please support non-2^N SIMD lane counts

The silicon that supports these more or less directly:
GPUs handle Vec3s (f32x3 typically) all the time already.
Arm SVE supports 384-bit width vector registers and is available Soon™.
RISCVV will eventually exist and support arbitrary-width vectors, somewhere, over the rainbow:rainbow: someday:musical_note:...
LLVM's approach for handling these when only fixed width vector registers are available to compile to was, as far as I could tell, and as described by the author of the vek crate, an approach similar to the one GPUs use: use 128-bit registers just fine but politely ignore the unspecified lanes when the "Vec3" types are loaded and stored.
Also the https://github.com/WebAssembly/flexible-vectors/ proposal exists, though is currently in a fairly nascent state. Still, another point to this being a long-term desirable even if it's not immediately needed.

Libre-SOC is planning on adding cranelift support for SimpleV, our vectors extension for OpenPower, it supports all vector lengths from 1 to 64, including non-power-of-2 lengths. It also supports dynamically variable vector lengths.

authors: programmerjake workingjubilee


text:
CreateThread/ExitThread should be changed to _beginthreadex/_endthreadex (in thread.cpp)

From MSDN:
A thread in an executable that calls the C run-time library (CRT) should use the _beginthreadex and _endthreadex functions for thread management rather than CreateThread and ExitThread; this requires the use of the multithreaded version of the CRT. If a thread created using CreateThread calls the CRT, the CRT may terminate the process in low-memory conditions.

Is there a bug or this is just hypothetical? bgfx doesn't use CRT at all.

It includes it for alloca functionality, but not for the rest of CRT. CRT provided by compiler is not used by bgfx.
Again, is there a bug or this is just hypothetical?

It's not a bug if you arent using the CRT.  Another thing to consider is if your users are using it.

In that case bgfx allows them to control thread creation.

authors: bkaradzic ebudai

repo: bkaradzic/bgfx


text:
Fix undefined behaviour. Prevent arithmetic on NULL pointer

Hit undefined behaviour using a sanitizer. When b->first is NULL it's technically undefined behaviour to do arithmetic on it. One alternative would be to cast to uintptr_t and manually do pointer arithmetic.

You should report it to @mendsley here: https://github.com/mendsley/tinystl
This looks like non-issue to me.

Sure thing. I'd normally not worry about this sort of thing when it has no effect in practice, but as it is it means you can't use clang's undefined behaviour sanitizer.

but as it is it means you can't use clang's undefined behaviour sanitizer.

Does it have some kind of annotation to disable warnings around that code?

Yeah you could mark the function with __attribute__((no_sanitize("undefined"))) but I think it would be better to just fix the undefined behaviour.

authors: LakeByTheWoods bkaradzic

repo: bkaradzic/bx


text:
🛑 Plex is down

In 11aee39, Plex ($PLEX_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Plex is back up in 3a1e9b6.


text:
nominatim.py:23: Перенести классы в отдельные файлы 1

The puzzle 899-fdc9bbb7 from #899 has to be resolved:
https://github.com/blablatdinov/tg-quranbot/blob/260cc06a13492fcee07f8556219cc658dab0f0ae/src/integrations/nominatim.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 20-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 899-fdc9bbb7 has disappeared from the source code, that's why I closed this issue.

repo: blablatdinov/tg-quranbot


text:
[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: blackflux/promise-pool-ext


text:
[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
[Question] How to get/show direct download link with chosen format

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

How can I get/show direct download link with chosen format?
For example, if I use -F flag for showing all available formats
$ youtube-dlc -F https://www.facebook.com/honganhaoethaibinh/videos/360047792009932/
[facebook] 360047792009932: Downloading webpage
[facebook] 360047792009932: Downloading webpage
[facebook] 360047792009932: Downloading webpage
[info] Available formats for 360047792009932:
format code        extension  resolution note
2027693547365426a  m4a        audio only DASH audio   65k , m4a_dash container, mp4a.40.5 (48000Hz)
382022583207050v   mp4        256x144    DASH video   95k , mp4_dash container, avc1.64000C, video only
2778615029127443v  mp4        426x240    DASH video  231k , mp4_dash container, avc1.640015, video only
348238873165100v   mp4        640x360    DASH video  452k , mp4_dash container, avc1.64001E, video only
891567584710964v   mp4        854x480    DASH video  824k , mp4_dash container, avc1.64001F, video only
841507080009330v   mp4        1280x720   DASH video 1574k , mp4_dash container, avc1.640020, video only
1060163121084435v  mp4        1920x1080  DASH video 2659k , mp4_dash container, avc1.640032, video only
dash_sd_src        mp4        unknown    (best)

then I want to download and show direct link for 1060163121084435v video and 2027693547365426a audio. How can I get this direct link?
Thank you.

Sorry. I have figured out. There is option -g to show direct link.
Close this issue.

Facebook videos work? I thought some people mentioned it is broken 😕

@blackjack4494 it works well. I haven't tested full yet, but the public fan page video link is fine.

license: Unlicense


text:
Reporting Problem 3

Cannock - info does not appear on the graphs. Have requested usual info.

Could have been fixed in commit 9c17b6bdc7f45fe1825b2aa40e5a1f8cbf9c6145
Could you check with the user please @PeteCollins ?

authors: PeteCollins joejcollins

repo: blackradley/nesscliffe


text:
Dataview do not update results

What happened?
Dataview does not update query results. For example: I have several notes about books I read. There is the "read" property as boolean on all notes. I run the following command:
dataview                   TABLE read as "Read" FROM "Books"                  SORT title
and Dataview shows the correct result. Then I change the "read" property of one of the notes, changing it from true to false. When I re-execute the same command, Dataview does not update the results. It continues to show the results before the change I made. I don't know how to solve this problem. Need help.
DQL
TABLE read as "Read" FROM "Books"
SORT title

JS
No response
Dataview Version
0.5.66
Obsidian Version
1.5.12
OS
MacOS

For quite a few versions there has been an issue related to caching of results which can be handled in various ways:

Re-open the note with the query in it
Using the navigator arrows and go back, and then forward again in page history
Actually change the query, which could be as little as adding or removing a space within the query
Trigger the Dataview: Rebuild current view from the Command Palette

All of these variants has the net effect of rebuilding the query, where it then should use the last values available.

authors: Mcezarf holroy

repo: blacksmithgu/obsidian-dataview


text:
Cannot use URL created for filename returned by SwiftStorage._save()

The issue is that the filename returned by SwiftStorage._save (and others) contains the path prefix. However, when going to open those files or create URLs for those files, the path prefix gets re-prepended. My suggestion is to replace areas where we have
if self.name_prefix:
    name = self.name_prefix + name

with
if self.name_prefix and not name.startswith(self.name_prefix):
    name = self.name_prefix + name

This will preserve current behavior in most cases, but prevent us from doubling up on the name prefix.
If that sounds good, I can submit a PR later today.

Sounds good to me! 👍🏻

On 15 Aug 2016, at 13:04, Jesse Shapiro notifications@github.com wrote:
The issue is that the filename returned by SwiftStorage._save (and others) contains the path prefix. However, when going to open those files or create URLs for those files, the path prefix gets re-prepended. My suggestion is to replace areas where we have
if self.name_prefix:
name = self.name_prefix + name
with
if self.name_prefix and not name.startswith(self.name_prefix):
name = self.name_prefix + name
This will preserve current behavior in most cases, but prevent us from doubling up on the name prefix.
If that sounds good, I can submit a PR later today.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

After some internal discussion, we think the better way might be for django-storage-swift to simply return filenames with the prefix omitted. This wouldn't solve for existing cases, but would solve the problem going forward and have more predictable behavior. I'm updating my PR to do that.

authors: blacktorn haikuginger

repo: blacktorn/django-storage-swift


text:
[Bug]Fridge Item Rendering Issue

There's an old issue about this #303, but its marked as “more information needed” and theres no activity since.
This issue will just act as a reminder as the devs already know the details.
It shouldn’t be a big problem if there wasn't an item display feature, but it's disturbing when you open a filled fridge only find out it looks empty.
Please work on this asap, thanks in advance.

Its best to just comment on the other issue, now you are making another "ticket" for an issue that is already open.
Just comment there and post your findings, how did it happen? Can you take pictures or are they the same as already posted, does this issue only occur in the ocean biome like the other user already said?

Ok then, just thought

authors: SYDoukou Skydragonsz


text:
Relay executor inputs/outputs to far-away node

The executor speaks directly to worker nodes.  For minimal latency it's nice to have this run directly on the computation network.  However users are likely to want to run things from their local machines.  This is problematic both for latency issues and also for network permissions issues, often only the head node is publicly visible.
So we should have some mechanism to relay all communications from a client machine to a remote Executor.
All communication is already well separated through Queues.  Doing this well probably just requires us to reroute those queues to communication streams.
cc @seibert

This is no longer the case.  The Executor speaks to the Scheduler which speaks to the Workers.  The Executor-Scheduler connection is the only one likely to be inter-network.

repo: blaze/distributed


text:
endless scroll

Can i implement endless scroll for using this picker ?
Example -- > If i have three item in array, after selecting last one i should be able to see the first item after the 3rd one.

I think it wouldn't be to hard to do. I will be happy to accept pull request if you do it.

Hi, have you been able to implement this feature ?

I need this feature too, but unfortunately I have no idea how to implement it.
@blazsolar can you give some ideas?

I'll try to look into it in the coming days.

Thank you! :+1:

i didn't forget about you guys. Some progress was made regarding this issue today. It is not done yet but we are getting there. Current state is available in feature/infinateScroll branch.

2.0.0-SNAPSHOT version was released today that includes functionality. Feedback is welcome. :smile:

Thanx buddy :) good effort .
Best Regards,
Vimal Joy
+91 9633255821
On Mon, Feb 22, 2016 at 1:42 PM -0800, "Blaž Šolar" notifications@github.com wrote:
2.0.0-SNAPSHOT version was released today that includes functionality. Feedback is welcome. :smile:

Reply to this email directly or view it on GitHub:
https://github.com/blazsolar/HorizontalPicker/issues/20#issuecomment-187399414

this is my screen capture in my app
in this image infinatescroll does not showing number 6,7
http://s16.postimg.org/5kmxvjo2t/Capture.png
in this picture after scrolling to 7...number 1,2 are showing but not scrolling to 3,4 and so on
http://s29.postimg.org/ajpm7fzvb/Capture1.png

@meeftah thanks for report. There are still issue when there are more than 3 items on screen. Will try to find time to look into it ASAP.

authors: JeffIden blazsolar devslava meeftah vimaljoym

repo: blazsolar/HorizontalPicker


text:
refactor: change connect wallet texts to english

Refactor Request
Describe the Refactor Request
The connect wallet feature is in full Portuguese language.
Definition of Done:

Change the following texts from Portuguese into the English language.

Describe Preferred Solution
Use an AI to translate the texts. High recommend Deepl. Then verify if it looks right.

@0xneves The "connect wallet" feature appears to be operating in the same language set by the user's system preferences.

We're using a library for that feature. If it is still a problem, we can do some research to see if it's possible to set the language to be always english

repo: blockful-io/swaplace-dapp


text:
deserializeCV does not work due to bad SmartBuffer construction

Describe the bug
When calling deserializeCV or callReadOnlyFunction the following error occurs:
 TypeError: Class constructor SmartBuffer cannot be invoked without 'new'
      at new BufferReader (node_modules/@stacks/transactions/src/bufferReader.ts:52:7)
      at deserializeCV (node_modules/@stacks/transactions/src/clarity/deserialize.ts:24:50)

What version of Blockstack.js are you using?
@stacks/transactions 1.0.0-beta.9
Expected behavior
Just return the correct cv
Additional context
https://github.com/friedger/clarity-demo/blob/ecaeb4e61986c8e0386708cf722980d83af93bf9/scripts/deploy.ts#L66

Looks like some typescript transpiler issue: https://stackoverflow.com/questions/51860043/javascript-es6-typeerror-class-constructor-client-cannot-be-invoked-without-ne

Yes, there's a fix for this coming soon. BufferReader will no longer extend SmartBuffer

authors: friedger yknl


text:
GitHub Issues feature missing on repositories

When viewing repositories in the bloggrify GitHub organisation some have the GitHub Issues feature disabled. This prevents issues be filed in the correct place.
Example

bloggrify/bloggrify-mistral
bloggrify/demo-mistral

Potential Fix
Enable the feature GitHub Issues in the repositories settings.

Hi
To be honest, it was done on purpose. But you're right, it's not convenient.
It's enabled again

authors: IO-Fire hlassiege

repo: bloggrify/bloggrify


text:
🛑 Maxthon API is down

In 0f1dfcc, Maxthon API (https://api.maxthon.com) was down:

HTTP code: 500
Response time: 399 ms

Resolved: Maxthon API is back up in b3145ed after 7 minutes.

repo: bloodchen/upptime


text:
🛑 Maxthon API is down

In 7a0e75c, Maxthon API (https://api.maxthon.com) was down:

HTTP code: 500
Response time: 198 ms

Resolved: Maxthon API is back up in c434a6e after 24 minutes.


text:
Help case sensitivity

With mixed case files (some capitalized, some not), the help can come out in the wrong order.

False alarm - I misnamed some files :)

repo: blthayer/disquip-bot


text:
Minimal python version to 3.6

The py2 builds are currently flaky and the last release failed because of it. I suggest to drop py2 now and release a 4.0 version instead of fixing the old build.
Code changes where mostly grepping for py2 but there might be additional dead compat code somewhere.
Closes #253
Closes #259
Fixes #261

Either the mark or one of the test_has_arrow_support_fails and test_has_arrow_support_succeeds is unnecessary. Similarly with numpy.
from turbodbc.cursor import _has_arrow_support

import pytest

# Skip all parquet tests if we can't import pyarrow.parquet
pytest.importorskip('pyarrow')

# Ignore these with pytest ... -m 'not parquet'
pyarrow = pytest.mark.pyarrow

@pyarrow
def test_has_arrow_support_fails():
    assert _has_arrow_support() == False

@pyarrow
def test_has_arrow_support_succeeds():
    assert _has_arrow_support() == True

Ok, the issues I've seen in py2 also propagate further to other python versions
 E     Referenced from: /usr/local/opt/boost/lib/libboost_locale-mt.dylib
47513: E     Reason: image not found

I created https://github.com/blue-yonder/turbodbc/issues/261 to track this

Thanks @fjetter & @xhochy! 🚀

authors: alippai dhirschfeld fjetter

repo: blue-yonder/turbodbc


text:
Add alternative mirrors

I don't know any other mirrors that always serve maps with video. chimu.moe is fast, but only returns video sometimes. kitsu.moe only returns videos within the US.

The downloads seem to be stopping partway through, or even returning corrupted results?

catboy.best is back up, but I should still find an alternative in case it goes down again.


text:
Resiliency over anonymous Tor Network (auto-retry & auto-resume)

Hi,
at GlobaLeaks.org we have been using the jQuery-File-Upload over Tor Hidden Services anonymous network http://torproject.org .
The Tor HS network can have:

Unexpected disconnection during file transfer
Failure in connection attempt (going in timeout)

That means that most upload done via jQuery-File-Upload fail due to it's inability to handle:

Automatic Reconnection Attempt (if a connection timeout while connecting, retry automatically X times with a configurable Y connection timeout)
Automatic Resume (if a connection die, automatically attempt to resume the upload)

We would like to see such kind of features implemented in jQuery-File-Upload and/or some direction on how to implement such kind of features.
This would make the jQuery-File-Upload resilient over bad network conditions, such as the one you may encounter into the Tor Darknet.

The section "Resuming file uploads" in the Chunked File Uploads documentation should give you a general idea.
e.g. the following code would submit the remaining bytes after a file upload error occurs (other than abort):
$('#fileupload').fileupload({
    maxChunkSize: 1000000, // 1 MB
    multipart: false, // required for Mozilla Firefox versions < 7
    add: function (e, data) {
        var that = this;
        $.getJSON('upload.php', {file: data.files[0].name}, function (file) {
            data.uploadedBytes = file && file.size;
            $.blueimpUI.fileupload.prototype
                .options.add.call(that, e, data);
        });
    },
    fail: function (e, data) {
        var that = this;
        if (data.errorThrown !== 'abort') {
            $.getJSON('upload.php', {file: data.files[0].name}, function (file) {
                data.uploadedBytes = file && file.size;
                data.submit();
            });
        }
    }
});

However, depending on the timeout and probably the server setting, file upload requests can usually survive short network failures without any error handling code as the snippet above.
You can test it yourself on the demo.
If you cut your network connection while uploading the request should stay in pending state and will continue the upload process after the network connection has been reestablished.
At least it worked that way in my tests with the demo and Google Chrome.

Would it also possible to detect if a transfer get stalled, and in that case act by shutting down the chunk upload, and resuming it?

authors: blueimp fpietrosanti

repo: blueimp/jQuery-File-Upload


text:
RTSP Ondemand Proxy - Regression from 1.0.0 to 1.0.1+

Which version are you using?
v1.0.3 (issue starts with v1.0.1)
Which operating system are you using?

[x ] Linux amd64 standard

Describe the issue
I have a fairly simple setup with some wyze cameras flashed with rtsp (wz_hacks) that mediamtx is a rtsp proxy server ondemand to clients (android tinycam). Wyze RTSP feeds are secured with basic user/pass authentication. No authentication on rtsp proxy output side.
Within a minute of starting the stream, the rtsp server seems to drop the stream and restart it; leading to a dropped video. Rolling back to v1.0.0 fixes the issue.
Describe how to replicate the issue

start the server (v1.0.1+) with rtsp ondemand proxy pointing to wyze camera rtsp feed
publish with proxy path
read proxy path with android rtsp (tinycam)
watch stream for little while, stream will drop out

Did you attach the server logs?
yes
Here is a IP cleaned log of v.1.0.1 from the time the stream started to when I closed it at the end.
2023/09/05 19:34:43 DEB [RTSP] [conn xxx.94:46618] [c->s] GET_PARAMETER rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 5
Session: e2e6f29d30ff4069aeb6722684291891
User-Agent: Live555

2023/09/05 19:34:43 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 5
Content-Type: text/parameters
Server: gortsplib
Session: e2e6f29d30ff4069aeb6722684291891

2023/09/05 19:35:01 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 7
Session: 00133631
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 8
Session: 00133631
User-Agent: gortsplib

2023/09/05 19:35:11 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 19:35:11 INF [RTSP] [conn xxx.94:46618] closed (terminated)
2023/09/05 19:35:11 INF [RTSP] [session 5e4e4190] destroyed (terminated)
2023/09/05 19:35:11 INF [RTSP] [conn xxx.94:46640] opened
2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [c->s] OPTIONS rtsp://xxx.12:8554/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib

2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [c->s] DESCRIBE rtsp://xxx.12:8554/xxx-crib RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: Live555

2023/09/05 19:35:11 INF [path xxx-crib] [RTSP source] started
2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] connecting
2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
CSeq: 1
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Basic realm="go2rtc"

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 2
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s DESCRIBE rtsp://xxx.104:8554/1080p RTSP/1.0
Accept: application/sdp
Authorization: Basic removed
CSeq: 3
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 3
Content-Length: 236
Content-Type: application/sdp

v=0
o=- 1 1 IN IP4 0.0.0.0
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 PCML/16000
a=control:trackID=1

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=0 RTSP/1.0
Authorization: Basic removed
CSeq: 4
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 4
Session: 45701311;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=1 RTSP/1.0
Authorization: Basic removed
CSeq: 5
Session: 45701311
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;mode=play
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 5
Session: 63948645;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://xxx.12:8554/xxx-crib/
Content-Length: 306
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 0 RTP/AVP 97
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=1
a=rtpmap:97 PCML/16000

2023/09/05 19:35:12 INF [path xxx-crib] [RTSP source] ready: 2 tracks (H264, Generic)
2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] c->s PLAY rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 6
Range: npt=0-
Session: 63948645
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 6
Session: 63948645

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [c->s] SETUP rtsp://xxx.12:8554/xxx-crib/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: Live555

2023/09/05 19:35:12 INF [RTSP] [session d3938ec3] created by xxx.94:46640
2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 3
Server: gortsplib
Session: 9e5f6c4dfcc64d6485e83d144eded89e
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=99BEB6C2

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [c->s] PLAY rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 4
Range: npt=0.000-
Session: 9e5f6c4dfcc64d6485e83d144eded89e
User-Agent: Live555

2023/09/05 19:35:12 INF [RTSP] [session d3938ec3] is reading from path 'xxx-crib', with TCP, 1 track (H264)
2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 4
RTP-Info: url=rtsp://xxx.12:8554/xxx-crib/trackID=0;seq=2140;rtptime=580324895
Server: gortsplib
Session: 9e5f6c4dfcc64d6485e83d144eded89e

2023/09/05 19:35:13 WAR [path xxx-crib] [RTSP source] 24 RTP packets lost
2023/09/05 19:35:19 DEB [RTSP] [conn xxx.94:46640] [c->s] TEARDOWN rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 5
Session: 9e5f6c4dfcc64d6485e83d144eded89e
User-Agent: Live555

2023/09/05 19:35:19 INF [RTSP] [session d3938ec3] destroyed (torn down by xxx.94:46640)
2023/09/05 19:35:19 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 5
Server: gortsplib

2023/09/05 19:35:19 INF [RTSP] [conn xxx.94:46640] closed (EOF)
2023/09/05 19:35:29 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 19:35:29 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 7
Session: 63948645
User-Agent: gortsplib

in v1.0.1 I see a similar TEARDOWN event before the OPTIONS
2023/09/05 23:16:39 DEB [RTSP] [conn xxx:46836] [s->c] RTSP/1.0 200 OK
CSeq: 5
Content-Type: text/parameters
Server: gortsplib
Session: 4c9e887f382447b18376730ce904ce5e

2023/09/05 23:16:57 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 7
Session: 59730328
User-Agent: gortsplib

2023/09/05 23:17:07 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx:8554/1080p RTSP/1.0
Authorization: Basic removed
CSeq: 8
Session: 59730328
User-Agent: gortsplib

2023/09/05 23:17:07 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 23:17:07 INF [RTSP] [conn xxx:46836] closed (terminated)
2023/09/05 23:17:07 INF [RTSP] [session 1b346072] destroyed (terminated)
2023/09/05 23:17:07 INF [RTSP] [conn xxx:46846] opened
2023/09/05 23:17:07 DEB [RTSP] [conn xxx:46846] [c->s] OPTIONS rtsp://xxx/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

In v1.0.0 I don't see this TEARDOWN event, not sure if this is the result of another error but there's nothing else in the log.
Did you attach a network dump?
no

Hello, the log you posted are not enough to identify the issue since they start from a point in time when the stream was already running. Please attach a log that contains lines from the moment the server is started to the moment the issue occurs.

I masked the IP subnet and the authentication value but not sure if that is necessary. The stream has issues at
2023/09/05 19:35:11
2023/09/05 19:34:03 INF MediaMTX v1.0.3
2023/09/05 19:34:03 DEB [path xxx-crib] created
2023/09/05 19:34:03 DEB path manager created
2023/09/05 19:34:03 INF [RTSP] listener opened on :8554 (TCP)
2023/09/05 19:34:03 INF [RTMP] listener opened on :1935
2023/09/05 19:34:03 INF [HLS] listener opened on :8888
2023/09/05 19:34:03 INF [WebRTC] listener opened on :8889 (HTTP)
2023/09/05 19:34:03 INF [SRT] listener opened on :8890 (UDP)
2023/09/05 19:34:12 INF [RTSP] [conn xxx.94:46618] opened
2023/09/05 19:34:12 DEB [RTSP] [conn xxx.94:46618] [c->s] OPTIONS rtsp://xxx.12:8554/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

2023/09/05 19:34:12 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib

2023/09/05 19:34:12 DEB [RTSP] [conn xxx.94:46618] [c->s] DESCRIBE rtsp://xxx.12:8554/xxx-crib RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: Live555

2023/09/05 19:34:12 INF [path xxx-crib] [RTSP source] started
2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] connecting
2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
CSeq: 1
User-Agent: gortsplib

2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Basic realm="go2rtc"

2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 2
User-Agent: gortsplib

2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD

2023/09/05 19:34:12 DEB [path xxx-crib] [RTSP source] c->s DESCRIBE rtsp://xxx.104:8554/1080p RTSP/1.0
Accept: application/sdp
Authorization: Basic xxx
CSeq: 3
User-Agent: gortsplib

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 3
Content-Length: 236
Content-Type: application/sdp

v=0
o=- 1 1 IN IP4 0.0.0.0
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 PCML/16000
a=control:trackID=1

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=0 RTSP/1.0
Authorization: Basic xxx
CSeq: 4
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
User-Agent: gortsplib

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 4
Session: 35042212;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=1 RTSP/1.0
Authorization: Basic xxx
CSeq: 5
Session: 35042212
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;mode=play
User-Agent: gortsplib

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 5
Session: 00133631;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

2023/09/05 19:34:13 INF [path xxx-crib] [RTSP source] ready: 2 tracks (H264, Generic)
2023/09/05 19:34:13 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://xxx.12:8554/xxx-crib/
Content-Length: 306
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 0 RTP/AVP 97
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=1
a=rtpmap:97 PCML/16000

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] c->s PLAY rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 6
Range: npt=0-
Session: 00133631
User-Agent: gortsplib

2023/09/05 19:34:13 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 6
Session: 00133631

2023/09/05 19:34:13 DEB [RTSP] [conn xxx.94:46618] [c->s] SETUP rtsp://xxx.12:8554/xxx-crib/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: Live555

2023/09/05 19:34:13 INF [RTSP] [session 5e4e4190] created by xxx.94:46618
2023/09/05 19:34:13 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 3
Server: gortsplib
Session: e2e6f29d30ff4069aeb6722684291891
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:34:13 DEB [RTSP] [conn xxx.94:46618] [c->s] PLAY rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 4
Range: npt=0.000-
Session: e2e6f29d30ff4069aeb6722684291891
User-Agent: Live555

2023/09/05 19:34:13 INF [RTSP] [session 5e4e4190] is reading from path 'xxx-crib', with TCP, 1 track (H264)
2023/09/05 19:34:13 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 4
Server: gortsplib
Session: e2e6f29d30ff4069aeb6722684291891

2023/09/05 19:34:43 DEB [RTSP] [conn xxx.94:46618] [c->s] GET_PARAMETER rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 5
Session: e2e6f29d30ff4069aeb6722684291891
User-Agent: Live555

2023/09/05 19:34:43 DEB [RTSP] [conn xxx.94:46618] [s->c] RTSP/1.0 200 OK
CSeq: 5
Content-Type: text/parameters
Server: gortsplib
Session: e2e6f29d30ff4069aeb6722684291891

2023/09/05 19:35:01 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 7
Session: 00133631
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 8
Session: 00133631
User-Agent: gortsplib

2023/09/05 19:35:11 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 19:35:11 INF [RTSP] [conn xxx.94:46618] closed (terminated)
2023/09/05 19:35:11 INF [RTSP] [session 5e4e4190] destroyed (terminated)
2023/09/05 19:35:11 INF [RTSP] [conn xxx.94:46640] opened
2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [c->s] OPTIONS rtsp://xxx.12:8554/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib

2023/09/05 19:35:11 DEB [RTSP] [conn xxx.94:46640] [c->s] DESCRIBE rtsp://xxx.12:8554/xxx-crib RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: Live555

2023/09/05 19:35:11 INF [path xxx-crib] [RTSP source] started
2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] connecting
2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
CSeq: 1
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Basic realm="go2rtc"

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 2
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s DESCRIBE rtsp://xxx.104:8554/1080p RTSP/1.0
Accept: application/sdp
Authorization: Basic xxx
CSeq: 3
User-Agent: gortsplib

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 3
Content-Length: 236
Content-Type: application/sdp

v=0
o=- 1 1 IN IP4 0.0.0.0
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 PCML/16000
a=control:trackID=1

2023/09/05 19:35:11 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=0 RTSP/1.0
Authorization: Basic xxx
CSeq: 4
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 4
Session: 45701311;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=1 RTSP/1.0
Authorization: Basic xxx
CSeq: 5
Session: 45701311
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;mode=play
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 5
Session: 63948645;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://xxx.12:8554/xxx-crib/
Content-Length: 306
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 0 RTP/AVP 97
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=1
a=rtpmap:97 PCML/16000

2023/09/05 19:35:12 INF [path xxx-crib] [RTSP source] ready: 2 tracks (H264, Generic)
2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] c->s PLAY rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 6
Range: npt=0-
Session: 63948645
User-Agent: gortsplib

2023/09/05 19:35:12 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 6
Session: 63948645

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [c->s] SETUP rtsp://xxx.12:8554/xxx-crib/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: Live555

2023/09/05 19:35:12 INF [RTSP] [session d3938ec3] created by xxx.94:46640
2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 3
Server: gortsplib
Session: 9e5f6c4dfcc64d6485e83d144eded89e
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=99BEB6C2

2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [c->s] PLAY rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 4
Range: npt=0.000-
Session: 9e5f6c4dfcc64d6485e83d144eded89e
User-Agent: Live555

2023/09/05 19:35:12 INF [RTSP] [session d3938ec3] is reading from path 'xxx-crib', with TCP, 1 track (H264)
2023/09/05 19:35:12 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 4
RTP-Info: url=rtsp://xxx.12:8554/xxx-crib/trackID=0;seq=2140;rtptime=580324895
Server: gortsplib
Session: 9e5f6c4dfcc64d6485e83d144eded89e

2023/09/05 19:35:13 WAR [path xxx-crib] [RTSP source] 24 RTP packets lost
2023/09/05 19:35:19 DEB [RTSP] [conn xxx.94:46640] [c->s] TEARDOWN rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 5
Session: 9e5f6c4dfcc64d6485e83d144eded89e
User-Agent: Live555

2023/09/05 19:35:19 INF [RTSP] [session d3938ec3] destroyed (torn down by xxx.94:46640)
2023/09/05 19:35:19 DEB [RTSP] [conn xxx.94:46640] [s->c] RTSP/1.0 200 OK
CSeq: 5
Server: gortsplib

2023/09/05 19:35:19 INF [RTSP] [conn xxx.94:46640] closed (EOF)
2023/09/05 19:35:29 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 19:35:29 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 7
Session: 63948645
User-Agent: gortsplib

In case this is helpful, this is the log from v1.0.0 where the issue does not appear.
2023/09/05 19:39:03 INF MediaMTX v1.0.0
2023/09/05 19:39:03 DEB [path xxx-crib] created
2023/09/05 19:39:03 DEB path manager created
2023/09/05 19:39:03 INF [RTSP] listener opened on :8554 (TCP)
2023/09/05 19:39:03 INF [RTMP] listener opened on :1935
2023/09/05 19:39:03 INF [HLS] listener opened on :8888
2023/09/05 19:39:03 INF [WebRTC] listener opened on :8889 (HTTP)
2023/09/05 19:39:03 INF [SRT] listener opened on :8890 (UDP)
2023/09/05 19:39:30 INF [RTSP] [conn xxx.94:46648] opened
2023/09/05 19:39:30 DEB [RTSP] [conn xxx.94:46648] [c->s] OPTIONS rtsp://xxx.12:8554/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

2023/09/05 19:39:30 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib

2023/09/05 19:39:30 DEB [RTSP] [conn xxx.94:46648] [c->s] DESCRIBE rtsp://xxx.12:8554/xxx-crib RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: Live555

2023/09/05 19:39:30 INF [path xxx-crib] [RTSP source] started
2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] connecting
2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
CSeq: 1
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Basic realm="go2rtc"

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 2
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s DESCRIBE rtsp://xxx.104:8554/1080p RTSP/1.0
Accept: application/sdp
Authorization: Basic xxx
CSeq: 3
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 3
Content-Length: 236
Content-Type: application/sdp

v=0
o=- 1 1 IN IP4 0.0.0.0
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 PCML/16000
a=control:trackID=1

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=0 RTSP/1.0
Authorization: Basic xxx
CSeq: 4
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 4
Session: 50949733;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=1 RTSP/1.0
Authorization: Basic xxx
CSeq: 5
Session: 50949733
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;mode=play
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 5
Session: 12208073;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

2023/09/05 19:39:30 INF [path xxx-crib] [RTSP source] ready: 2 tracks (H264, Generic)
2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] c->s PLAY rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 6
Range: npt=0-
Session: 12208073
User-Agent: gortsplib

2023/09/05 19:39:30 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://xxx.12:8554/xxx-crib/
Content-Length: 300
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=Stream
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 0 RTP/AVP 97
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=1
a=rtpmap:97 PCML/16000

2023/09/05 19:39:30 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 6
Session: 12208073

2023/09/05 19:39:31 DEB [RTSP] [conn xxx.94:46648] [c->s] SETUP rtsp://xxx.12:8554/xxx-crib/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: Live555

2023/09/05 19:39:31 INF [RTSP] [session 785b85d8] created by xxx.94:46648
2023/09/05 19:39:31 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 3
Server: gortsplib
Session: c0526fee33c044b4b25b7fe5be814685
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 19:39:31 DEB [RTSP] [conn xxx.94:46648] [c->s] PLAY rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 4
Range: npt=0.000-
Session: c0526fee33c044b4b25b7fe5be814685
User-Agent: Live555

2023/09/05 19:39:31 INF [RTSP] [session 785b85d8] is reading from path 'xxx-crib', with TCP, 1 track (H264)
2023/09/05 19:39:31 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 4
Server: gortsplib
Session: c0526fee33c044b4b25b7fe5be814685

2023/09/05 19:40:01 DEB [RTSP] [conn xxx.94:46648] [c->s] GET_PARAMETER rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 5
Session: c0526fee33c044b4b25b7fe5be814685
User-Agent: Live555

2023/09/05 19:40:01 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 5
Content-Type: text/parameters
Server: gortsplib
Session: c0526fee33c044b4b25b7fe5be814685

2023/09/05 19:40:18 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 7
Session: 12208073
User-Agent: gortsplib

2023/09/05 19:40:31 DEB [RTSP] [conn xxx.94:46648] [c->s] GET_PARAMETER rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 6
Session: c0526fee33c044b4b25b7fe5be814685
User-Agent: Live555

2023/09/05 19:40:31 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 6
Content-Type: text/parameters
Server: gortsplib
Session: c0526fee33c044b4b25b7fe5be814685

2023/09/05 19:40:49 DEB [RTSP] [conn xxx.94:46648] [c->s] TEARDOWN rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 7
Session: c0526fee33c044b4b25b7fe5be814685
User-Agent: Live555

2023/09/05 19:40:49 INF [RTSP] [session 785b85d8] destroyed (torn down by xxx.94:46648)
2023/09/05 19:40:49 DEB [RTSP] [conn xxx.94:46648] [s->c] RTSP/1.0 200 OK
CSeq: 7
Server: gortsplib

2023/09/05 19:40:49 INF [RTSP] [conn xxx.94:46648] closed (EOF)
2023/09/05 19:40:59 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 19:40:59 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 8
Session: 12208073
User-Agent: gortsplib

2023/09/05 20:35:32 INF [RTSP] [conn xxx.94:46694] opened
2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [c->s] OPTIONS rtsp://xxx.12:8554/xxx-crib RTSP/1.0
CSeq: 1
User-Agent: Live555

2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [s->c] RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, GET_PARAMETER, TEARDOWN
Server: gortsplib

2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [c->s] DESCRIBE rtsp://xxx.12:8554/xxx-crib RTSP/1.0
Accept: application/sdp
CSeq: 2
User-Agent: Live555

2023/09/05 20:35:32 INF [path xxx-crib] [RTSP source] started
2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] connecting
2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
CSeq: 1
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 401 Unauthorized
CSeq: 1
WWW-Authenticate: Basic realm="go2rtc"

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 2
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s DESCRIBE rtsp://xxx.104:8554/1080p RTSP/1.0
Accept: application/sdp
Authorization: Basic xxx
CSeq: 3
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 3
Content-Length: 236
Content-Type: application/sdp

v=0
o=- 1 1 IN IP4 0.0.0.0
s=go2rtc/1.6.0
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 PCML/16000
a=control:trackID=1

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=0 RTSP/1.0
Authorization: Basic xxx
CSeq: 4
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 4
Session: 36404501;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s SETUP rtsp://xxx.104:8554/1080p/trackID=1 RTSP/1.0
Authorization: Basic xxx
CSeq: 5
Session: 36404501
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;mode=play
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 5
Session: 64675691;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

2023/09/05 20:35:32 INF [path xxx-crib] [RTSP source] ready: 2 tracks (H264, Generic)
2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] c->s PLAY rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 6
Range: npt=0-
Session: 64675691
User-Agent: gortsplib

2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [s->c] RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://xxx.12:8554/xxx-crib/
Content-Length: 300
Content-Type: application/sdp
Server: gortsplib

v=0
o=- 0 0 IN IP4 127.0.0.1
s=Stream
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
m=audio 0 RTP/AVP 97
a=control:rtsp://xxx.12:8554/xxx-crib/trackID=1
a=rtpmap:97 PCML/16000

2023/09/05 20:35:32 DEB [path xxx-crib] [RTSP source] s->c RTSP/1.0 200 OK
CSeq: 6
Session: 64675691

2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [c->s] SETUP rtsp://xxx.12:8554/xxx-crib/trackID=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: Live555

2023/09/05 20:35:32 INF [RTSP] [session 8c1a4b6a] created by xxx.94:46694
2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [s->c] RTSP/1.0 200 OK
CSeq: 3
Server: gortsplib
Session: 25c835e4dca94aa1adbe728fa51c2dfb
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [c->s] PLAY rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 4
Range: npt=0.000-
Session: 25c835e4dca94aa1adbe728fa51c2dfb
User-Agent: Live555

2023/09/05 20:35:32 INF [RTSP] [session 8c1a4b6a] is reading from path 'xxx-crib', with TCP, 1 track (H264)
2023/09/05 20:35:32 DEB [RTSP] [conn xxx.94:46694] [s->c] RTSP/1.0 200 OK
CSeq: 4
Server: gortsplib
Session: 25c835e4dca94aa1adbe728fa51c2dfb

2023/09/05 20:35:33 INF [RTSP] [conn xxx.94:49385] opened
2023/09/05 20:35:33 INF [RTSP] [conn xxx.94:49385] closed (EOF)
2023/09/05 20:35:34 INF [RTSP] [conn xxx.94:46694] closed (read tcp xxx.12:8554->xxx.94:46694: read: connection reset by peer)
2023/09/05 20:35:34 INF [RTSP] [session 8c1a4b6a] destroyed (not in use)
2023/09/05 20:35:44 INF [path xxx-crib] [RTSP source] stopped
2023/09/05 20:35:44 DEB [path xxx-crib] [RTSP source] c->s TEARDOWN rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 7
Session: 64675691
User-Agent: gortsplib

I think i've understood where the bug is. Between v1.0.0 and v1.0.1, the RTSP client was improved in order to support receiving server requests. A side effect of this refactoring is that the client now checks whether keepalive requests are acknowledged or not. Your camera doesn't reply to keepalive requests:
2023/09/05 19:40:18 DEB [path xxx-crib] [RTSP source] c->s OPTIONS rtsp://xxx.104:8554/1080p RTSP/1.0
Authorization: Basic xxx
CSeq: 7
Session: 12208073
User-Agent: gortsplib

There should be a s->c RTSP/1.0 OK after this request but there isn't. This behavior for some reason freezes the library, and no packets are sent to VLC anymore. Consequently, VLC closes the connection with the server after some time:
2023/09/05 19:40:49 DEB [RTSP] [conn xxx.94:46648] [c->s] TEARDOWN rtsp://xxx.12:8554/xxx-crib/ RTSP/1.0
CSeq: 7
Session: c0526fee33c044b4b25b7fe5be814685
User-Agent: Live555

And since the source is on demand, and no one is reading it anymore, the source is stopped by the server:
2023/09/05 19:40:59 INF [path xxx-crib] [RTSP source] stopped

Of course all this needs to be fixed.

please try the attached nightly release and let me know if it fixes the issue.
mediamtx_v1.0.3-11-gbbb9c80_darwin_amd64.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_darwin_arm64.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_linux_amd64.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_linux_arm64v8.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_linux_armv6.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_linux_armv7.tar.gz
mediamtx_v1.0.3-11-gbbb9c80_windows_amd64.zip

So far so good with the v1.0.3-11 version but I'll let it run through the paces tonight.
As for the keep-alive requests; I'm not sure if wz_mini_hacks change to go2rtc impacted anything? I switched over to using go2rtc server for the rtsp feeds. I think previously it used v4l2rtspserver. Is the lack of a keepalive a bug that should be reported on the go2rtc side as well? Or is something just missing in my configuration?

Is the lack of a keepalive a bug?

MediaMTX now supports RTSP streams regardless of the fact that keepalive responses are sent or not. We can't consider the lack of keepalive responses a bug since there are cameras that don't send them, as we have just demonstrated.

fixed in v1.1.0

repo: bluenviron/mediamtx


text:
WIP Support passed in functions for merge_by. Make merge comply.

Doesn't yet compile.

Great, this is a useful addition to itertools. Small comments in the patch. Please update the PR title & message & commit message since that's the information that's associated with the change when it ends up in git.

authors: bluss ehiggs

repo: bluss/rust-itertools


text:
Support input name override and other attrs like required

Noticed a few things when I was building out some forms.
Summary by Sourcery
Enhance the SaladUI.Input module to support input name overrides and additional HTML attributes, improving form customization capabilities.
New Features:

Allow overriding the input name attribute in the SaladUI.Input module.

Enhancements:

Add support for additional HTML attributes such as 'required', 'autocomplete', and 'maxlength' in the SaladUI.Input module.

Sourcery is pretty cool. The summary is pretty accurate.

@forest thanks for your PR, but there is a point that I have to consider.
Copy from review comment for tracking.
This change will cause a huge impact on all input component. Because when you define an attribute without default value, and you don't pass that attribute to the component, then it will raise an exception when accessing that attribute within that component.
Example:
attr :name, :string

def input(assigns) do
~H"""
<input name={@name} />
"""
end

this is okay
<.input name="title"/>

but this raise exception
<.input id="my-input"/>

I think it needs a big refactor to be able to override name and value

Good idea. That should work.
On Thu, Oct 10, 2024 at 8:01 AM Dung Nguyen @.***>
wrote:

@.**** commented on this pull request.
In lib/salad_ui/helpers.ex
https://github.com/bluzky/salad_ui/pull/51#discussion_r1795633244:

@@ -9,8 +9,8 @@ defmodule SaladUI.Helpers do
assigns
|> assign(field: nil, id: assigns[:id] || field.id)
# |> assign(:errors, Enum.map(field.errors, &translate_error(&1)))

|> assign(:name, if(assigns[:multiple], do: field.name <> "[]", else: field.name))
|> assign(:value, field.value)

|> assign_new(:name, fn -> if(assigns[:multiple], do: field.name <> "[]", else: field.name) end)
|> assign_new(:value, fn -> field.value end)

I think we can handle this way
...|> assign(:name, assign[:name] || if(assigns[:multiple], do: field.name <> "[]", else: field.name))|> assign(:value, assigns[:value] || field.value)...
with this we don't have to remove default value for name and value
attributes
—
Reply to this email directly, view it on GitHub
https://github.com/bluzky/salad_ui/pull/51#discussion_r1795633244, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAB5FML4XTZAN3C7SGFYIDZ22JGNAVCNFSM6AAAAABPTHVPECVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNRQGY3DENRRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I fix this in another PR, so close this PR.
Thank you

authors: bluzky forest


text:
Release - 0.0.1

https://github.com/blyscuit/kmm-swiftUI-IC/milestone/1
Features

#9
#6

Chores

#8
#4
#7
#3
#2
#1

@blyscuit Regarding semantic versioning, we increase a patch version by making backwards-compatible bug fixes. In this case, I prefer to release 0.1.0 instead :D

authors: blyscuit suho

repo: blyscuit/kmm-swiftUI-IC


text:
[BUG] Save button in Tootltip manager can become inaccessible with too many fields

Describe the bug
When using Firefox on Windows 10, if I add too many options in the Tooltip manager, the Save button gets pushed below the bottom of the dialog, and there is no way to scroll down to access it.
To Reproduce
Steps to reproduce the behavior:

Open Tooltip manager
Click on Edit for any Actor type
Add rows to one side until you see the bug - for me, it happens on the 9th row, but it may be different at different screen resolutions.
See the Save button at the bottom pushed offscreen.

Screenshots

.
Please complete the following information:

OS: Windows
Browser: Firefox
Game version 0.7.6
Game system and version: dnd5e v0.99
Module version: 2.0.10

I pushed a quick hotfix, you will have to uninstall and reinstall the module.
Firefox will behave a bit different until I get the time to properly investigate where the problem is.

authors: bmarian justinrpurdy

repo: bmarian/token-tooltip-alt


text:
-a and -asm cannot be used together

In the README, you state the following:

All switches are optional and can be used simultaneously.
-asm Automatically reboot to Safe Mode (must be used with -a, otherwise ignored)

However, when using the flags -a and -asm together, I get the following error:

ERROR: You cannot use -a and -asm together. Pick one or the other.

These two scenarios are conflicting. Either the readme needs to be updated, or the code needs to allow both flags.

Hi @dcohen613 , good find, thanks. I've updated the documentation to correctly reflect use of the -a and -asm switches.

repo: bmrf/tron


text:
Add plugin: hypergravity

Checklist for submitting a resource to awesome-hyper:

[x] Title: The title for the addition uses its npm title (hyper-example) or the resource's title.
[x] Link: The link for the addition uses the npmjs.com link (https://www.npmjs.com/package/hyper-example) or the resource's full URI.
[x] Repository: The package.json file of the resource contains repository information.
[x] Visual: There is a visual representation of what the addition does in its source repository.
[x] Location: The awesome addition is in the correct category or sub-category.

If it's a plugin or resource, put your awesome item at the BOTTOM of the correct section.
If it's a theme, insert it according to the ALPHABETICAL order.

[x] Description: I've written a short (one sentence) description for the addition in the README.md.
[x] Downloads: I've added a download stats badge in the second column ([![npm](https://img.shields.io/npm/dm/hyper-example.svg?label=DL)]())

Thanks!

repo: bnb/awesome-hyper


text:
Update env_logger to 0.7.1

This avoids introducing duplicate versions of env_logger in crates that
depend on both env_logger 0.7 and file-per-thread-logger.

Thanks Josh! I shall set up one bot for dependency updates.

Also just published a new version to crates.io.

authors: bnjbvr joshtriplett

repo: bnjbvr/file-per-thread-logger


text:
New alphabet - b32 for user input codes

I deal with some misconceptions of characters from users when they need to input these codes. The chars are  '1', 'I', '0', 'O'.
I think this may be a pretty common use case. If the obfuskey had a b32 alphabet, it would be a good way to handle this kind of problem.
The proposed b32 alphabet is '23456789ABCDEFGHJKLMNPQRSTUVWXYZ'

Thanks for the suggestion! I will look into it when I have a free minute. For now, you can specify any alphabet you'd like using Obfuskey('012abc'), the bases are there for easy access to specific ones.

I noticed there's no mention of this in the readme, I'll get that updated as well.

authors: jotavemonte nlucasgp

repo: bnlucas/obfuskey


text:
Can I SET the correlation_id (in non-http context)?

I have a process that listens for MQ events from elsewhere, and makes API requests based on them. We are looking at adding correlation_id to the MQ event data (they did ultimately originate from a HTTP request) but can I set the correlation_id in my MQ listener, so that its logs contain it and so that the API calls can use it?

@howardjones Updated the docs to explain how to manually set the correlation id: https://github.com/bobbui/json-logging-python#forced-overriding-correlation-id

authors: bobbui howardjones

repo: bobbui/json-logging-python


text:
update toml++ to 3.1.0

also:

update benchmark script to handle parse failures
update benchmark data to better stress-test parsers
added PEP 680 awareness to the benchmark script (tomllib)
made the toml++ submodule shallow by default

@pwwang Note that this PR replaces the benchmark data.toml with a much larger and more complex one, which also has some TOML v1.0.0 features. You might need to update toml-bench to take this into account - sdispater/tomlkit takes an eternity go get through it, and uiri/toml fails completely.

Actually, don't merge this yet. Just realized there might be a way I can make the encoding/decoding bits faster.

Well, no huge perf gains. Oh well. On the plus side, I was able to simplify some things using v3.1.0's for_each() ^_^

Hi, thanks! feel free to merge it!


text:
fixing the build, the dependencies are not available on the given URL…

…s any more
Hi Dan, let me know what you think. I wanna make some changes and the build did not run locally for me.

Hey buddy,
There are lots of things in this change set that shouldn't be (6.5k changes!), Shelved changes, hard coded paths etc. Please break this down into single PRs so I can review what each change is meant to do. Like upgrading to java 8, updating lib Y etc.
Does that make sense? I'm going to close this then I'll review the single PRs
Dan

Sorry, I did not realise I was committing to the same branch!  I just wanted to fix the build in the first PR. This rest was nowhere near ready as you can see, work in progress pushed to github cos I only have time on Wednesdays to do it, I thought I was on a separate branch :D Ill split it into single PRs when I am ready.

authors: danielbodart wojciechbulaty

repo: bodar/yatspec


text:
Clean-up after presentation at SciPy

The live presentation at SciPy is complete, we can now:

Create a git tag that points to the state of the repo as presented at SciPy
Add a section in the README to document the live presentation with a link to the tag and the recording
Remove scipy specifics:

https://github.com/bokeh/tutorial#setup-with-nebari-for-scipy-2023
Default notebook kernels (which currently point to the Nebari-env created for scipy)

@pavithraes can I start work on this and ping you if there's any clarification I need?

repo: bokeh/tutorial


text:
Feature/migrate forms

Alright. The forms are in the pattern lab as a component, but I had some trouble building out demos for a few of them (namely, the field sets). @remydenton Maybe you have a bit more insight on how to pull this off. But its 98% there from the looks of it.

@EvanLovely any ideas why the Travis build here is failing?

authors: joekarasek sghoweri

repo: bolt-design-system/bolt


text:
🛑 Mapas is down

In e58c30e, Mapas (https://maps.csalas.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mapas is back up in 88a6869.

repo: bomberosalas/status


text:
turnOnOff returns to Home

Hi,
when i use the turnOnOff command, my tablet android 6 (cyanogenmod) turns on, but to Homescreen. the last startet app in foreground goes to background.
Sorry, my bad english...

turnOnOff does not work on some devices.  (only test)
In order to wake the device use toWake

authors: Homezecke bondrogeen


text:
TBCBaseEditor.GetWordAtMouse sensitivy

On the following code:
var xyz := 0;

GetWordAtMouse returns "xyz" only if the mouse is over the y or z, if it's over x, it returns nothing.

Can't repeat this with the latest source. GetWordAtMouse calls GetWordAtRowColumn which was fixed. But it only had a bug with first line index...

authors: EricGrange bonecode

repo: bonecode/TBCEditor


text:
Exclude cache from widgetset compilation in Jar

I get an exception with jrebel with this addon:
[2017-02-24 10:33:56] Invalid rebel.xml: Invalid 'dir' defined in class path of rebel.xml  Directory 'C:/bpPrograms/Java/workspace/workspace_mars2/vaadin-combobox-multiselect-root/vaadin-combobox-multiselect/target/classes' does not exist
Searching in this repository let me find this file:
https://raw.githubusercontent.com/bonprix/vaadin-combobox-multiselect/e82e8d7618243587ea090824cbaf8b54e2f94317/vaadin-combobox-multiselect-demo/src/main/webapp/VAADIN/themes/demo/styles.scss.cache
In the first line there ist the string from above. Try to exclude this cache file in compilation.
This is from the single-application-archetype from vaadin:
<plugin> 				<groupId>org.apache.maven.plugins</groupId> 				<artifactId>maven-war-plugin</artifactId> 				<version>2.6</version> 				<configuration> 					<failOnMissingWebXml>false</failOnMissingWebXml> 					<!-- Exclude an unnecessary file generated by the GWT compiler. --> 					<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes> 				</configuration> 			</plugin>
Mybe this helps

The configuration seems okay. The file file above styles.scss.cache should be deleted and added to .gitignore

@sebastianfilke did you fix this as well already?

This bug seems fixed but the version which is uploaded to vaadin repository has a rebel.xml included which results in this exception. Do you build the application on your machine?
This is the exception: [2017-04-18 08:44:18] Invalid rebel.xml: Invalid 'dir' defined in class path of rebel.xml (jar:file:/C:/Oracle/glassfish4.1.1/glassfish/domains/qkiss/eclipseApps/alegria-qkiss-webportal-ear/alegria-qkiss-webportal-ui-1.3.0-SNAPSHOT_war/WEB-INF/lib/vaadin-combobox-multiselect-2.0.1.jar!/rebel.xml): Directory 'C:/bpPrograms/Java/workspace/workspace_mars2/vaadin-combobox-multiselect-root/vaadin-combobox-multiselect/target/classes' does not exist

This is the content of the file which produces the error:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">

	<classpath>
		<dir name="C:/bpPrograms/Java/workspace/workspace_mars2/vaadin-combobox-multiselect-root/vaadin-combobox-multiselect/target/classes">
		</dir>
	</classpath>

</application>

I will open a new bug.

repo: bonprix/vaadin-combobox-multiselect


text:
Add LEX space

Add space for LexDAO Engineering - $LEX Token
Etherscan: https://etherscan.io/address/0xA5C5C8Af327248c4c2dce810a3d3Cffb8C4F66ab#code
Website: http://lexdao.org/
Twitter: https://twitter.com/lex_DAO

thanks for the review @e-asia. I have removed the extra skin.scss file in order to get the default space theme.

ah, thanks for that catch @e-asia . I have committed your suggested change for url.

repo: bonustrack/snapshot-spaces


text:
Consider message::reset

This function could be used in the message-oriented read overloads to clear the message before use, eliminating a common class of user errors.
The signature could accept a variable argument list, with this implementation:
template<bool isRequest, class Body, class Fields>
template<class... Args>
void
message<isRequest, Body, Fields>::
reset(Args&&... args)
{
    // This means you are trying to call reset() on a message that is not default constructible
    static_assert(sizeof...(args)>0 || std::is_default_constructible<message>::value,
        "DefaultConstructible requirements not met");
    // This means you did not pass the correct parameters to construct a message
    static_assert(sizeof...(args)==0 || std::is_constructible<message, Args...>::value,
        "Constructor argument list mismatch");
    // reset may only be used on messages that are MoveAssignable
    static_assert(std::is_move_assignable<message>::value,
        "MoveAssignable requirements not met");
    message m(std::forward<Args>(args...));
    *this = std::move(m);
}

The read overloads would need to be modified to require messages that are DefaultConstructible, or changed to accept a list of constructor arguments.

MoveAssignable prevents the use of references, which is a fairly sensible thing to have in a Body, in some cases.
One idea: if body is not MoveAssignable, but is NothrowMoveConstructible (or Swappable?), we could use that along with std::aligned_storage to emulate move assignment.

MoveAssignable prevents the use of references, which is a fairly sensible thing to have in a Body, in some cases.

I'm okay with reset not working for all instances of message.

authors: djarek vinniefalco

repo: boostorg/beast


text:
Rotation of Image by any arbitrary angle

Is your feature request related to a problem? Please describe.
The rotation function currently available only rotates by absolute angles ie 90,180,270. So  a proper function is needed to rotate the image by any arbitrary angle.
Describe the solution you'd like
The solution to this problem is using affine transformation or shear transformation to rotate the image

May I take up this task?

May I take up this task?

You're more than welcome to.
No need to ask for permissions.
If you have any questions then please ask.

You're more than welcome to.
No need to ask for permissions.
If you have any questions then please ask.

@gautam-dev-maker I would advice to check this example first, affine transformations are already implemented -but might not be optimal.

@gautam-dev-maker I would advice to check this example first, affine transformations are already implemented -but might not be optimal.

Is there someone still working on this?

As explained in https://github.com/boostorg/gil/issues/533#issuecomment-754443403
No need to ask for permissions - if you don't see any related PR opened, then assume nobody is working on it - features are reviewed and accepted in FIFO manner.

Is there someone still working on this?

@gkumar28 Affine transformation already exist in an example as @sdebionne said. Optimization might be possible though.

Sorry for such a late reply.
I have opened a PR for this issue. #565
Please review it.

The PR is merged and the issue completed, or am I missing something important?

@marco-langer No, I don't think you are missing anything. Good catch, thanks.
It is the commit message merging the #565 that missed the Closes #533 line.

authors: Scramjet911 gautam-dev-maker gkumar28 marco-langer mloskot sdebionne

repo: boostorg/gil


text:
Add integration with Swagger web console

There should be an easy way to bundle Swagger web console with your app. I guess swagger console should be packaged as a separate Bootique module (requiring to convert bootique-swagger to a multi-module project), as I'd like it to be optional and not tied to the Swagger REST API.

This adds the basic console integration. There are a few remaining items that are needed to make swagger integration more usable. I will open separate tasks for those.

repo: bootique/bootique-swagger


text:
Rewrite tests to work on Rails 4.0, 4.1, 4.2, and 5.0

Right now the tests for bootstrap_form are hardcoded to work with Rails 4.0.0. As mentioned in #229, the tests break if one upgrades the Gemfile.lock to Rails 4.1 or newer. I think improving our testing is extremely important and should be our top priority before pursuing other features (e.g. Bootstrap 4 support).
Ideally our tests should pass on all supported versions of Rails, meaning 4.0, 4.1, 4.2, and 5.0.
Does anyone have suggestions for how we can accomplish this?
I will gladly accept a PR if you want to take a shot. Please make a proposal in this thread first before submitting a PR.

Rails 5 no longer outputs tag attributes in alphabetical order, so I think we need some kind of dynamic html matching (using nokogiri?). Also, additional tags are rendered in Rails 5, like an empty hidden input preceding a file input.
All the differences between output in Rails 4 vs 5 can be seen in the diff here: https://github.com/bootstrap-ruby/rails-bootstrap-forms/pull/269/files

I like the idea of using a HTML parser for matching expected output. Perhaps we could use rails-dom-testing, or nokogiri directly, as you mentioned.

rails-dom-testing seems suitable :)

The first paragraph of the rails-dom-testing README at https://github.com/rails/rails-dom-testing says that it only works on Rails 4.2 and above. The title of this issue includes Rails 4.0 and 4.1. Does that mean rails-dom-testing is out as an option?

@lcreid Yes, I would prefer to keep 4.0 compatibility if possible, so I guess that means rails-dom-testing is out.

I forked this project to https://github.com/lcreid/rails-bootstrap-forms. I used Nokogiri and equivalent-xml, and all the tests run green for Rails 4.0. It was way too easy, so I fear that I'm doing something wrong. Nevertheless, I'm willing to run with this for a while and see if you like what I'm doing, if you want to assign this issue to me.
I'll push what I've done so far to the explore branch of my project by the end of the evening Pacific Time, today (December 8).

I think equivalent-xml might be a good candidate. I've added it to #278, which tests with multi versions of rails already.

@koenpunt are we duplicating efforts here? What's the difference between #278 and #273 (this one)?

#273 is the issue, #278 is a pull request which I started like 5 months ago. And now that you suggested to use equivalent-xml I added your commit to that branch.

OK. I'm just trying to get an idea of how best I can help. I'll take a look
at your PR later today and see where we're at. Let me know if there are
specific tasks you'd like me to work on.
I haven't done any sort of testing of what I did to make sure the tests go
red when they should. That would be the next thing I would work on, if no
one else is actively working on either #273 or #278.
On Fri, Dec 9, 2016 at 6:48 AM, Koen Punt notifications@github.com wrote:

#273 https://github.com/bootstrap-ruby/rails-bootstrap-forms/issues/273
is the issue, #278
https://github.com/bootstrap-ruby/rails-bootstrap-forms/pull/278 is a
pull request which I started like 5 months ago. And now that you suggested
to use equivalent-xml I added your commit to that branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bootstrap-ruby/rails-bootstrap-forms/issues/273#issuecomment-266030796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABigMM1Hknq3LZBIX0wA1D_KCuZEDsYpks5rGWosgaJpZM4JEirJ
.

--
Larry Reid
Principal Consultant, Jade Systems Inc
Mobile: +1 604.376.8884
technopragmatica.blogspot.com | jadesystems.ca |
tecnopragmatica.blogspot.com

@lcreid As you now can see on #278 is that I'm actually done implementing. But an extra review is always good :)

authors: koenpunt lcreid mattbrictson

repo: bootstrap-ruby/rails-bootstrap-forms


text:
Confirm on blur

I guess this might not be much of an issue unless you use freeinput.
If a user types in a tag and then clicks outside the input field so that it loses focus, the typed in text is still text. I'd like an option to turn this text into a tag on blur.
An ugly workaround:
$('.bootstrap-tagsinput input').blur(function() {
$('.myinputfield').tagsinput('add', $(this).val());
$(this).val('');
});

addOnBlur should be noted in the documentation as an option.

This worked in my case solution from @itsprdp here:
"https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/236"
A better way to clear the typeahead input after adding the tag.
self.$input.typeahead('val', '');
Add this line to the end of the add() function after line number 149 in the src file https://github.com/TimSchlechter/bootstrap-tagsinput/blob/master/src/bootstrap-tagsinput.js
Ref: twitter/typeahead.js#233

authors: haabe nezirz tim-peterson

repo: bootstrap-tagsinput/bootstrap-tagsinput


text:
Tradução dos títulos dos arquivos _data/nav.yml e _data/examples..yml

E aí, @adammacias ?!
Traduzi os títulos do arquivo _data/nav.yml, igual ao esquema que tu explicou.
Aproveitei e tentei fazer algo parecido, no arquivo _data/examples.yml.

No entanto, recompilei os arquivos, mas não vi mudanças. Tu vai precisar fazer algum código adicional?

@JLammeer João, demorei um pouquinho mas ta aí :)

authors: JLammeer adammacias

repo: bootstrapbrasil/bootstrap


text:
C++

https://github.com/boris-kz/CogAlg/blob/d0abf04dce77298badc906fea971ad322f894c20/frame_2D_alg/alternative versions/frame_blobs_cpp_Mayukh/form_P_cpp#L31
double at(const double *arr, int r, int c) {
    int index = r * 4 + c;
    return arr[index];
}

==>
double at(const double *arr, unsigned int r, unsigned int c) {
    auto index = r << 2 + c;
    return arr[index];
}

==>

double at(const double *arr, unsigned int r, unsigned int c) {
    return arr[r << 2 + c];
}

...
==>  Direct usage without a function call or suggesting inline.
Shift for MUL/DIV by powers of two is a well known trick, but I don't know which compilers apply it and when, also SHIFT for signed int could change the sign.
Also, in the code there's type mixing of float-double-int.
Shared ptr is double (overkill), then read to float, then it's assigned as int/long, all would involve type conversion instructions - is it unavoidable?

Khanh tried to set up packages to run it, it took too much time, we are not
currently pursuing C++.
On Thu, Feb 6, 2020, 4:39 AM Todor Arnaudov notifications@github.com
wrote:

https://github.com/boris-kz/CogAlg/blob/d0abf04dce77298badc906fea971ad322f894c20/frame_2D_alg/alternative versions/frame_blobs_cpp_Mayukh/form_P_cpp#L31
double at(const double *arr, int r, int c) {
int index = r * 4 + c;
return arr[index];
}
==>
double at(const double *arr, unsigned int r, unsigned int c) {
auto index = r << 2 + c;
return arr[index];
}
==>
double at(const double *arr, unsigned int r, unsigned int c) {
return arr[r << 2 + c];
}
...
==> Direct usage without a function call or suggesting inline.
Shift for MUL/DIV by powers of two is a well known trick, but I don't know
which compilers apply it and when, also SHIFT for signed int could change
the sign.
Also, in the code there's type mixing of float-double-int.
Shared ptr is double (overkill), then read to float, then it's assigned as
int/long, all would involve type conversion instructions - is it
unavoidable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boris-kz/CogAlg/issues/35?email_source=notifications&email_token=AFABOGJ4PMIN53FO2L3PGBLRBPLDHA5CNFSM4KQZRFKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILOPTLA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFABOGJGFCD2AOKSKH4XTX3RBPLDHANCNFSM4KQZRFKA
.

authors: Twenkid boris-kz

repo: boris-kz/CogAlg


text:
Extract random patches from dataset

In dataloader, we could extract only some random patches instead of using a dropout in the model.

I'm not going to use it right now so putting my demo workflow here in case I change my mind:
import tensorflow as tf

def select_random_patches(single_batch_patches, keep_patches, patch_size, channels):
    # Flatten the patch dimension
    patches_reshaped = tf.reshape(single_batch_patches, [-1, patch_size, patch_size, channels])

    # Determine the number of patches to keep
    n_patches = tf.cast(keep_patches, tf.int32)

    # Generate random indices
    patch_indices = tf.range(tf.shape(patches_reshaped)[0])
    shuffled_indices = tf.random.shuffle(patch_indices)

    # Select the random patches
    selected_patches = tf.gather(patches_reshaped, shuffled_indices[:n_patches])

    return selected_patches

def process_batch(patches, keep_patches, patch_size, channels):
    # Use tf.map_fn to apply the function to each batch element
    result = tf.map_fn(
        lambda x: select_random_patches(x, keep_patches, patch_size, channels),
        patches,
        fn_output_signature=tf.TensorSpec(shape=[None, patch_size, patch_size, channels], dtype=patches.dtype)
    )

    return result

And some example:
# Example usage
bs = 10  # Example batch size
num_patches = 5  # Example number of patches
patch_size = 3  # Example patch size
channels = 3  # Example number of channels
keep_patches = 2  # Number of patches to keep for each image

# Random example tensor
patches = tf.random.normal([bs, num_patches, patch_size, patch_size, channels])

# Process the batch
selected_patches = process_batch(patches, keep_patches, patch_size, channels)
print(selected_patches.shape)

And on images:
# arange tensor image
bs = 1
w = h = 4
c = 1
x = tf.range(0, bs * w * h * 1, dtype=tf.float32)
x = tf.reshape(x, [bs, w, h, c])
image = x

# copy image in batch dimension to create a batch of images
n_images = 3
images = tf.repeat(image, n_images, axis=0)

# extract patches
patches = tf.image.extract_patches(
                images=image,
                sizes=[1, patch_size, patch_size, 1],
                strides=[1, patch_size, patch_size, 1],
                rates=[1, 1, 1, 1],
                padding="VALID",
            )
print(patches.shape)
patches = tf.reshape(patches, [bs, -1, patch_size, patch_size, channels])
patches.shape

# select random patches
n_patches = 2
process_batch(patches, n_patches, patch_size, channels)

_interpolate method implemented to support this feature.
TODO:

update dataloader per above code
adjust positional embeddings based on the presence of optional position ids

repo: borisdayma/clip-jax


text:
Knex: fix arguments for TableBuilder.enu/enum

There's an error in the definitions for the .enum method (and its alias .enu); the method requires an array of values for the enum as an argument, as well as the column name.  See the documentation here.

thanks mate!

authors: Retsam vvakame

repo: borisyankov/DefinitelyTyped


text:
Bosun: y axis label on Graph tab has a ; at the begining

I checked the Elastic Cluster alerts and the y axis label on those graphs looks fine, so this is just on the Graph tab.

Is this multiple queries? My guess is I did a string join on the units, and one of the metrics doesn't have a unit...

doh... yep. I had two series. one with a unit and one without. so it was ; seconds

authors: gbrayut kylebrandt

repo: bosun-monitor/bosun


text:
Escape soapLogin credentials

Fix for #1611

Thanks!

authors: captncraig simnv


text:
cmd/tsdbrelay: Drain relay response so that connection is eligible for reuse.

tsdbrelay is not reusing connections for its relay calls. DefaultTransport will not allow a connection to be reused unless the body has been read. This change will use the common pattern of reading 512 bytes from the resp.Body to try and ensure the connection is available for reuse. This is intentionally capped at 512 bytes to avoid waiting for cases of large responses.
Some discussion on this if curious: https://groups.google.com/forum/#!search/golang$20json$20decode$20$20io.Copy/golang-nuts/4Rr8BYVKrAI/ZrJJFTNleekJ
Confirmed in testing that this addresses lack of connection reuse.
Partially addresses #2018.
@kylebrandt @captncraig @gbrayut

The code has separate paths for bosun, relays, and metadata... do we need the same io.CopyN added to these:
https://github.com/alienth/bosun/blob/8b2135b1a85f9dd075ae222482ca3cbf0cd7cb8f/cmd/tsdbrelay/main.go#L253
https://github.com/alienth/bosun/blob/8b2135b1a85f9dd075ae222482ca3cbf0cd7cb8f/cmd/tsdbrelay/main.go#L389

@gbrayut updated.

Found some more cases in metadata/collect/etc where this occurs. This PR is superseded by #2036

authors: alienth gbrayut


text:
Hello, there was an error during startup. Why is that

Hi @qzzhujixue, sorry to hear...
Is there any chance you may have disabled JavaScript in browser?

repo: botany-labs/voice-ai-js-starter


text:
What would be the implications of disabling validation in serialization?

In an application that uses boto to massively insert to DynamoDB we've been able to observe how a significant amount of CPU time is dedicated to serialization and a part of it is dedicated parameter validation.
Disabling validation (through forcing include_validation=False in create_serializer() at serialize.py) leads to a ~23% performance increase.
Now, the question is: how (un)safe would be to disable validation in a production system?
python 2.7
Amazon Linux AMI 2015.09
botocore 1.3.15

That depends on how confident you are that your inputs are correct, and what your upgrade process looks like. If the data you send is invalid, the service will reject it, producing a ClientError on your side after you've already sent all the data. Many services have per-request pricing, so disabling local validation could potentially cost more than the saved cpu time. Dynamo gives free data in, though I don't know how invalid requests count against write capacity, if at all. I would guess that it won't count against you. Additionally, if there is a minor service update that changes parameter validation for Dynamo and you upgrade botocore without testing, you may start to see requests failing since you're using the updated model. This is not likely to happen, however.
In summary, here are the implications:

You won't know about invalid data until after you've spent bandwidth sending it
There will be a different class of errors when invalid data is found
Depending on pricing model specifics, you could still be charged for invalid requests
Updating botocore will require that you ensure your data still passes validation

Thank you very much for your reply, Jordon. That's pretty much what we thought, but it always is reassuring to hear it from someone with deeper insights, thanks! :)

repo: boto/botocore


text:
Feature/FE-15

Discover page is provided as stated in #267 . Backend connection has not been provided yet. Page has artitems, exhibitions, and user with dummy data and links to discover more for each of them. Conflict is resulted from probably the authentication file because master branch did not have it when I created this branch. That's why, I copied the content of it merged to master branch later. Please consider to merge the authentication file I provided.

During the lab time reviewed it together. Merging directly.

authors: kostanya sinemKocoglu


text:
Hasan Baki Kucukcakiroglu About Me Revision

About me page of Hasan Baki Kucukcakiroglu needs to be revisioned in a way that it is compatible with About Me template of the team.

About Me page revision has been completed.
Hasan Baki Kucukcakiroglu About Me Page


text:
Hotfix for faulty and now redundant testing lib

fikk en D for mye i branch-navnet men....

@Roeland-Bouvet / @toredahl Ok, so the testing dependency should be removed everywhere from now on?

@Roeland-Bouvet / @toredahl Ok, so the testing dependency should be removed everywhere from now on?

No, just in this one. Am in the process of fixing the others.

authors: tinaeile toredahl

repo: bouvet-apps/app-inquiry


text:
The calling thread cannot access this object because a different thread owns it. (757f7779)

This issue was submitted by the add-in's exception handler.

Exception:
System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
   at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.GetValue(DependencyProperty dp)
   at System.Windows.Interactivity.TriggerBase.get_Actions()
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at System.Windows.Interactivity.EventTriggerBase.OnEvent(EventArgs eventArgs)
   at System.Windows.Interactivity.EventTriggerBase.OnEventImpl(Object sender, EventArgs eventArgs)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond)
   at Bovender.Versioning.UpdaterViewModel.DoChooseDestinationFolder()
   at Bovender.Versioning.UpdaterViewModel.<get_ChooseDestinationFolderCommand>b__4(Object param)
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter)

Message: The calling thread cannot access this object because a different thread owns it.
Environment

Parameter
Value

Version
7.0.1

OS
Microsoft Windows NT 6.1.7601 Service Pack 1, 32-bit

Excel
2010 SP2 (14.0.7168), 32-bit

CLR
4.0.30319.18444, 32-bit

VSTO runtime

ClickOnce
False

Bovender
0.11.1.0

FreeImage
3.16.0

Same as #69, but I cannot reproduce this issue on my production system.

repo: bovender/XLToolbox