[Model] Total mass

Quite often, I find myself in need of just getting the total mass of the robot.
However, there is no simple one-shot algorithm to get it in Pinocchio.
The standard today is to check data.mass[0]. However, the only way of having the correct value is to first call an unrelated method which fills it as a side-effect, such as centerOfMass, possibly with meaningless arguments. This is annoying, and somewhat error-prone.
With this PR, I add an instance method Model.getTotalMass().
I implemented it as an instance method inside the Model class because it is very simple, I did not know in which existing header to put it, and it seemed like an overkill to create a new one just for this.
I am returning the value, instead of putting it in data.mass[0]. This is partly due to the choice of developing this algorithm as an instance method, and partly because, as I am not filling the other values, it seemed inconsistent to just fill the zeroth element.

Maybe @nmansard, can you give our feedback on this PR?

I am fine with renaming it to computeMass. I would prefer computeTotalMass so that people do not think it is the mass matrix of that it has anything to do with data.mass.
As for making it an independent algorithm, I agree it would be preferable, but where to put it? joint-configuration.hpp? center-of-mass.hpp? It really seems inconvenient to create a separate header. I put it as an instance method because it is really so small and simple.

I would go for centerOfMass.h** with the name you suggest. You can also but the result in data.mass[0].

Fine with center-of-mass.hpp.
I propose overloading the algorithm: computeTotalMass(model) and computeTotalMass(model,data), the latter filling data.mass[0].
I'll wait a bit for @nmansard feedback

@gabrielebndn so far I know data.mass[0] represents the value for the body 0 (often floating-base body). So I don't understand why you want to fills values there from computeTotalMass.
Additionally, Mass values (as CoMs) are intrinsic properties to a model. If you agree with that, then I right place to store this constant values is inside model class.

@cmastalli no, mass[i] is the mass of the subtree supported by joint i, and data.mass[0] corresponds to the total mass of the model. The mass of the link attached to joint i can be found as model.inertias[i].mass()

Also, I don't think computation results should be put inside Model.

Indeed it's debatable if we should put total mass in Model . From one point of view, a total mass shouldn't be seen as a computed value, it's always the constant!. And just it's technically needed to computed due to URDF doesn't express it explicitly.

@cmastalli the output of neutral is constant, but we don't have a Model variable for it (indeed, we have just deprecated neutralConfiguration, which was ill-defined because it was also used for values read from SRDF).
One way to do it would be to initialize the model with 0 and update it each time a body is added, but it would be harder to maintain, and it would not be robust in case somebody manually changes the values inside model.inertias. I really much prefer a separate, neat algorithm.
I do not feel the need of storing the result somewhere, but if it need be, I think it should be data.mass[0]. We should not put the results of an algorithm inside the Model class, those go inside Data. data.mass[0] is where it has always been, and I see no point in adding an instance variable to the Data class.

I agree that this should be a new algorithm, not a modification of model, and that the results should be stored in data.mass[0] and not in model. I would also vote for putting it with the COM algo.

@jcarpent could you add the derivatives of this algorithm as well?

@nmansard Derivatives of computeTotalMass? It is independent of any configuration vector.

I implemented the requested changes. We now have computeTotalMass(model) and computeTotalMass(model,data), the latter filling data.mass[0] and returning its value.


Aspects: construct.apply should be construct.node.apply

The apply method on Construct should be under node and not directly on the Construct class.

I'll fix this, that change came in while I was working this and I should have called that out in the review.

I know. Yes, looks good to me.


Email people about recruiting teams

Ryan Nilsen, Ryan Thornburg, Tony Kershaw, Raj Narajan, HQ, AU, Nest, Bullpen

Did Ryan Nilsen, Ryan Thornburg, Tony Kershaw, Raj Narajan, HQ, AU, Nest, Bullpen

NCRioT (Tom), Innovate Durham, Jim Scarbarough, Derrick Minor

Leo did Loading Dock

Reached out to a contact at WakeTech


Correct moveit logo path in readme.md file

Description
Fix #2946
Added a different url path for the image
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] Extend the tutorials / documentation reference
[ ] Document API changes relevant to the user in the MIGRATION.md notes
[ ] Create tests, which fail without this PR reference
[ ] Include a screenshot if changing a GUI
[ ] While waiting for someone to review your request, please help review another open pull request to support the maintainers

The new link changes the image from black to white. Is this intended?

Hah, I didn't realize this because I use dark mode and the white actually looks "normal" on my screen. Good catch!
Ideally, a white background with black text would look best for all

@sea-bass @rhaschke Yes , I have corrected it

@sea-bass @rhaschke Yes , I have corrected it please have a look


[Kernel] [Triton] [AMD] Add Triton implementation of awq_dequantize

This PR adds awq_dequantize_triton, an implementation of awq_dequantize, which is already implemented in CUDA, as a fallback for when the CUDA implementation cannot be used. PR created per request of Joe Shajwari based on his conversation with Woosuk.
A Triton based implementation of awq_gemm will be coming soon to make it possible to use AWQ in some basic level when CUDA implementation cannot be used.
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

/ready

@robertgshaw2-neuralmagic could you take a look? I think Triton implementations could be interesting to expand access to other hardware.

@mgoin Please review this one if you could: https://github.com/vllm-project/vllm/pull/7386


Exporting internal changes back to open-source.

NOTE: This is an automated export. Changes were already LGTM'd internally.

This change is

@mattharden


Prepare build for ES modules

Replaced the Browserify build with a ES compatible rollup.js + Babel 7 build.
This change is the first step in order to move from CommonJS modules to ES modules.
Related to #1031 and #1130.
Done

[x] If you've added code that should be tested, please add tests.
[x] If you've modified the API (e.g. added a new config or public method), update the docs and TypeScript declaration file.
[x] Ensure your code lints
[x] Ensure the test suite passes (npm test).

ICYW, the bundles got smaller. :chart_with_downwards_trend:
browserify:       ./dist/raven.min.js: 9.80KB < maxSize 10KB gzip
rollup + babel 7: ./dist/raven.min.js: 9.96KB < maxSize 10KB gzip

Thanks! I'll have to test it locally soon, so I just skimmed through the code.
btw. How's 9.96KB smaller than 9.80KB? :P

@kamilogorek thanks for the review! I'll try to adress the issues on friday.
I mixed up the sizes (I corrected it in the comment above).

@kamilogorek I pushed an updated commit.

Plugin combinations are now generated again.
I updated the .babelrc config to reflect your browser support matrix (although I would recommend to support the latest 2 browser versions, instead of only the latest)
I removed the .editorconfig file
All tests are now built (although the workflow is not optimal, since every new test-file has to be referenced in the karma.unit.config.js file. rollup is not suited for bundling all tests into a single file.)

I also just noticed this commit: https://github.com/getsentry/raven-js/commit/5d2685fc644f62a33efd533f65f231e3a8f4cc1b
Does this commit have any implications on this PR?

Thanks, @jaylinski! I won't merge it before the end of the year, as most of the company (including me) is taking a break for holidays, and it's very major change. I'll test it throughout on my local env and let you know if everything is fine. If yes, then I'll merge it as a first thing in 2018  :)

I also just noticed this commit: 5d2685f
Does this commit have any implications on this PR?

Shhh...! it's a secret ;) No, it doesn't change anything for this PR :)

How's the move to es6 modules going?

@tommedema all our packages are available as ESM modules for quite come time now


ion-radio not setting value by default if values list is objects

Short description of the problem:
If using a object data for value, it won't mark as checked.
What behavior are you expecting?
Mark ion-radio as checked.
Which Ionic Version? 1.x or 2.x
1.x
Codepen using Ionic site sample example
http://codepen.io/wggley/pen/YqoreQ

It should be easy to achieve this with lodash or underscore.

This issue was moved to driftyco/ionic-v1#130


support tenants

This adds support for tenants. Support consists of:

[x] existing cli commands
[x] pageserver data directory layout and existing psql commands
[x] wal acceptor
[x] new command for dynamic tenant creation without pageserver reload
[x] keeping tenant name in compute postgres config so it can be used during connections to pageserver/safekeeper (done but no pr to zenith/postgres yet)

Nice!
What format does the tenant name have? Can we have the legendary ; DROP TABLE "COMPANIES";-- LTD corporation (https://news.ycombinator.com/item?id=27815396) as a tenant? I'd suggest using a system-generated tenant ID everywhere, and only map that to a human-readable name in the user interface.
Seems like this should have documentation or comments somewhere to explain what it means to have multiple tenants in the page server, but I'm not sure where exactly that belongs...

For now tenant name is allowed to be a sequence of any number of non space symbols, it's constrained by regexes only, for example here
Agree that same indirection as with the branch/timeline_id is better. Will transform tenant_name to tenant_id. Am I correct that page server should not know about human readable names and understand only ids in commands? So mapping to human readable format and backwards is performed in the ui.
Probably for now docs can go into pageserver's readme (it's not ideal since tenants appear not only in pageserver) or in the form of an RFC

this is ready for review, corresponding pr to postgres: https://github.com/zenithdb/postgres/pull/59

for python smoke tests see here and here also I think that it is a good idea to add your example as a separate test case

Updates:

Found that create tenant command in page service didnt update global repository map, fixed
Added level of indirection for tenants in pgdatadirs so your example works correctly now
Added one more test for tenants, see test_tenants.py
Changed handling of command argumets of tenant command to match zenith pg behaviour
Tenant create without tenant id now generates one by default (on the cli side)
Added docs page under docs/multitenancy.md

For now tenant name is allowed to be a sequence of any number of non space symbols, it's constrained by regexes only, for example here
Agree that same indirection as with the branch/timeline_id is better. Will transform tenant_name to tenant_id. Am I correct that page server should not know about human readable names and understand only ids in commands? So mapping to human readable format and backwards is performed in the UI.

