Command-C & Command-V does not duplicate the whole line

Issue Type: Bug
Previously, Command+C would copy the entire line behind the caret to the clipboard (including the newline). Pasting that line with Command+V would insert the line on the next line.
Today, when I tried to perform the same action, it seems to copy the entire line and then paste it on the same line.

Tested after "Developer: Reload With Extensions Disabled" as well, behaves the same.

Copied "About Visual Studio Code" info
Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:00.827Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 17.7.0

Definitions:

Good="Pastes whole line and new line from the furthest left position on the line your cursor is on".
Bad="Pastes whole line and new line from where your cursor is currently"

The first copy&paste after a reload is Good, IF you don't click anywhere in the editor.
Reload -> Paste -> Bad
Reload -> Copy -> Paste -> Good
Reload -> Copy -> Move -> Paste -> Good -> Move again -> Paste -> Bad.
False positives for Good if your cursor happens to be at the beginning of the line.  Therefore I cannot test...
Reload -> Copy -> Paste -> Good -> Copy -> Paste -> ???

It does seem highly related.
Testing with reloading window.
Good: Replaces all occurrences / Pastes at all cursors
Bad: Replaces just one occurrence / Pastes at one cursor.
Note: This is in more rapid succession because it doesn't involve moving the cursor
Cmd+D multiple times -> Reload (cursor stays in multiple places) -> Paste -> Good -> Paste -> Good -> Paste -> Good -> Undo, Undo, Undo -> Paste -> Good -> Wait -> Paste -> Bad -> Paste -> Bad -> Paste -> Bad

So it seems to be tied into something loading.

Since I have disabled and re-enabled the extensions, I have not been able to reproduce either issue.

Hm... I was able to reproduce both issues with extensions disabled the first time.  But now they won't work while extensions are disabled.
Reloading normally will bring the issue back after a few seconds.  I'll grab the list of extensions.

