Live data from Hacker News

Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

tomtalks.blog

261–270 of 359 posts

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#261
post #76

Earlier quoted context omitted.

While Slack displays all your organizations in a single tabbed UI, presenting you with the number of unread messages on the tab icons in Teams you need to hard switch and you never know what happens in the others. This makes Teams worse than nothing in communications because one half of the communication expects you to communicate and you are not even aware of this. You literally must jump organizations constantly ,…

Right! My company switched from Slack to Teams and even though we recreated all our original channels, public discussion has all but died. Having to context switch between private messaging and public channels, even though it's just another tab, is apparently just too much friction. Also opening docs and excel sheets inside the main window by default and blocking chat while doing it is absolutely atrocious.

Your last paragraph is a huge source of frustration for me. Such a boner move.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#262
post #184

Does WebView2 expose an API to add primitives directly to the JavaScript interpreter, or must you do everything by sending JSON messages?

You can send javascript directly to the WebView2 control [1]. [1] https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.we...

>public System.Threading.Tasks.Task ExecuteScriptAsync (string javaScript);

That's what I mean by sending JSON messages, but I'm asking if there is a way of directly calling native code from the JavaScript interpreter, synchronously passing pointers to JavaScript data structures back and forth, not just copying strings back and forth between separate processes through an asynchronous message queue.

Like Microsoft's deprecated COM/OLE/ActiveX, or Apple's Objective C / JavaScript bridge, or what SWIG does for JavaScriptCore, for example:

https://steamclock.com/blog/2013/05/apple-objective-c-javasc...

http://www.swig.org/Doc3.0/Javascript.html

For example, how can I get direct read/write access to the pixels of an html canvas or the memory of a JavaScript byte or float array, instead of serializing images as png files or base 64 encoded strings, or buffers of numbers as decimal text json arrays?

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#264

Earlier quoted context omitted.

If only Microsoft had a app development framework designed to allow developing apps for multiple mobile + desktop platforms with as much shared code as possible. https://dotnet.microsoft.com/apps/xamarin

There's a new project called MAUI that also handles desktop: https://github.com/dotnet/maui

It's basically rebranded Xamarin Forms. Outside of bundled Windows apps, Microsoft is going all into web technologies for consumer apps now. Even within bundled Windows apps usage of .net is almost nonexistent. Built in OneDrive client is written in Qt!

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#265

Not really relevant but I need to vent. Client dropped Slack for Teams. I hate it, and information exchange has dropped precipitously since everyone switched. So slow, half the time text markup doesn't work, and the UI is inconsistent depending on if you're typing in a chat, meeting, or channel. Oh and none of the Slack logs were kept, losing years of information. (But that's not the fault of the Teams software) I lo…

I worked at a game company that was moving from google enterprise (gmail, docs, etc) to office be use our owner organization used office. Everyone fought hard to keep slack because teams is so bad. We got to keep slack but had to adopt office and it was a disaster. Outlook web and app act completely different, the mail web and app act completely different. the way to edit and share files was very confusing and always had permission issues. We were told we’d keep our email history, then the last 2 years of our history, and then finally they were unable to migrate the history and we lost years of emails. It messed the company up so much, I’m sure it’s one of the contributing factors for why the company was closed 6 months later. Like we were at the end of a 2 year development process going into soft launch, but this migration crippled production and the parent company never took responsibility.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#266
Teams is a compliance product for some CIO to check a box and get their kickbacks and bonuses. Its features center around corporate control of conversations.

So whoever has a negative comment about usability has absolutely missed the target customer for Teams: it's not the end user and certainly not software people.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#268
post #224

Earlier quoted context omitted.

If you sit someone who doesn't know How Links Work in front of some text with an inline hyperlink in it, then try to get them to copy it over to another place, you end up wanting to get to this default pretty quickly. "Right click copy link address" is real unintuitive. I've never wanted the text formatting itself to come over, bold text and headings and whatnot, but since that lives in about the same conceptual spac…

It would be pretty trivial to paste without formatting but still auto-parse links. Many apps do the link parsing on the client side, so it's not a formatting concern at all.

That's fine if the text you're copying spells out the URL, but often it will be just a word(s) that are hyperlinked, so if pasted as plain text the software you paste into has no idea there was a URL linked at all.

(But I too wish plain text pasting was the default more often.)

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#269
post #73

Earlier quoted context omitted.

Can somebody explain why "paste with formatting" is so widely the default option? I have literally never wanted to paste with formatting and neither have multiple family members who have needed help with preventing it from happening.

History. The Mac didn’t have “paste without formatting”, and assigned ⌘-V to “paste with formatting”. Even if it had, they might have made it the default, either to show of that styles copied over, or for consistency. If you paste a picture, you don’t lose formatting, either (of the picture, whatever that means, or any text in the image) If you copied some text in MacWrite, for example, exited MacWrote, launched MacP…

> Some programs also have several variants of “without formatting”. Excel is a good example (https://support.microsoft.com/en-us/office/paste-options-8ea...). Which one should be the default?

Most of those are very specific versions of formatting or specialty features.

The only ones that would qualify as "paste without formatting" are "formulas" and "values" modes, and of those two I'd probably say "formulas" is a better default.

Re: Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2

#270
post #224

Earlier quoted context omitted.

If you sit someone who doesn't know How Links Work in front of some text with an inline hyperlink in it, then try to get them to copy it over to another place, you end up wanting to get to this default pretty quickly. "Right click copy link address" is real unintuitive. I've never wanted the text formatting itself to come over, bold text and headings and whatnot, but since that lives in about the same conceptual spac…

It would be pretty trivial to paste without formatting but still auto-parse links. Many apps do the link parsing on the client side, so it's not a formatting concern at all.

How would that work in the case where the link display text is not the address? Normally pasting without formatting discards the fact that some text like “download other file” is a link.
Post reply on HN