Is there any way to get chart dimensions and coordinates? (Without labels and legend)

I want to write a script that let's the user drag a selection across the chart, which then calculates the zoom factor so that I can load new chart data according to the zoom. In principal this is already working. The only thing missing, is the exact size of the chart, as it can vary, due to differences in scale labels. Is there any way to get those? Thanks!

@mgrandl you're looking for the dimensions of the chart area in pixels?
If so, you can do chart.chartArea which is an object containing the edges.

Yes! This is exactly what I was looking for!
On Fri, Jan 20, 2017 at 2:10 AM, Evert Timberg<EMAIL_ADDRESS>wrote:

@mgrandl https://github.com/mgrandl you're looking for the dimensions
of the chart area in pixels?
If so, you can do chart.chartArea which is an object containing the edges.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/3808#issuecomment-273948488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ2G1oOpyRFHoPFD00N2CFIzY0dAJykzks5rUAlxgaJpZM4Loxds
.


Community Event at Superior University Lahore, Pakistan

 Superior University Lahore · May 19, 2016 · RSVP

This does not add the Lahore event to the event list. Please keep the change to include only the event you intend to host.


vscode-extensions.golang.Go: 0.18.1 -> 0.25.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 127176 run on x86_64-darwin 1

Ideally for the next pr, we try to keep the name in smallcap, to uniformize format over all of the extentions.
Thank you for your contribution!


Add Devcontainer

This sets up a devcontainer which can be used locally via docker or via github codespaces.
The container is based on Microsofts universal devcontainer and includes node. It npm installs on start and also forwards port 8080 for builds.
The tasks include build the site, updating quartz, and markdown linting.
Resolves #747

Hey, thanks for the PR! Unfortunately I don't plan on supporting this workflow out of the box with Quartz. I think there will always be more things to support and trying to do that for everything can get out of hand super quick. Will keep this here as a reference for people who come looking in the future though :)


Not asking for users permission for sensitive scopes, despite adding sensitive scopes in google console

I've been using the following code successfully for the past month or two. Recently, I noticed that during the authentication process, the application no longer prompts users for consent/permission to edit/delete/modify their calendar, even though I've added sensitive scope /auth/calendar in the Google Console. This is causing a problem because, despite the Google Calendar API generating events, they are not being saved. It seems like the scopes are not being accepted by the user, since there is no consent screen.
Has anyone else encountered a similar issue? Any insights or solutions would be greatly appreciated!
Here is the relevant code snippet:
// Authorization Flow
const login = useGoogleLogin({
    onSuccess: async ({ code }) => {
        try {
            const jwtToken = await axios.post(
                'http://localhost:5000/auth/google',
                { code },
                { withCredentials: true }
            );
            console.log(jwtToken);
            toast.success('Login Successful', toastSuccess);
            loginHandler();
        } catch (err) {
            console.log(err);
            toast.warn(err.message, toastWarning);
        }
    },
    flow: 'auth-code',
    onError: (err) => {
        console.log('error', err);
    },
});

Added scopes tag in useGoogleLogin and it worked, lol!


[Feature Request]: Misc. Online requests

Describe the feature you'd like to see added

Chat function?
Increasing the character limit of the lobby name?
While trying to get Radmin to work one time, it loaded up 10 ghost players somehow. Would more than 6 people be possible for online lobbies?

0x65A7B1 seems to store slot count, changing to 10 shows it as limit but no idea if game would work with it.
(might need to go into Game Settings menu and make a change for it to stick, that will set it back to 6 though unless you set 4913D9 -> 90 90 90)
The lobby name data only has space for 16, but the way it's transmitted to server/clients would allow it to be any size really, maybe can find some way to extend the data size.
Chat would be nice, think I did see some stuff for it in the DW code but guess game doesn't make use of it, maybe could add something so that lobby host also hosts a chat server too which clients could connect to

I never ended up trying the slot count edit, but do you think it would work with only the host making the address edit?


Check for table service to not be nil

It seems that sometime table_service could be nil so we have to check for it

@rafatower could check this PR please

:+1:


Add Cumulocity remote access plugin

Signed-off-by: James Rhodes<EMAIL_ADDRESS>Proposed changes
This adds support for the c8y_RemoteAccessConnect  operation, which enables the remote access tab in the Cumulocity UI. It reads a 530 SmartREST message, based on which it sets up a proxy between a TCP connection to the specified host and port (e.g. <IP_ADDRESS>:22, whatever is specified by the user in the Cumulocity UI), and the corresponding Websocket on cloud. It then copies all data between this Websocket and the TCP socket  and vice versa, shutting down when one or other of the connections closes.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

I retested the changes and the install/uninstall now works perfectly (except for the fact that the mapper needs to be restarted sometimes, but that is not in the scope of this ticket).
However we do need to change how/when the local proxy is being spawned and when the main process should return to tedge (so that the operation status is transitioned in the correct order).

tedge launches the plugin
The plugin creates a background process which tries to connect to the endpoint given to the plugin via the arguments.

If the child process successfully connects to the endpoint, then it should signal back to the main process that the connection was successful.
If the child process is not able to successfully connect to the endpoint, then it should signal back to the main process that the connection failed (with a fitting failure reason)

The main process waits for a success or failure signal from the child process (also using a timeout if it does not receive anything from the service)
The main process exits with an exit code of 0 or non-zero, depending on the signal received from the child process. The child process should continue running after the main process exits.

Note

The tricky part might be the detection if the child process is "successful" or not...if the criteria is too difficult to define or observe, then we could always just send a "SUCCESSFUL" message back to tedge. But ideally having a SUCCESSFUL or FAILED status would be the most useful for users, as they know when something did not work correctly.

However we do need to change how/when the local proxy is being spawned and when the main process should return to tedge (so that the operation status is transitioned in the correct order).

I fully understand the need. However, this cannot be done easily/quickly as described because as of now there is no communication channel between the mapper and the plugin process. Adding this channel is beyond the scope of this PR.
What can be done, as a workaround for that PR, is to let the plugin itself send the executing status of the operation to C8Y.

What can be done, as a o for that PR, is to let the plugin itself send the executing status of the operation to C8Y.

Wondering if this will lead to double reporting of the operation statuses, which would still lead to interference with other operations of the same kind. For eg: the plugin first sends the successful operation status and then the mapper also sends the same successful status on exit code 0. The second message sent by the mapper could then interfere with another "executing" operation. Unless there is some mechanism in the mapper with which the plugin can tell the mapper not to send the operation status.
If such a mechanism doesn't exist, I'd be in favour of merging this PR now and introducing that feature in the mapper in a follow-up task.

However we do need to change how/when the local proxy is being spawned and when the main process should return to tedge (so that the operation status is transitioned in the correct order).

I fully understand the need. However, this cannot be done easily/quickly as described because as of now there is no communication channel between the mapper and the plugin process. Adding this channel is beyond the scope of this PR.
What can be done, as a workaround for that PR, is to let the plugin itself send the executing status of the operation to C8Y.

As a compromise I would then propose that main process exits as soon as the background has been spawned. As the operation is just asking to "establish" a connection, not wait until the connection has been closed again. That should be able to be quickly done.

I fully understand the need. However, this cannot be done easily/quickly as described because as of now there is no communication channel between the mapper and the plugin process. Adding this channel is beyond the scope of this PR.
What can be done, as a workaround for that PR, is to let the plugin itself send the executing status of the operation to C8Y.

I'm not sure this is necessarily that complicated to achieve. All the logic for this would be within the plugin. As far as the mapper is concerned, the plugin exits within a few seconds to indicate success or failure of the connection.
Communicating between the plugin and a child process can be done in a similar way to how the PoC implementation spawned tedge to handle MQTT communication, so I don't anticipate problems there.

Tested the updated version and works like a dream :) The operation is transitioned to either SUCCESSFUL/FAILED after feedback from the child process is returned. So the operation does not stay in the EXECUTING state for long (which reduces the risk of updating the wrong operation).
Here is the error output (e.g. when a port is not open on the device)


Update sql-data-warehouse-reference-powershell-cmdlets.md

Customer reported confusion about the -ServerName property. Adding clarification.

Hi @sahaj08, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (sahajs). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@JennieHubbard
Please approve with a comment here. Thanks.
@barbkess
FYI

Approved. #signoff


Add Unit Test cases for Authentication Microservice.

The main purpose of this task is to add unit test cases for the Audit microservice.

Completed jUnit Testing for this microservice.


Update singularity installation docs

