HNHacker News
TopNewBestAskShowJobs

vdnkh

1,318 karma · joined September 12, 2014

submissionscomments
vdnkh··on Version 100 in Chrome and Firefox
A lot of people here are calling for the death of UAs, but this would be bad for video because capabilities are inconsistent across the web, and because APIs are incomplete or lie.

For example, the "canPlayType" API for whether a codec is supported returns "probably" or "maybe". So we sometimes need to hardcode which browsers support which new codecs.

Also, there are several bugs in past and present versions of decoder implementations, which are only discovered though manual testing, or by observing quality of service metrics split by browser version (Firefox does not handle bad audio packets as well as Chrome, for example). In IE and old Edge, the video readyState would always be "4" after playback beings, even during buffering, which is a blatant violation of the spec Microsoft refused to fix (as stated in their bugtracker).

Browsers like Safari have subtly different event orders from the HTMLVideoElement which requires a burdensome workaround that us working in video just like to keep to Safari instead of poisoning other implementations.

A final fun quirk is that not all browsers gave accurate HTTP timing information until recently (notably, Safari < 14) which make download timing for the purpose of determining bandwidth very inaccurate. This is why Twitch only recently supported low-latency playback for Safari. There is no other way to ask "do you support accurate timing" other than for an engineer to test it and hardcode an exception.

vdnkh··on Words known better by males than females, and vice versa
Seems a bunch are around fabric/garments, I have a minor sewing hobby so I recognized some of them (male)
vdnkh··on Fuite: a tool for finding memory leaks in web apps
Oh cool, thanks for the correction
vdnkh··on Fuite: a tool for finding memory leaks in web apps
misunderstood, nvm!
vdnkh··on Netflix is not a tech company (2019)
> , the streaming and compression are good,

I've been in video tech for a long time, and you glossed over the part where Netflix does tech company things. They invented VMAF and per-title encoding. I've seen countless video tech talks and Netflix consistently brings innovation to the table.

vdnkh··on America has a drinking problem
This makes no sense. Do you think that Americans go out drinking to get drunk arounds friends, but not to socialize with them?
vdnkh··on Overkill objects for everyday life
I think the victorinox classic has a blade and scissors and weighs 0.7oz
vdnkh··on Overkill objects for everyday life
It’s double edged so maybe not. I think if I needed to split wood I’d want a hatchet.

With the hiking I like to do, I hike all day, boil water for food with a canister stove, and pass out. So I optimize for weight - less weight = more miles (and is much more comfortable).

vdnkh··on Overkill objects for everyday life
Haha salami is what I worry about. But there are knives for under an ounce. And at any rate, I don’t mind eating the salami log straight up
vdnkh··on Overkill objects for everyday life
Using a ka-bar for hiking is a terrible idea. At 0.7lbs it weighs as much as a quality sleeping bag/tent/pack. Also, you likely don’t need a knife. Scissors are much more useful, and micro scissors weigh less than an ounce.

Ultralight hiking adds an interesting forcing function to gear - correctly “built” (as in not overbuilt or under built). Bring the gear which matches the need. In essence, the complete opposite sentiment of this post.

vdnkh··on Amazon Warehouse Workers to Decide Whether to Form Company's First U.S. Union
On the off chance you're serious, here's Biden's union stance https://joebiden.com/empowerworkers/.
vdnkh··on Apple has threatened to ban Parler from the App Store
Just incase you're not trolling, there were people carrying zip tie cuffs and armed with guns in the rotunda. Several doors were barricaded by the Secret Service and defended at gunpoint. At least two IEDs were found (one in the DNC offices, another in the RNC), and 5 people died. Stop making it less than it actually was.
vdnkh··on Reddit bans subreddit group “r/DonaldTrump”
> mostly wandering around taking selfie

And the ones not taking selfies were running around with zip ties and IEDs. Just because some of them were idiots, doesn't mean they all were.

Edit: how do you think these "idiots" got in? https://www.youtube.com/watch?t=20m04s&v=cJOgGsC0G9U

vdnkh··on Reddit bans subreddit group “r/DonaldTrump”
What a fantastic rant
vdnkh··on Reddit bans subreddit group “r/DonaldTrump”
>free Internet

A private company choosing who to allow on their platform? Seems like the freedom to me. And in the absence of any government action against these domestic terrorists (they have been planning exactly this violence for weeks), it's great to see private companies step in and take action.

vdnkh··on Only distributed fact-checking can keep up with democratized distribution
> One man's facts are another man's lies

This is pretty absurd. We should be fighting disinformation instead of legitimizing it. Not all “facts” are based in a healthy reality. See: 2020 election “fraud”

vdnkh··on Open Letter from Facebook Content Moderators
> During the 15th week of the year, we saw the highest death rate in Sweden this millenium. A total number of 2505 people, 358 a day, passed away. Not since the first week of year 2000 that many people have died in Sweden. The 14th and 16th week of 2020 is third and fourth respectively on that same list. The month of April is the deadliest in Sweden since the 1990s with 10 458 deaths. You have to go back to December 1993, when 11,057 people died, to find a higher figure. At that time, the flu was unusually malignant. If you go past that month, you have to look back to 1918 and the Spanish flu to find a more deadly month.[0]

Your interpretation of the data is not correct.

[0]https://emanuelkarlsten.se/number-of-deaths-in-sweden-during...