I suggest that we do that now. I've tested the PR a bit and found the need to copy tenantid to every command quite annoying.
CLI seems to be the right place to maintain the mapping, so that pageserver only operates with ids and the user only uses human-readable names. Maybe we can expose the mapping in zenith tenant list, but I am not sure if it is needed for anything but debugging.
And also we can introduce a default name for the initial tenant (the one created via zenith init --create-tenant.
It will allow us to simplify tests.

I would rather not bother with tenant name at all. Let always create default tenant during zenith init store it in config file and use command without necessity to specify tenant_id.

Generally I like the state of this PR, let's rework CLI part and merge it

Updates:

CLI now creates tenant in pageserver without opting out, however cli of pageserver itself support init without tenant creation
after zenith init CLI saves initial tenant in config, and then uses it as a fallback value in other commands. Other commands now support optional argument --tenantid=
test fixtures enchanced to remember initial tenant (and here CLI fallback also works) so it is not required to carry initial tenant id to each call of e.g. Postgres.create
Rebased on main. (This includes removal of identify_system paegserver command)

Overall look good. One weird scenario is pg list:
> ./target/debug/zenith pg list
BRANCH	ADDRESS		LSN		STATUS
main	<IP_ADDRESS>:55432	0/16B91C0	running
main	<IP_ADDRESS>:55433	?	running

May be just add --tenantid as with create/start/stop/branch?


[dyno] feat: streamline benchmarking

concerns the supporting dyno module rather than this module
feat

[x] streamline benchmark creation process

adds an npx init command which creates sample benchmark files

[x] simplify parameter declarations

user-configurable parameters are now setup internally

[x] require user confirmation of set parameter values before test start

test

[x] simplify dirname resolution
[x] add some todo tests

refactor

[x] rename task.replies to more descriptive task.acked, from: https://en.wikipedia.org/wiki/Acknowledgement_(data_networks)
[x] validate required test parameters
[x] validate all parameter declarations

docs

[x] minor formatting tweaks
[x] add/formattedtodos

Closing in favor of: https://github.com/nicholaswmin/automap/pull/30


Add a Pipeline option that sets desired logging level for logs produced by runners.

In some cases BEAM users or runner maintainers may want to increase the logging level produced by the BEAM runners. To make it simpler, SDK should capture a desired logging level in PipelineOptions and pass it on to runners.
For comparison, we have instrumentation that captures logging for Java SDK harness[1]. It seems that we should have similar option that captures logging granularity on the runner side.
[1] https://github.com/apache/beam/blob/2b4a6b5d5cb455fe73971fde4caa7d1446cd55aa/sdks/java/core/src/main/java/org/apache/beam/sdk/options/SdkHarnessOptions.java#L62
Imported from Jira BEAM-3178. Original Jira may contain additional context.
Reported by: tvalentyn.

.close-issue this was the same as #18222


Some of Room delegate methods were never calling.

Xcode 11.4.1
Device: iPhone 6s
SDK version: 3.2
When i connected to room

roomDidConnect was calling and getting remote stream data like video, audio.
In Remote participant Delegate -  didSubscribeToAudioTrack, didUnsubscribeFromVideoTrack were calling

participantDidConnect was never calling.
When remote user disconnects

participantDidDisconnect, didUnsubscribeFromVideoTrack,didSubscribeToAudioTrack was never calling.

room = TwilioVideoSDK.connect(options: options, delegate: self)

Room delegate
extension TwilioController: RoomDelegate {
    func roomDidConnect(room: Room) {
        room.remoteParticipants.forEach({$0.delegate = self})
    }

    func roomDidDisconnect(room: Room, error: Error?) {
        print("Disconnected from room \(room.name), error = \(String(describing: error))")
        self.cleanupRemoteParticipant()
        self.room = nil
    }

    func roomDidFailToConnect(room _: Room, error: Error) {
        print("Failed to connect to room with error = \(String(describing: error))")
        self.room = nil
    }

    func roomIsReconnecting(room: Room, error: Error) {
        print("Reconnecting to room \(room.name), error = \(String(describing: error))")
    }

    func roomDidReconnect(room: Room) {
        print("Reconnected to room \(room.name)")
    }

    func participantDidConnect(room: Room, participant: RemoteParticipant) {
        // Listen for events from all Participants to decide which RemoteVideoTrack to render.
        participant.delegate = self
        print("Participant \(participant.identity) connected with \(participant.remoteAudioTracks.count) audio and \(participant.remoteVideoTracks.count) video tracks")
    }

    func participantDidDisconnect(room: Room, participant: RemoteParticipant) {
        print("Room \(room.name), Participant \(participant.identity) disconnected")
        // Nothing to do in this example. Subscription events are used to add/remove renderers.
    }
}

Remote Participant delegate

extension TwilioController: RemoteParticipantDelegate {
    func remoteParticipantDidPublishVideoTrack(participant: RemoteParticipant, publication: RemoteVideoTrackPublication) {
        // Remote Participant has offered to share the video Track.
        print("Participant \(participant.identity) published \(publication.trackName) video track")
    }

    func remoteParticipantDidUnpublishVideoTrack(participant: RemoteParticipant, publication: RemoteVideoTrackPublication) {
        // Remote Participant has stopped sharing the video Track.

        print("Participant \(participant.identity) unpublished \(publication.trackName) video track")
    }

    func remoteParticipantDidPublishAudioTrack(participant: RemoteParticipant, publication: RemoteAudioTrackPublication) {
        // Remote Participant has offered to share the audio Track.

        print("Participant \(participant.identity) published \(publication.trackName) audio track")
    }

    func remoteParticipantDidUnpublishAudioTrack(participant: RemoteParticipant, publication: RemoteAudioTrackPublication) {
        // Remote Participant has stopped sharing the audio Track.

        print("Participant \(participant.identity) unpublished \(publication.trackName) audio track")
    }

    func didSubscribeToVideoTrack(videoTrack _: RemoteVideoTrack, publication: RemoteVideoTrackPublication, participant: RemoteParticipant) {
        // The LocalParticipant is subscribed to the RemoteParticipant's video Track. Frames will begin to arrive now.
        print("Subscribed to \(publication.trackName) video track for Participant \(participant.identity)")
        if self.remoteParticipant == nil {
            _ = renderRemoteParticipant(participant: participant)
        }
    }

    func didUnsubscribeFromVideoTrack(videoTrack _: RemoteVideoTrack, publication: RemoteVideoTrackPublication, participant: RemoteParticipant) {
        print("Unsubscribed from \(publication.trackName) video track for Participant \(participant.identity)")
    }

    func didSubscribeToAudioTrack(audioTrack _: RemoteAudioTrack, publication: RemoteAudioTrackPublication, participant: RemoteParticipant) {
        print("Subscribed to \(publication.trackName) audio track for Participant \(participant.identity)")
    }

    func didUnsubscribeFromAudioTrack(audioTrack _: RemoteAudioTrack, publication: RemoteAudioTrackPublication, participant: RemoteParticipant) {
        print("Unsubscribed from \(publication.trackName) audio track for Participant \(participant.identity)")
        if self.remoteParticipant == participant {
            cleanupRemoteParticipant()
            // Find another Participant video to render, if possible.
            if var remainingParticipants = room?.remoteParticipants,
                let index = remainingParticipants.index(of: participant) {
                remainingParticipants.remove(at: index)
                renderRemoteParticipants(participants: remainingParticipants)
            }
        }
    }

    func remoteParticipantDidEnableVideoTrack(participant: RemoteParticipant, publication: RemoteVideoTrackPublication) {
        print("Participant \(participant.identity) enabled \(publication.trackName) video track")
    }

    func remoteParticipantDidDisableVideoTrack(participant: RemoteParticipant, publication: RemoteVideoTrackPublication) {
        showConectionStatus(text: "Video Paused")
        print("Participant \(participant.identity) disabled \(publication.trackName) video track")
    }

    func remoteParticipantDidEnableAudioTrack(participant: RemoteParticipant, publication: RemoteAudioTrackPublication) {
        print("Participant \(participant.identity) enabled \(publication.trackName) audio track")
    }

    func remoteParticipantDidDisableAudioTrack(participant: RemoteParticipant, publication: RemoteAudioTrackPublication) {
        print("Participant \(participant.identity) disabled \(publication.trackName) audio track")
    }

    func didFailToSubscribeToAudioTrack(publication: RemoteAudioTrackPublication, error: Error, participant _: RemoteParticipant) {
        print("FailedToSubscribe \(publication.trackName) audio track, error = \(String(describing: error))")
    }

    func didFailToSubscribeToVideoTrack(publication: RemoteVideoTrackPublication, error: Error, participant _: RemoteParticipant) {
        print("FailedToSubscribe \(publication.trackName) video track, error = \(String(describing: error))")
    }
}

Did i missed something. Please help me to figure out the issue.
Thanks.

@sureshmopidevi,
Looking at the RoomDelegate code you pasted, there is an error with this line:
 func roomDidReconnect(room: Room) {
        print("Reconnected to room \(room.name)"
    }

And that appears to be bleeding into the following two definitions. I'm not sure if that is how it is in your actual file of if that was just a typo in the Git issue. If it is is your actual file, that might be why the following two delegate methods are not being invoked.
Ryan

@paynerc it's a typo in git issue.

@sureshmopidevi,
OK. I wasn't sure how that would have even compiled otherwise. So if I am correct in understanding what you are seeing...

You have participant A who joins a room

roomDidConnect() is called.

Participant B joins the same room

participantDidConnect() was never called.

Participant B leaves the room

participantDidDisconnect() was never called.

Participant A leaves the room

roomDidDisconnect() was called?

What is TwilioController? What is the lifetime of this object? From a look at the implementations listed above, it would seem like these delegates should be getting called. Room.delegate and RemoteParticipant.delegate maintains a weak references to the object passed in. I am wondering if the TwilioConroller object is instantiated and passed in to the TwilioVideoSDK.connect() method, and eventually goes out of scope and is deallocated if nothing else is holding a strong reference to it. I am not sure if this is what is happening here, but without seeing the actual code, it is a possibility.
Also, do you have any debug level log files that I could look at?
If you don't feel comfortable publicly sharing code or log files, you can open a Twilio support ticket by emailing<EMAIL_ADDRESS>and mention that I asked you to send information, and include this GitHub issue and it should get routed to me.
Ryan

I have workaround and i assumed that data track causing the issue.
Connection options
func setupConnectionOptions(roomName: String, token: String) -> ConnectOptions {
        return ConnectOptions(token: token) { builder in
            if let videoTrack = self.localVideoTrack {
                builder.videoTracks = [videoTrack]
            }
            if let audioTrack = self.localAudioTrack {
                builder.audioTracks = [audioTrack]
            }

            if let dataTask = self.localDataTrack {
                builder.dataTracks = [dataTask]
            }

            builder.roomName = roomName
        }
    }

Data track was assigning to builder by null check. but when i have the following ⬇ code, video/audio unsubscribing and participant disconnection was not calling.
if let dataTask = self.localDataTrack {
         builder.dataTracks = [dataTask]
   }

After removing data track from connection options. i was abled to get audio/video unpublishing  and participant disconnection call.
Query
Lets say we have 2 users A From web and B from iOS
If A end call , participantDidDisconnects calls on B side , and i am disconnecting room.
When B ends call. I was calling
room?.disconnect()

log

Unsubscribed audio track for Participant XXX-XXXX-XXXXX-XXXX
Unsubscribed video track for Participant XXX-XXXX-XXXXX-XXXX
Disconnected from room room1, error = nil
Room was successfully disconnected for B but call was never ending at A.

@sureshmopidevi,
That sounds like a potentially serious issue if it is happening repeatedly for you. I would like to see the debug level logs for the run where publishing the data track in the connect options is then causing you further issues as well as the code using to create your data track. I would really like to be able to reproduce the issue that you are seeing.  At minimum a Room SID would be helpful so I can do some further investigating.
As far as your second question, you are saying that after calling room.disconnect() on iOS, you receive the roomDidDisconnect() event on iOS, but the JS SDK is not receiving the participantDisconnected event?
Ryan

@paynerc
We are not using REST API to create rooms, instead we are adding VideoGrant to a dynamic room name by following below guide
https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens#javascript
So will there be a RoomSid in this case also?

Yes, absolutely. When you connect to a room the Room SID is provided back in the Room object. You can log this out in your roomDidConnect() callback.
    func roomDidConnect(room: Room) {
        room.remoteParticipants.forEach({$0.delegate = self})
        print("Connected to room \(room.name), Room Sid = \(room.sid)")
    }

If you can reproduce the issue where the data tracks in the connect options is causing issues, please at minimum send a Room SID. As I said, debug level logs would be the most helpful but I understand you may not wish to attach them to this public GitHub issue. As I mentioned before, you can send them to<EMAIL_ADDRESS>reference me and this issue and let me know here that you sent them and I will find the support issue.
Thank you,
Ryan

@paynerc , I have sent an email to<EMAIL_ADDRESS>along with some log files and required information.
Thanks.

Thank you, I will keep my eye out for the support issue and will get back to you as soon as possible.
Thank you,
Ryan

@sureshmopidevi,
I have responded to the support issue. I will move all communications to that medium for the time being and once we come to a resolution I will update this public facing GitHub issue in the case that it may help other developers in the future.
Ryan

Closing this issue as we discussed in the support ticket that the code is actually working as expected and there are no issues in the SDK.


feat: Fintype instance for an extended family of linearly independent vectors

Given a family of linearly independent vectors $s \subset t$, one can get a linearly independent family which spans the submodule spanned by $t$ containing $s$. We add a Fintype instance for this family in the case where the span of $t$ is finite so as to be able to write sums over this type when manipulating bases indexed by it (typically Basis.extend and similar).

Can you find a better place for your instance? Here, it's adding a lot of imports to the file Mathlib.LinearAlgebra.Basis.VectorSpace, as you can see from the github-action comment above, which should probably be avoided.

bors r+
Thanks!


Upgrade Mockito 5.10.0 -> 5.11.0

This PR contains the following updates:

Package
Type
Update
Change

Mockito

minor
5.10.0 -> 5.11.0

Mockito
import
minor
5.10.0 -> 5.11.0

Release Notes

mockito/mockito (Mockito)
v5.11.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.11.0

2024-03-01 - 17 commit(s) by Aouichaoui Youssef, Franz Wong, Pranoti Durugkar, Róbert Papp, dependabot[bot]
Fixes #3281 : Add native method to exception message of MissingMethodI… (#3283)
MissingMethodInvocationException is thrown when mocking native method in 5.x (#3281)
Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 1.20.0 (#3277)
Bump versions.bytebuddy from 1.14.11 to 1.14.12 (#3272)
Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 (#3268)
Bump org.shipkit:shipkit-auto-version from 2.0.3 to 2.0.4 (#3267)
Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 (#3266)
Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 (#3265)
Bump gradle/wrapper-validation-action from 2.0.0 to 2.0.1 (#3264)
Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#3261)
Bump versions.junitJupiter from 5.10.1 to 5.10.2 (#3260)
Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.0 (#3258)
Fixes #3229: Resolve test generic arguments (#3257)
Bump org.shipkit:shipkit-auto-version from 2.0.2 to 2.0.3 (#3256)
Use kvm on ubuntu instead of macos to run Android tests (#3252)
Fixes #3240 : Renamed mockito bom artifact (#3251)
Remove shipkit workaround for generateChangelog (#3250)
Bump com.gradle.enterprise from 3.16.1 to 3.16.2 (#3249)
Mockito bom missing artifact in maven central for java21 (#3240)
@Captor test parameters don't work with primitive type arguments (#3229)
Gradle 8.2: work around fix for release publishing (#3053)

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Mockito 5.10.0 -> 5.11.0

See:
- https://github.com/mockito/mockito/releases/tag/v5.11.0
- https://github.com/mockito/mockito/compare/v5.10.0...v5.11.0


Angular CLI Eclipse "Cannot find module './foo' " warning. Code works fine

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.1.0
node: 7.10.0
os: darwin x64
@angular/animations: 4.3.5
@angular/common: 4.3.5
@angular/compiler: 4.3.5
@angular/core: 4.3.5
@angular/forms: 4.3.5
@angular/http: 4.3.5
@angular/platform-browser: 4.3.5
@angular/platform-browser-dynamic: 4.3.5
@angular/router: 4.3.5
@angular/cli: 1.1.0
@angular/compiler-cli: 4.3.5
@angular/language-service: 4.3.5
Repro steps.

Desired functionality.
Hi there, I have created a couple of test projects on Eclipse using the Angular CLI. When I manually import a "class" (the following doesn't happen when the import is done using the content assistant),
everything works fine, except a persisting error inside the file saying "Cannot find module './foo' ".
It actually does find it since the code compiles and runs perfectly, but the error is a bit annoying on top. Note, that on the file tree the error is not visible, only when a file is open, from inside the file.

Do you have a project that we could use to reproduce this?

Here you can find the src folder, from the erroneous "project".
code
To also clarify the problem, the import { RoutingModule } from './routes/routing-module' as seen on the screenshot has this error: Cannot find module './routes/routing-module'. But apparently this is not the case since my apps routing works fine.

A couple more snapshots:

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


provider api docs are not up to date

Tell us about your request
The tutorial at https://karpenter.sh/docs/getting-started/ references "limits:" field that is not listed in https://karpenter.sh/docs/provisioner/, but I could find that some design specs are at https://github.com/aws/karpenter/blob/main/designs/limits.md
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
It is kinda hard to get started when.
Are you currently working around this issue?
Banging my head around the walls
Additional context
I think I'll go back to non-karpenter world, this doesn't feel production ready at all.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hey @matti,
The project is evolving quickly, and we're adding new features all the time.
I imagine that this sense isn't just lack of documentation, but a combination of issues adding up to a sense of things not being quite where they should be. If you're willing to take the time, I'd love to hear a list of things that don't feel right so we can try to course correct and deliver a better getting started experience for new users.

The Provisioner API documentation https://karpenter.sh/v0.5.5/provisioner/ omits any documentation of the "limits" field.
The fields ttlSecondsUntilExpired, ttlSecondsAfeterEmpty, taints,  and labels are only documented in the example, not in the body of the document. The field kubeleteConfiguration is only documented in the body, not in the example.

It would probably be clearer to put the page documenting the AWS-specific provisioner API as a sub-page of "Provisioner API" instead of as a sub-page of "AWS".

Hey @johngmyers, We've updated the docs now so you can see documentation about limits here -
https://karpenter.sh/v0.6.0/provisioner/#speclimits

The fields ttlSecondsUntilExpired, ttlSecondsAfeterEmpty, taints, and labels are only documented in the example, not in the body of the document. The field kubeleteConfiguration is only documented in the body, not in the example.

Good callout, we should definitely fix this. @geoffcline could we get the provisioner doc updated so that atleast everything in the example is reflected in the body?

I opened #1419 to address this.
I decided not to add further description of taints/labels as the existing content seemed sufficient.

Document:
spec:
  ttlSecondsUntilExpired
  ttlSecondsAfterEmpty
  taints
  labels


Compilation error

Hello,
I'm getting the folllowing error when compiling:
root@#####:/rai_build# make rai_node
[  2%] Built target argon2
[  3%] Built target lmdb
[  4%] Built target ed25519
[ 12%] Built target libminiupnpc-static
[ 13%] Built target xxhash
[ 87%] Built target cryptopp-static
[ 87%] Built target blake2
[ 91%] Built target rai_lib
[ 96%] Built target node
[ 98%] Built target secure
Linking CXX executable rai_node
librai_lib.so : undefined reference to « CryptoPP::AlignedDeallocate(void*) »
collect2: error: ld returned 1 exit status
make[3]: *** [rai_node] Error 1
make[2]: *** [CMakeFiles/rai_node.dir/all] Error 2
make[1]: *** [CMakeFiles/rai_node.dir/rule] Error 2
make: *** [rai_node] Error 2
Is the issue on my end, please?

Which commit/release of  cryptopp did you use for this build?


Improve error messages surrounding serverProxyPort port 3307

Feature Description
It is confusing that it uses port 3307 as serverProxyPort, because it resembles the MySQL port number and is some times used for the local mysql port (if 3306 is unavailable).
https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1841#issuecomment-1592714552

So maybe the server side proxy component should be using a port number that does not resemble any of the ports normally used by the databases (are the proxy components using ssh, then maybe just 22 or a port number resembling ssh, for instance 2222).

https://github.com/GoogleCloudPlatform/cloud-sql-go-connector/blob/68a58cdf4c2f390e45ba09daf0e339fc15b9756d/dialer.go#L47
https://github.com/GoogleCloudPlatform/cloud-sql-go-connector/blob/f1bcda8170c7318d29de958a42ee457e8b0193b5/internal/mock/cloudsql.go#L302
Sample code
serverProxyPort = "2222"

 ln, err := tls.Listen("tcp", ":2222", &tls.Config{

This would also require a change in the server code.
It would probably require the connector to try to first connect to 2222 and then fall back to 3307, in case the server has not been launched with the new port yet.
The server code would probably listen to both ports, while updating all the connectors.
Alternatives Considered
This could also instead be remedied by a better error message when the connector cannot connect to the server.
Additional Details
No response

Hi @runephilosof-karnovgroup!
Thanks for the feature request on the Cloud SQL Go Connector 😄

It is confusing that it uses port 3307 as serverProxyPort, because it resembles the MySQL port number and is some times used for the local mysql port (if 3306 is unavailable).

I understand that the port number being 3307 may cause some slight confusion with the similarity to MySQL default port. The reason for the proxy server port initially being 3307 was for the intention of having it actually be similar to that of the MySQL port. This was because when the Cloud SQL Proxy first launched, Cloud SQL at the time only supported MySQL databases. This obviously didn't scale perfectly and as you mentioned maybe causes a bit of confusion for Postgres or SQL Server users.

This would also require a change in the server code.
It would probably require the connector to try to first connect to 2222 and then fall back to 3307, in case the server has not been launched with the new port yet.

Not only would this require a backend change to the proxy server and to the Cloud SQL Go Connector, it would also require changes to the other Cloud SQL Language Connectors (Python, Node, Java). On top of this we have been using 3307 as the server proxy port for years so we have to take into account that most of our customers are familiar with this and changing it purely for convenience may cause more headaches than the convenience it provides.
I will discuss this over with the team but I think a more likely solution is to provide more detailed error messages to aid in resolving errors relating to the proxy server port and to update our docs https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1841 for the Connectors and Proxy to be more clear about the server proxy port.
Thanks again for the feature request and providing valuable insights. Let us know if there are any other pain points you found with the Cloud SQL Proxy or Go Connector and we can see what we can do 😄

@runephilosof-karnovgroup Can you elaborate on the problem you're trying to solve? The proxy server port should mostly be an invisible implementation detail. The only place it matters is where people want to lock down their firewall and would need to allow this port.

Hi @runephilosof-karnovgroup! I have updated this bug to track improving the error messages surrounding the server proxy port. Hopefully more detailed error messages will help resolve the confusion, if they do not we can take another look at the port number itself. 😄


Interactive Shell. tty: Not a tty. Unable to use screen or tmux

This was discussed extensively in issue #728, which was closed for some reason.
However, the issue is not resolved as of Docker v 1.3.3 (tty reports "not a tty")
Any idea?

@dbabits Can you come onto IRC (freenode #docker), or maybe even better the docker-user mailing list?
People use tmux with Docker all the time so I'm sure there's probably a config issue at play here.

@cpuguy83 , please see fresh issue #8755

So this is with docker exec?


Tracking for BCP-99: Add Sign Support

This is a tracking issue for the add sign support.
BCP: beyondstorage/beyond-ctl#99
Command
byctl sign [command options] [source]

Steps / History

[x] Implement sign support #104
[x] Add the sign document to the site

Unresolved Questions

None yet.

All done.


mitmproxy doesn't works with Android Emulator + SSL

Mitmproxy package on Kali Linux 2.0 (mitmproxy 0.13)
Mitmproxy CA cert installed on Android Emulator 5.0.1 (API 21) / 4.4.2 (API 19) [SDK 24.3.4]
mitmproxy -e -vvv
From Android Emulator Browser->https://www.google.com/

...
<IP_ADDRESS>:50899: Received CONNECT request to SSL port. Upgrading to SSL...
<IP_ADDRESS>:50899: Establish SSL
-> with client
-> with server (sni: None)
<IP_ADDRESS>:50899: SSL handshake error: The client may not trust the proxy's certificate.
<IP_ADDRESS>:50899: ProxyError('NetLibError("SSL handshake error: SysCallError(-1, 'Unexpected EOF')",)',)
<IP_ADDRESS>:50897: SSL handshake error: The client may not trust the proxy's certificate.
<IP_ADDRESS>:50897: ProxyError('NetLibError("SSL handshake error: SysCallError(-1, 'Unexpected EOF')",)',)
<IP_ADDRESS>:50899: clientdisconnect
<IP_ADDRESS>:50897: clientdisconnect
<IP_ADDRESS>:50899: serverdisconnect
-> <IP_ADDRESS>:443
...

Thanks for the report. Can you visit other HTTPS websites, e.g. https://mitmproxy.org/ ? How did you install the root certificate?

Hi,

The CA certificate was installed via http://mitm.it (certificate in settings and popup "Network may be monitored" is showed)
No connection to other httpS websites.

Thanks

Did you take a look at https://github.com/mitmproxy/mitmproxy/issues?utf8=✓&q=is%3Aissue+android+emulator?

Hi, yes I took it but no answer to this problem.
My previous emulator 4.2.2 (API 17) has worked fine with a previous mitmproxy version (I think was 0.10).
From new mitmproxy version (0.13) also my previous emulator 4.2.2 (API 17) has stopped to work with interception.
Thanks

I am having the same issue when trying to use mitmproxy 0.13 when running an emulator with API 23. Similar to cybersecurity7, I have the CA certificate installed via http://mitm.it ("Network may be monitored" is shown on starting the device) and cannot access any HTTPS site.

I have the same problem here. The browser just freezes when accessing https pages with mitmproxy 0.15.

Looks like this comment is relevant: https://github.com/mitmproxy/mitmproxy/issues/362#issuecomment-60320525

This has just been fixed by @fimad - thanks again!


Added identity parameter so that hosts would export fqdn as identity

This is same as following pull request.
Added identity parameter so that hosts would export fqdn as identity.
https://github.com/puppet-community/puppet-mcollective/pull/142
I have cleaned the repo and created a new pull request. Following is the issue,
While using Mcollective with Foreman, if hosts are not exporting fqdn to mcollective, 'puppet run' from foreman would not work, as foreman-proxy uses fqdn for 'mco puppet runonce ' command .
Socket.gethostname is used for finding identity by default and could give just hostname in configurations like following..
[root@centos ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos
DOMAINNAME=ppp.com

1.9.3-p484 :002 > Socket.gethostname
=> "centos"

Facter is more reliable..
# facter fqdn
centos.ppp.com

Hello @hunner ,
As per the update of @ffrank in the previous pull request, you are the right person to look at this. Can you have a look?

@pythianjoseph can you squash your commits into one commit?

This change lgtm

@nibalizer Thank you. Fixed the commit.

thanks @pythianjoseph!


Support for transaction signatures

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
As far as I can tell, it is not implemented.
Is it possible to get the v, r, s values from a transaction? From the assembly script docs I don't see this as an option:
class Transaction {
  hash: Bytes
  index: BigInt
  from: Address
  to: Address | null
  value: BigInt
  gasLimit: BigInt
  gasPrice: BigInt
  input: Bytes
  nonce: BigInt
}

I'd like to be able to derive the public key associated with the address that initiated a transaction, and I believe this requires access to the signature.  Is it possible to achieve this?  If not, do you intend to support it?  Thanks.

The address == public key already in Ethereum. The from address for a top-level transaction is the actual public key (of a private key) itself that signed the transaction. Just having the signature values (r, s and v) is not enough to recover the signer anyway. You need the actual RLP encoded payload of the transaction (in this order: nonce, gasPrice, gasLimit, to, value, trxData, p.chainID, uint64(0), uint64(0))`. This RLP payload is then hash and this hash is signed to get a signature.
Unless there is something I'm missing maybe about derived key(s), the from address should be all good already.

Thanks @maoueh.  You're right, I'm looking to derive the public key from the address.  The ultimate goal is to grab the public key from a transaction to verify signatures made elsewhere.  I was looking at this stack overflow answer, and suggest it can be done by supplying v, r, s, and the transaction hash into a utility function.
But looking into this further it seems like my overall approach is wrong.  Instead saving the public key for future verifications, future verifications should just be done using this method (deriving public key from signature, message hash, Ethereum address).


add aarch64 build process

This doesn't include the integration tests, yet, but at least the build fires and runs.
I will need to work out later what's going on with the integration tests, I suspect there's a difference on the registers in the Qemu VM (which might be armv7).


fix: specify the maximum version of requests to avoid regression

Version 2.23.3 of the requests package broke our custom SSLHTTPAdapter. This commit defines the maximum version of that package, to make sure it will continue working without an issue. Note that, this is a short term solution only. For more details see this issue: https://github.com/psf/requests/issues/6730

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

:tada: This PR is included in version 3.20.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


improve grounding performance

It's significantly faster if grounddb uses this object lookup over Collection.findOne(). I'm not sure what's causing the overhead in minimongo, but i think it's save to bypass it.

I noticed, Collection.findOne(_id) will do the trick too... just don't pass a object like {_id: doc._id} this produces the overhead.

Hi gandev, I have currently this problem (of having big collections that take too much time to ground) and would love to implement this solution right away. Since I'm a little new to Github, I do I do this?
Many thanks.

@joaopiopedreira As a temporary solution, just can clone https://github.com/gandev/db.git into your meteor project packages folder.

maybe we should use the findOne(id) - the map api can change.

@gandev should you remove the installed groundDB package when copying  https://github.com/gandev/db.git into the project? Is there another way to do this?

@almogdesign @raix fixed this in v0.3.9

Hi Andreas, when will this version be available in Atmosphere? To use it now, I did
git clone https://github.com/GroundMeteor/db.git

into my packages folder and it works. But I've tried
meteor update

and the new version is not coming through. Am I doing something wrong? Thanks.


Increase honeycomb sample rates

We reduced events from ~17M → ~12M https://github.com/instantdb/instant/pull/109. The problem is handle-receive and handle-events generate a ton of subtraces for querying/book-keeping. So let's just wholesale increase the sample rate for all event types

Closing in favor of https://github.com/instantdb/instant/pull/131


[AutoDiff] Add @differentiable attribute SILGen assertion.

Previously, @differentiable attribute SILGen lowering was skipped if the
attribute did not have resolved parameter indices. This led to unexpected
and difficult-to-debug bugs like TF-888.
Re-add the assertion for robustness; I suspect this may be possible after
https://github.com/apple/swift/pull/27613.

Currently, we have a lack of cross-module differentiation tests. (One reason is it's difficult to predict which reproducers may cause cross-module bugs.)
I'll run the extended test suite (tensorflow/swift-apis and fastai/swiftai) to verify whether it's okay to re-enable the assertion.

@swift-ci Please test tensorflow

I think this issue was specific to deserialization and it made tensorflow/swift-apis fail to compile. @eaplatanios added this continue to make things work. I don't yet know what the right solution is without knowing the underlying problem, and I suspect it will fail tensorflow/swift-apis compilation again. Let's wait on your test results.

That matches my understanding. I tracked down the original deserialization issue.
I found that the continue caused TF-888: some @differentiable attributes from non-primary files did not get SILGen'd to [differentiable] attributes. Based on local testing, I believe the fix https://github.com/apple/swift/pull/27613 may allow this assertion to be re-enabled.

Extended CI has passed. Merging.


useRoute function

I guess it will be useful to add a new package like @vueent/vue-router that would provide functions like the following:
import { SetupContext } from '@vue/composition-api';

export function useRoute(context: SetupContext) {
  return context.root.$route;
}

export function useRouter(context: SetupContext) {
  return context.root.$router;
}

This functions may be used inside controllers.
For example:
import { SetupContext } from '@vue/composition-api';
import { Controller } from '@vueent/core';
import { calculated } from '@vueent/reactive';
import { useRoute } from '@vueent/vue-router';

export default class IdentifiedController extends Controller {
  private _context: SetupContext;

  @calculated public get id() {
    return Number(useRoute(this._context).params.id);
  }

  constructor(context: SetupContext) {
    super();
    this._context = context;
  }

  public next() {
    useRouter(this._context).push(`/identified/${this.id + 1}`);
  }
}

I think it's better to move this functionality outside of vueent.


Update install-microsoft-identity-manager-for-user-profiles-in-sharep…

…oint-server-2016.md
Fix for #843

@Techwriter40 Hi Kirk! Changes look correct. Could you please confirm and merge? Thanks!

@Techwriter40 Any updates on this?


Internal error E315 with ill-formed vim script

This ill-formed vim script causes internal errors E315
with vim-8.1.389 and older on Linux x86_64:
$ cat > bug.vim <<EOF
for
/1/5/2/s/\n
endfor
EOF

Then run vim and press  a few times
$ vim --clean -S bug.vim
Error detected while processing /home/pel/sb/vim/src/bug.vim:
line    1:
E690: Missing "in" after :for
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 2
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 3
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 4
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 5
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 6
Press ENTER or type command to continue
E315: ml_get: invalid lnum: 6
Press ENTER or type command to continue

If's fine of course to report errors, but not internal errors E315.
Bug was discovered using afl-fuzz.

Here is a backtrace:
[New LWP 6363]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./src/vim -Nu NONE -S /proc/self/fd/11'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f1d3d5b0777 in kill () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f1d40abf9c0 (LWP 6363)):
#0  0x00007f1d3d5b0777 in kill () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x000000000055fb85 in may_core_dump () at os_unix.c:3432
No locals.
#2  0x000000000055fb29 in mch_exit (r=1) at os_unix.c:3398
No locals.
#3  0x00000000006ceb83 in getout (exitval=1) at main.c:1689
No locals.
#4  0x0000000000521bf3 in preserve_exit () at misc1.c:2189
        buf = 0x0
#5  0x000000000055d42e in deathtrap (sigarg=6) at os_unix.c:1115
        entered = 1
        i = 4
#6  <signal handler called>
No symbol table info available.
#7  0x00007f1d3d5b0438 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#8  0x00007f1d3d5b203a in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#9  0x00000000006d54bf in siemsg (s=0x6ef688 "E315: ml_get: invalid lnum: %ld") at message.c:847
No locals.
#10 0x0000000000513806 in ml_get_buf (buf=0x2199b70, lnum=2, will_change=0) at memline.c:2562
        hp = 0x7ffd33e69210
        dp = 0xdb1cc76007c8f400
        recursive = 1
#11 0x000000000051f42a in plines_win_nofold (wp=0x21974e0, lnum=2) at misc1.c:397
        s = 0x4c5918 <lineFolded+40> "H\205\300\017\225\300\017\266\300\311\303UH\211\345H\203\354\060H\211}\350H\211u\340H\211U\330dH\213\004%("
        col =<PHONE_NUMBER>02208
        width = -618870944
#12 0x000000000051f3d4 in plines_win_nofill (wp=0x21974e0, lnum=2, winheight=1) at misc1.c:380
        lines = -618870944
#13 0x000000000051f31e in plines_win (wp=0x21974e0, lnum=2, winheight=1) at misc1.c:349
No locals.
#14 0x000000000052e503 in curs_rows (wp=0x21974e0) at move.c:753
        lnum = 3
        i = 1
        all_invalid = 1
        valid = 0
        fold_count = 0
#15 0x000000000052ebba in curs_columns (may_scroll=1) at move.c:965
        diff = 4279127
        extra = 0
        off_left = 0
        off_right = 0
        n = 0
        p_lines = 0
        width = 0
        textwidth = 35232624
        new_leftcol = 0
        startcol = 870749056
        endcol = 8
        prev_skipcol = 0
        so = 0
        siso = 0
#16 0x000000000052e164 in validate_cursor () at move.c:655
No locals.
#17 0x00000000006ce49d in main_loop (cmdwin=0, noexmode=0) at main.c:1349
        oa = {op_type = 0, regname = 0, motion_type = 0, motion_force = 0, use_reg_one = 0, inclusive = 0, end_adjusted = 0, start = {lnum = 0, col = 0, coladd = 0}, end = {lnum = 0, col = 0, coladd = 0}, cursor_start = {lnum = 0, col = 0, coladd = 0}, line_count = 0, empty = 0, is_VIsual = 0, block_mode = 0, start_vcol = 0, end_vcol = 0, prev_opcount = 0, prev_count0 = 0}
        prev_oap = 0x0
        previous_got_int = 0
        conceal_old_cursor_line = 0
        conceal_new_cursor_line = 0
        conceal_update_lines = 0
#18 0x00000000006cdabd in vim_main2 () at main.c:865
No locals.
#19 0x00000000006cd1fd in main (argc=5, argv=0x7ffd33e695e8) at main.c:412
        i = 5

Apparently, the error is raised from here:
https://github.com/vim/vim/blob/5ed58c7b700fcb9fd03c418300145b616f4bdcdd/src/memline.c#L2562

Here is a backtrace:
[New LWP 6363]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./src/vim -Nu NONE -S /proc/self/fd/11'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f1d3d5b0777 in kill () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f1d40abf9c0 (LWP 6363)):
#0  0x00007f1d3d5b0777 in kill () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x000000000055fb85 in may_core_dump () at os_unix.c:3432
No locals.
#2  0x000000000055fb29 in mch_exit (r=1) at os_unix.c:3398
No locals.
#3  0x00000000006ceb83 in getout (exitval=1) at main.c:1689
No locals.
#4  0x0000000000521bf3 in preserve_exit () at misc1.c:2189
        buf = 0x0
#5  0x000000000055d42e in deathtrap (sigarg=6) at os_unix.c:1115
        entered = 1
        i = 4
#6  <signal handler called>
No symbol table info available.
#7  0x00007f1d3d5b0438 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#8  0x00007f1d3d5b203a in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#9  0x00000000006d54bf in siemsg (s=0x6ef688 "E315: ml_get: invalid lnum: %ld") at message.c:847
No locals.
#10 0x0000000000513806 in ml_get_buf (buf=0x2199b70, lnum=2, will_change=0) at memline.c:2562
        hp = 0x7ffd33e69210
        dp = 0xdb1cc76007c8f400
        recursive = 1
#11 0x000000000051f42a in plines_win_nofold (wp=0x21974e0, lnum=2) at misc1.c:397
        s = 0x4c5918 <lineFolded+40> "H\205\300\017\225\300\017\266\300\311\303UH\211\345H\203\354\060H\211}\350H\211u\340H\211U\330dH\213\004%("
        col =<PHONE_NUMBER>02208
        width = -618870944
#12 0x000000000051f3d4 in plines_win_nofill (wp=0x21974e0, lnum=2, winheight=1) at misc1.c:380
        lines = -618870944
#13 0x000000000051f31e in plines_win (wp=0x21974e0, lnum=2, winheight=1) at misc1.c:349
No locals.
#14 0x000000000052e503 in curs_rows (wp=0x21974e0) at move.c:753
        lnum = 3
        i = 1
        all_invalid = 1
        valid = 0
        fold_count = 0
#15 0x000000000052ebba in curs_columns (may_scroll=1) at move.c:965
        diff = 4279127
        extra = 0
        off_left = 0
        off_right = 0
        n = 0
        p_lines = 0
        width = 0
        textwidth = 35232624
        new_leftcol = 0
        startcol = 870749056
        endcol = 8
        prev_skipcol = 0
        so = 0
        siso = 0
#16 0x000000000052e164 in validate_cursor () at move.c:655
No locals.
#17 0x00000000006ce49d in main_loop (cmdwin=0, noexmode=0) at main.c:1349
        oa = {op_type = 0, regname = 0, motion_type = 0, motion_force = 0, use_reg_one = 0, inclusive = 0, end_adjusted = 0, start = {lnum = 0, col = 0, coladd = 0}, end = {lnum = 0, col = 0, coladd = 0}, cursor_start = {lnum = 0, col = 0, coladd = 0}, line_count = 0, empty = 0, is_VIsual = 0, block_mode = 0, start_vcol = 0, end_vcol = 0, prev_opcount = 0, prev_count0 = 0}
        prev_oap = 0x0
        previous_got_int = 0
        conceal_old_cursor_line = 0
        conceal_new_cursor_line = 0
        conceal_update_lines = 0
#18 0x00000000006cdabd in vim_main2 () at main.c:865
No locals.
#19 0x00000000006cd1fd in main (argc=5, argv=0x7ffd33e695e8) at main.c:412
        i = 5

Apparently, the error is raised from here:
https://github.com/vim/vim/blob/5ed58c7b700fcb9fd03c418300145b616f4bdcdd/src/memline.c#L2562

from here:

That is the top of the ml_get_buf() function in memline.c.

from here:

That is the top of the ml_get_buf() function in memline.c.

Now that the issue is fixed, this todo item can be removed:

ml_get error. (Dominique Pelle, 2018 Sep 14, #3434)

Now that the issue is fixed, this todo item can be removed:

ml_get error. (Dominique Pelle, 2018 Sep 14, #3434)


Cypress v12.8.1 - Fixes for panels

Description
[Describe what this change achieves]
Fixes for cypress testing of panels
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Remade PR request
https://github.com/opensearch-project/dashboards-observability/pull/582


Technical questions (current state of features as of now and in the future)

I couldn't find a good comprehensive technological overview of the current state nor future goals, so I'm posting some important questions here.
Feel free to put them to FAQ or just compile the missing technical overview for other newcomers.

What's the min & max latency (some numbers and/or benchmarks would be appreciated)?

How is the latency determined/defined?

Is the latency tunable (influencable by the programmer)?

How is storage space managed (equilocally? i.e. each node is equally responsible for storing & serving data; or are there any differences to accommodate for at least constrained devices like smartphones & tablets)?

What's the answer to the most widespread platforms which try to use the "push" mechanism to significantly decrease battery usage (i.e. smartphones, tablets)?

What's the answer to the most widespread platforms which try to significantly reduce bandwidth usage at all cost (due to constrained data plans)?

Is there any federated DNS-like system to make those long hashes memorable/nice-looking?
It seems "standard" DNS will be used for the time being), but I haven't seen any plan nor developer's discussion about implementing anything.

Does it work in pure web browser (e.g. Chrome, Safari, ...) without any intermediate ("broker/gateway") server/node and without any special browser? I mean imagine a web extension providing such functionality or a predownloaded (so called Progressive Web App).

What are the storage limits (max filesize, max storage number of files, max cumulative amount of stored data overall, ...)?

How do the guarantees look like? E.g. mkdir is atomic, directory rename is atomic, probability of loss of data after sync() returned under which conditions (e.g. if 95% of all nodes will become indefinitely unavailable - e.g. due to some denial of service attack or catastrophe or war or bad BGP routing or whatever...)?

I'm also curious about #8 question: "Does it work in pure web browser (e.g. Chrome, Safari, ...)"
I'd like to use P2P storage in pure client application, without any need of a central server. Yet, this application should have some data which is being synced, and accumulated in a single shared storage (shared via P2P ofc, since no central server allowed).
I'd like to use PWA and File System Access [Text editor Demo], pretty much like this Text editor, but using folder access, rather than singular file: so I can read from and write to various files while asking for access only once. But I can't say if Hyperdrive can work within such conditions.
I bet it doesn't, because in order to share files, it looks like this application that is using Hyperdrive, SHOULD start some kind of a lightweight server, a daemon. And it's pretty much out of capabilities of PWA, as far as I know (I'd like to be wrong).

Regarding #8, if you want apps in the browser to be a thing, the first hurdle is to get Apple to reverse its decision to delete all data after seven days. Until then, sadly, it’s like building apps on a platform that runs a weekly ‘rm -rf /‘ cron job.
(I wanted to do this too and even started prototyping stuff but no way I can create a usable experience that relies on replicating to the browser while this is the case.)

@aral I currently have some little personal project I'm developing, which is PWA app too, and I use it on iOS too. It seems I use it more frequently than once per 7 days, because it's always available offline. But I've read the same fact elsewhere and I agree: it's an unfortunate limitation, and for a true production app, it would be cool if they won't delete these applications even if they're unused for long periods (i.e. they have somewhat the same rights as native apps). Btw that's not exactly the same as ‘rm -rf /‘ cron job, - because it can be reset, while cron would run despite of any events.
They're a bit slow with PWA though: caches API is unavailable, navigator.storage is unavailable, and many other fancy features are unavailable too. But long ago, Steve Jobs said once, in iPhone presentation, that for iOS there won't be need to write native applications, and that all applications will be web apps. I believe (and hope) that they will turn back to this idea again.
Btw, not that long ago, they released new web version of Apple Music:

Apple Music launches a public beta on the web (Sep 6, 2019)
Relaunched Apple Music 'beta' web player features new 'Listen Now' tab (Aug 11, 2020)

I personally don't care if they catch up or not, though I believe they will, but I'm using PWA features for my personal projects anyway.
And it would be cool if Beaker would allow installing PWAs too, so if you install an app from Beaker, then it might use P2P storage. For this, please put thumbs up reaction to my issue about this, to bring some interest: https://github.com/beakerbrowser/beaker/issues/1885

You can use Hyperdrive in the browser using hyper-sdk https://www.npmjs.com/package/hyper-sdk

@RangerMauve so, two questions:

Will it make possible to GET info from Hyperdrive in say... Chrome? Without server?
Is it possible to PUT some data back into Hyperdrive? It requires a running daemon (so others might request it), isn't it? And it's only possible to run a daemon in NodeJS environment or browser-like environment like Electron apps (which also includes NodeJS environment), but not in actual browser like Chrome. Isn't it?

It's impossible to do it without some sort of server if you want to share the data with somebody.
The web version of hyperdrive lets you create data offline by running a full hyperdrive instance in the browser (no need for any daemons), then if you want to sync with a peer it uses a combination of WebRTC (which requires a signaling server), and a proxy server which talks to node.js peers so that you can reach the rest of the network.
With this you can use hypercore and hyperdrive as you normally would and can replicate with peers if you have some sort of internet connection without having a central server keeping your data or needing to install anything along side the browser.

@RangerMauve

impossible to do it without some sort of server

it uses... proxy server

without having a central server

Ok, without central server, - that sounds good. But proxy server... It sounds pretty centric, which makes it "almost P2P, but not completely P2P". But if it's a price to be able to run this thing in Chrome, then... I may give it a try: I'll definitely look into this!
I'm confused a bit though, because it seems it's related to dat project, - I thought it's deprecated in order to launch Hypercore. But this SDK is renamed from dat-sdk to hyper-sdk, so I suppose it's still in use, even though it's part of datproject org, and not hypercore-protocol org. Weird.

The thing about the proxy server is that you can self host a proxy server and any proxy server will be able to connect to the same p2p peers. You could even have users configure their own in your app.
Dat project was where the hypercore stuff was developed for initially. Dat-sdk existed before the hypercore-protocol split off into it's own thing and created new branding.
There's still a community of folks under the dat project and there's a bunch of things that were building on dat-sdk even though it was using the latest hypercore-protocol code.
hyper-sdk is something I'm maintaining and isn't managed by the hypercore-protocol team.

BTW we're having a community call if you wanna come in and ask question. 😁
https://github.com/datproject/comm-comm/issues/184

@mafintosh any pointers how and where all the 10 points were tackled?
Thanks a lot!

@dumblob hi! checkout the latest version, and the general hyper docs at docs.holepunch.to. That answers most of this. Feel free to ask any question about the modern stack in a new issue.

Well, the documentation still does not seem to answer my 10 questions (except for the (8) which got sort-of answered above)?
Could someone knowledgeable perhaps spend 5 minutes answering all the questions off the top of their head?
I do not need references (I can find them if I will need more info), so you really do not need to spend hours with finding references for your answers.
Thanks a lot!

@dumblob
1-3: Latency is mostly defined by the network and distance of the connected peers. There is some overhead around writing new values, replication being async on background, DHT, etc but overall it's defined by the network as usual. Here it's all about Hypercore in terms of improving download speeds, and we're making progress towards improving replication speeds, still lots to unlock! See benchmarks here https://github.com/holepunchto/hypercore/tree/main/test/bench and especially bench/networking.js
4: You want the writer to have all of the data, the rest of the peers are sparse by default. Can query and download only what they need but those small peers still helps to replicate even when sparsed. If low on storage, peers can always clear the local data, as they can re-download it from other peers again. Technically, you can lose the writer but if you still have the key pair then you can restore the writer by downloading the data again from another peer, but if done wrong you risk corruption so don't play with the writer.
5: We solved replicating Hypercores on mobile by creating push peer nodes that forwards encrypted replication messages to Apple/Google so devices receives them, it's already working on Keet. Soon we will add a more descriptive explanation in the keet.io section of the main docs.
6: Hypercore, by extension Hyperbee and Hyperdrive too, are sparse by default and internal protocols are extremely optimized so bandwidth usage is already low (depends on usage of course) and potentially can be a bit more lower in the future.
7: Not yet, when you add unique IDs to a P2P system things get complicated but I don't know about this. Personally I used Hyperbee for a DNS server once and it works great but it's centralized, although someone smarter could add Autobase to that. I think for making it kind of truly decentralized you need your own TLD and your own authoritative DNS servers that multiple people owns, so the solution looks like in a multi-sig scenario, again I don't know about this.
8: It's possible but we're not focused on that path. All the libs works on the browser except for HyperDHT because we use UDX (UDP) which browsers doesn't support but we like Electron for true P2P apps. There is dht-relay for the browser which is not the answer you want because this is a just a server that relays data. WebRTC lacks discovery mechanisms, so I think there is a good enough scenario where you use dht-relay for discovery only (so yea a server but it's kind like having DHT bootstrap nodes), then you make the actual P2P connection using WebRTC, so at least the heavy data is P2P so it's practically very scalable. Personally, nothing wrong with dht-relay for small web apps with low traffic because you still use all the Hyper tech but do notice that it's centralized and it compromises.
9: No immediate limits other than the file system I think, this was kind of answered here: https://github.com/holepunchto/hyperdrive-next/issues/2
10: Atomic vs unavailability are different things. Everything that should be atomic it's atomic, see Hyperbee and Hyperblobs, in combination with the put method in the current version of Hyperdrive, that method is not truly atomic as there are two cores involved but not being atomic in this particular case doesn't affect anything because you add a new blob then let's say you don't update the drive's database with the new blob id then nothing bad happens (for example, vice versa would be bad). If you have a drive that no one else is replicating then that's another issue, although we have tools to make it easier for you to have backups, see https://github.com/holepunchto/simple-seeder

Hi @LuKks, this is awesome answer! It is exactly what I was looking for. I truly appreciate you devoted your precious time to clarify these in-depth topics.
I wish I could support your work somehow. What would be your preferred approach of receiving support?
Thanks once more!


A new approach of MFX_WRN_DEVICE_BUSY handling

If MFX_WRN_DEVICE_BUSY is returned, it shall be paired with a valid syncPoint.
That syncPoint is not necessarily binded with actuall output data.
The purpose of the syncPoint is provide applications a way to make polling-free waiting.
Applications, of course, can choose either to wait or perform some different job.
Signed-off-by: Dmitry Ermilov<EMAIL_ADDRESS>

@dmitryermilov : when we can expect 2nd iteration?


Please use a released version of tomcat for the test.

https://github.com/adoptium/aqa-tests/blob/97830a294fb593edb3486b82fce39c99f18858c3/external/tomcat/test.properties#L4
10.0.0-M5 is old 10.0.7 is the actual one.
It would be nice to test the 9.0.x branch too as that is the most used version.

related: https://github.com/adoptium/aqa-tests/issues/1971

Adding this to GHC opensource day, as described in the description, what is required is to update:
https://github.com/adoptium/aqa-tests/blob/master/external/tomcat/test.properties#L4 with tag_version=10.0.7
Reviewer can trigger testing to verify the change.

@smlambert pls check


N + 1 and Integration tests

This PR contains the following implementations in the blog app:

A blog that shows a list of posts and empowers readers to interact with them by adding comments and liking posts.

Highlights:

n+1

Made sure that the N+1 problem is solved when fetching all posts and their comments for a user.

Integration specs

Used Capybara to write integration tests for each view in the project.

User index page:

I can see the username of all other users.
I can see the profile picture for each user.
I can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.

user show page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see the user's bio.
I can see the user's first 3 posts.
I can see a button that lets me view all of a user's posts.
When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.

User post index page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see a post's title.
I can see some of the post's body.
I can see the first comments on a post.
I can see how many comments a post has.
I can see how many likes a post has.
I can see a section for pagination if there are more posts than fit on the view.
When I click on a post, it redirects me to that post's show page.

Post show page:

I can see the post's title.
I can see who wrote the post.
I can see how many comments it has.
I can see how many likes it has.
I can see the post body.
I can see the username of each commentor.
I can see the comment each commentor left.

Hi @CollinsTatang, thanks for approving our PR.


Include a note to the forums in the bug report

As noted in https://github.com/huggingface/accelerate/issues/1870, this PR adds a link to the forums for users choosing the bug report template, enticing them to post there first:

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@BenjaminBossan if there's things like this where I can't quite do that (mostly when dealing with github), I just create a dummy repo and test it there: https://github.com/muellerzr/test

Ah okay, thx for letting me know, I thought there was a trick to see it for a branch.


how to create a dynamic page and display it according to menu

Laravel Version: #.#.#
Voyager Version: #.#.#
PHP Version:
Database Driver & Version:

Description
i have create a menu dynamicaly but don,t know to create a page and display this page according to the menu
Steps To Reproduce:

Help requests are better served through our Slack group.  I recommend joining that (link is in our README), and asking in the #help channel.


[AIM <IP_ADDRESS> / AMP <IP_ADDRESS>] ./ampinstmgr -s  throws 'Failed to start AMP. Exit code was 0'

Note: I'm on the nightly build per CCL/Mike due to issues with /sbin/ldconfig in the current release.
OS: Ubuntu Server 17.04 x64
Running ./ampinstmgr -s <Instance Name> indicates an error on the output:
AMP@olympus:~$ ampinstmgr -s MCMA
[Info] AMP Instance Manager v<IP_ADDRESS>
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 29238
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 29240
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 1 instances.
[Info] Starting Instance: 'MCMA'
[Debug] Running /usr/bin/tmux -f /dev/null new-session -s "AMP_MCMA" -d "cd '/home/AMP/.ampdata/instances/MCMA' --; /home/AMP/.ampdata/instances/MCMA/AMP_Linux_x86_64 "
[Debug] Starting process /usr/bin/tmux
[Debug] Working Directory: /home/AMP/.ampdata/instances/MCMA
[Debug] Arguments: -f /dev/null new-session -s "AMP_MCMA" -d "cd '/home/AMP/.ampdata/instances/MCMA' --; /home/AMP/.ampdata/instances/MCMA/AMP_Linux_x86_64 "
[Debug] Started process with ID 29241
[Info] Waiting for AMP instance to start...
[Error] Failed to start AMP. Exit code was 0
[Info] This instance failed to start. Run './ampinstmgr LastLog MCMA' to view it's most recent log.
AMP@olympus:~$

Attempting to view the log per the instructions also gives an error:
AMP@olympus:~$ ampinstmgr LastLog MCMA
[Info] AMP Instance Manager v<IP_ADDRESS>
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 29316
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 29317
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 1 instances.
[Warning] Couldn't start the editor to view the log. Specified cast is not valid.

Interestingly, this is intermittent - sometimes the log will still display when this error is received, some times it won't.
What's even weirder is, despite indicating that the instance failed to start, that doesn't actually appear to be the case:
AMP@olympus:~$ ampinstmgr -l
[Info] AMP Instance Manager v<IP_ADDRESS>
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 29402
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 29404
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 1 instances.
Instance ID      │ ea00d6bd-9d29-4ba5-9100-7e316e05ff04
Module           │ McMyAdmin
Instance Name    │ MCMA
Friendly Name    │ MCMA
IP Binding       │ <IP_ADDRESS>
Port Number      │ 8080
Running          │ Yes
Daemon Installed │ No
Start on Boot    │ No
AMP Version      │ <IP_ADDRESS>
Data Path        │ /home/AMP/.ampdata/instances/MCMA

AMP@olympus:~$

I have tested, and I'm successfully able to connect to the instance despite AIM indicating that it failed to start - something is causing a false failed result.

Fixed in nightly.

Still having this issue even on the new nightly build from 09.23.2017:
AMP@olympus:~/AMP$ ampinstmgr -s Minecraft
[Info] AMP Instance Manager v<IP_ADDRESS> built 23/09/2017 22:43
[Debug] Release spec: Nightly - built by CUBECODERS/BuildBot on CCL-DEV
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 18651
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 18653
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 1 instances.
[Info] Starting Instance: 'Minecraft'
[Debug] Running /usr/bin/tmux -f /dev/null new-session -s "AMP_Minecraft" -d "cd '/home/AMP/.ampdata/instances/Minecraft' --; /home/AMP/.ampdata/instances/Minecraft/AMP_Linux_x86_64 "
[Debug] Starting process /usr/bin/tmux
[Debug] Working Directory: /home/AMP/.ampdata/instances/Minecraft
[Debug] Arguments: -f /dev/null new-session -s "AMP_Minecraft" -d "cd '/home/AMP/.ampdata/instances/Minecraft' --; /home/AMP/.ampdata/instances/Minecraft/AMP_Linux_x86_64 "
[Debug] Started process with ID 18654
[Info] Waiting for AMP instance to start...
[Error] Failed to start AMP. Exit code was 0
[Info] This instance failed to start. Run './ampinstmgr LastLog Minecraft' to view it's most recent log.

AMP@olympus:~/AMP$ ampinstmgr -l
[Info] AMP Instance Manager v<IP_ADDRESS> built 23/09/2017 22:43
[Debug] Release spec: Nightly - built by CUBECODERS/BuildBot on CCL-DEV
[Debug] Starting process /sbin/ldconfig
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -p
[Debug] Started process with ID 18692
[Debug] Starting process /bin/uname
[Debug] Working Directory: /home/AMP/AMP
[Debug] Arguments: -m
[Debug] Started process with ID 18693
[Debug] Loading instances from /home/AMP/.ampdata/instances.json...
[Debug] Loaded 1 instances.
Instance ID      │ 8ec96472-3d27-4746-afdb-a32538c07566
Module           │ McMyAdmin
Instance Name    │ Minecraft
Friendly Name    │ Minecraft
IP Binding       │ <IP_ADDRESS>
Port Number      │ 8080
Running          │ Yes
Daemon Installed │ No
Start on Boot    │ No
AMP Version      │ <IP_ADDRESS>
Data Path        │ /home/AMP/.ampdata/instances/Minecraft


Microsoft Teams Meeting Duration

The page lists the maximum duration of a single Microsoft Teams Live Event. It would be great if it also listed the maximum duration of a Microsoft Teams Meeting. The expiration listed of 60 days is for the lifespan of the virtual space itself, not the runtime of a meeting, I assume.
Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 905e2c09-ef3e-07cc-0809-6ff171157c47
Version Independent ID: c0d33162-183d-fff8-32e9-a999f391ea51
Content: Limits and specifications for Microsoft Teams - Microsoft Teams
Content Source: Teams/limits-specifications-teams.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@GitRomney Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@GitRomney Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


shotwell: 0.27.4 -> 0.28.0

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell -h got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell --help got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell help got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell -V and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell -v and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell --version and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell version and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/shotwell help and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped -h got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped --help got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped help got 0 exit code
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped -V and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped -v and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped --version and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped version and found version 0.28.0
ran /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0/bin/.shotwell-wrapped help and found version 0.28.0
found 0.28.0 with grep in /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0
found 0.28.0 in filename of file in /nix/store/j5gy9i80mz8gjdcvkya2hm9jkvr86b2z-shotwell-0.28.0

cc @domenkozar for review

Part of https://github.com/NixOS/nixpkgs/pull/36893

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: shotwell
No log is available.

Failure on x86_64-linux (full log)
Attempted: shotwell
Partial log (click to expand)
make: *** [Makefile:6746: all] Error 2
builder for '/nix/store/w16a2sspzsknag3qpwprh7n8311lf1hg-network-manager-1.10.4.drv' failed with exit code 2
cannot build derivation '/nix/store/rndjdmf1gkyipxlfi7lywvybb2rzgnwl-libproxy-0.4.15.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hr9gqvvbicapypgad1fhk74jgpbma7ax-glib-networking-2.54.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/52qn8b742r9q2397yc66iwp1gswm2hi7-geoclue-2.4.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/anq1msg4fsimmbm3ykmbwx3y17wng0av-webkitgtk-2.18.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kdrlgs933iblndv45wdgg0zw9s5p49v1-gnome-online-accounts-3.26.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/h4k2943z2ibvz6d54anjli4khryq5xh8-libgdata-0.17.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y6lflil04yl00lccnp8bcj747ypjq288-shotwell-0.28.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/y6lflil04yl00lccnp8bcj747ypjq288-shotwell-0.28.0.drv' failed

Failure on aarch64-linux (full log)
Attempted: shotwell
Partial log (click to expand)
make: *** [Makefile:6746: all] Error 2
builder for '/nix/store/sjv378pq7z13gnzdacb28cyg7bg1c3m1-network-manager-1.10.4.drv' failed with exit code 2
cannot build derivation '/nix/store/hxr738cagz1c9vpvzrjl3m4cr43qp5sl-libproxy-0.4.15.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kmy2f4diqsfhhacmd349kck4p440p82g-glib-networking-2.54.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/b242mjxvm3dpgqmc5wapinqcwvbahwli-geoclue-2.4.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2hj6ck3mv439xxki0grvnfxciv7489ng-webkitgtk-2.18.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6lr42wpy2aq52fzff6rka7jk6wz5qx4z-gnome-online-accounts-3.26.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/c4zhp3hzs56amvwr9ykj9zkrmily8mv1-libgdata-0.17.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/81g2bi9qzka3g994fiqm6m17h5l8xhqc-shotwell-0.28.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/81g2bi9qzka3g994fiqm6m17h5l8xhqc-shotwell-0.28.0.drv' failed


TouchableHighlight object inside a FlatList Losing Focus on fast key navigation

Description
TouchableHighlight object inside a FlatList Losing Focus on fast key navigation
I have a FlatList with 100 TouchableHighlight with images.

On navigation, the TouchableHighlight gets the focus properly (underlay colour).

but when we do fast navigation (left/right keys), the Focus is lost. This happens when you see empty scrolling without containers, you can stop here to load the items and see the focus is lost.

When checked with Flipper, The focus is given to the parent FlatList container tag.

On further left/right arrow keys able to highlight the children again.

This issue is easily reproduced with FireTV-4k

This issue is very easily seen with RecyclerList/FlashList and had to confirm with FlatList the behaviour is same.

With android emulator little hard to reproduce running in MAC-M1, can also reproduce by making the app little slow with some timers/keeping-js-busy. (use on-screen directional pad for key navigation for fast key repeats.)

A Test app is provided with FlatList, FlashList.

We are facing this issue in our project running on fireTv with recycler list.
has anyone faced this issue or already have any solution for this ?
Version
<EMAIL_ADDRESS>Output of npx react-native info
System:
OS: macOS 13.5
CPU: (10) arm64 Apple M1 Pro
Memory: 71.55 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.5.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.8.0 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 11.0.20 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: Not Found
react-native-macos: Not Found
react-native-tvos:  0.71.12-0
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

PFA test app.js
Run on android emulator or with FireTV
Do fast left/right key navigation with FireTV remote or with android-tv emulator's directional keypad.
You see the focus changing on navigation, but on fast navigation see the focus is Lost. This happens when you see empty scrolling without containers, you can stop here to load the items and see the focus is lost.
If you are running on android emulator and not seeing the issue, please make the app slow by configuring the following values in the test app provided.
Please configure the following values before running.

let TIMERS_COUNT = 35; // On FireTV 4k, you can just set to 0. On MAC with emulator set to 35
let MATH_LOOP = 2500; // on FireTV 4k, you can just set this to 1000 or calibrate this to see the issue with emulator running in MAC.
Snack, code example, screenshot, or link to a repository
App.js.zip

@shyamsrj I am also facing this issue, and in React Native, using TouchableHighlight or TouchableOpacity, the onFocus response is too delayed in the TV app. It works, but the interaction isn't smooth. It should work seamlessly. I believe the problem lies in changing the state on the onFocus and onBlur functions. Do you have any other recommendations for a TV app?
cc: @mojodna @jsierles @augustl @aroth

I apologize for spamming the issue tracker, but I'm curious - why did I got tagged here? :) I get tagged in the RN issue tracker from time to time.

@shyamsrj I am also facing this issue, and in React Native, using TouchableHighlight or TouchableOpacity, the onFocus response is too delayed in the TV app. It works, but the interaction isn't smooth. It should work seamlessly. I believe the problem lies in changing the state on the onFocus and onBlur functions. Do you have any other recommendations for a TV app?
cc: @mojodna @jsierles @augustl @aroth

Hi @BilalHadid
Thanks for the reply. The delay in onFocus is also present.
But the Issue i face is the onFocus is lost on fast navigation (easy to reproduce on on low end platforms). While debugging found that the focus is going to the parent container (with FlatList/recyclerListView/FlashList). I tried to debug at the native side and found that findNextFocus is returning null and current focus is with parent in "arrowScroll" function in "HorizontalScrollView.java".
This issues i did not face in appleTv.
I guess to deal with the delayed focus, what we tried is to delay the action in onFocus by few milli seconds in the application, and within this time a new onFocus is triggered which cancels the previous timers. Please let me know as well if you have better solution for that.
If anyone has solved this focus lost issue, please provide feedback.

@shyamsrj Thank you. I am also facing the same issue on Android TV, so I am using Java and completing my project through native bridging. I believe this is the only solution, and I am certain that the time delay is due to the state changes. If React Native could provide us with a focused color or a blurred color, it would be helpful for us, and we would not need to change the state.

I have a guess why this could be happening and I'd say it should be working fine with regular FlatList. It has a special support for focus management to prevent cases like the one you described above.

This issue is very easily seen with RecyclerList/FlashList and had to confirm with FlatList the behaviour is same.
I understand here that you're not sure if it works with FlatList or not, yet I see an example in the file you provided. I can't easily run that and test myself, it's not a complete project. Would you mind checking if you experience the same issue with FlatList and regular maybe also regular Pressable component?

I have a guess why this could be happening and I'd say it should be working fine with regular FlatList. It has a special support for focus management to prevent cases like the one you described above.

This issue is very easily seen with RecyclerList/FlashList and had to confirm with FlatList the behaviour is same.

I understand here that you're not sure if it works with FlatList or not, yet I see an example in the file you provided. I can't easily run that and test myself, it's not a complete project. Would you mind checking if you experience the same issue with FlatList and maybe also with regular Pressable component?

Hi,
Right now i do not have setup handy. Just to summarise.
The issue happens with FlatList Component.
We have faced this issue with recycler list view, while debugging found that the issue happens with FlatList/FlashList/RecyclerListView too and in all cases the issue is coming from the above mentioned arrowScroll method, for that reason i have raised this issue here.
i guess this should also happen with Pressable component too. (here we are relying on rcu/keyboard for navigation)

The issue arises because we are adding onFocus and onBlur functions to the TouchableOpacity/Pressable button. When scrolling slowly, it works as expected. However, if I press and hold the button to scroll quickly, the focus is lost, causing the list to scroll rapidly. Once I stop scrolling, the focus reappears slowly, even though it is not under the user's control.

@shyamsrj Has this been resolved yet?

Hi, I guess issue is not fixed yet.

@yusufyildirim @shyamsrj I appreciate the update. Do you have any suggestion on how to resolve this.
@BilalHadid & I have been trying to figure out how to make this work properly on Android TV. It works fine on tvOS.
Video of the issue: https://github.com/react-native-tvos/react-native-tvos/assets/123834956/19c012a5-dce5-40d7-8af7-105afb4d670d
Any help is greatly appreciated.
With Optimism, Surit

Hi @suritkandel ,
As mentioned above, seems the issue is coming from  "arrowScroll" function in "HorizontalScrollView.java" and needs to be fixed in this sdk component. Did not check further on how to resolve this at native layer.
As a work around, in the application in case of fast scrolling or long key press, first throttle the keys (even with throttling we can see this issue), and identify if the focus is lost and manually retain the focus back to any of the visible item index by calling itemRef.focus.
Thanks,
Shyam

I am having this issue as well, any resolution / update would be a major help.


add switch for SQL2019

Type of Change

[X] Bug fix (non-breaking change, fixes # )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

SQLServerDiagnosticsQuery for SQL 2019 are never executed because the switch statement did not handle version 15. By adding this option, SQLServerDiagnosticsQueries_SQL2019_ will be selected if appropriate.
Approach

add a line for version 15
Commands to test

Invoke-DbaDiagnosticQuery on a SQL 2019 instance
Screenshots

Learning

Please link to the issue....about 90% sure we had one for this one.

@wsmelton I can't find one
there were feature requests and a change in the text parsing

Your change is not for this one #6266 ?

😲
what magic did you use?

😉

Merci 😊🇧🇪