News for hackers. Stuff that matters.
Re:Send: A Fork of Mozilla's Firefox Send by carbonatedmilk on Wednesday May 05, 2021 @09:44PM (#27058209)
love Wormhole, but that animated background chews up an incredible amount of battery power on my M1 Macbook Air (even when the tab is in the background). Please wormhole crew, turn it off.
Re:Send: A Fork of Mozilla's Firefox Send by feross on Thursday May 06, 2021 @04:41AM (#27060566)
We recently made a one-line change that massively reduced GPU usage, specifically:

- Intel integrated graphics: 60% reduction

- AMD Radeon: 40% reduction

- Apple M1: 10% reduction

What was the change? We removed "opacity: 85%" from the <canvas> element. We were using opacity to slightly darken the animation but now we just darken the texture image directly.

Re:Send: A Fork of Mozilla's Firefox Send by johnmaguire on Thursday May 06, 2021 @07:45AM (#27061796)
Would love to read more about this.
Re:Send: A Fork of Mozilla's Firefox Send by feross on Friday May 14, 2021 @10:37PM (#27161807)
We just massively reduced GPU utilization on Wormhole for a second time (as of May 12). Give it a try and let me know if you still have issues.

GPU utilization when window is full screen, 4K resolution:

Chrome:

  - Radeon: 70% -> 15%

  - M1: 65% -> 29%
Firefox:

  - Radeon: 60% -> 8%

  - M1: 55% -> 23%
Safari:

  - 15% Radeon + 75% Intel -> 8% Radeon + 8% Intel

  - M1: 75% -> 35%
A bit more detail: We're running into the limits of WebGL. It seems just rendering a white screen at 60fps at 4K resolution is enough to make people's fans turn on.

So we reduce the frame-rate when the wormhole is not warping (render every 3rd frame). We also lower the resolution and scale it up.

Re:Send: A Fork of Mozilla's Firefox Send by Farow on Thursday May 06, 2021 @02:13AM (#27059753)
You can "hide" it with uBlock Origin by blocking large media elements in the popup.
Re:Send: A Fork of Mozilla's Firefox Send by mikkelam on Thursday May 06, 2021 @06:06AM (#27061101)
Thanks, much better experience
Re:Send: A Fork of Mozilla's Firefox Send by pimterry on Thursday May 06, 2021 @06:14AM (#27061150)
100% agree - I've used Wormhole a few times when I try to quickly get data into interactive VM sessions, because it works great otherwise, but the graphics consistently grind the whole thing to a halt.

I really don't get the reasoning. It looks kind of cool, but it makes it super unusable for a bunch of use cases from very old computers to interactive sessions on raspberry pis to constrained VMs. And those are exactly the kind of places where I want friendly easy tools to copy files across for quick system admin or to get logs back out! Doesn't seem like a good tradeoff.

Re:Send: A Fork of Mozilla's Firefox Send by r9 on Thursday May 06, 2021 @06:37AM (#27061281)
I use rclone serve for this task:

rclone serve http ./dir/or.file --addr :9000

File/s can be grabbed with curl/get etc or a browser

Re:Send: A Fork of Mozilla's Firefox Send by feross on Friday May 14, 2021 @10:34PM (#27161789)
Re:Send: A Fork of Mozilla's Firefox Send by FriedrichN on Thursday May 06, 2021 @04:49AM (#27060621)
Set webgl.disabled to true if you're using Firefox.
Re:Send: A Fork of Mozilla's Firefox Send by BiteCode_dev on Thursday May 06, 2021 @12:41AM (#27059226)
And if you have a sucky connection, it's slow has hell to load.
Re:Send: A Fork of Mozilla's Firefox Send by feross on Thursday May 06, 2021 @04:50AM (#27060630)
Sorry to hear the site was slow for you. We get pretty good scores on Lighthouse and from real-world data according to https://developers.google.com/speed/pagespeed/insights/?url=...

What OS, browser, and connection type/speed did you use?

Re:Send: A Fork of Mozilla's Firefox Send by BiteCode_dev on Thursday May 06, 2021 @05:31AM (#27060907)
Ubuntu, Firefox, sucky country adsl with unkown speed.

I don't mind for the upload to be slow, I just let it run, but getting to the page should not be.

I mean, this galaxy.jpg file is a third of you webpack JS bundle size!

It has no added value for me. I get the cool factor, I know it's pretty, but still.

Re:Send: A Fork of Mozilla's Firefox Send by slazaro on Thursday May 06, 2021 @08:44AM (#27062351)
You could add a "fast" or "lite" or similar subdomain that avoids anything like the complaints that have been shared here. Not perfect (the default should be the best), but at least you could avoid this problems as a user.
Re:Send: A Fork of Mozilla's Firefox Send by arafatamim on Thursday May 06, 2021 @03:40AM (#27060212)
Turn on "reduced motion" setting on your Mac.
Re:Send: A Fork of Mozilla's Firefox Send by FounderBurr on Wednesday May 05, 2021 @11:12PM (#27058772)
Wouldn’t it be easier for you to manage what you expend your battery on?
Re:Send: A Fork of Mozilla's Firefox Send by Spare_account on Thursday May 06, 2021 @03:07AM (#27060022)
Great idea, do you have any suggestions that will help?