vdnkh··on Hiring for tech jobs has increased more than 100% in these Midwestern cities
This is a very consumerist world view (get big house, get fun toys) that not everyone believes in. I choose to live in a more vibrant city where I essentially trade my money for opportunity, experiences, and community.
vdnkh··on San Francisco faces fiscal chaos
Are you a west coast native? As a new yorker (and nj native), I've found that west coasters often think we're rude but I see it as just our communication style. We often interrupt and speak over each other, and really don't like being interrupted on a commute (which is often just walking somewhere).

Since working more with west coast devs, I've learned to be "nicer" when communicating. But still have the same habits with my family. To be fair I think that some these habits are good to break.

vdnkh··on Our restaurants are failing. Why should food delivery apps thrive?
> (no one can justify extra manufacturing etc.

In cases where the free market isn't incentivized to make the supplies we need, it's the job of the government to take over and make them. "Profiting from catastrophe" as you put it will result in price gouging.

vdnkh··on Tech workers consider escaping Silicon Valley’s sky-high rents
I feel like most of HN is missing something here, of no fault of their own because they're not in my demographic (20-something yuppie). Young people want to live in cities. They're fun, exciting, and enable a robust social life. Moving to rural Ohio or Michigan, or even a "lesser" metro in the midwest is not the same as living in SF or NYC in terms of social opportunity. I work remote and I live in Brooklyn and I think its great. I don't need a car or a big house. But unlike most of the commenters here, I don't have kids or a wife. Essentially, I put my money towards a better social life.

I'm not saying that my way is better, it's just that the whole "move to a big cheap house in the midwest, bro" line that HN loves to throw out is not for everyone.

vdnkh··on Bye, Amazon
I think bright, talented engineers also want to get paid for their efforts. When FAANG pays 2-3x most other companies, it doesn't always make sense to go elsewhere.
vdnkh··on Lyft lays off 17% of workforce, furloughs hundreds more
I think you've missed the point behind why bankruptcy is bad. It's bad because it directly harms the people living in that state, which is something you didn't addressed at all in your post. It's hyper-focused on taxation and economic performance. It's callous.

States pay first responders - medics, firefighters, police, teachers - fund projects, and invest in their communities. State governments themselves employ huge amounts of people. They fund homeless shelters and food banks and all sorts of public services. It would be incredibly harmful to these communities to have their support systems that they depend on removed. Not to mention not being able to pay first responders during a crisis. Hows that for a moral hazard?

I also do not see how your post addresses the fact that blue states are overwhelmingly net contributors in federal taxes, and how red states are overwhelmingly net takers. It seems like it warps your view of price discovery, since the government has for decades guaranteed the bond prices of red states. The consistent federal allocation of tax money towards the everday failure of red states totally discredits your theory weeding out "institutional rot" during a crisis, and of optimal taxation.

vdnkh··on Bioaerosols generated from toilet flushing in rooms of patients with C-Diff
> It's at least 20 seconds of solid rubbing, people, not just in and out of the water. The temperature doesn't matter, what matters is being under there for long enough the germs come off.

Anecdotally, I don't wash for anything close to 20 seconds and I'm sick much less often than my coworkers who do. I'm also not afraid to touch food with my hands

>... Of those that exist, nearly all have measured reductions in overall numbers of microbes, only a small proportion of which can cause illness, and have not measured impacts on health. Solely reducing numbers of microbes on hands is not necessarily linked to better health.

https://www.cdc.gov/handwashing/show-me-the-science-handwash...

vdnkh··on Blink-Dev – Intent to Deprecate and Freeze: The User-Agent string
Agreed. For media streaming UA sniffing is required because of quirks each browser has in decoding media. Safari has a few quirks about the MP4 packaging it likes via MediaSourceExtensions. Firefox's network stack includes a delay not related to the actual request because of its implementation[0] which makes timing of small downloads very inaccurate. None of these differences are discernible except by UA.

[1] I believe FF includes in the download length the time a request spends sitting in the request queue, but I can't exactly remember.

vdnkh··on WebAssembly becomes a W3C Recommendation
The Twitch player is written in WASM, but I don't think we're a W3C member.
vdnkh··on OnePlus Hit by Data Breach
Whataboutism
vdnkh··on Android 10
I love dark mode because it hides my eye floaters
vdnkh··on How Web Content Can Affect Power Usage
> Avoid network polling to obtain periodic updates from a server. Use WebSockets or Fetch with a persistent connection, instead of polling.

Oh the irony. Apple’s new low-latency streaming spec is based around polling the server multiple times per second, for the entire duration of a live stream. The FOSS version of low-latency HTTP streaming is based on chunked-transfer encoding via a...persistent fetch connection. Despite chunked-transfer low-latency steaming being widely deployed in production for the past few years (Twitch, Periscope use this), they didn’t think it was the right solution. I wonder what the WebKit team thinks of this.

vdnkh··on Salsify – A New Architecture for Real-time Internet Video
From what I understand, Salsify requires a unique connection for each device being served a stream. Therefore (like WebRTC) you can't cache frames in a CDN; and each viewer requires a connection to the origin. This gets a little expensive (which is one of the reasons why WebRTC isn't very common relative to HTTP streaming). Have you explored any kind of multicast or cache-friendly variation of Salsify?
← PreviousPage 3 of 13Next →