HNHacker News
TopNewBestAskShowJobs

d2wa

752 karma · joined August 22, 2017

submissionscomments
d2wa··on Some discouraging anecdotes on how services handle account deletions
I've also had no luck getting Google to delete an unused Developer Account. They suggest I stop using my Google account and create a new one; abandoning all services in the process.
d2wa··on The distributed web isn’t ready for Russian Runet cutoff from the Internet
Tox and Jami depends on DHT bootstrapping nodes. That’s easily overcome by storing long-lived peers between sessions. https://www.ctrl.blog/entry/cache-p2p-connections.html Very few clients has implemented this, unfortunately. You still need bootstrapping nodes — or an already connected instance on the local network — to join the network after a fresh install or a long period of inactivity.
d2wa··on Cardboard: a scrollable tiling window manager
> What's wrong with full-screen applications in multiple virtual desktops like macOS?

Sometimes you need to look at two–three windows at a time. Maybe four (a terminal) that can live sort of to the side of the main two–three windows. A scrolling VM lets you work more fluidly instead of forcing everything into a screen-sized box. It’s useful to have a note-taking app side-by-side with a document you work with or a webpage for research. (Not all apps are designed to be used fullscreen. E.g. a calculator.)

d2wa··on Cardboard: a scrollable tiling window manager
It’s not unlike what Android and iOS does in their app switchers. This just gets rid of the app switcher.
d2wa··on Cardboard: a scrollable tiling window manager
That’s the actual experience. There’s open bugs about it in Cardboard.
d2wa··on Systemd service sandboxing and security hardening (2020)
This is a getting started/101 introduction; it also talks about and recommends systemd-analyze security. There’s a link to part two at the bottom of the article that goes deeper into things.
d2wa··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
The Register asked the US Justice Department to comment on this.

https://www.theregister.com/2021/11/11/latest_windows_11_bui...

d2wa··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
You can rename EdgeDeflector.exe to msedge.exe and it works as-is. However, it will cause other problems with your system. The Edge background update system will also reverse the change within a day or so.
d2wa··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
It’s not Edge that makes the decision on what program to use. It’s the Windows shell itself. I’m not aware of any third-party alternatives to OpenWith.exe.
d2wa··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
You can do that. But programs like EdgeDeflector can’t be distributed doing changes like that. Every antivirus vendor including Microsoft SmartScreen will rightly block it for doing destructive changes.
d2wa··on You can no longer bypass microsoft-edge:// links using apps like EdgeDeflector
> Get more tracking data via Edge?

This is probably it.

d2wa··on I was terrified of an eyeball injection
Side effects like addiction and _feeling suicidal_ makes doctors quite conservative.
d2wa··on I was terrified of an eyeball injection
The author is a type 1.
d2wa··on The HTML video element needs to go back on the drawing board
That’s what the article argues for.
d2wa··on The HTML video element needs to go back on the drawing board
Disk caching is still a thing. Kids watch the same videos on repeat for hours on end, so maybe almost-indiscriminately caching the entirety of the last watched video would be a good idea.
d2wa··on The HTML video element needs to go back on the drawing board
> What about addressing the problem from the HTTP-side of things: have a simple video tag (just defining the viewport and an endpoint) and a host response providing options, which may be selected by the browser situationally?

HTTP Client Hints spec can send the viewport size and pixel ratio and even a low-bandwidth preference as HTTP request headers. It’s only supported in Chrome and requires extra round trips. The other browser vendors have been unwilling to implement the spec.

d2wa··on The HTML video element needs to go back on the drawing board
Most video editing software does provide nice presets you can use. Then there’s always the FFMPEG wiki.
d2wa··on The HTML video element needs to go back on the drawing board
> I want audio sources to support media queries, so that you can present dark and ominous music in dark mode and light and bouncy music in light mode

You’ll love what they’ve done in Windows 11.

d2wa··on The HTML video element needs to go back on the drawing board
> The <video> element does have some usages which are underutilized, though: short, perhaps looping video, which can be used instead of animated GIFs.

But then you still want to serve a small video file (320px wide) for mobile and a larger one for desktop (600px wide).

> While it would be possible to have the ability to select different video sizes/quality rates based on HTML elements and attributes, it is likely impractical to handle, say, adaptive video streaming (where the quality of the video is based on the connection), purely in HTML.

Adaptive streaming where the quality changes over time as you watch is only needed for longer videos. You don’t need that for a short one minute video or a GIF equivalent. Just picking a resolution appropriate to the screen size would be enough.

d2wa··on The HTML video element needs to go back on the drawing board
Not true. Few people — if anyone — wants their entire mobile data plan consumed by a single 4K video. Especially if it’s just a short clip.
d2wa··on The HTML video element needs to go back on the drawing board
> I came up with a technique that makes this work a while back.

It may work, but … ugh. This is a spec issue.

d2wa··on The HTML video element needs to go back on the drawing board
551.87 KB

https://vjs.zencdn.net/7.15.4/video.min.js

plus

56.14 KB

https://vjs.zencdn.net/7.15.4/video-js.css

d2wa··on The HTML video element needs to go back on the drawing board
It’s not just small websites, though. Government information websites use YouTube too. Even activist websites criticizing the tech monopolies host with YouTube embeds. Even the distributed web/P2P platform IPFS hosts videos on YouTube instead of using it’s own P2P stack.

Anyhow: the point was that it’s too difficult to embed videos even if you’re willing to bear the hosting cost.

It costs roughly 0.0015 USD per hour video in 480p/VP9 hosted with BunnyCDN. The cost is manageable.

d2wa··on The HTML video element needs to go back on the drawing board
Twitch is free and quite popular.

Everyone hangs out on Daily Motion, Vimeo, Cinnamon, D.Tube, and PeerTube all the time. Right?

d2wa··on Improving the New York Times’ line wrap balancer
It wasn’t really relevant in this context. It’s similar to what the browsers do by default, however.
d2wa··on Improving the New York Times’ line wrap balancer
> Does the server get the viewport size as part of the request?

It can, yes. The response header `Accept-CH: Viewport-Width` suggest to the client that future request should transmit a `Viewport-Width: 320` header. Chrome only as the other browsers consider it harmful.

It doesn’t solve the problem, though. Font availability and subpixel rendering varies from OS to OS and browser to browser.

d2wa··on Improving the New York Times’ line wrap balancer
> First, different browsers break text at different points.

If the screen resolution and scaling is the same, and the operating system is the same, then you should get very consistent results across operating systems. They use the same algorithm, but subpixel hinting may differ slightly.

If you stick to metrically compatible fonts for the different operating systems, you’ll get almost identical results across OSes too (assuming same screen resolution and scaling). https://www.ctrl.blog/entry/font-stack-text.html

d2wa··on Improving the New York Times’ line wrap balancer
Adobe has made a proposal for a new CSS attribute, but no browser has implemented it. This is discussed in the article.
d2wa··on Brave and Firefox to intercept links that force-open in Microsoft Edge
News and Interest (taskbar thingy in recent Win10), Widgets (samw thing in Win 11), the Settings app, help links scattered around the OS, Your Phone app, links sent from Android to your PC (Microsoft Phone Companion and Samsung Windows integration), etc.
d2wa··on Why can an ad break the Windows 11 desktop and taskbar?
If I remember correctly, then your specific issue was supposedly fixed in one of the recent Insider builds.

Windows Search is heavily cloud-dependent, and yes it’s performance suffers under poor network conditions.

← PreviousPage 3 of 7Next →