The instructions for installation in singularity recommend pulling release 1.0. However, this issue (https://github.com/nf-core/rnaseq/issues/29) suggests that version 1.0 of the pipeline is outdated and that users should pull the latest release for the time being.

Which instructions sorry? We should definitely update the usage docs, just realised that the example command is wrong and the -profile docs are missing a bunch of profiles...

Probably Local installation also called Local configuration?

These docs now have a comment pointing out that you should use the correct version, plus I bumped the example from 1.0 to 1.3.
We should however remove these kinds of docs from the pipelines and centralise them instead I think. It's too easy for them to get duplicated and/or out of date. x.ref https://github.com/nf-core/tools/issues/291


Configuring with TCP fails to run container

I used the TCP commands from docs on a Ubuntu 16.04 (digital ocean server) as follows:
docker run -v ovpn-data:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -u tcp://some.ip.address.here:443
docker run -v ovpn-data:/etc/openvpn --rm -it kylemanna/openvpn ovpn_initpki

but when I run
docker run -v ovpn-data:/etc/openvpn --rm -p 443:1194/tcp --cap-add=NET_ADMIN kylemanna/openvpn

I get:
/usr/local/bin/ovpn_run: line 40: /etc/openvpn/ovpn_env.sh: No such file or directory

I tried removing images and ovpn-data container to start fresh, but it didn't change the result and I get the same error every time.

I'm wondering if some versions of Docker aren't creating the volume as expected.
Can you give me the version info from docker info  and try running
docker volume create --name ovpn-data

Before creating the volume to see if manually creating the volume helps?

That fixed the issue. I close the issue.
Here's the docker info anyway:
Containers: 3
 Running: 2
 Paused: 0
 Stopped: 1
Images: 3
Server Version: 1.12.3
Storage Driver: devicemapper
 Pool Name: docker-253:1-652989-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 100.8 MB
 Data Space Total: 107.4 GB
 Data Space Available: 18.88 GB
 Metadata Space Used: 749.6 kB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.147 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.110 (2015-10-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge overlay null host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-45-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 488.5 MiB
Name: merlyn
ID: E7T6:BXVX:P53Z:AWPM:RYFK:5ORY:E5B4:X4SE:JJYN:ZFQH:LKWZ:M42E
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

@arashm I'm wondering if I should add that explicit step to the README file.  I think I'll add it to be explicit to those following the guide.
The current Docker documentation Mount a shared-storage volume as a data volume suggests that the volume should be auto created.


Please fix postfix::relayhost parameter

Hi,
as was already reported several years ago (#187), the postfix::relayhost parameter is meaningless. Unlike many other parameters, it is not looked up by postfix::files and therefor has no effect, which we discovered today.
I'd suggest to either remove the parameter and force people to include it in postfix::configs or to define Postfix::Config['relayhost']  themselves, or handle it in postfix::files, same as with four more parameters.
Thank you,
Xavier.

It seems that postfix::relayhost is used in postfix::mta:
https://github.com/camptocamp/puppet-postfix/blob/master/manifests/mta.pp#L40-L45

True, but we don't have postfix::mta in our catalog, which seemingly isn't mandatory. Including that - or postfix::satellite, which does the same - just to have relayhost included in main.cf cannot be the advised solution, right?

I just got bit by this too.  Was scratching my head trying to figure out why relayhost wasn't getting defined in main.cf. This appears to be why.

Bump for this issue. It's defined in the documentation yet the implementation doesn't match the documentation.


Update meta and CI to show Debian Bullseye support.

This role has been tested and works against Debian Bullseye.  Let others know and include in future CI tests.

Thank you for the contribution 🙏


[SPARK-8048] Partitionning of an RDD with 0 partition shouldn't yield empty outer join

The defaultPartitioner method in org.apache.spark.Partitioner.scala selects the explicitly defined partitioner as the default partitioner, otherwise it selects the partitioner which has more number of partition.
Introduced an additional check to select the explicitly defined partitioner only when number of partitions are > 0. This would avoid operators creating null result set

Can one of the admins verify this patch?

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <[spark] Partitionning of an RDD with 0 partition shouldn't yield empty outer join (#7020)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <Re: [spark] Partitionning of an RDD with 0 partition shouldn't yield empty outer join (#7020)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

Do you mind adding a regression test for this? You can take the trivial example from https://issues.apache.org/jira/browse/SPARK-8048 and add a new test to RDDSuite which references the JIRA number (see the convention used by some of the other regression tests in the same file).

Mark, Thanks for the detailed explanation, I've modified the code as per the suggestion.
Josh,  For the regression test, I've enhanced test("empty RDD") to reuse code and co locate similar tests. Let me know if it needs to be separate test.
The latest commit has both the changes.

Jenkins, this is ok to test.

Merged build triggered.

Merged build started.

Test build #35900 has started for   PR 7020 at commit e70c312.

Test build #35900 has finished for   PR 7020 at commit e70c312.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #35998 has started for   PR 7020 at commit 1511b8d.

Test build #35998 has finished for   PR 7020 at commit 1511b8d.

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

Merged build finished. Test PASSed.

In this case, it looks like we'll always up silently ignoring the empty user-defined partitioner if it has zero partitions, which might lead to other kinds of counterintuitive behavior. Is there some way to fix this in the join itself rather than doing such a broad change to the partitioner behavior here?

On other hand if we keep current behavior for any group operation not just join alone, it would silent truncate the results which would unexpected. I'm very new to SPARK, I could be missing something here, but I feel RDD with zero number partitions should behave similar to empty RDD in all group operations. Since default_paritioner is called via cogroup it should be okay to not to select user defined partitioner for result RDD.

To clarify, I was curious about the corner case where we somehow partition a non-empty RDD down to 0 partitions, in which case silently switching to the default partitioner could change answers

I think I understood, in case of non-join operations like reduceByKey we would be silently switching the default partitioner which could change the answers..
In that case we can modify the default partitioner only when number of RDDs passed to defaultParatitioner() is > 1.

Can one of the admins verify this patch?

@kmadhugit any updates on this one? Are you waiting for more review?

@andrewor14, I can modify the code as per your suggestion to improve the readability and rebase it to master.
What about the concern raised by @JoshRosen ?

@kmadhugit, do you have time to explore an approach which updates the joins to check whether any of the RDDs have zero partitions and then handles things accordingly?
If you don't plan to work on this soon and address the comments, could you close this PR in order to de-clutter the review queue? Thanks!

Looks like someone already dropped my original fix via SPARK-9236

@kmadhugit can you close this then? we can't close it.


Update licensing.html

Summary
Briefly describe the purpose of this PR.
Description
Explain in detail what this PR is all about. This should include the problem you're solving, the approach taken, and any technical details that reviewers need to know.
This PR updates the styling of the "Licensing" section to enhance readability and align it with the overall theme of the project. Key changes include:

Improved visual hierarchy with increased font sizes for headings and text.
Enhanced spacing and alignment for better content organization.
Updated the background and text colors to ensure consistency with both light and dark modes.
Applied box-shadow and border-radius to the container for a more polished appearance.

Images
Include any relevant images or diagrams that can help reviewers visualize the changes, if applicable

Issue(s) Addressed
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <issue_number>
Example: Closes #1392

Prerequisites

[X] Have you followed all the CONTRIBUTING GUIDELINES?

@Its-Aman-Yadav sir please review prs since the deadline is 7pm today so I request you to please review as soon as possible.  Thanks

@Its-Aman-Yadav @Kalivarapubindusree please review before 7pm

@Its-Aman-Yadav

@Its-Aman-Yadav


more translations in FR

FR trans for approval feature; some DE label changes per our user feedback

merging in trans9


[FEATURE] Better slider

Description
Make a better slider than the one that already exists.
Screenshots

Additional information
No response
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue ?
No response

@Dun-sin  I would like to work on this

@Dun-sin I would like to work on this

okay

@Dun-sin Can I work on this issue ??

@Dun-sin Can I work on this issue ??

Definitely, thanks for wanting to contribute, Make sure you follow the rules 👉🏽here👈🏽, else your PR will not be accepted and will be closed.
Good Luck

@Dun-sin : )

Can you please 2-3 days time I will work on this issue as I am going through a family crisis at this moment. Hope you can understand ! @Dun-sin

Can you please 2-3 days time I will work on this issue as I am going through a family crisis at this moment. Hope you can understand ! @Dun-sin

Okay, hope everything gets solved

@Vishrut19 are u still able to do this?

:tada: This issue has been resolved in version 2.32.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


next/432/20240504/v1

Staging:

#424

Information: QA ran without warnings.
Pipeline 20504

What about #423 ?


Most videos are not registered on the youtube history

Script version
5.5
Describe the bug
with the script active, youtube does not register most of the videos watched in the history and keep present those to you back in home as are not yet watched
Expected behavior
every video that you atleast play should be present in the history
Desktop (please complete the following information):

OS: Windows 10
Browser Firefox
Version 126.0.1

Additional context
some videos will be added as usual but very rarely, probably has something to do if the video has ads active or not,
They found a way to not get the creators credit for ads fast forwarded and negate the vievws from the get go?

Same.


Dropped jasmine-jquery from karma frameworks, added to files instead.

Solves #106
What I'm thinking about is that we can go away from this "hack" with jQuery mouse events and use native angular's jqLite for events only, which works perfectly fine:
it('should be able to click the dropdown', inject(($compile: Function, $rootScope: ng.IRootScopeService) => {
	let $scope: any = $rootScope.$new();
	let dropdown: JQuery = $compile('<uif-dropdown></uif-dropdown>')($scope);// jqLite actually
	let jqdropdown: JQuery = jQuery(dropdown[0]);//jquery
	$scope.$digest();

	dropdown.triggerHandler('click');// <<---  take a note on this line - jqLite

	$scope.$digest();
	let div: JQuery = jqdropdown.find('div.ms-Dropdown');

	expect(div).toHaveClass('is-open');

	dropdown.triggerHandler('click');

	$scope.$digest();
	expect(div).not.toHaveClass('is-open');
}));

Result: jqLite for event triggering, jQuery for DOM manipulation and convenient assertions, no hacks.
Looks good?

Is the jqdropdown.find('div.ms-Dropdown') expression correct? According to the documentation https://docs.angularjs.org/api/ng/function/angular.element it seems like .find() supports only finding elements by tag name rather than complete selectors. While this example might be working now, if there would be another div before, it might retrieve the wrong element.

Confirming the plan - please correct me if i'm wrong here:

Merge this into a new branch from ngOfficeUiFabric/dev, something like ngOfficeUiFabric/jQueryTests.
Create issues for each directive that has failing tests due to this change & assign each issue to the original directive owner.
All PR's addressing these issues will be merged => ngOfficeUiFabric/jQueryTests.
Once all these issues are resolved & the tests are passing again, we'll merge ngOfficeUiFabric/jQueryTests => ngOfficeUiFabric/dev.

The only challenge with this is if someone submits a new directive while this is going on to ngOfficeUiFabric/dev. if so, it will be tested against ngOfficeUiFabric/jQueryTests. If there are issues / failing tests, the submitter of the PR must address them so they work against ngOfficeUiFabric/jQueryTests. Since the changes in this PR don't affect any directive code in a merge (it's just affecting the test suite code), people working on directives should be able to merge ngOfficeUiFabric/jQueryTests into their fork's new directive branch to test.
This might mean that any new directives will be in purgatory (on hold for release) until we get all the existing directive tests fixed. I might go ahead and address as many of the failing tests as possible to make this change as quick as possible.
Correct?

:+1:

@andrewconnell :+1: The only question is about the "hack" with mouse events. Should we make it availiable, or should we drop it and use approach I proposed above?
@waldekmastykarz consider this too lines from test above:
let dropdown: JQuery = $compile('<uif-dropdown></uif-dropdown>')($scope);
let jqdropdown: JQuery = jQuery(dropdown[0]);

dropdown object is pure jqLite object, since we dropped jquery from angular. jqdropdown is pure jQuery object, since we put jquery.js after angular.js in karma, that means it's exists in global namespace. That's why jqdropdown.find('div.ms-Dropdown'), because it's jquery, not jqLite.. Also consider following test which will be green. Regarding the test logic itself I don't know, I've just copy-pasted it, but it works :)

Check, missed that. Thanks for explanation @s-KaiNet

I'd offer both options and just doc it well.

:+1:

So the PR is good yes? If so I'll do the above merging and issue creation to[day|night]

Yep, just take a look at docs, I updated TESTING.md, added Using jQuery in tests section, if it good to you? If that OK, you can merge.

Will do... Otherwise LGTM

manually merged => branch jQueryTests


Service Fabric SDK not installable on Windows Server 2016 ( After upgrade from Windows Server 2012 )

Our server was running Windows Server 2012, mainly because of the minimal requirement of R2, decided to upgrade the machine to Windows 2016.
Version: 2.6.220.
Attached a logs and screenshots;
First failure seens to be:

MSI (s) (5C:DC) [16:08:33:030]: Executing op: ActionStart(Name=CheckForPrerequisites,,)
MSI (s) (5C:DC) [16:08:33:041]: Executing op: CustomActionSchedule(Action=CheckForPrerequisites,ActionType=3073,Source=BinaryData,Target=CheckForPrerequisites,)
MSI (s) (5C:74) [16:08:33:052]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI4B5.tmp, Entrypoint: CheckForPrerequisites
MSI (s) (5C:1C) [16:08:33:052]: Generating random cookie.
MSI (s) (5C:1C) [16:08:33:056]: Created Custom Action Server with PID 6784 (0x1A80).
MSI (s) (5C:80) [16:08:33:087]: Running as a service.
MSI (s) (5C:80) [16:08:33:093]: Hello, I'm your 64bit Elevated Non-remapped custom action server.
MSI (s) (5C:DC) [16:08:33:106]: Note: 1: 1723 2: CheckForPrerequisites 3: CheckForPrerequisites 4: C:\WINDOWS\Installer\MSI4B5.tmp
CustomAction CheckForPrerequisites returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (5C:DC) [16:08:33:112]: Product: Microsoft Azure Service Fabric -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.  Action CheckForPrerequisites, entry: CheckForPrerequisites, library: C:\WINDOWS\Installer\MSI4B5.tmp

07/14/2017 16:08:33.115 [2140]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
07/14/2017 16:08:33.136 [2140]: Detailed info about C:\WINDOWS\assembly\tmp\5E52PI85\System.Fabric.dll
07/14/2017 16:08:33.136 [2140]: 	File attributes: 00000080
07/14/2017 16:08:33.209 [2140]: 	Restart Manager Info: 1 entries
07/14/2017 16:08:33.210 [2140]: 		App[0]: (2140) Windows Installer (msiserver), type = 3
07/14/2017 16:08:33.210 [2140]: 	Security info:
07/14/2017 16:08:33.211 [2140]: 		Owner: S-1-5-18
07/14/2017 16:08:33.211 [2140]: 		Group: S-1-5-18
07/14/2017 16:08:33.211 [2140]: 		DACL information: 5 entries:
07/14/2017 16:08:33.212 [2140]: 		ACE[0]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-18
07/14/2017 16:08:33.212 [2140]: 		ACE[1]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-32-544
07/14/2017 16:08:33.212 [2140]: 		ACE[2]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-5-32-545
07/14/2017 16:08:33.213 [2140]: 		ACE[3]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-1
07/14/2017 16:08:33.213 [2140]: 		ACE[4]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-2
07/14/2017 16:08:33.215 [2140]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
07/14/2017 16:08:33.215 [2140]: Detailed info about C:\WINDOWS\assembly\tmp\AGIPUQ2K\Policy.1.0.System.Fabric.dll

Error 1723 seems to be a generic MSI code on corrupt packages. Redownload from https://azure.microsoft.com/en-us/downloads/

MicrosoftServiceFabric.<IP_ADDRESS>94.txt
webpi14.txt
Allready checked:

https://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/error-1723-windows-installer-package-problem/b9a4ecdd-d71b-4542-bec6-a2c853593607

After installing VS2017 CE it started working.


Improvement in code-comments and readability

I have noticed that some code-comments are either non intuitive or not present at all .It would be great if  this can be addressed !!

All processes are now in place to ensure this


Decide if we want to have a special operation to receive messages in the middle of a block

closing in favor of #1200


Renamed Feature-Policy to Permissions-Policy

Updates Feature-Policy to Permissions-Policy as it has been renamed recently.
Closes #4

Thanks!


[IOTS-491] Some Android agent screens mention "EMM" instead of "IoTs"

When enrolling an Android device, the following screens still mention "EMM" instead of "WSO2 IoTs". See attached screenshots.Reference: https://wso2.org/jira/browse/IOTS-491

This is already fixed with the new agent version.


Cursor, not selection, used as target

Unable to apply change-case actions to more than one word at a time.
Atom version 1.6.0
change-case version 0.6.0
Please advise.
Thanks for the plugin!

same issus
Atom    : 1.7.3
<EMAIL_ADDRESS>

same - can't change multiple words to title case... kind of removes the usefulness.

Can you give an example on how this is not working? I can't reproduce with Atom 1.8.0 and change-case 0.6.0

type multiple lowercase words
select them
execute Change Case: title in command palette.

behavior: only the word near cursor is changed.
expected: all selected words are changed.

This should now be fixed in 0.6.2


Create Google Summer of Code Wrap Up blog post

Description
Create Google summer of code Wrapping Up blog post in Markdown.
Related to #3


How to change redirect_uri ?

I follow instructions on REDADME, but it seems the redirect_uri points to localhost, how to change this? (I have already use natapp to explore myself to internet.)
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9c5972e4343ed7f5&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fwechat%2Fcallback&response_type=code&scope=snsapi_userinfo&state=911d2c695446c78d4466e88a4f2610b569dd8f67d9c55589&uin=MzAwMDIzODQw&key=44e820abd4d7985276f7f7e4b7f96ae1b27bf12279b9178baebfd74b048330abcaf3ced843c26fa09f38a987de3c374f&pass_ticket=5vpgAM+uVZkXRMCTnxT1hhK1xAKPX1TM5eA1XW0R8t1DGsuQX77mgbsZfNCvl4ssF4Wrpy+wfLcqNV5K4gmmpQ==

issues resolved, i use nginx to proxy localhost:3000, and need to config the server name to 'external name' instead of localhost.  Sorry for leave a issue here, but maybe it will helpful to other new comer like me.


Add several new instances for ListT

This PR adds a few instances that I think make sense for ListT, and increases the dependency list by two.  If any of these instances are not desired, let me know and I'll rework the patch.

I see, MonadThrow and MonadCatch for Proxy are in pipes-safe.  Should those instances for ListT be moved there as well?

Sorry for the delayed response (I was on vacation).
I'm okay with adding exceptions-related instances to pipes now.  exceptions is a pretty light-weight dependency.  I would like to hold off on Semigroup, though, because it's a really heavyweight dependency.
Also, I'm actually not sure what is the best policy for INLINE/INLINABLE annotations on instance methods.  The last time I checked this a long time ago and I think my conclusion was that adding no annotation at all gave the best behavior, but there is a very high chance that my memory is wrong.  Is there a simple benchmark we could add for one of these to test which annotation gives the best performance?


Code block after return does not move cursor one level back

@Khalilsqu commented on Tue Dec 11 2018
As far as I know, all statements after return statment are skipped. Wouldn't it be normal for the cursor to move one level back after the return statement in the code block?
Here is the behaviour in vscode

Here is the behaviur in Spyder, or even Pycharm

@d3r3kk commented on Mon Dec 17 2018
Do we want to enhance  our formatting to match the above issue (I've verified that this happens on Win10). We can probably add it to the enhancement we nabbed a few weeks ago to do with if/else.

@Khalilsqu commented on Tue Dec 18 2018
I am using windows 10 64-bit

I forgot to close this after following up; IIRC this is an on-enter problem that will be solved another way than trying to hack the LS to do this with the on-type formatting or other.


refactor: allow assume role with optional externalId

Refactor route53 to allow assuming a role, either with the default chain, or using a given key pair.
This is the same changes from #1123 but with signed commits.

Tested locally - LGTM


Focusing on space does not focus on window in that space

I launch two windows in the current space and then move one of them into a new space using the following keybind
# create desktop, move window and follow focus - uses jq for parsing json (brew install jq)
shift + cmd - n : yabai -m space --create && \
                  index="$(yabai -m query --displays --display | jq '.spaces[-1]')" && \
                  yabai -m window --space "${index}" && \
                  yabai -m space --focus "${index}"

or alternatively, creating a desktop first using
# create desktop and follow focus - uses jq for parsing json (brew install jq)
cmd + alt - n : yabai -m space --create;\
                  index="$(yabai -m query --displays --display | jq '.spaces[-1]')" && \
                  yabai -m space --focus "${index}"

and then moving the window to the newly created space. The weird thing that I notice is that focusing on the newer space does not the focus on the window in that space. So if now switch between spaces using
cmd + alt - 1 : yabai -m space --focus 1
cmd + alt - 2 : yabai -m space --focus 2

I find that the window in space 1 is correctly focused on using the above keybind, but when I focus on space 2, it does not focus on the window there.
This issue is however resolved when mission control is activated i.e. It focuses on the window in space 2 only once mission control has been activated (using the 4-finger swap to switch spaces), but not solely using the yabai space keybindings. Is this an expected issue or am I experiencing/doing something silly ?
I am on MacOS 10.14.6 and have disabled SIP and also followed every item in mentioned here

The underlying issue is that focusing a space focuses the most recently focused window on that space, and that obviously does not exist for a newly created space.
If you want to follow a window, you can use this keybinding instead, which focuses the moved window instead of the newly created space.
shift + cmd - n : yabai -m space --create \
	&& wid="$(yabai -m query --windows --window | jq '.id')" \
	&& sidx="$(yabai -m query --spaces --display | jq 'map(select(."native-fullscreen" == 0))[-1].index')" \
	&& yabai -m window "${wid}" --space "${sidx}" \
	&& yabai -m window --focus "${wid}"

Another more general fix is to always try to focus the window under the cursor after switching a space or destroying a window, but only if no window is focused.
#! /usr/bin/env sh

# save this as a file somewhere, then run:
#     chmod +x path/to/this/script
# now execute this file from your yabairc:
#    ./path/to/this/script

if [ $# -ne 0 ]; then
	for event in window_destroyed space_changed; do
		yabai -m signal --add label="${0}_${event}" \
			event="${event}" action="${0}"
	done
	exit
fi

{
	yabai -m query --windows --window \
		|| yabai -m window --focus mouse
} 2> /dev/null

Thanks for the reply. Although the alternate keybinding for shift + cmd - n works, the script you posted above has no effect. What I'd like to add is that if I have 2 windows, lets say a w1 and w2 in s1 and if I decide to move w2 to a new space s2 using the keybind
shift + alt - 2   : yabai -m window --space  2; yabai -m space --focus 2

where s2 was created using
# create desktop and follow focus - uses jq for parsing json (brew install jq)
cmd + alt - n : yabai -m space --create;\
                  index="$(yabai -m query --displays --display | jq '.spaces[-1]')" && \
                  yabai -m space --focus "${index}"

what actually happens is that w1 in s1 is retaining focus i.e. even though I am on s2 now, shift + alt - 2 does not actually focus on w2 in s2, rather w1 is still focused on (can see this from the status bar) even though I am on s2. So the logic

always try to focus the window under the cursor after switching a space or destroying a window, but only if no window is focused.

may not work as expected, since there is a window focused, only problem is that its in the wrong space i.e. w1 on s1.
Essentially, I would like for the keybind shift + alt - 2 to work identically to i3wm, where moving a window to a space would automatically switch focus to that window on that space.

I'm on mobile currently so I cannot test, but this should work:
In the script, instead of yabai -m query --windows --window, test whether there are any focused windows on the current space.
yabai -m query --windows --space | jq -er 'map(select(.focused == 1)) | length > 0' \
	|| yabai -m window --focus mouse

Thanks for the side note; I have fixed that in my skhdrc. However, the replacement snipped above still has no effect, in particular yabai -m query --windows --space | jq -er 'map(select(.focused == 1)) | length > 0' returns false for s2 (since w1 on s1 is focused), but it still fails to focus on w2 (on s2).
For now, I guess I could augment the bind for shift + alt - 2 with the snipped you provided above for shift + cmd - n, so that it also creates a space 2 (if not already present), and then moves the window to space 2 and focuses on it. So my keybind looks like
shift + alt - 2   : (yabai -m window --space  2; yabai -m space --focus 2) || yabai -m space --create \
	&& wid="$(yabai -m query --windows --window | jq -r '.id')" \
	&& sidx="$(yabai -m query --spaces --display | jq -r 'map(select(."native-fullscreen" == 0))[-1].index')" \
	&& yabai -m window "${wid}" --space "${sidx}" \
	&& yabai -m window --focus "${wid}"

I do agree that this is not elegant for multiple keybindings.
Also, maybe this I can open another issue for this, but is there a way to replicate i3-like space numbering, so for ex. having a space 1 and space 3 present, without a space 2. From what I have understood so far, there is no way for me to create a space 3 (named 3 that is) without having to create a space named  "space 2" (so that would be 3 spaces instead of 2). Or also things like renaming space 1 to space 5, whilst only having one actual space. Simply speaking, a space-renumbering functionality!

Thanks for the side note; I have fixed that in my skhdrc. However, the replacement snipped above still has no effect, in particular yabai -m query --windows --space | jq -er 'map(select(.focused == 1)) | length > 0' returns false for s2 (since w1 on s1 is focused), but it still fails to focus on w2 (on s2).

Note that the code snippet you posted only returns true of there are no focused windows on the current space. It does not actually focus anything. You'd still have to use a || b or if ! a ; then b; fi of some sort, where a is the condition and b is the part where you focus a window.
The keybinding you presented for shift+alt-2 is not reliable in any way sadly.

Simply speaking, a space-renumbering functionality!

You can create files that associate space ids (not the indices!) with tags to do this, then grab the space id from the tag and then grab the space index from the space id. Or just wait for #119 of some sort, which will make this easier. This is not a simple thing to implement.

Right, I had the  || yabai -m window --focus mouse after that snippet. Is there a better alternative to shift + alt - 2 keybinding that does what I want i.e. create a space first if not already existing and then move and follow focus of the window to that space ? Thanks for the quick response though!


problem with didOutputSampleBuffer  (Maybe deadlock, need help)

I need to work with samplebuffer directly, so i add a function in GPUImageVideoCameraDelegate,
@protocol GPUImageVideoCameraDelegate <NSObject>

@optional
- (void)willOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer;
- (void)didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer;
@end

and change this:
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection
{
    if (!self.captureSession.isRunning)
    {
        return;
    }
    else if (captureOutput == audioOutput)
    {
        [self processAudioSampleBuffer:sampleBuffer];
    }
    else
    {
        if (dispatch_semaphore_wait(frameRenderingSemaphore, DISPATCH_TIME_NOW) != 0)
        {
            return;
        }

        CFRetain(sampleBuffer);
        runAsynchronouslyOnVideoProcessingQueue(^{
            //Feature Detection Hook.
            if ([self.delegate respondsToSelector:@selector(willOutputSampleBuffer:)])
            {
                [self.delegate willOutputSampleBuffer:sampleBuffer];
            }

            [self processVideoSampleBuffer:sampleBuffer];

            if ([self.delegate respondsToSelector:@selector(didOutputSampleBuffer:)]) {
                [self.delegate didOutputSampleBuffer:sampleBuffer];
            }

            CFRelease(sampleBuffer);
            dispatch_semaphore_signal(frameRenderingSemaphore);
        });
    }
}

when i print something in didOutputSampleBuffer, everything is OK, but when i append sampleBuffer to an array, camera preview is freezing, anyone can help me?
    func didOutputSampleBuffer(sampleBuffer: CMSampleBuffer!) {
        if shootingTag {
            dispatch_async(dispatch_get_main_queue(), { () -> Void in
                self.recordSampleBuffers.append(sampleBuffer)
            })

        }
    }

I think this was because the sampleBuffer was reuse by the camera queue


Don't run Swift tests in the -gmodules configuration

it only makes sense for Clang tests.
rdar://problem/42977904

Maybe somebody forgot to sort the xcode project?  Does git/svn have pre-commit hooks that we could get to do this.  I've forgotten a couple of times too and it makes for huge unnecessary diffs.
Jim

On Sep 18, 2018, at 10:22 AM, Davide Italiano<EMAIL_ADDRESS>wrote:
@adrian-prantl Are the changes in the xcodeproject intended?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Descriptions of hidden Offline Dataset format? -Track-2

Problems

Is there any detailed discription of the format for hidden offline dataset when submitted?

Will the sample follow the format in recorders in sample code, providing all processed observation?

Following IL samples in utility_IL.py, there's a different dict format :

Can you make some explanation of the format of data for each"/Agent-history-vehicle-" + id + ".pkl" ?
Appreciate for anyone's kind response !

@georgeliu233 hello, sorry for the late reply, this should have been answered earlier.

The format that should accepted is as described for the SMARTS Observation type. This underlying observation can be augmented using whatever wrappers you specify in your policy.py's submitted_wrappers() function.

Yes, the recorded observations in the sample are in the format that will be used for evaluation.

The current utility_IL.py example is out of date and misleading. It should be updated shortly.

@georgeliu233 hello, sorry for the late reply, this should have been answered earlier.

The format that should accepted is as described for the SMARTS Observation type. This underlying observation can be augmented using whatever wrappers you specify in your policy.py's submitted_wrappers() function.
Yes, the recorded observations in the sample are in the format that will be used for evaluation.
The current utility_IL.py example is out of date and misleading. It should be updated shortly.

Hi, Thanks a lot for the repsonse!
By the way, what is roughly the size of hidden training dataset?

Hi @georgeliu233,

The detailed structure and format of the offline dataset supplied to the docker container for training your model during evaluation is described here under point number 7.
An example offline_dataset is provided here for reference.
The size of the hidden training dataset is in the large orders of GB. Hence, consider reading the dataset in small chunks to avoid running out of memory.

We hope the above addresses your question and thus this issue is being closed. Please feel free to reopen this issue if your problem persists or open a new issue for other questions.

Hi, thanks! I've gone through the offline example, I am wondering if there is an available way in acquiring the """Waypoint paths""" for neighborhood vehicles.


fix(HLS): Fix audio and video out of sync

Fixes https://github.com/shaka-project/shaka-player/issues/5584
Fixes https://github.com/shaka-project/shaka-player/issues/5013
Fixes https://github.com/shaka-project/shaka-player/issues/5397
timestampOffset calculation is no longer necessary in the HLS parser because we introduce recently some change in MediaSourceEngine to calculate the timestampOffset

timestampOffset calculation is no longer necessary in the HLS parser because we introduce recently some change in MediaSourceEngine to calculate the timestampOffset

Which branches have that change?  Only those branches should get this fix cherry-picked.  This fix may break other branches.

timestampOffset calculation is no longer necessary in the HLS parser because we introduce recently some change in MediaSourceEngine to calculate the timestampOffset

Which branches have that change? Only those branches should get this fix cherry-picked. This fix may break other branches.

Only 4.3 and 4.4

Which branches have that change? Only those branches should get this fix cherry-picked. This fix may break other branches.

Only 4.3 and 4.4

This did not cherry-pick cleanly to v4.3.x, and I am not familiar with the change you're referencing.  Can you please reimplement this in a PR against v4.3.x if it's necessary?


Move the gen_salt function to the Base module

The main Argon2 module should only contain the functions that the average developer would use, and all of the lower-level functions should be in the Argon2.Base module. With this in mind, the gen_salt function should really be in the Argon2.Base module, as most users will not use it directly.
I propose the following:

move the gen_salt function to the Argon2.Base module
deprecate the gen_salt function in the Argon2 module (and remove it in the next major version)

Updated in f026a6b


add Fledge

SteamDB app page links to a few games using this
Fledge[] = ^audio/audio_shared_loaded\.fsb$

- Lords of the Fallen
- The Surge
Fledge[] = (?:^|/)FledgeCore(?:_x64_vk|)?\.dll$

- Atlas Fallen
- Blood Knights
- Jack Keane 2: The Fire Within
- Moorhuhn: Tiger and Chicken
- The Surge 2
Brief explanation of the change

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: Engine.Fledge
These apps now match: (8)<PHONE_NUMBER>20<PHONE_NUMBER>40<PHONE_NUMBER>30<PHONE_NUMBER>530
Please confirm that all these changed apps are correct.


File/Directory Methods

I would like to create a class which contains basic File or Directory that is currently used for example the Logic on the Database to check if a File has a given extension
I would not expect it to be there so were would be a good place for Such classes?
Extensions, Helper or in a New IO Folder?

Good idea...
I guess if it is a static class, put it in Helper folder.

I think you implemented this in #152 if not done yet, feel free to reopen


How long can I expect it to take to generate a 7 characters + digit prefix?

I'm currently searching for posters2, 3, 4, 5, 6, and 7.
With 1.4 MH/s, it's been 4 hours 45 minutes with no hit. Is this out of my reach, or can I expect an output within like a day or so?

some unscientific math incoming...
it took few hours (dont remember exact ammount of time tbh) for me to make 6 char onion with ~415000calc/sec rate..
you've got more power but you want much longer onion too.
every character divides probability to hit 32 times.
so in your case, you want to generate 2 characters more than I did, and last character has 6 variants...
so it'd take (32 * 32 / 6) longer for me to generate such onion on my hardware compared to one I generated before.
now, you've got more hash power, so (32 * 32 / 6) / (1.4 / 0.415) ~= 50.59047619
tl;dr give it few days

OK, thanks.


@theatre/r3f does not work with CRA

Reproduction: launch examples/r3f-cra
Related: #101

Fixed as a part of https://github.com/theatre-js/theatre/pull/293, closing.


feat: add mcrypt 1.0.6 release

update mcrypt with release 1.0.6

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


KnownProxies/Networks enhancements

Fixes #8417

In addition to possibly providing more content for this, let me know if you have a good link for IPv4 in IPv6. I didn't see a MS doc link that looked good for it.
Should we also note: https://docs.microsoft.com/dotnet/api/system.net.ipaddress.maptoipv6

@Tratcher Is it ok that I added the clarification on dual-mode sockets to the section as opposed to the table? It seemed like a lot of text to have there, and it would be duplicated for the entries in the table. See the last commit.

I meant that as a replacement for the comment "If a network address is an IPv4 address nested in an IPv6 address (for example, ::ffff:<IP_ADDRESS>), supply the address to KnownNetworks in the nested IPv6 format."

This bit ...

the last 32-bits provided in IPv4 format

Isn't correct. I'll provide another commit to generalize it.

Would this (in the code example) ...

The prefix length supplied to the IPNetwork constructor is the CIDR notation of the subnet mask.

... be better in either of the following formats ...

The IPv6 prefix length supplied to the IPNetwork constructor is the IPv4 CIDR notation of the subnet mask plus 96 [for example, the IPv4 CIDR subnet mask notation for 24 is 120 in IPv6 (24 + 96)].
The IPv6 prefix length supplied to the IPNetwork constructor is the IPv4 CIDR notation of the subnet mask in IPv6 format.

@Tratcher Ok ... ready.

Amusingly someone has taken it upon themselves to solve this another way: https://github.com/aspnet/BasicMiddleware/issues/358


git: 2.11.1 -> 2.12.0

Motivation for this change
Update
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

What's up with the signature of the commit?

That is a very good question, I did not change anything... Let me investigate...

Weird... I just git reset, git commit, git push -f and now it says everything is good...

Merged in 7611525c008408be64b99e5b0517820cc578bde8


[Evaluation] Log empty patch stats for SWE-Bench

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
Dependency: https://github.com/OpenDevin/OpenDevin/pull/2752
Give a brief summary of what the PR does, explaining any non-trivial design decisions
The latest version of SWE-Bench support logging empty_generation stats, this PR adds support for that.
Other references

Now that https://github.com/OpenDevin/OpenDevin/pull/2752 is merged. This should be ready for review!


Restaurent reviews classification

💥 Proposal
I want to create a model that classifies a restaurant review as positive or negative
I am gonna make this model using RNN
the dataset i am gonna use is :-https://www.kaggle.com/datasets/d4rklucif3r/restaurant-reviews
@khusheekapoor @theyashwanthsai

@khusheekapoor @theyashwanthsai
I am interested in doing this project
so kindly assign me this issue
Thank You : )

Hi , I would like to work on this issue.


Scrum 2665

new DB model
modified API
modified tests

Needs to generate alembic revision. Waiting for #411 to get merged to get the latest alembic file

Thanks @azurebrd. Yes, I've added a couple of crud functions that were missing yesterday, but the overall structure hasn't changed

https://github.com/alliance-genome/agr_literature_service/blob/SCRUM-2665/agr_literature_service/api/crud/topic_entity_tag_crud.py#L36
This is not a big deal, but if we use "filter_by", we can save some typing, I meant we can get rid of all these "TopicEntityTagModel"

ignore my comment since majority of codebase use "filter" instead of "filter_by"..

https://github.com/alliance-genome/agr_literature_service/blob/SCRUM-2665/agr_literature_service/api/crud/topic_entity_tag_utils.py#L26
db.query(TopicEntityTagSourceModel).filter(
TopicEntityTagSourceModel.topic_entity_tag_id == topic_entity_tag_source_id).one_or_none()
Assume TopicEntityTagSourceModel.topic_entity_tag_id is the primary key for "topic_entity_tag",  is the "topic_entity_tag_source_id" the primary key for the source table (topic_entity_tag_source)?

@valearna Overall the code looks great! Thanks.

I always prefer filter instead of filter_by because mypy and flake8 can check the column names

They do with filter, but in filter_by you can put any name and it's not directly linked to the model so they won't know

It's totally fine to use filter_by, it's only a matter of personal preference


Roadmap to v0.4.0

Move AsyncPipe/AsyncStream logic to AsyncTwoEndIo
AsyncTwoEndIo will have a reader and writer public var, and on closing will affect only its side
proc tranfer :

remove closeAfter argument
instead return which cause the stopping (src or dest)

Add a flag with getter to modify how AsyncTeeReader close :

close only reader without flushing
close only reader and flush it
close reader wihtout flushing, and writer
close reader, flush it, and close writer

(asynsync) : implement a then method to replace addCallback with a more "await style"

Completed with last commit. Only what was most useful was implemented


Stress test client connections with a ton of fake websockat clients

We can build a GitHub Actions workflow that will spawn hundreds of VM's, spawn fake clients and gateways multiple (100?) times per VM, connect them to our staging and flow it with messages.

@AndrewDryga I believe I inadvertently did this a couple weeks ago: https://firezonehq.slack.com/archives/C061L4VQC6B/p1718909713504649
The end result was that messages filled the queue, but the application was still responsive. Any action items here?


shorthand urls no longer parsable in v8

In https://github.com/IonicaBizau/git-url-parse, parseUrl is expected to be parse shorthand GitHub URLs:
parseUrl('42IonicaBizau/git-url-parse')

In v7:
{
  protocols: [ 'file' ],
  protocol: 'file',
  port: '',
  resource: '',
  user: '',
  password: '',
  pathname: '',
  hash: '',
  search: '',
  href: '42IonicaBizau/git-url-parse',
  query: {}
}

However, v8 introduces a regression where this no longer works:
Error: URL parsing failed.
    at async ESMLoader.import (https://node-xtnz8w.w.staticblitz.com/blitz.1f021b18268b32e6c6b2095e039ac8c9f88b0d52.js:6:1209040)
    at async i.loadESM (https://node-xtnz8w.w.staticblitz.com/blitz.1f021b18268b32e6c6b2095e039ac8c9f88b0d52.js:6:246622)
    at async handleMainPromise (https://node-xtnz8w.w.staticblitz.com/blitz.1f021b18268b32e6c6b2095e039ac8c9f88b0d52.js:6:989049) {
  subject_url: '42IonicaBizau/git-url-parse'
}

Reproduction:
https://stackblitz.com/edit/node-xtnz8w?file=package.json&view=editor

Alternatively, we can handle this new output better in git-url-parse. After all, user/repo is not a URL so the logic should probably not live here.


Progress bar style and colors get messed up when using Term.jl on Julia through screen on SSH

I'm currently running Julia through SSH, and I'm using screen to keep the session opened when disconnecting from SSH.
I've noticed that if I use Term's progress bar on SSH without screen, everything works fine. If I instead launch Julia after having launched screen, the progress bar looks like this:

Don't mind the multiple headers, that was my fault for having resized the window. But the underline of the info logs, and all the weird colors, are due to the fact that I'm using Term behind screen. All other colors in the REPL (provided by OhMyREPL.jl) look perfectly fine, it's only Term's colors that are messed up.
I'm using Windows Terminal with Julia v1.7.2 and Term 0.3.0.

Hey, thanks for sending this in. I don't know what screen is or what it does, so I'll have to do some digging to figure out what's happening here.


Add EDL Model

Upload EDL file

store file data in table text type.

Attributes

project_id
user_id
content ( text )


implement refresh session / re-init

https://github.com/ianklatzco/atprototools/blob/52b046642baad183f77ba4eaab4ac704eaf5acdb/atprototools/__init__.py#L40

before a request is made, could prob check if the request is a 401, refresh the token if so, and then try again

by the way, you're looking for com.atproto.server.refreshSession iirc.

will be resolved soon at atproto sdk https://github.com/MarshalX/atproto/issues/12

it has been added in atproto sdk 0.0.6! https://github.com/MarshalX/atproto/pull/27

@Scrxtchy could you show the output of
from datetime import datetime, timezone
d = datetime.now(timezone.utc)
print(d)

pls

ah, I think a found this bug. will be fixed asap, thank you!

@Scrxtchy fixed in 0.0.7 (https://github.com/MarshalX/atproto/pull/33). Pls let me know is everything fine


README iteration

Just added some new paragraphs and some screenshots. Feel free to modify it :)
Change-type: patch

@mpous - thanks a lot for the PR. Much appreciated.


Two github users from same machine

Basically as soon as i'd like to switch the browser to another github user all hell breaks and prose simply won't deliver, also the 1st user will somehow get broken. I even got it to say post-published and green light, but git itself has not heard about it.
What I have tryed:
a. deleting cookies
b. a. + restarting browsers
c. staring at browser js console (mostly 404 with some 403is)
Not sure how to even test this properly, but the steps to reproduce are simple:
a. new github user with new github jekyll page
b. try to edit old and/or new one with prose
c. hell.

Are you logging out of Github.com or just logging out of Prose.io? Would help me to diagnose if you gave some more info on the steps I can take to reproduce this, for example:

Log in to Prose.io with User A
Log out of Prose.io with User A
Log into Prose.io with User B

etc.

1,2,3 and:

I don't see a login button, but prose shows 'Authorize on github', which is weird I guess, since the app is authorized there
Prose seems to be confused on what _prose.yml should read (I assume), drops me to root overview of gits.
When I edit some of the stuff in _posts the red 'error while loading data ....' appears.

@brontosaurusrex we had an issue a bit ago, around the time you reported this, with https and a faulty url string. The red error shouldn't show up anymore.
I agree that Authorize on github is not what you'd expect to see, but it is accurate, as you don't have an account with Prose, you just authorize it to make commits on your behalf to Github.
If you can point me to your _prose.yml file, I can take a look and see what might be causing the issue of your root folder not working properly.

Here is one
https://raw.githubusercontent.com/brontosaurusrex/brontosaurusrex.github.io/master/_prose.yml


Issue 2

This PR adds support for parsing Hashes.
Closes #2.

:tada:

It was your comment on the other issue that nudged me into doing this. Thanks man!

Good to hear. I think it's part of the "game". Having more interaction might snowball into something useful. Too many of my projects just dies for luck of motivation!

I think you're right. I could have spent a few days trying to further "beautify" things but your interaction prompted me into, "fuck, I better actually do something useful."

Perfection never ships, they say.


Ignore stderr on spawned processes

When using term-info on a non-interactive terminal (like in CI or a pre-commit hook in Sublime Merge), resize and tput write out to stderr:
Opening `/dev/tty` failed (6): Device not configured
resize:  can't open terminal /dev/tty
tput: No value for $TERM and no -T specified

We can suppress these by passing 'ignore' for the third tuple value of stdio, which corresponds to stderr.

stderr by default will be output to the parent process' stderr unless stdio is specified.

That gets me every time. Such a weird behavior.


kudo plan trigger does not fail on non-existing plan

What happened:
./bin/kubectl-kudo plan trigger --instance=test-operator-instance --name=xxx
Triggered xxx plan for default/test-operator-instance instance
It also updates the CRD which it should not
What you expected to happen:
Get an error that plan does not exist.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

This should likely go in the admission controller instead of the CLI, in case either a user or CI pipeline tries to edit the CRDs directly to run a plan.
Thanks @jbeda for the bug!


[New Port Request] timercpp

Library name: timercpp
Library description:
Javascript like timer for c++ developers
This header only library has js equivalent setTimeout() and setInterval() for c++.
Source repository URL: https://github.com/99x/timercpp.git

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now, consider making a pull request instead.


add sort function

@rmacciuci Thanks for the contribution 🚀 Would you mind a brief PR description for future documentation? Thanks!

Also @rmacciuci some extra tests would be nice for string and structs sorting (by struct field). This way we can show people how to use this function.


WIP: move from console to crossterm

I've started moving this crate to crossterm as hinted here and figured I'd share my progress.
Scope of task. TTBOMK, there are three parts to this migration, corresponding to the different console types used:

replace console::Key by crossterm::KeyCode
replace console::Term by a crossterm equivalent
replace console::{style, Style, StyledObject} by crossterm equivalents

The first item is tedious, but pretty straightforward; all necessary changes are mechanical. Replacing console::Term is more subtle; I've introduced bugs in the porting process more than once (which manual testing has caught). I haven't looked deeply into the third part yet. console's and crossterm's machinery around terminal styling are somewhat different; I haven't wrapped my head around that. I'd leave that for another PR.
Testing. I mostly used manual testing to verify my changes.

cargo test, cargo clippy and cargo fmt pass
run all the examples and verify their output looks sane: cargo run --example confirm and likewise

Status.

[x] replace console::Key by crossterm::KeyCode
[] replace console::Term by a crossterm equivalent

[x] confirmation prompt: compiles and tested manually; works
[x] input prompt: compiles; manual tests reveal some regressions
[x] fuzzy_select: compiles; manual tests reveal some regressions
[x] sort, select, multiselect: compiles; untested so far
[] password: mostly ported, except for read_line_secure (and untested)
[] buffered.rs example: uses crossterm::Term::buffered_stderr

[] replace console::{style, Style, StyledObject} by crossterm equivalents: not started

I have solved the borrowing issue above; with the latest push, all prompts compile now. (The one exception is the buffered example, which I haven't ported. cargo fmt, cargo clippy and cargo test also pass.) I haven't tested the prompts any further.

FWIW, this PR is not going to go to waste. We just need to implement the testing framework is all.

I have been making some good progress in figuring out how to do unit testing for TUIs. I should have something soon.

@pksunkara This sounds exciting! Any news since March?
(I've seen there are merge conflicts on this PR. I'll resolve them when there is a clearer story forward - which, as I understand it, is blocked on figuring out a better unit testing story.)

I would like the part with switching to crossterm to be merged.
console has bugs like https://github.com/console-rs/console/pull/182 which affect dialoguer.
Hopefully it can make Windows experience better.

Agreed. I have some work locally that I will look to push. @Gordon01 if you are interested, you can also take charge of it later.

I do not want to do this merge without considering what this means. There are a lot of projects using console and dialoguer in one way or another and this switch would have to be considered properly first. In general all of these crates (dialoguer included) are quite buggy as a hole and have frequent regressions, I'm not convinced that this move will significantly improve on this.

To make this more actionable: I rather see a fork of this library out of this organization to be based on crossterm than to make such a major departure here.

I'm not convinced that this move will significantly improve on this.

Agree. Wasn't familiar with the organization of the project but now I see.

In general all of these crates (dialoguer included) are quite buggy as a hole and have frequent regressions

Generally, they work well. But definitely needs a few touches. Especially for Windows, ha-ha.

if you are interested, you can also take charge of it later.

@pksunkara great!
Thank you for your effort and quick merge of my patches.
I recently started to use dialoguer for my CLI to make menus like "Select a group for user". Makes the text UIs easier to use. Great that it supports passwords too.

@pksunkara I believe, this PR may be closed now as this crate would stay on console.
It's also listed as a 0.11 milestone which is definitely not true now)

Before anyone goes ahead and forks dialoguer, I'd like to point out that inquire already uses crossterm by default but also supports console and termion as alternative backends.
Might make more sense to contribute there instead of creating yet another prompting library.

I definitely wouldn't do it, since we now fixed the most annoying bugs of non-ascii characters support.
@pksunkara can this be closed now?


timeInForce and dealReference missing on create_open_position

on method create_open_position two parameters are missing :
timeInForce that could be EXECUTE_AND_ELIMINATE or FILL_OR_KILL
dealReference optional string
The trailingStop might be false by default and trailingStopIncrement none.

If you think there is a bug, please create a PR

It is not a bug it is a possible lack of 2 useful parameters (at least dealReference for retrieving position).
Sorry but I will not do a PR for 2 lines of code.
I let the pro do it.
Regards.


APIv2: release coordination with google.golang.org/genproto

The google.golang.org/protobuf project is taking ownership of all well-known types. However, some of them are currently owned by google.golang.org/genproto and will need to be moved through the use of type aliases. This issue tracks the release coordination between the two projects.

To ensure users use a sufficient new version of genproto once fieldmask is moved over we need to do one of the following:

Have a dependency on genproto. This is unfortunately, because it means that the transitive tree of genproto dependencies become our dependencies. :(
Add a hack to protoregistry to check for duplicate registrations of fieldmask. If so, we panic at init-time with a warning to users to upgrade to a newer version of genproto.

If so, we panic at init-time with a warning to users to upgrade to a newer version of genproto.

:grimacing: what if someone is depending upon a .pb.go file that they did not or cannot compile?

We've removed the packages which conflict with genproto from the current repo. The only one which we were using was field_mask.proto, and it was only used in tests. We'd like to change the canonical location of these packages, but it doesn't need to block the release.

Fixed with https://github.com/googleapis/go-genproto/commit/cb27e3aa201319f013ddb1872c3111662191a225


docker image does not load/work when running on Ubuntu 16.04

Hi guys:
I want to try docker images under Ubuntu 16.04.
First, apt-get install docker.io and pip install docker-compose
===================================================
   root@docker-test:~# docker version
Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.6.2
 Git commit:   b9f10c9
 Built:        Thu, 16 Jun 2016 21:17:51 +1200
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.6.2
 Git commit:   b9f10c9
 Built:        Thu, 16 Jun 2016 21:17:51 +1200
 OS/Arch:      linux/amd64

root@docker-test:~# docker-compose -v
docker-compose version 1.8.0, build 94f7016

======================================
Then, I "docker pull" and "docker up", the log show:
    exec: "/entrypoint.sh": permission denied

Can anyone help me ?

Thx Mark. @sharkconi
Did you say that maybe make base-os to 16.04 resolve this ?
@rolandpoulter

I think the compose may be using features specific to Docker 1.12, and it looks like your docker installation setup only brings you up to docker 1.11.
Assuming you were doing this on the internal EMC networks, did you get the images to pull down correctly? Are you past that when you're hitting the entrypoint error?
I'll specifically create an Ubuntu 16.04 VM and try to load docker up on it today to reproduce this

@sharkconi couple of additional questions to set the stage:

where you using 16.04 or 16.04.01
did you use/run sudo apt-get update; sudo apt-get dist-upgrade prior to starting this process (i.e. all security/etc patches and updates applied)?

@sharkconi FWIW, there's official "how to install Docker" instructions at https://docs.docker.com/engine/installation/linux/ubuntulinux/ that talk about how to install on Ubuntu 16.04, and assert that the Ubuntu docker may be older, implies not to use it, etc.
Once I installed it, the docker-compose command wasn't available on ubuntu either, but it's worth noting that @rolandpoulter made a set of scripts that do the equiv of docker-compose with just docker command line versions that might be applicable here:
git clone https://github.com/rackhd/rackhd
cd rackhd/docker
sudo ./scripts/compose_services.bash

I'm not sure what official support exists for docker-compose in Ubuntu 16.04, I'll need to do a bit more digging there. For what it's worth, here's the sequence that I used while installing the latest docker on Ubuntu 16.04:
uname -r
sudo apt-get update; sudo apt-get dist-upgrade
sudo apt-get purge docker.io
sudo apt-get install apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo touch /etc/apt/sources.list.d/docker.list
sudo vi /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get purge lxc-docker
apt-cache policy docker-engine
sudo apt-get install docker-engine
sudo service docker start

installing docker-compose per Docker instructions:
sudo -i
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
exit
docker-compose --version

that said, as soon as I try and leverage docker-compose to this up, I'm getting errors from it - looks like non-root can't access the docker socket on an Ubuntu 16.04 install, so I switched to a root user:
sudo -i
git clone https://github.com/rackhd/rackhd
cd rackhd/docker
docker-compose pull
docker-compose up

@sharkconi I'm likely incorrect on the requirement for Docker-engine based on my research this morning, however I'm not able to reproduce the issue you're seeing with getting an entrypoint error

I continued poking at things, and it seems that the core issue I'm hitting (which is different from yours) in running RackHD within Containers on an Ubuntu 16.04 base host is that the rabbitmq container appears to be failing.
The container fails out with the following error:
ERROR: epmd error for host ubuntu-xenial: timeout (timed out)
I've tried a couple of the different container tags: rabbitmq:3, rabbitmq:3-management as well the one in the compose file: rabbitmq:management
The same happens when I invoke it locally, and directly on a Mac, so I'm not sure that this is ubuntu related:
heckj  ~  src  rackhd  docker  master  $  docker logs docker_rabbitmq_1
heckj  ~  src  rackhd  docker  master  $  docker ps
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS               NAMES
4b32c22a3419        rabbitmq:management   "docker-entrypoint.sh"   23 seconds ago      Up 22 seconds                           docker_rabbitmq_1

...
 heckj  ~  src  rackhd  docker  master  $  docker logs docker_rabbitmq_1
ERROR: epmd error for host moby: timeout (timed out)

I tried several variations on the docker run command, and it seems to be freaked out with the --net="host" option. When I drop this off, it runs fine. @rolandpoulter any brilliance on why this might be? Or have you seen this before?

I'm using docker version 1.10.1 with docker-compose version 1.6.0, running on tiny core linux.

Not sure why these issues are happening, but I want to assume it is from using the latest ubuntu with the latest docker/compose. Let me first try updating my docker/compose versions and then I'll test in Ubuntu 16.04

@sharkconi @heckj Just tested ubuntu 16.04 with docker 1.12.0
Everything worked for me, I used https://atlas.hashicorp.com/comiq/boxes/dockerbox, mounted my RackHD directory at the root and ran docker-compose build && docker-compose up -d

Hmm - I wonder if I didn't set up my base OS correctly - going to try dockerbox and see what the delta may be there.
@sharkconi in either case, neither of us are reproducing what you with your original error:
exec: "/entrypoint.sh": permission denied - can you provide all the steps to reproduce exactly what you saw?


WARNING: [PornHub]<PHONE_NUMBER>: Failed to parse JSON: Expecting value in '': line 1 column 1 (char 0)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Provide a description that is worded well enough to be understood
yt-dlp version 2022.10.04 worked with pornhub perfect until 31.10.2022.
Since yesterday (01.11.2022) I get the following error:
WARNING: [PornHub]<PHONE_NUMBER>: Failed to parse JSON: Expecting value in '': line 1 column 1 (char 0)
(see debug info below.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
/var/www/ip2/adm/usr/local/bin/yt-dlp -vU 'https://www.pornhub.com/view_video.php?viewkey=ph615d8da106dcd' -o /var/www/ip2/content/636215a8ef8ba3.27746403.mp4.mp4
[debug] Command-line config: ['-vU', 'https://www.pornhub.com/view_video.php?viewkey=ph615d8da106dcd', '-o', '/var/www/ip2/content/636215a8ef8ba3.27746403.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (zip)
[debug] Python 3.9.2 (CPython 64bit) - Linux-5.10.0-16-amd64-x86_64-with-glibc2.31 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-62475-g130d19bf20-static (setts), ffprobe N-62475-g130d19bf20-static
[debug] Optional libraries: certifi-2020.06.20, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [PornHub] Extracting URL: https://www.pornhub.com/view_video.php?viewkey=ph615d8da106dcd
[PornHub] ph615d8da106dcd: Downloading pc webpage
[PornHub] ph615d8da106dcd: Downloading JSON metadata
WARNING: [PornHub] ph615d8da106dcd: Failed to parse JSON: Expecting value in '': line 1 column 1 (char 0)
[debug] Sort order given by extractor: height, width, fps, format_id
[debug] Formats sorted by: hasvid, ie_pref, height, width, fps, id, lang, quality, res, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source
[debug] Default format spec: bestvideo*+bestaudio/best
[info] ph615d8da106dcd: Downloading 1 format(s): 720p
[debug] Invoking http downloader on "https://ev.phncdn.com/videos/201603/21/71659671/191019_1446_720P_4000K_71659671.mp4?validfrom=1632770612&validto=1632777812&rate=500k&burst=1000k&ipa=<IP_ADDRESS>&hash=5CYLDGi46uYZ402kGCvHZno8Q2s%3D"
ERROR: unable to download video data: HTTP Error 472:
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3196, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2920, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/bin/yt-dlp/yt_dlp/downloader/common.py", line 446, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/bin/yt-dlp/yt_dlp/downloader/http.py", line 371, in real_download
    establish_connection()
  File "/usr/local/bin/yt-dlp/yt_dlp/downloader/http.py", line 129, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3682, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 472:

same here, windows version

see pinned known issues, duplicate of #4627

Sorry but issue #4627 doesn't have this error message (see topic) and it appears since yesterday with the current version.
I am running 4 different servers and all have the same problem though nothing was changed from my side.

A friend told me about this issue but on my end everything worked fine.
He was using latest yt-dlp.exe 2022.10.04 and I still had an older version running python 3.6 2022.04.08
So now hes using yt-dlp.exe from 2022.04.08 while waiting for a new update.

A friend told me about this issue but on my end everything worked fine. He was using latest yt-dlp.exe 2022.10.04 and I still had an older version running python 3.6 2022.04.08 So now hes using yt-dlp.exe from 2022.04.08 while waiting for a new update.

makes sense, think we've seen this before. iirc python 3.6 has a different ssl cipher selection so different ssl fingerprint. same reason 3.10+ works too.


Check balances in replayer

The archive db schema associates balances with each internal and user command.
In the replayer, after each command is replayed, check that the claimed balance is what's in the ledger.
These checks are not needed, in fact, to generate a new, accurate genesis ledger, because we already check ledger hashes. Their value is to give confidence in the balances being placed in the archive db are accurate, should we write tools that rely on those balances.
Update the replayer test archive db using a new Rosetta-generated db, which contains balances. The test-replayer script succeeds with that.
Reviewer: see that the balance verification for combined fee transfer makes sense. That particular case  is not exercised using the Rosetta archive db.
Closes #7344.

!approved-for-mainnet


Update RPC for Pioneer

Describe the task
Update RPC for Pioneer: wss://pioneer-rpc-3.bit.country/wss

Version test: http://<IP_ADDRESS>:8900/s/BeQpix8KoX7bNDM
Validation passed


Optimize service commands to fetch deatils of service instance once

Description
WIth the introduction of contexts, the instance id is first validated by fetching details of the service instance.
There are certain commands that end up making the same request twice.
CLI should checki if the instance details are already available before making another request.

Has been solved for control plane command but data planes commands are expected to do this


Typo or error in Docker Run Reference for memory settings

File: engine/reference/run.md
When introducing the --memory-swap 1G option for run in docker, the page says:

We set both memory and swap memory, so the processes in the container can use 300M memory and 700M swap memory.

But the command in reference just above is:

$ docker run -it -m 300M --memory-swap 1G ubuntu:14.04 /bin/bash

Are the options just confusing or is the line a mistake? Should it say something more like: "...can use 300M memory and 1G swap memory"?

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Support bold fonts

The KaTeX repository contains several bold fonts, but apparently there are no functions to switch to them. It would be nice to change that.
Perhaps this can build on the work being done in #132?

Adding support for \mathbf in https://github.com/Khan/KaTeX/pull/132.

Is it released in latest version? I mean the font support.

Not yet.  I still need to get https://github.com/Khan/KaTeX/pull/291 and https://github.com/Khan/KaTeX/pull/292 merged in.

I should have indicated that I'm closing this as a duplicate, or rather a subset of 132.


[docs] Add "Portals" to the styled components documentation

I added a Portals section to the styled components documentation, which goes into more detail on styling components when they appear outside of your own DOM hierarchy.
Thanks!
Closes #14302.

@C-Rodg Thank you

Nice PR - actually found the PR before the documentation.


Allowing other developers to integrate their scripts with Roam42

The strategy here is that other developers should be able to allow their scripts to be integrated with Roam42, but shouldn't be included by default. That could lead to weird dependency issues if not managed properly or iteratively.
For those who want to add extra features from any source, they add the following to their [[roam/js]] code block:
window.extraRoam42Features = [
    // Add each script here as an array of strings
];

For those who are brave enough to just include everything, they could add the following to their [[roam/js]] code block:
window.extraRoam42Features = "all";

Let me know what you think!

Just one recommendation. you could consider adding some way for developer to configure if an extension should load on mobile devices or not. `main.js already has some logic for this that you can borrow.


HashMap instead of arrays

I should use HashMap instead of arrays for optimized performance and code.

Update:
I've created another branch for working on it.


Update spark for incoming sandbox gate use

Hi, iv'e been looking into what we need to change to make spark and especially the gate switch using the sandbox tickets, here's the places ive found require a change.
DB: under the events table we should change the event name code to the current sandbox code, @omerpines what is it?
https://github.com/Midburn/Spark/blob/master/models/constants.js#L81
https://github.com/Midburn/Spark/blob/master/models/constants.js#L99
https://github.com/Midburn/Spark/blob/master/models/camp.js#L37
https://github.com/Midburn/Spark/blob/master/scripts/drupal_ticket_sync.js
https://github.com/Midburn/Spark/blob/master/routes/api_camps_routes.js#L921
@roy-zahor & @asihud am im missing something? i would really use a second eye :)
cheers!

Event ID: 40
Tickets ID: 49-52

[13:02, 10/5/2017] Omer Pines: לאון, צרפתי פה את אסי.
אסי אומר שתשנה בקבצי הconstant והsync.

כל הכרטיסים הם type adult
4 Ticket ids i sent you.
Change anywhere that's written MIDBURN2017 to SANDBOX2017.
[13:04, 10/5/2017] Omer Pines: 4. In the gate web app and scanning mobile app, We need to the block option to leave and re-enter after ticket changes status to Entered.
[13:04, 10/5/2017] Omer Pines: I think @Roy Zahor  prepared a flag for this.
[13:05, 10/5/2017] Omer Pines: After you commit and deploy, we need to QA the shit out of it.

To update the version to the new MIDBURN2017 to SANDBOX2017:
just not to forget to update the models/constants.js
const ticketType = {
SUPPORT_TICKET: '39',
ADULT_TICKET: '40',
CHILD_TICKET: '41',
ADULT_DIRECT_SALE_TICKET: '43',
YOUTH_TICKET: '44',
LOW_INCOME_TICKET: '45',
INTERNATIONAL_DIRECT_SALE: '46'
// ADD HERE THE NEW TICKET TYPES:
SANDBOX2017_ADULT_TICKET: '49',
... all tickets

};
// TODO We should not use enums like this at all!! Add ticket_types table to DB
const events = {
MIDBURN2017: {
bundles: [
ticketType.SUPPORT_TICKET,
ticketType.ADULT_TICKET,
ticketType.CHILD_TICKET,
ticketType.ADULT_DIRECT_SALE_TICKET,
ticketType.YOUTH_TICKET,
ticketType.LOW_INCOME_TICKET,
ticketType.INTERNATIONAL_DIRECT_SALE
]
},
SANDBOX2017: {
bundles: [
ticketType.SANDBOX2017_ADULT_TICKET,
// add here all types
]
}
};
once the current event_id will be switched to SANDBOX2017,
and all places we replace MIDBURN2017 with SANDBOX2017 (except places like constants.js), it should be working.


Form view does not correspond to graph editor view -> (ref: gomodel:5ae3b0f600000604)

Hi,
I have 5 annotations displayed in the form view:

But only 3 are displayed in the model:

Why is this? The 2 which are missing, do actually get displayed in the graph view for the first 1 second after switching to it, but then disappear.
And: how do I delete an annotation from the form view? (The fifth annotation is an identical copy of the fourth one. I added it only as a test, because the fourth annotation was not getting displayed in the graph view, and now I don't know how to remove it - it's not shown in 'Take a Tour').
Thanks,
Barbara

Also, @tmushayahama and @lpalbou are working on adding Delete functionality to the form.  We want to make sure that when curators delete information using the form, the full implications are apparent, i.e. the potential effects on other relations and nodes in a given model.
Does deleting from the graph editor work okay for you in the meantime?

This issue was moved to geneontology/simple-annoton-editor#72


[redis-streams support]

Adds methods to support redis-streams functionality (should probably leave in PR until that spec is finalized)

XAdd
XAddExt
XLen
XRange
XRangeN
XRead
XReadN

Hi,
Thanks for your contribution - code looks good, but there are some questions about API.
Also did you consider using float64 for message id? It looks like wer are expected to do some math on the id so I wonder what is the best way to represent them
A final important thing to note about XRANGE is that, given that we receive the IDs in the reply, and the immediately successive ID is trivially obtained just incrementing the sequence part of the ID, it is possible to use XRANGE to incrementally iterate the whole stream, receiving for every call the specified number of elements. After the *SCAN family of commands in Redis, that allowed iteration of Redis data structures *despite* the fact they were not designed for being iterated, I avoided to make the same error again.

Thanks for the comments, I've updated some stuff accordingly.
I also chose to represent message IDs as their own type:
  ID int64
  SeqID int
}

I think this will be a useful way to interact with them. Updated the affected parsers/commands to work with them

Sequence ID is also 64 bit.
And don't forget XREVRANGE

@nicois I can't run an XREVRANGE command against my redis-streams branch redis-server. Can you link to an example?

@nicktylah the streams branch has been merged into unstable so pulling it won't give you the latest code any more.
Look at https://github.com/antirez/redis/commit/9bb18e54380250f3fb931028952379c3ab2dec29

Pinging this PR for a re-review. Mergeable?

I would like to make some changes, but what really concerns me is that there are no docs/beta releases at redis.io. Do you use unstable Redis Server? Can we wait until Redis team at least publishes beta release?

Ouch, never seen this before... Should we merge the two MR, or do something based on either?

Mmm good question. There's enough difference between the two PRs to extract some usefulness from both I think

The docs are here https://redis.io/topics/streams-intro and RC is released now

Replaced by https://github.com/go-redis/redis/pull/795


chore(ground_segmentation): add tuning param

Description

To add param for tuning  scan_ground_segmentation without any change in the algorithm.
Need to merge after https://github.com/autowarefoundation/autoware_launch/pull/946 merged

Releated Link
TIER IV INTERNAL LINK: task1 and task2
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@yukkysaito could you approve this PR as the code owner?


[BUG] Intermittent NPE in RapidsBufferCatalog when running test suite

Describe the bug
I'm pretty consistently seeing around 12 tests fail when running mvn clean verify -Pspark311tests. The first failure is in SortExecSuite and produces the following stack trace.
Cause: java.lang.NullPointerException:
  at com.nvidia.spark.rapids.RapidsBufferCatalog$.addTable(RapidsBufferCatalog.scala:200)
  at com.nvidia.spark.rapids.SpillableColumnarBatch$.$anonfun$addBatch$1(SpillableColumnarBatch.scala:178)
  at com.nvidia.spark.rapids.SpillableColumnarBatch$.$anonfun$addBatch$1$adapted(SpillableColumnarBatch.scala:158)
  at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)
  at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)
  at com.nvidia.spark.rapids.SpillableColumnarBatch$.withResource(SpillableColumnarBatch.scala:128)
  at com.nvidia.spark.rapids.SpillableColumnarBatch$.addBatch(SpillableColumnarBatch.scala:158)
  at com.nvidia.spark.rapids.SpillableColumnarBatch$.apply(SpillableColumnarBatch.scala:148)
  at com.nvidia.spark.rapids.GpuCoalesceIterator.saveOnDeck(GpuCoalesceBatches.scala:440)
  at com.nvidia.spark.rapids.AbstractGpuCoalesceIterator.$anonfun$hasNext$2(GpuCoalesceBatches.scala:189)

Steps/Code to reproduce bug
mvn clean verify -Pspark311tests

The failing tests work fine when run individually in IntelliJ.
Expected behavior
Tests should pass.
Environment details (please complete the following information)
Ubuntu. RTX 6000.
Additional context
N/A

I added debug logging and see this just prior to the error.
GpuDeviceManager.shutdown()
RapidsBufferCatalog.closeImpl()
GpuDeviceManager.initializeMemory()
GpuDeviceManager.initializeMemory() no action required - singletonMemoryInitialized == true

Somehow memory is not getting re-initialized in this case. I am continuing with debugging to track down the root cause.

So the issue is that GpuDeviceManager.shudown is successfully calling RapidsBufferCatalog.closeImpl but the call to RMM.shutdown is throwing an exception (which appears to be silently consumed) and therefore we never set singletonMemoryInitialized to false so the next call to GpuDeviceManager.initializeMemory does not call RapidsBufferCatalog.init.

I found the root cause, which was that registering a custom SparkListener in the new tests caused the Spark session to leak.
I have put up PR https://github.com/NVIDIA/spark-rapids/pull/2080 to at least improve the error handling for RMM shutdown failures to close this issue.


new term request: herv insertion

Please add new term 'herv insertion' as a child of SO:0001837 mobile_element_insertion.
name: HERV_insertion
def: "An insertion of sequence from the HERV family of mobile elements."
is_a: SO:0001837 ! mobile_element_insertion
Thank you!

SO:0002187 HERV_insertion has been added.


custom name clang-format configuration file not found

When specifying the style for a clang format configuration file with a custom name in a project's root directory,  the user needs to specify the absolute path otherwise the config file is not found:
"clang-format.style": "file:.custom-name-clang-format"

Error reading .custom-name-clang-format: No such file or directory

An absolute path works:
"clang-format.style": "file:/workspaces/test_project/.custom-name-clang-format"

I wasn't able to determine what folder the clang-format command is being ran from or why the file name alone does not work. clang-format should be looking in parent directories to find the config file.
The Clang-format: Executable and Clang-format: Assume Filename settings support placeholders but the Clang-format: Style setting does not. Supporting placeholders in the Clang-format: Style setting could fix this issue but there may be a more simple solution.

one op. I would also like this to be fixed


Help

how can i run the codes?

Hi @hongwei18 ,
Instructions for running the pipeline are in section 3 of the readme.


Add invite rooms section

-> create the invite rooms section
-> fix an issue in develop while selecting a room in a multi sectioned recents list

Cancelled, wrong branch has been selected