I believe the bug can be described something akin to vsCode's smart pasting not working, and vsCode's pasting behaving like a more standard text editor (NP++ or Window's Notepad, for instance)

I have been seeing similar issues. Here, all I am doing is Ctrl+C and Ctrl+V to copy/paste the entire line.
Expected:

Actual:

I had this problem too. The "language support for java" extension was causing it. When I disabled it, no more drunken copy/paste. https://marketplace.visualstudio.com/items?itemName=redhat.java

This seems to be caused by the redhat.java extension which overrides the paste implementation here. I have opened an issue directly against the extension.
Possible workarounds: configure "java.actionsOnPaste.organizeImports": false or disable/uninstall the redhat.java extension.

Not sure if this is the same issue, but when writing Python code on VS 1.39.2 an copying/pasting a set of multiple lines, the end-of-line does not get pasted so we have manually go back to the beginning of each line to copy another block.

@eliyo I don't think that's the same issue, but it's hard to tell from the description.  A set of multiple lines does not do the same smart-paste thing, because multiple lines together has to be highlighted, typically.  And I'm not sure what you mean about manually going to the beginning of each line to copy another block.  Do you mean "copy one line, paste it where it should go, copy the next line, paste it just below the previous paste, copy the next line, paste it just below the previous paste", etc?  If so, that's confusing that you must do that even with normal text editors.
If you're referring to multiple separated lines (multiple cursors, one on each line), then yeah, the line end doesn't work normally.  Try this.  After you have a multi-cursor on each line, hit Home, then hit Shift + Down.  Then make sure you either have a cursor on the exact same number of lines or are pasting into one place.  And again hit Home before pasting.


Completing Parameter NStates (aka MCChains)

Nearly done, the constructors need to be cleaned up and to be extended in a more intuitive way.

Completed in 0.5.0 dev branch.


Filter ingress ports

Filter out non-HTTP ingress ports. This should fix the Envoy crashing observed in https://github.com/istio/issues/issues/20. Instead, Pilot will log a warning.

Jenkins job pilot/presubmit passed

Disregard e2e failures, the test is broken.


Adds "Opt-in" support to Motion Print

Per discussion #9, this adds a check for whether the printed object implements a motion_print method, and if so, calls that method.  Depending on the arity of the method, it will call it:

with the MotionPrint object (class instance)
with MotionPrint and options
otherwise, it is called with no arguments

Usage:
class CDQManagedObject
  def motion_print(mp, options)
      if respond_to? :attributes
        "OID: " + mp.colorize(oid.gsub('"',''), options[:force_color]) + "\n" + mp.l_hash(attributes, options)
      else
        # old colorless method, still more informative than nothing
        log
      end
  end
end

CC @GantMan @jamonholmgren

Looks great!
I'm TOTALLY splitting hairs, but at least 80% of the time we'll be motion_printing  native Ruby objects.  In that logic do you think your respond_to? code should be inside the case's else block?   Ergo that logic tree is ignored most of the time, and only evaluated when an object has proven to be different already?

Oh that's a good point, I had actually thought at one point that we could add the motion_print method to the native types, but that seemed like overkill in the end.  Yeah I think this could move, one sec...

bam

:+1:

:+1:

I merged, added a readme section and published 1.1.0


Release 0.1.14

Prepare for 0.1.14 release

Am guessing we want PR ( https://github.com/rapidsai/pynvjitlink/pull/60 ) in before we release. So marking this as draft for now

Thanks Bradley! 🙏


Caster Qt sample doesn't receive any image with v9.0.0

System information (version)

Ubuntu 20.04
Qt 5.15
Clarius App APK: v9.0.0 provided on github
Clarius Cast Lib: v9.0.0 provided on github

Result
Caster application connects to the probe.
Caster::event doesn't receive any IMAGE_EVENT.
FREEZE and BUTTON are correctly received.
The following screenshot shows the logs after adding few qDebug:

Question
Is this issue specific to the github 9.0.0 apk?
Is it required to upgrade to 9.1.0?
I am asking because we're using an another application integrating Clarius Cast 9.0.0 and it also doesn't receive any image.
Thank you,
David

yes, the protocols change between versions so the API binaries must be kept in sync with the App install

The observed behavior looks to be linked to the computer I am using.
caster command line example works like a charm on another computer, it logs it receives new image which is not the case on my computer.
However the network bandwidth is high when the probe is not frozen, and almost zero when it is frozen. Looks like data are streamed over the air but libcast doesn't get them.

looks like this would be a firewall issue then, so make sure ports are unblocked

@clariusk Good catch, this was the issue. Thx


Guacamole to use Open ID Connect

As architect I would like for Guacamole to use Open ID Connect/OAuth2.0 for authentication/authorisation.

Linking to #57

Placed on hold while we decide between option 5 and 6


System.DllNotFoundException: /system/lib/libsqlite.so exception on Android 7

Hi,
I copied SQLite.cs and SQLiteAsync.cs in order to use Sqlite-net in my Xamarin.Android project, my app works on all Android versions but v7.0 (I didn't test on v+7.0).
I got following exception:

System.DllNotFoundException: /system/lib/libsqlite.so exception on Android 7

Error happens here: LibVersionNumber = SQLite3.LibVersionNumber ();,
Is this a bug, or I miss something?

You are missing how to use a package.
I recommend you always have a deep read of the Readme of a repository before doing anything. Also, reading the online tutorials definitely help, they are meant for that.
Don't just copy/paste source files unless you know what you are doing.
Hope this helps!
Don't forget to close the issue when done with it please.

@Weldryn I think you need to read the Readme again, specially following section:
source-installation
There is no warning, use with caution or something like that.
I read mentioned article and some other articles, and I know how to solve this problem (actually I already did), I report this issue, just to help and contribute.
BTW, there is no reason to understand everything in order to use source code of some library. using source code (specially when the developer mentioned in Readme section, like this project) is good idea, even if you don't know and understand all of its codes.

Hi, Please use the sqlite-net-pcl nuget package. Using from source requires that you provide your own binary for sqlite.

@praeclarum Okay, can you add this note to README? I think it helps.

@dehghani-mehdi How do you over come it?

@nnnhi I removed SQLite.cs and SQLiteAsync.cs and then installed sqlite-net-pcl

Hi, Please use the sqlite-net-pcl nuget package. Using from source requires that you provide your own binary for sqlite.

Good day @praeclarum
I am using the sqlite-net-pcl 1.1.1 and SQLitePCL.raw 0.8.6 nugets since a long time in the same app. Everything was working fine, until recently compiled against Android 7 and tested on an Android device with 7, and facing the issue, System.DllNotFoundException: /system/lib64/libsqlite.so. App crashes. Do I need to update the nugets? Please advise.

I've updated my SQLite class with this property:
[DllImport("sqlite3", EntryPoint = "sqlite3_config", CallingConvention = CallingConvention.Cdecl)]
internal static extern Result Config(ConfigOption option);

In the constructor of my SQLite class I called
Config(ConfigOption.Serialized);

It works now.

{System.TypeInitializationException: The type initializer for 'SQLite.SQLiteConnection' threw an exception. ---> System.DllNotFoundException: e_sqlite3 assembly: type: member:(null)
at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()
at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in :0
at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <61f7edf725d84e86bad37534de465b1f>:0
at SQLitePCL.Batteries_V2.Init () [0x00005] in <1e145190beee47768df5e21ac9abfe79>:0
at SQLite.SQLiteConnection..cctor () [0x00016] in :0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at PhxGaugingAndroid.Fragments.WorkOrderFragment.GetWorkOrderList () [0x00087] in E:\LdarVOCsTool\PhxGaugingV6\PhxGaugingAndroid\Fragments\WorkOrderFragment.cs:1966


Ubuntu 16.10 repository is gone

Since the Ubuntu 16.10 repo has been removed, maybe upgrade this awesome script to support Ubuntu 17.04 and/or 17.10?

Working on it @CptChaos , will keep you posted

Amazing! If I would master Ansible a lot, I'd be glad to help, but I do barely know how to run playbooks, hahaha!

@CptChaos I have finally updated the packages to work with only the Supported Ubuntu release since maintaining packages for Unsupported release only gets trickier. The Installer now supports Ubuntu 14.04/16.04/17.10 and ready for the upcoming Ubuntu 18.04 release. Thanks for your feedback.


style(array-repeat-strategy): add comments about array.slice usage

I had no idea array.slice can be used to clone an Array, so the comments should help others reading the code.

Sounds good to me :)


Support New Cloud-Based Symbol Server

Support Microsoft's new cloud-based symbol server.

are there any public information available about this new symbol server?

@MagicAndre1981, no, there isn't any public information.  This is a Microsoft-internal symbol server.  We'll want to add support for this, but it will only be applicable to Microsoft employees.

ok, thanks

Fixed via #2039.


Raw file view tweaks

Limit SVG images to 600px width
Adjust size of view toggle buttons to match other buttons
Fix border-right on active rendered view toggle button
Add border on image
Make Edit/Delete buttons easier to click

Had to create a separate CSS file because the less parser can not parse CSS4 case-insensitive attribute selectors which are widely supported by browsers.
Fixes: https://github.com/go-gitea/gitea/issues/15515
Ref: https://github.com/less/less.js/issues/3027
Before (with huge image):

After:

BTW I would like to drop Less because it's a dead project and go for either plain CSS or SCSS but stuff like this will make it hard to convert to SCSS.

:rocket:


Installation instructions for developers on Windows

Following the installation instructions for developers (https://github.com/trixi-framework/Trixi.jl?tab=readme-ov-file#for-developers) did not work on Windows 11 in powershell.
ERROR: UndefVarError: `..` not defined

We had to escape the quotes, i.e. julia --project=. -e 'using Pkg; Pkg.develop(PackageSpec(path=\"..\"))' worked.
Could we use another easy expression here, which works on all platforms? Something like e.g. dirname(pwd())?
@s6nistam

Sounds good to me. Could you please make a PR and search for similar patterns in the docs?

Can you maybe cross check with the 0th tutorial that also includes Windows instructions? Maybe they have another approach there or maybe it also needs fixing.


Right now ~9 tests are failing (one fails inconsistently and I suspect a problem with the test suite itself).
The other 8 tests are the flip modifier tests that are failing consistently in the whole test suite.

Now we have 3 tests failing plus the flaky one. 😁

only 1 test is failing now, and it's failing only on IE10.
I'm going to fix it tomorrow and then I'll probably release the last alpha 👍

So, I have not a Windows machine to run IE10 at the moment.
I have skipped that test on IE10 for now just to be able to merge these fixes and proceed with the works.
If someone has access to IE10 please help me fixing that test.


Metadata display in search results

Per #170, this PR provides functionality to display the following fields in the search results for items:

publication title
publication date
place of publication

These fields are added to the fields already displayed by default via Hyrax. It seemed better to not remove any defaults for the moment, allowing local implementations to customize as needed.
This PR also introduces a few changes:

all date fields in Solr are now _dtsi instead of dtsim to better match with Hyrax
indexing of date fields in model class updated to better match with Hyrax patterns
make test fixtures more persistent across model spec examples to reduce test suite run time

Ingested multiple newspapers with attributes set in the following fields:

publication title
publication date
place of publication

Using the /newspapers_search I was able to search for newspapers and the metadata fields listed above were displayed in the search results. This  PR looks good to merge.


DHCP in Virtual Router is not working

ISSUE TYPE

Bug Report

COMPONENT NAME

VR, DHCP

CLOUDSTACK VERSION

4.18.1

CONFIGURATION

OS / ENVIRONMENT

N/A
SUMMARY

VMs are not able to acquire IP address from the virtual router.
STEPS TO REPRODUCE

1. Fresh installation of cloudstack 4.18.1 with advanced zone
2. Download a Ubuntu server ISO or Ubuntu cloud image.
3. Create a VPC and isolated network under the VPC.
4. Boot the cloud image or ISO.
5. Connect the console and try to acquire IP address through DHCP.

EXPECTED RESULTS

The VM successfully get the IP address that matches the IP address in the UI.

ACTUAL RESULTS

The VM can't acquire the IP address automatically, but if I set the IP manually, the VM is able to function properly.
(Port forwarding, DNS, and internet routing are all working)
The dhcp_check.py in the UI is showing OK, but DHCP is not working properly.

@li-liwen , this is just how VPCs and isolated networks work. CloudStack administers ip addresses for client VMs, not the VR. Maybe you can rephrase this as a feature request if it is really needed. It seems to me that assigning the allocated IP is not that big off a deal though.

@DaanHoogland
As I understand, what the author said is, the VM cannot get the DHCP IP (from dhcp server/cloudstack VR) when boot from the ISO or ubuntu image.
from what he said, the network configuration seems to be correct.
I created a image from pfsense ISO recently, it worked well.
@li-liwen
can you try

same iso/image , but on an isolated network (not vpc tier) ?
other iso/images on vpc tiers ?

Thank you all for the quick reply. I am relatively new to cloudstack and cloud environments, so please correct me if I have any misunderstanding.

@li-liwen , this is just how VPCs and isolated networks work. CloudStack administers ip addresses for client VMs, not the VR. Maybe you can rephrase this as a feature request if it is really needed. It seems to me that assigning the allocated IP is not that big off a deal though.

@DaanHoogland I can see that the Cloudstack has assigned the IP address to the instance in the WebUI. But I suppose that VR will use DHCP to automatically assign the IP address to the VM? As I plan to use cloud images with ssh keys (no default password), it would be impossible to assign IP address manually after the instance has been created. If there is a way to assign the IP address through cloud-init config file that is transparent to the users (e.g. vendor config?), I think it would also be acceptable.

@li-liwen can you try

same iso/image , but on an isolated network (not vpc tier) ?
other iso/images on vpc tiers ?

I have tried creating an isolated network with no VPC, but still the same result. (Not getting IP address through DHCP, but everything works fine after manual assigning through console.
I have also tried a windows server 2022 eval iso installation, still not getting IP address automatically through DHCP. I suppose that there should be some problems in the DHCP module inside the virtual router VM, but I didn't find any information on how to debug the DHCP module.
Please help me if you have any idea on how to debug. Or if there's any more information or logs I should provide, please tell me. Thanks.

Thank you all for the quick reply. I am relatively new to cloudstack and cloud environments, so please correct me if I have any misunderstanding.

@li-liwen , this is just how VPCs and isolated networks work. CloudStack administers ip addresses for client VMs, not the VR. Maybe you can rephrase this as a feature request if it is really needed. It seems to me that assigning the allocated IP is not that big off a deal though.

@DaanHoogland I can see that the Cloudstack has assigned the IP address to the instance in the WebUI. But I suppose that VR will use DHCP to automatically assign the IP address to the VM? As I plan to use cloud images with ssh keys (no default password), it would be impossible to assign IP address manually after the instance has been created. If there is a way to assign the IP address through cloud-init config file that is transparent to the users (e.g. vendor config?), I think it would also be acceptable.

@li-liwen can you try

same iso/image , but on an isolated network (not vpc tier) ?
other iso/images on vpc tiers ?

@weizhouapache I have tried creating an isolated network with no VPC, but still the same result. (Not getting IP address through DHCP, but everything works fine after manual assigning through console.
I have also tried a windows server 2022 eval iso installation, still not getting IP address automatically through DHCP. I suppose that there should be some problems in the DHCP module inside the virtual router VM, but I didn't find any information on how to debug the DHCP module.
Please help me if you have any idea on how to debug. Or if there's any more information or logs I should provide, please tell me. Thanks.

@li-liwen
Can you test with the built-in centos 5.5?

@weizhouapache Thank you for you advice. It turns out that the cloud images can get IP address properly after configure the firewall of the VR properly (I guess through cloud-init?). However, the ISO image (both ubuntu and windows) can't get IP address through DHCP. I tested the ISO image in both VPC and isolated network, neither of them is working. I am wondering is that the supposed behavior? Or I should do further debugging? Thanks.

@weizhouapache Thank you for you advice. It turns out that the cloud images can get IP address properly after configure the firewall of the VR properly (I guess through cloud-init?). However, the ISO image (both ubuntu and windows) can't get IP address through DHCP. I tested the ISO image in both VPC and isolated network, neither of them is working. I am wondering is that the supposed behavior? Or I should do further debugging? Thanks.

what rules did you add in the VR?

@weizhouapache Thank you for you advice. It turns out that the cloud images can get IP address properly after configure the firewall of the VR properly (I guess through cloud-init?). However, the ISO image (both ubuntu and windows) can't get IP address through DHCP. I tested the ISO image in both VPC and isolated network, neither of them is working. I am wondering is that the supposed behavior? Or I should do further debugging? Thanks.

what rules did you add in the VR?

@weizhouapache I first used the cloud image and set the port forwarding for ssh. I didn't configure the Egress rule so I can't connect to the instance through ssh. As cloud image doesn't have default password, I cannot login through the console. I tried an ISO image but failed to get address through DHCP. After configuring the egress rule, I was able to connect the cloud image instance through ssh. But I was still unable to get ip address through DHCP in the ISO booted instance.
However, I tried a Windows ISO image today, and it acquired the IP address successfully. I am not sure what I have configured to make it working, but it just worked today. I was trying to resolve #8252 this issue and changed all my compute offering from 2.3GHz to 100MHz. I can't remember I did any other configuration since that day. Although quite curious, I believe the problem is resolved. Thank you for your help. If I have any misunderstanding or misconfiguration, please correct me. If everything seems ok, the issue can be closed.


fixing typo in monthly qa notebook

fixing small typo in monthly qa document, please merge and delete branch


[New API] : Carbon Footprint API

Brief Description 🤓
Provides data on carbon emissions for various activities, helping users calculate and track their environmental impact.
How will you develop it?🤩
JavaScript, React
Deployment
None
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @sreevidya-16🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

/gssoc24


Wrong source url for looker looks

Affected module
UI
Describe the bug
When clicking on url source of a look/chart of a Looker Dashboard in UI, it leads to the wrong path because of a wrong source url. It is mainly caused by this specific line as dashboard_elements/chart_id is not the right path to the specific look. Source url for a dashboard is obtained in different ways depending on the chart, if it's a query it will be under chart.query.share_url but if it's a merge_result, there is no share_url and good to avoid showing.
To Reproduce

Ingest dashboards from Looker to OpenMetadata
From the UI, view any dashboard and click on the link of any looks in dashboard
If the url has dashboard_elements/{chart.id} it will lead to the wrong url.

Expected behavior
A correct look/chart source url from looker instead of the constructed one with dashboard_elements/chart_id as it doesn't exist in Looker
Version:

OS: MacOS Ventura
Python version: 3.9.5
OpenMetadata version: 1.0.5
OpenMetadata Ingestion package version: openmetadata-ingestion[looker]==1.0.5]

Additional context
Add any other context about the problem here.

Initial test of changing the following line to this helped:
 chartUrl=chart.query.share_url if chart.query is not None else f"{clean_uri(self.service_connection.hostPort)}/merge?mid={chart.merge_result_id}",

This was a quick fix on my end but essentially check if chart.merge_result_id is not None, then the url with `merge?mid=chart.merge_result_id. Check if chart.query is not empty then chart.query.share_url

Thanks @keatmin for filing this and proposing the change. Let me take a quick look on my end as well and we'll bring it for the next release


Add mappings required for EnergyStar compliance

Summary
Implemented initial Brick to REC mappings to facilitate:

Monthly Energy Consumption Analysis,
CO2 Emissions Tracking,
EnergyStar Score Calculation

Please note, if the updated mappings are marked as IsIgnored, we are awaiting confirmation from Willow.
Why
The new mappings provide a allow us to represent energy consumption, emissions, and EnergyStar score tracking.
Testing
Testing has been performed to ensure the validity of DTMI and to check for any duplicate mappings

Merged this branch into https://github.com/mapped/mapped-willow-mapping/pull/14


viceroy: 0.10.0 -> 0.10.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fastly/viceroy/releases.
meta.description for viceroy is: Viceroy provides local testing for developers working with Compute@Edge
meta.homepage for viceroy is: https://github.com/fastly/Viceroy
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.10.1 with grep in /nix/store/fqzw80bf3j8yrywdbrahdajr8vpcf8sg-viceroy-0.10.1
found 0.10.1 in filename of file in /nix/store/fqzw80bf3j8yrywdbrahdajr8vpcf8sg-viceroy-0.10.1

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

fastly
viceroy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fqzw80bf3j8yrywdbrahdajr8vpcf8sg-viceroy-0.10.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A viceroy https://github.com/r-ryantm/nixpkgs/archive/d21b18ffe85d1c5c1a9bd86ff9f59d74946d3d44.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d21b18ffe85d1c5c1a9bd86ff9f59d74946d3d44#viceroy

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fqzw80bf3j8yrywdbrahdajr8vpcf8sg-viceroy-0.10.1
ls -la /nix/store/fqzw80bf3j8yrywdbrahdajr8vpcf8sg-viceroy-0.10.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

fastly
viceroy

Maintainer pings
cc @ereslibre @shyim for testing.

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

2 packages built:

fastly
viceroy


Cleanup RTC Engine deps. Move metrics to the WebRTC Endpoint

Ehh sorry, but why the compiler is not complaining 🤔

Probably because membrane_rtp_plugin depends on membrane_telemetry_metrics, so the dep is included anyway 😄

Probably because membrane_rtp_plugin depends on membrane_telemetry_metrics, so the dep is included anyway smile

Good point!


Migrate language from the Lisp to Javascript

Where's the 5.5% coverage decrease coming from?  That's a huge drop

I think it's because the Stitch implementation is now much shorter, and it was very well covered before.

(Finished reviewing. I'll send my MEAN PR after this is merged / finalized.)


Add textwrap group and feature

There are some odd parts to this-
text-wrap-style: balance has less support than text-wrap: balance.
text-wrap: wrap is in the text-wrap: nowrap feature, and text-wrap-mode: nowrap is in the text-wrap-mode feature. Maybe those should get sorted differently?

Looks like is missing some dist files?

No- the files without dists in the diff are ones where I just changed the groups, so there were no changes to the dist.

text-wrap-style: balance has less support than text-wrap: balance.

looks like doesn't impact status though?

text-wrap: wrap is in the text-wrap: nowrap feature,

Yeah, this is counterintuitive. Seems like wrap would be a better feature, with nowrap in it, if we had to choose.

and text-wrap-mode: nowrap is in the text-wrap-mode feature. Maybe those should get sorted differently?

CSS seems full of these mode switchers and shorthands... if having the wrap mode standalone w/ variable values aligns w/ how you've been handling these so far, then this seems fine?

text-wrap-style: balance has less support than text-wrap: balance.

looks like doesn't impact status though?

It does- text-wrap-style: balance is baseline: false, since it doesn't have Chrome support.
I ended up re-sorting the keys, and created a text-wrap-style feature, and made it more of a support-based feature set.


[Bug] The sequence only has length 202, while the length of pop is 304 which exceeds the whole sequence length.

🐛 Bug

Running Qwen2-7B-Instruct with quantization q4f16_1 encountered error "TVMError: Check failed: n <= it->second.seq_length (304 vs. 202) : The sequence only has length 202, while the length of pop is 304 which exceeds the whole sequence length." when performing benchmark with llmperf with 50 concurrent users.
To Reproduce
Steps to reproduce the behavior:

Run Qwen2-7B-Instruct with quantization q4f16_1, with parameters:

python -m mlc_llm serve Qwen2-7B-Instruct-mlc-q4f16-1 --model-lib Qwen2-7B-Instruct-mlc-q4f16-1/Qwen2-7B-Instruct-mlc-q4f16-1-cuda.so --mode server --overrides max_total_seq_length=16384;gpu_memory_utilization=0.9 --host <IP_ADDRESS> --port 8010

Perform benchmark with llmperf with below command:

python token_benchmark_ray.py --model Qwen2-7B-Instruct-mlc-q4f16-1 --mean-input-tokens 50 --stddev-input-tokens 0 --mean-output-tokens 150 --stddev-output-tokens 0 --max-num-completed-requests 500 --timeout 3600 --num-concurrent-requests 50 --results-dir "result_outputs" --llm-api openai --additional-sampling-params

When concurrent requests were 5/10/20, it worked fine, but with concurrent 50, it raised error

TVMError: Check failed: n <= it->second.seq_length (304 vs. 202) : The sequence only has length 202, while the length of pop is 304 which exceeds the whole sequence length.

After error raised, the mlc_llm process hung, need to kill it with "kill -9"

INFO:     <IP_ADDRESS>:33758 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:33760 - "POST /v1/chat/completions HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:39734 - "POST /v1/chat/completions HTTP/1.1" 200 OK
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/data/miniconda3/envs/mlc-llm/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/data/miniconda3/envs/mlc-llm/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "tvm/_ffi/_cython/./packed_func.pxi", line 339, in tvm._ffi._cy3.core.PackedFuncBase.__call__
  File "tvm/_ffi/_cython/./packed_func.pxi", line 270, in tvm._ffi._cy3.core.FuncCall
  File "tvm/_ffi/_cython/./packed_func.pxi", line 259, in tvm._ffi._cy3.core.FuncCall3
  File "tvm/_ffi/_cython/./base.pxi", line 185, in tvm._ffi._cy3.core.CHECK_CALL
  File "/data/miniconda3/envs/mlc-llm/lib/python3.10/site-packages/tvm/_ffi/base.py", line 481, in raise_last_ffi_error
    raise py_err
  File "/workspace/mlc-llm/cpp/serve/threaded_engine.cc", line 182, in mlc::llm::serve::ThreadedEngineImpl::RunBackgroundLoop()
  File "/workspace/mlc-llm/cpp/serve/engine.cc", line 650, in mlc::llm::serve::EngineImpl::Step()
  File "/workspace/mlc-llm/cpp/serve/engine_actions/new_request_prefill.cc", line 45, in mlc::llm::serve::NewRequestPrefillActionObj::Step(mlc::llm::serve::EngineState)
  File "/workspace/mlc-llm/cpp/serve/engine_actions/new_request_prefill.cc", line 325, in mlc::llm::serve::NewRequestPrefillActionObj::MatchPrefixCache(mlc::llm::serve::EngineState, mlc::llm::serve::BatchPrefillBaseActionObj::PrefillInput*)
  File "/workspace/mlc-llm/cpp/serve/model.cc", line 663, in mlc::llm::serve::ModelImpl::PopNFromKVCache(long, int)
tvm._ffi.base.TVMError: Traceback (most recent call last):
  7: mlc::llm::serve::ThreadedEngineImpl::RunBackgroundLoop()
        at /workspace/mlc-llm/cpp/serve/threaded_engine.cc:182
  6: mlc::llm::serve::EngineImpl::Step()
        at /workspace/mlc-llm/cpp/serve/engine.cc:650
  5: mlc::llm::serve::NewRequestPrefillActionObj::Step(mlc::llm::serve::EngineState)
        at /workspace/mlc-llm/cpp/serve/engine_actions/new_request_prefill.cc:45
  4: mlc::llm::serve::NewRequestPrefillActionObj::MatchPrefixCache(mlc::llm::serve::EngineState, mlc::llm::serve::BatchPrefillBaseActionObj::PrefillInput*)
        at /workspace/mlc-llm/cpp/serve/engine_actions/new_request_prefill.cc:325
  3: mlc::llm::serve::ModelImpl::PopNFromKVCache(long, int)
        at /workspace/mlc-llm/cpp/serve/model.cc:663
  2: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::TypedPackedFunc<void (tvm::runtime::relax_vm::KVState, long, int)>::AssignTypedLambda<tvm::runtime::Registry::set_body_method<tvm::runtime::relax_vm::KVState, tvm::runtime::relax_vm::KVStateObj, void, long, int, void>(void (tvm::runtime::relax_vm::KVStateObj::*)(long, int))::{lambda(tvm::runtime::relax_vm::KVState, long, int)#1}>(tvm::runtime::Registry::set_body_method<tvm::runtime::relax_vm::KVState, tvm::runtime::relax_vm::KVStateObj, void, long, int, void>(void (tvm::runtime::relax_vm::KVStateObj::*)(long, int))::{lambda(tvm::runtime::relax_vm::KVState, long, int)#1}, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)
  1: tvm::runtime::relax_vm::PagedAttentionKVCacheObj::PopN(long, int)
  0: _ZN3tvm7runtime6deta
  File "/workspace/tvm/src/runtime/relax_vm/paged_kv_cache.cc", line 1387
TVMError: Check failed: n <= it->second.seq_length (304 vs. 202) : The sequence only has length 202, while the length of pop is 304 which exceeds the whole sequence length.
[2024-08-07 01:27:48] INFO engine.py:1402: request chatcmpl-99a992860ac04fd5a7333b434ce40747 cancelled
INFO:     <IP_ADDRESS>:52260 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO:     <IP_ADDRESS>:52274 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request
INFO:     <IP_ADDRESS>:52282 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request

Expected behavior

Working as normal
Environment

Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA): CUDA
Operating system (e.g. Ubuntu/Windows/MacOS/...): Ubuntu 22.04
Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...) A100 PCIe 80GB
How you installed MLC-LLM (conda, source): conda pip install
How you installed TVM-Unity (pip, source): pip install
Python version (e.g. 3.10): 3.10
GPU driver version (if applicable):555.42.06
CUDA/cuDNN version (if applicable): 12.5
TVM Unity Hash Tag (python -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in tvm.support.libinfo().items()))", applicable if you compile models):
Any other relevant information:

Additional context

Hi @mynameiskeen, sorry for the delayed response. This issue is likely gone in the latest prebuilt packages. We'll appreciate if you would like to try again, and are happy to help if it persists.


Various crashes in current master (commit 1393598)

There are failures during tests of three different types:

trying to write 25 to 1a at addr 00003633 (as part of writing 512 bytes to addr 00003600)
FATAL OVERLAP: memcpy from 104541b..104545c to 1045420..1045461
FATAL write addr too high 01fff00c + 00000002 > 00600000

minified.tar.gz
These can be used as inputs to
build/linux_spiffs_test -f afl_test < {one of the files from the above tar file}
I realize that this may not be relevant after the rewrite, but I'll put it here anyway.

Thanks Phil. I'll definitely look at it as the concepts are the same. Also
I don't want to leave 0.3 in a sorry state. So it's much appreciated.
Den 12 okt. 2017 05:08 skrev "Philip Gladstone"<EMAIL_ADDRESS>
There are failures during tests of three different types:

trying to write 25 to 1a at addr 00003633 (as part of writing 512
bytes to addr 00003600)
FATAL OVERLAP: memcpy from 104541b..104545c to 1045420..1045461
FATAL write addr too high 01fff00c + 00000002 > 00600000

minified.tar.gz
https://github.com/pellepl/spiffs/files/1377900/minified.tar.gz
These can be used as inputs to
build/linux_spiffs_test -f afl_test < {one of the files from the above tar
file}
I realize that this may not be relevant after the rewrite, but I'll put it
here anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/180, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE3NV8FZgDsp_17KdplWMhnbB6qr3yEUks5srYLKgaJpZM4P2aCO
.

since commit f5e26c4e933189593a71c6b82cda381a7b21e41c (fixes #165) i have memory overwrites.
i have not yet tested version 0.4.0.

Hmm, commit f5e26c4 should not affect memory overwrites. Did you bisect down to this? The ones @pjsg reported above seem to have been there since the start.
0.4.0 is still under development on my local machine, so it is not accessible yet.

I was two weeks off - I have not tested any newer commit.
The application is a simple logger app which writes numerous large files.

Row 16 shows an impossible value in the column  TimeUsed for the SPIFFS_open call. The time is measured in us.
It happens randomly.

The most interesting aspect is when you display the value in hex format.
When I roll in an older version then it works nicely.
The reason why I updated my SPIFFS app is the following:

The write cache for the app is enabled and the test app just writes a short and constant logmessage. Reading the log file back failed.
In my logging I found the situation where SPIFFS writes the internal cache to the flash and in the very next write call the cache is written once again after writing only 21 bytes.
I am using an S25FL164K flash chip with 4kb erasesize. When using a 64kb erasesize the unexpected cache write does not happen.
Is there Test which verifies the internal caching mechanism?

Ok, thanks for the info. It is very weird. No, there are no tests for the internal caching mechanisms I think. Well perhaps some, but these are very basic. But you're sure that before commit f5e26c4 it works?

hmmm, I'm getting older ...
For shure commit 7f31842b837445004e62bd92d4d6ee4532eec194 hasn't the internal 'overwrite' bug.
I updated inbetween ... but I'm facing a dangling pointer when I did so ...

I know the feeling 😉
Eugh, that commit is almost a year old. Need to narrow it down. What's the
dangling pointer problem?
Den 16 okt. 2017 11:48 skrev "robert-b"<EMAIL_ADDRESS>
hmmm, I'm getting older ...
For shure commit 7f31842
https://github.com/pellepl/spiffs/commit/7f31842b837445004e62bd92d4d6ee4532eec194
hasn't the internal 'overwrite' bug.
I updated inbetween ... but I'm facing a dangling pointer when I did so ...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/180#issuecomment-336836706, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE3NVwR5Ugx1sJiGRUaBsBoY6mqZXx8Bks5ssyZfgaJpZM4P2aCO
.

Yes, the commit is old.
I am re-running a test - when finished I can say more.
The dangling pointer is somewhere between my ears.
I can't remember when I updated SPIFFS ...

lol got it. Appreciate the effort.
Den 16 okt. 2017 13:51 skrev "robert-b"<EMAIL_ADDRESS>
Yes, the commit is old.
I am re-running a test - when finished I can say more.
The dangling pointer is somewhere between my ears.
I can't remember when I updated SPIFFS ...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pellepl/spiffs/issues/180#issuecomment-336863668, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE3NVxdySdzlRsNJJX_UNVqblIrO6cwiks5ss0M9gaJpZM4P2aCO
.

I went back to the SPIFFSversion from the 4.th of august 2017.
The 'overwrite' happens during the SPIFFS_open call only.
Need a few more Tests - also with the latest version.

I went further back - version v0.3.6.
The same problem...
Need some ideas.

@robert-b will look into it, but got busy with other commitments right now, sorry.

I did run the linux_spiffs_test using valgrind - the valgrind output is not so amusing.
Can you do the same?
==10301== LEAK SUMMARY:
==10301==    definitely lost: 0 bytes in 0 blocks
==10301==    indirectly lost: 0 bytes in 0 blocks
==10301==      possibly lost: 0 bytes in 0 blocks
==10301==    still reachable: 6,320,232 bytes in 86 blocks
==10301==         suppressed: 0 bytes in 0 blocks
==10301== Reachable blocks (those to which a pointer was found) are not shown.
==10301== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==10301==
==10301== ERROR SUMMARY: 24 errors from 2 contexts (suppressed: 0 from 0)
==10301==
==10301== 9 errors in context 1 of 2:
==10301== Conditional jump or move depends on uninitialised value(s)
==10301==    at 0x41220B: _write (test_spiffs.c:208)
==10301==    by 0x40E993: spiffs_phys_wr (spiffs_cache.c:215)
==10301==    by 0x404A62: spiffs_object_append (spiffs_nucleus.c:1263)
==10301==    by 0x40B141: spiffs_hydro_write (spiffs_hydrogen.c:450)
==10301==    by 0x40B809: SPIFFS_write (spiffs_hydrogen.c:587)
==10301==    by 0x414039: test_create_and_write_file (test_spiffs.c:779)
==10301==    by 0x4166C3: __test_index_cons1 (test_check.c:262)
==10301==    by 0x428D5E: run_tests (testrunner.c:192)
==10301==    by 0x411D08: main (main.c:9)
==10301==  Uninitialised value was created by a stack allocation
==10301==    at 0x403C5B: spiffs_object_create (spiffs_nucleus.c:918)
==10301==
==10301==
==10301== 15 errors in context 2 of 2:
==10301== Conditional jump or move depends on uninitialised value(s)
==10301==    at 0x41220B: _write (test_spiffs.c:208)
==10301==    by 0x40E993: spiffs_phys_wr (spiffs_cache.c:215)
==10301==    by 0x405622: spiffs_object_append (spiffs_nucleus.c:1436)
==10301==    by 0x40B141: spiffs_hydro_write (spiffs_hydrogen.c:450)
==10301==    by 0x40B809: SPIFFS_write (spiffs_hydrogen.c:587)
==10301==    by 0x414039: test_create_and_write_file (test_spiffs.c:779)
==10301==    by 0x415A9D: __test_lu_check1 (test_check.c:58)
==10301==    by 0x428D5E: run_tests (testrunner.c:192)
==10301==    by 0x411D08: main (main.c:9)
==10301==  Uninitialised value was created by a stack allocation
==10301==    at 0x403C5B: spiffs_object_create (spiffs_nucleus.c:918)
==10301==
==10301== ERROR SUMMARY: 24 errors from 2 contexts (suppressed: 0 from 0)

Valgrind reports a problem in the test code:
TEST 2/89 : running test lu_check1
create and write file
check: LOOKUP FIX INDEX 0001:0001
check: LOOKUP DELETE PAGE 0006
.. ok
free blocks     : 15 of 16
pages allocated : 4
pages deleted   : 2
gc runs         : 0
cache hits      : 53 (sum 53)
cache misses    : 391 (sum 391)
cache utiliz    : 0.119369
RD:     138552 reads      778809 bytes          5 avg bytes/read
WR:         24 writes       1599 bytes         66 avg bytes/write
fs consistency check output begin
fs consistency check output end
locks : 0
TEST 3/89 : running test page_cons1
create and write file
check: PAGE   FIX INDEX 8001:0000
check: PAGE   FIX INDEX 8001:0000
.. ok
free blocks     : 15 of 16
pages allocated : 4
pages deleted   : 2
gc runs         : 0
cache hits      : 97 (sum 97)
cache misses    : 332 (sum 332)
cache utiliz    : 0.22==25336== Conditional jump or move depends on uninitialised value(s)
==25336==    at 0x41220B: _write (test_spiffs.c:208)
==25336==    by 0x40E993: spiffs_phys_wr (spiffs_cache.c:215)
==25336==    by 0x404A62: spiffs_object_append (spiffs_nucleus.c:1263)
==25336==    by 0x40B141: spiffs_hydro_write (spiffs_hydrogen.c:450)
==25336==    by 0x40B809: SPIFFS_write (spiffs_hydrogen.c:587)
==25336==    by 0x41402A: test_create_and_write_file (test_spiffs.c:779)
==25336==    by 0x4166B4: __test_index_cons1 (test_check.c:262)
==25336==    by 0x428D4F: run_tests (testrunner.c:192)
==25336==    by 0x411D08: main (main.c:9)
==25336==
6107
RD:     138471 reads      764639 bytes          5 avg bytes/read
WR:         20 writes       1599 bytes         79 avg bytes/write
fs consistency check output begin
I am trying to understand - help is appreciated.

when the memory layout changes valgrind reports other locations ...
when running the test under gdb i'm getting:
ran 89 tests
Test report, 89 tests
85 succeeded
4 failed
write_big_files_chunks_page
lseek_modification_append_multi
long_run_config_many_medium
long_run
0 stopped
FAILED

@pjsg
I created a pull request.
The function "spiffs_create_object" did rely on unitialized memory.
My problem seems to be solved - need a longer test run to be sure.


Cleaned up console prints

Closes #189.
Removed some unnecessary prints related to directories. They were left from a template i used. Oops.
Also cleaned up the console prints by using log.Info and log.Error instead of fmt.Println

just a comment, it's probably also fine to use log.Fatal() here since if there are errors at the start you don't want to run the simulation right?


Default to using gp2 in aws vagrant.

[#108596090]
Signed-off-by: Rob Dimsdale<EMAIL_ADDRESS>

@cppforlife here is the PR we discussed in person.


Rubocop incorrectly suggests: Style/TernaryParentheses: Omit parentheses for ternary conditions

When a method call is used as the first value into the ternary operator, rubocop suggests dropping the parentheses around the method call. This breaks the logic because the method is not called first before evaluating the ternary operator, it is instead called on the result of the ternary operator.
Tested using rubocop version 0.81.0.

Expected behavior
Rubocop should not suggest removing the parentheses in this situation.
Actual behavior
Rubocop suggests removing the parentheses around the method invocation.
Steps to reproduce the problem
def true?(_item)
  true
end

# this is correct
puts ((true? :foo) ? :bar : :baz) # :bar

# rubocop suggests the following:
# C: Style/TernaryParentheses: Omit parentheses for ternary conditions.
# puts ((true? :foo) ? :bar : :baz) # :bar
#       ^^^^^^^^^^^^^^^^^^^^^^^^^^

# but this is incorrect, now it returns true instead of :bar
puts (true? :foo ? :bar : :baz) # true

RuboCop version
[root@f07a16c8f099 lib]# rubocop -V
0.81.0 (using Parser <IP_ADDRESS>, running on ruby 2.4.6 x86_64-linux-gnu)

Actually the steps to reproduce would be:
puts (true? :foo) ? :bar : :baz

# rubocop suggests the following:
test.rb:5:6: C: Style/TernaryParentheses: Omit parentheses for ternary conditions.
puts (true? :foo) ? :bar : :baz
     ^^^^^^^^^^^^^^^^^^^^^^^^^^

Although using (true? :foo) itself is an offense but that is a job of Lint/ParenthesesAsGroupedExpression. So Style/TernaryParentheses should not register offense in this case.
And the accepted way to write above expression is:
puts true?(:foo) ? :bar : :baz

On another look at the cop, you can use EnforceStyle: require_parentheses_when_complex for the cop and have it not register offense for above code.

Not a bug and no activity in the issue for a month. Closing.


Create setup.py

setup.py would ease distro packing.
https://github.com/MatthewZito/Brutus/issues/2
and perhaps @pentoo if like will get a pkg..

Excellent, thank you.
Note to anyone using this, be sure to check the README as there are a few deps you will need (e.g. sslstrip) so as to run all of the modules. That said, the app will warn you before you run any module that requires any of said dependencies.

Closes #2


Implement availability

Implemented a few properties to access availability related information.
Additionally, some enhancements for Travis CI were done. Unit tests are now run on Travis CI. Due to Amazon frequently blocking access when triggering too many requests (error 503), flaky was added.
In order to run the tests on Travis without committing Amazon credentials, I added the ability to pass the credentials via environment variables, which can be configured on the Travis settings page.
Furthermore, code coverage is also measured and reported to coveralls.io.
implement-availability:

master:

Changes Unknown when pulling 9d864c8ce1ba5ba1c9ac5f9684f4f76410860179 on implement-availability into ** on master**.


remove lodash dependency

find a ts-safe replacement for memoize

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unhandled StackOverflowException

I'm getting a StackOverflowException. This happens when sending a ton of messages from a browser and then refreshing the page. I'm not sure if this is because of Fleck or because of my application code. I'll do some further investigating and post any new info I might find.
Stack overflow in unmanaged: IP: 0x7f113b89ee88, fault addr: 0x7f113a8aeff8

Unhandled Exception:
StackOverflowException
[ERROR] FATAL UNHANDLED EXCEPTION: : The requested operation caused a stack overflow.
  at Fleck.QueuedStream.EndWrite (System.IAsyncResult asyncResult) [0x00020] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:99
  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.TaskFactory`1+<>c__DisplayClass35_1[TResult].<FromAsyncImpl>b__1 (System.IAsyncResult iar) [0x0000d] in <65984520577646ec9044386ec4a7b3dd>:0
  at Fleck.QueuedStream+<BeginWriteInternal>c__AnonStorey0.<>m__0 (System.IAsyncResult ar) [0x000ee] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:170
  at System.Threading.Tasks.TaskToApm.Begin (System.Threading.Tasks.Task task, System.AsyncCallback callback, System.Object state) [0x00014] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.MobileAuthenticatedStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00018] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Net.Security.SslStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00006] in <67546f875ae44445b5aba5311d41f9dc>:0
  at Fleck.QueuedStream.BeginWriteInternal (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback callback, System.Object state, Fleck.QueuedStream+WriteData queued) [0x00043] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:140
  at Fleck.QueuedStream+<BeginWriteInternal>c__AnonStorey0.<>m__0 (System.IAsyncResult ar) [0x000b0] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:163
  at System.Threading.Tasks.TaskToApm.Begin (System.Threading.Tasks.Task task, System.AsyncCallback callback, System.Object state) [0x00014] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.MobileAuthenticatedStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00018] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Net.Security.SslStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00006] in <67546f875ae44445b5aba5311d41f9dc>:0
  at Fleck.QueuedStream.BeginWriteInternal (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback callback, System.Object state, Fleck.QueuedStream+WriteData queued) [0x00043] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:140

[...]

  at Mono.Net.Security.MobileAuthenticatedStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00018] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Net.Security.SslStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00006] in <67546f875ae44445b5aba5311d41f9dc>:0
  at Fleck.QueuedStream.BeginWriteInternal (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback callback, System.Object state, Fleck.QueuedStream+WriteData queued) [0x00043] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:140
  at Fleck.QueuedStream+<BeginWriteInternal>c__AnonStorey0.<>m__0 (System.IAsyncResult ar) [0x000b0] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:163
  at System.Threading.Tasks.TaskToApm.Begin (System.Threading.Tasks.Task task, System.AsyncCallback callback, System.Object state) [0x00014] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.MobileAuthenticatedStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00018] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Net.Security.SslStream.BeginWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback asyncCallback, System.Object asyncState) [0x00006] in <67546f875ae44445b5aba5311d41f9dc>:0
  at Fleck.QueuedStream.BeginWriteInternal (System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.AsyncCallback callback, System.Object state, Fleck.QueuedStream+WriteData queued) [0x00043] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:140
  at Fleck.QueuedStream+<BeginWriteInternal>c__AnonStorey0.<>m__0 (System.IAsyncResult ar) [0x000b0] in /Users/Jesper/ttt/server/lib/Fleck/src/Fleck/QueuedStream.cs:163
  at System.Threading.Tasks.TaskToApm+<>c__DisplayClass3_0.<InvokeCallbackWhenTaskCompletes>b__0 () [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction (System.Object state) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x0001a] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.Run (System.Threading.Tasks.Task task, System.Boolean canInlineContinuationTask) [0x00010] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishContinuations () [0x000b1] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (TResult result) [0x0003e] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.MobileAuthenticatedStream+<StartOperation>d__58.MoveNext () [0x001ee] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00024] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishContinuations () [0x00068] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (TResult result) [0x0003e] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x000dd] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00024] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishContinuations () [0x00068] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (TResult result) [0x0003e] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (System.Threading.Tasks.Task`1[TResult] completedTask) [0x00010] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult () [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x001d8] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00024] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishContinuations () [0x00068] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (TResult result) [0x0003e] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].SetResult (System.Threading.Tasks.Task`1[TResult] completedTask) [0x00010] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult () [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at Mono.Net.Security.MobileAuthenticatedStream+<InnerWrite>d__67.MoveNext () [0x00136] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext (System.Object stateMachine) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00024] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction (System.Action action, System.Boolean allowInlining, System.Threading.Tasks.Task& currentTask) [0x0001c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishContinuations () [0x00068] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task.FinishStageThree () [0x0003c] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.Task`1[TResult].TrySetResult (TResult result) [0x0004f] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x0000d] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].CompleteFromAsyncResult (System.IAsyncResult asyncResult) [0x00073] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Net.Sockets.SocketAsyncResult+<>c.<Complete>b__27_0 (System.Object state) [0x0000b] in <67546f875ae44445b5aba5311d41f9dc>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <65984520577646ec9044386ec4a7b3dd>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <65984520577646ec9044386ec4a7b3dd>:0
>

I can no longer reproduce this issue 🤔
I'm pretty sure I was able to consistently reproduce this a few days ago so let's just assume this was some issue in my application code that magically got fixed by the changes I made.

this week i got the same (or similair ) issues  after adding  SSL authantification ( with pfx file )
12/27/2019 11:21:54 AM [Debug] Building Hybi-14 Response
12/27/2019 11:21:54 AM [Debug] Sent 129 bytes
12/27/2019 11:21:54 AM [Debug] @@@Connection :Open Connection for<PHONE_NUMBER>
12/27/2019 11:21:54 AM [Debug] Sent 4 bytes
12/27/2019 11:21:54 AM [Debug] Client connected from <IP_ADDRESS>:46094
12/27/2019 11:21:54 AM [Debug] Authenticating Secure Connection
12/27/2019 11:21:54 AM [Warn] Failed to Authenticate System.AggregateException: One or more errors occurred. (Unable to read data from the transport connection: Connection reset by peer.) ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <9757826624954c5282d61a7d7d49edc3>:0
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
--- End of stack trace from previous location where exception was thrown ---

  at Mono.Net.Security.MobileAuthenticatedStream.InnerRead (System.Boolean sync, System.Int32 requestedSize, System.Threading.CancellationToken cancellationToken) [0x00104] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.InnerRead (System.Threading.CancellationToken cancellationToken) [0x000ac] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00093] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00252] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Threading.Tasks.TaskToApm.End (System.IAsyncResult asyncResult) [0x0002a] in <a177257befa343e48eeeb10ded67bded>:0
  at Mono.Net.Security.MobileAuthenticatedStream.EndAuthenticateAsServer (System.IAsyncResult asyncResult) [0x00000] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Net.Security.SslStream.EndAuthenticateAsServer (System.IAsyncResult asyncResult) [0x00006] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in <a177257befa343e48eeeb10ded67bded>:0
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <9757826624954c5282d61a7d7d49edc3>:0
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
--- End of stack trace from previous location where exception was thrown ---

  at Mono.Net.Security.MobileAuthenticatedStream.InnerRead (System.Boolean sync, System.Int32 requestedSize, System.Threading.CancellationToken cancellationToken) [0x00104] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.InnerRead (System.Threading.CancellationToken cancellationToken) [0x000ac] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00093] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <9757826624954c5282d61a7d7d49edc3>:0

this week i got the same (or similair ) issues after adding SSL authantification ( with pfx file )

Try EnabledSslProtocols, see this comment.. https://github.com/statianzo/Fleck/issues/214#issuecomment-363745238

this week i got the same (or similair ) issues after adding SSL authantification ( with pfx file )

Try EnabledSslProtocols, see this comment.. #214 (comment)

i have alredy sslprotocols as shown bellow :
            FleckLog.Level = Fleck.LogLevel.Debug;
            var server = new WebSocketServer("wss://<IP_ADDRESS>:8181");

            server.EnabledSslProtocols = SslProtocols.Tls12 | SslProtocols.Ssl3 | SslProtocols.Tls11 | SslProtocols.Tls;
            server.Certificate = new X509Certificate2("beaweb.cert.pfx", "SECRET");
            server.RestartAfterListenError = true;

the same error .... :/
plus, i got new errors :
1/6/2020 11:15:22 AM [Info] @@@Close connection for :<PHONE_NUMBER>
1/6/2020 11:15:22 AM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException: Connection timed out
  at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <9757826624954c5282d61a7d7d49edc3>:0
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.IO.Stream+<>c.<BeginEndReadAsync>b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00000] in <a177257befa343e48eeeb10ded67bded>:0
--- End of stack trace from previous location where exception was thrown ---

  at Mono.Net.Security.MobileAuthenticatedStream.InnerRead (System.Boolean sync, System.Int32 requestedSize, System.Threading.CancellationToken cancellationToken) [0x00104] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.InnerRead (System.Threading.CancellationToken cancellationToken) [0x000ac] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x00093] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <9757826624954c5282d61a7d7d49edc3>:0
  at Mono.Net.Security.MobileAuthenticatedStream.StartOperation (Mono.Net.Security.MobileAuthenticatedStream+OperationType type, Mono.Net.Security.AsyncProtocolRequest asyncRequest, System.Threading.CancellationToken cancellationToken) [0x0024b] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Threading.Tasks.TaskToApm.End[TResult] (System.IAsyncResult asyncResult) [0x0002f] in <a177257befa343e48eeeb10ded67bded>:0
  at Mono.Net.Security.MobileAuthenticatedStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <9757826624954c5282d61a7d7d49edc3>:0
  at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00006] in <9757826624954c5282d61a7d7d49edc3>:0
  at Fleck.QueuedStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <a67c2a4ea08e45378c68140f7d0916f5>:0
  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <a177257befa343e48eeeb10ded67bded>:0

Can your code "see" the certificate? Are you using an absolute path to the certificate like new X509Certificate2("C:\\beaweb.cert.pfx", "SECRET");? Make sure the code is actually loading the certificate.

Can your code "see" the certificate? Are you using an absolute path to the certificate like new X509Certificate2("C:\\beaweb.cert.pfx", "SECRET");? Make sure the code is actually loading the certificate.

im sure about that , becouse when i put a wrong password the log shows that i have a wrong password
( and also im working on linux with mono )

mmm, ok. I did get this up and running with Ubuntu using mono and nginx some time ago. Unfortunately that project was scrapped, so I have nothing to reference. I do remember that I had to do quite a bit of fiddling around with nginx's config to get this working. Your last error "Connection timed out" certainly brings back memories. That leads me to believe that nginx (if you're using that) may not be configured correctly. You will have to research how to configure a "reverse proxy" with ssl. Unfortunately as it was some time ago, memory has faded.

im using xsp at this moment not nginix ( still in testing )

If you can reverse proxy, what you could try is having the socket's connection between the proxy and the web using ssl, and the socket's connection between the proxy and the socket server being non-ssl. The proxy does the ssl conversion between the two. I got that method working also.

If you can reverse proxy, what you could try is having the socket's connection between the proxy and the web using ssl, and the socket's connection between the proxy and the socket server being non-ssl. The proxy does the ssl conversion between the two. I got that method working also.

yeah , that what im planing to do , and i think that will be good in this cases there is not ssl for the server  , only for ngnix ... ( i think xsp is not capable of doing that )
but it still wired , cause this kind of issues are really not expected .
thank you @AdrianBathurst  :+1:

I'm using the proxy method that @AdrianBathurst described nowadays as well. Everything is much more stable that way. I have it set up so Fleck is only listening on localhost. Nginx is proxying it to the outside world. Another nice upside of this method is that you don't have to use a different port for the websocket. You can just reuse the same (sub)domain and port as your static content. And just proxy a specific url to Fleck.

hi again
about my last comment ,i did what @AdrianBathurst  said, but at the end not related to SSL
im using ngnix right now instead of xsp , without SSL
but a keep having those errors :
first one :
--- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0  2/25/2020 3:25:22 PM [Debug] Client connected from <IP_ADDRESS>:56093  2/25/2020 3:25:22 PM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer   at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <2703bbaa0a6e4686b6033c2dddb1a363>:0     --- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0  2/25/2020 3:25:23 PM [Debug] Client connected from <IP_ADDRESS>:56107  2/25/2020 3:25:23 PM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer   at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <2703bbaa0a6e4686b6033c2dddb1a363>:0     --- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0  2/25/2020 3:25:24 PM [Debug] Client connected from <IP_ADDRESS>:56129  2/25/2020 3:25:24 PM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer   at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <2703bbaa0a6e4686b6033c2dddb1a363>:0     --- End of inner exception stack trace ---
second one :
2/25/2020 2:13:05 PM [Debug] Client connected from <IP_ADDRESS>:62536  2/25/2020 2:13:05 PM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer   at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <2703bbaa0a6e4686b6033c2dddb1a363>:0     --- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0  2/25/2020 2:13:07 PM [Debug] Client connected from <IP_ADDRESS>:62560  2/25/2020 2:13:07 PM [Debug] Error while reading System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer   at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <2703bbaa0a6e4686b6033c2dddb1a363>:0     --- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0  2/25/2020 2:13:08 PM [Error] Listener socket is closed System.AggregateException: One or more errors occurred. (The socket is not connected) ---> System.Net.Sockets.SocketException: The socket is not connected   at System.Net.Sockets.Socket.get_RemoteEndPoint () [0x00035] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at Fleck.SocketWrapper.get_RemoteIpAddress () [0x00000] in <a67c2a4ea08e45378c68140f7d0916f5>:0    at Fleck.WebSocketServer.OnClientConnect (Fleck.ISocket clientSocket) [0x00011] in <a67c2a4ea08e45378c68140f7d0916f5>:0    at Fleck.SocketWrapper+<>c__DisplayClass25_0.<Accept>b__1 (System.Threading.Tasks.Task1[TResult] t) [0x0000c] in :0
at System.Threading.Tasks.ContinuationTaskFromResultTask1[TAntecedentResult].InnerInvoke () [0x00024] in <285579f54af44a2ca048dad6be20e190>:0    at System.Threading.Tasks.Task.Execute () [0x00000] in <285579f54af44a2ca048dad6be20e190>:0     --- End of inner exception stack trace --- ---> (Inner Exception #0) System.Net.Sockets.SocketException (0x80004005): The socket is not connected   at System.Net.Sockets.Socket.get_RemoteEndPoint () [0x00035] in <2703bbaa0a6e4686b6033c2dddb1a363>:0    at Fleck.SocketWrapper.get_RemoteIpAddress () [0x00000] in <a67c2a4ea08e45378c68140f7d0916f5>:0    at Fleck.WebSocketServer.OnClientConnect (Fleck.ISocket clientSocket) [0x00011] in <a67c2a4ea08e45378c68140f7d0916f5>:0    at Fleck.SocketWrapper+<>c__DisplayClass25_0.<Accept>b__1 (System.Threading.Tasks.Task1[TResult] t) [0x0000c] in :0
at System.Threading.Tasks.ContinuationTaskFromResultTask`1[TAntecedentResult].InnerInvoke () [0x00024] in <285579f54af44a2ca048dad6be20e190>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <285579f54af44a2ca048dad6be20e190>:0 <---
2/25/2020 2:13:08 PM [Info] Listener socket restarting
2/25/2020 2:13:08 PM [Info] Server started at ws://<IP_ADDRESS>:8181 (actual port 8181)
`
those error are throwing in loop ( none-stop )


feat: Catch errors in the Client frontend

When an error message is received by the client, he is to be taken to the Login page of the chat.

Resolved in 79548d29a518f18409ed64121f8429576cb8aa13


SubscriptionHandler type issue

The SubscriptionHandler used for generating a composite response from subscription events is currently typed as
export type SubscriptionHandler<T, R> = (prev: R | void, data: T) => R;

but the void type should not be used in argument types unless it is to disallow them from being used. For instance, the trivial handler
(updates: number = 0, response) => {
      return 42
    }

errors out with
error TS2345: Argument of type '(updates: number | undefined, response: ServerImageEventsSubscription) => number' is not assignable to parameter of type 'SubscriptionHandler<ServerImageEventsSubscription, ServerImageEventsSubscription>'.
  Types of parameters 'updates' and 'prev' are incompatible.
    Type 'void | ServerImageEventsSubscription' is not assignable to type 'number | undefined'.
      Type 'void' is not assignable to type 'number | undefined'.

151     (updates: number = 0, response) => {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I think that the intention with this handler is to pass in undefined on the first call, when there is no previous state, and the logic of useSubscription indeed does this. Therefore, I think that this type should be
export type SubscriptionHandler<T, R> = (prev: R | undefined, data: T) => R;

EDIT:
It seems that there is another subtle issue here: because useSubscription sets R=T by default in its type parameters, the SubscriptionHandler expects the "state" to be of the same type as the subscription data, unless explicitly overriden. However, using
useSubscription<
    ServerImageEventsSubscription,
    number
  >(
    {
      query: ServerImageEventsDocument,
    },
    (updates: number = 0, response) => {
      return 4
    }
  )

still gives a similar (but more sane) error
 error TS2345: Argument of type '(updates: number | undefined, response: ServerImageEventsSubscription) => number' is not assignable to parameter of type 'SubscriptionHandler<ServerImageEventsSubscription, number>'.
  Types of parameters 'updates' and 'prev' are incompatible.
    Type 'number | void' is not assignable to type 'number | undefined'.
      Type 'void' is not assignable to type 'number | undefined'.

152     (updates: number = 0, response) => {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There is a similar issue in useRequest.ts, though not in a public type (just inside the actual code):
const prev = useRef<void | GraphQLRequest>(undefined);

Thanks for reporting @mjadczak, I can put up a fix for this tomorrow.

Released in v1.2.0.


log.level=debug

What did you do?
tried to install alertmanager with log.level=debug
Did you expect to see some different?
no
Environment
dev

Role version:
Insert release version/galaxy tag or Git SHA here
latest

Ansible version information:
ansible --version

Variables:

insert role variables relevant to the issue

Ansible playbook execution Logs:

insert Ansible logs relevant to the issue here

Anything else we need to know?:
does this role support log.level=debug or any log.level?

never mind


Providing analytics function for cookie.clear method in mix panel

takes no arguments as input

I added this handler as clearCookies in https://github.com/angulartics/angulartics/issues/513
If you rename the handler to registerClearCookies I can merge


Configure active job

Context
We need to set acitvejob's backend library
Changes proposed in this pull request
Configure active job to use delayed job.
Add some settings from schools experience.

There's some more work to do around configuring dj, I've opened #97 to track this


Added names for fields based on strings in class_5315

Seems to store level metadata?

Mind edit this pr to merge into 1.16-pre2


Add test cases to improve code coverage

Added tests in AppParametersTest and the following packages:

seedu.guest/logic
seedu.guest/model
seedu.guest/storage

Codecov Report
Base: 72.18% // Head: 75.00% // Increases project coverage by +2.81% :tada:

Coverage data is based on head (a70058b) compared to base (e3d7a1a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #78      +/-   ##
============================================
+ Coverage     72.18%   75.00%   +2.81%
- Complexity      392      421      +29
============================================
  Files            69       69
  Lines          1208     1208
  Branches        120      120
============================================
+ Hits            872      906      +34
+ Misses          304      275      -29
+ Partials         32       27       -5

Impacted Files
Coverage Δ

...in/java/seedu/guest/model/util/SampleDataUtil.java
83.33% <100.00%> (+83.33%)
:arrow_up:

src/main/java/seedu/guest/model/guest/Guest.java
94.87% <0.00%> (+2.56%)
:arrow_up:

...ain/java/seedu/guest/commons/core/GuiSettings.java
73.07% <0.00%> (+3.84%)
:arrow_up:

src/main/java/seedu/guest/model/GuestBook.java
95.83% <0.00%> (+4.16%)
:arrow_up:

.../java/seedu/guest/model/guest/UniqueGuestList.java
97.56% <0.00%> (+4.87%)
:arrow_up:

...c/main/java/seedu/guest/model/guest/DateRange.java
94.73% <0.00%> (+5.26%)
:arrow_up:

.../main/java/seedu/guest/storage/StorageManager.java
100.00% <0.00%> (+5.55%)
:arrow_up:

src/main/java/seedu/guest/model/guest/Name.java
90.00% <0.00%> (+10.00%)
:arrow_up:

src/main/java/seedu/guest/model/guest/Email.java
90.00% <0.00%> (+10.00%)
:arrow_up:

src/main/java/seedu/guest/model/guest/Phone.java
90.00% <0.00%> (+10.00%)
:arrow_up:

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


try to make the forking-workflow exercise more collaborative

in online workshops participants are sent to breakout rooms for the forking workflow exercise, but without specific discussion points maybe some rooms become quiet and learning from collaborating gets lost

Yes I had the same impression. I was encouraging participants to start sharing screen and ask questions and eventually we got a good discussion but just following the exercise itself it would have been silent and a long 30 minutes.

@blindij see also #124. Maybe not enough time to change the material but we need to at least verbally give tips on how to turn this more collaborative. I am working on the centralized episode so that you can focus on this part.

I will keep the exercise but make more clear when to return from the exercise. The review of PRs we will do in the main room so the exercises will be shorter and there should not be any waiting time for those who finish earlier.


Verify Env files and code cleanup

Putting in an issue so I can branch my modifications before merging in to main


[tlul] Stub off unused req_type_o signal for tlul_adapter_sram

This output port was added by 4798f27 but the commit didn't stub it
off for all uses in the tree.
I did the OTBN part in a hurry to un-break CI. This PR deals with all the other uses in the tree.

thanks for fixing these.


Attempt 2 to set build --watch package paths to be relative

Changes
This is the original code from https://github.com/snowpackjs/snowpack/pull/3597. It was merged but then rolled back in https://github.com/snowpackjs/snowpack/pull/3652 without explanation about what went wrong, specific errors, or things that could be fixed. So I have created this to try to move this forward once again and further resolve any problems.
Currently build --watch is unusable which makes snowpack a non-starter for server side language sites built with php, ruby, cms systems, etc. This PR removes that incorrect absolute paths and replaces them with ones relative to the pkg directory.
Identified by: #3692, #3629, #3487, #2931, #3065, and #3066

@mrkmiller - can you help me understand here - has this been deployed? It was a fix from my testing but the latest version of Snowpack still has this issue. Getting a bit bored of the constant find replacing every time I want to turn Snowpack on! Can I do anything to push this forward?

@jt196 nope, we're still waiting for the maintainers to take a look at this. We've been blocked on this for months 😭
As far as I can tell, support for snowpack is stagnating, and it might be time to look towards switching to Vite.

Shame, I love what these things do, but hate setting them up. Every time I even think about deploying a new one it's a day poring around the forums looking for various fixes.  Will have a look into Vite though as it'd be nice to have something that #justworks.


[Readme] Clearer setup instructions

As you setup OMRChecker on your own machine, mark your first contribution with the following

You can update the Getting Started section with better instructions that makes the setup experience smoother.
For a start, you can create a different section for setting up on Windows/Linux, etc. Also, the Installing missing libraries section is confusing for macOS users as it doesn't run for them.
Since the setup instructions might have outdated with latest versions of dependencies, try running the project with latest ways of installing them and if it works, share here and propose to use the newer versions.

Note: this issue is marked with the hacktoberfest label. Follow #hacktoberfest-discussions on Discord for further details .

Hey, can I work on this for hacktoberfest?

Feel free! There's more issues coming, you can start with it :)

Please reach out on discord for any queries/help.

@Rohan-G I have updated the description with more details, can you include them in your change as well?

@Rohan-G mention the issue in that PR's description. Then we can close it

@Udayraj123 Can I address this issue as well? have some changes to-do!

@bilal-aamer sure. Let's discuss on discord channel

Also you can create one new issue @bilal-aamer. I will be closing this as @Rohan-G has merged a PR against this issue

@bilal-aamer sure. Let's discuss on discord channel

Ok


Support serialized checkpoint loading

🚀 Feature

Motivation
Currently, all processes load the checkpoint at the same time. This can lead to CPU OOMs for large models when processes are concurrently loading the checkpoint. These use cases, especially with things like mixture of experts, might require serialized loading of checkpoint dicts across ranks (ie load the checkpoint one rank at a time per node). Could we enable this for DDP?
Prior work: https://github.com/PyTorchLightning/pytorch-lightning/pull/8515

Pitch
This would be controlled per training type plugin. Example pseudocode: https://gist.github.com/ananthsub/4ceedff56b2049a63bbb05ccd283b919
To work through:

Should the TrainingTypePlugin have responsibility of calling LightningModule.on_load_checkpoint instead of the Trainer/connector? This would make sense as the TTP "owns" the LightningModule inside of the trainer, and since it already offers load_model_state_dict: https://github.com/PyTorchLightning/pytorch-lightning/blob/41ba639859cf6c6bf319eb33e5b3394504315962/pytorch_lightning/plugins/training_type/training_type_plugin.py#L159-L160

DeepSpeed already eschews most of the checkpoint connector logic when it comes to loading the lightning module state. This could be a gap for metrics, and this means we could be calling on_load_checkpoint multiple times with certain plugins. In my opinion, this points to all LightningModule state load/save/alterations should sit inside of the training type plugin.

Does loading one process per node run into other issues with collectives potentially being used in LightningModule.on_load_checkpoint ?

Alternatives

Additional context

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning

Bolts: Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Lightning Transformers: Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

More previous work: https://github.com/PyTorchLightning/pytorch-lightning/pull/7509

@jjenniferdai is interested in working on this, so I will assign this to her

I'm planning to work on this this week if thats ok!


will the semantic segmentation code release?

hi, it seems lite-hrnet semantic segmentation has higher precision than your bisenetv2. will the code relase. wait in hope.

Thanks for your attention.
The segmentation codes are being re-organized and cleaned.
We will release the segmentation codes of the Lite-HRNet ASAP.

Waiting for LiteHRNet Semantic Segmentation code. :)


[DoNotMerge][DoNotReview][BEAM-4374] Emit MeanByteCount distribution tuple system metric from …

…Python SDK
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.