Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

4,829 karma · joined Jan 31, 2014 (12y ago) · 1,177 submissions

Submissions

comment 10y ago · link · parent

I think this is definitely an improvement over the wasm varint implementation. However, wasm bytecode is almost always going to be delivered compressed with gzip or brotli, so measurements of compression and speed should be taken after those. In particular, I'm wondering if a plain non-variable integer encoding would be best, considering how brotli and gzip operate on byte sequences.

comment 10y ago · link · parent

I think what you're after is that the impedance matters a great deal - a high voltage but high impedance source will drop in voltage a lot and not deliver a large current into the body.

In both examples I gave, the PSU DC bus and the car, both are much lower impedance than the human body and the difference is likely negligible.

comment 10y ago · link · parent

Right, but how many amps are flowing through a wire isn't going to change how badly it electrocutes you.

comment 10y ago · link · parent

Your computer power supply has a ~400 volt rail in it. Are you unwilling to ever open a desktop computer?

The Tesla battery has contactors inside of it, so you'll only have 400V live when the car is on. Additionally, assuming the HV is floating relative to the chassis, you need to touch two spots at different potentials to actually get shocked.

That said, it looks like this is an attempt to prevent service of a lot of non-powertrain components, considering that the Tesla owner in the article got a letter for connecting just to the ethernet port.

comment 10y ago · link · parent

>The miners are supposed to accept the "tallest" chain.

The tallest valid chain. A chain with block sizes exceeding the max won't be considered valid.

comment 10y ago · link · parent

Someone actually created something like that using proof-of-stake (proof of controlling Bitcoins): http://bitcoinocracy.com/

comment 10y ago · link · parent

Well, Bitcoin is even less democratic than that - all of the rules were set by only one person, Satoshi Nakamoto. Bitcoin Core has since added additional constraints (which get voted on by miners), but has only in one case ever relaxed any constraints (a fix to a database bug, which was universally uncontroversial).

comment 10y ago · link · parent

Yeah, this particular mess has been exacerbated by Reddit being a terrible technical discussion forum, and it's tendacy to "hivemind".

Also your history forgot "Bitcoin Unlimited", a fork which had a brief stint of popularity between Bitcoin XT and Bitcoin Classic. IMO it's the worst technical design of the three - it simply fails to enforce the block size limit, which would lead to very high orphan rates if miners started to adopt it. The other two had miner voting systems to avoid this problem.

The best technical discussion tends to happen on IRC, for those who want to ask questions and not deal with Reddit.

comment 10y ago · link · parent

It means that WebRTC can interoperate with legacy equipment without transcoding.

comment 10y ago · link · parent

x264 was and is a very good encoder for H.264, but it sounds a bit extreme to say that no one can ever beat it - real time streaming was never its primary use case. I think the real lack of motivation to improve it is because most of the interest is now in newer video formats, like VP9. Also, many of the developers of x264 were paid by the commercial licensing program, so I wouldn't say it didn't have any financial motivation.

Also, I'm proof that x264, in fact, does not have a monopoly on Touhou-playing video codec developers :)

comment 10y ago · link · parent

You are right, it's not a good idea for anything other than video conferencing because of being Baseline only. I don't think that makes it "terrible" - WebRTC is only video conferencing.

That said, both Firefox and Chrome prefer VP8.

comment 10y ago · link · parent

Well, they need some H.264 encoder. Maybe they didn't want to buy the commercial license for x264. And OpenH264 is already battle tested in Firefox.

comment 10y ago · link · parent

That's not actually what it means at all. youtube-dl doesn't reencode, it just remuxes the audio and video streams back together. You could do this in JS already.

comment 10y ago · link · parent

The article doesn't actually answer that, but it does point out some odd choices that make it suboptimal even in Chrome.

comment 10y ago · link · parent

I had no problems with the first Raspberry Pi and a fiio e10k USB DAC.

comment 10y ago · link · parent

They use nonstandard APIs, and send data over the network in a way incompatible with WebRTC. This post is a bit old at this point but afaik the situation hasn't changed: https://webrtchacks.com/hangout-analysis-philipp-hancke/

comment 10y ago · link · parent

Yeah, I've seen a number of projects screw up with that library. Some of the StdPeriph library was later released as "Cube" under the 3 clause BSD, so it might be easy to switch to those versions.

I use libopencm3 and it works great, but will be some work to port as all the APIs are different. Too bad no one looked at this in the initial port from Arduino.

comment 10y ago · link · parent

I can't tell if this is sarcasm or not, but I appreciate it either way.

comment 10y ago · link · parent

They're called weeaboos.

comment 10y ago · link · parent

Hot off the presses: https://bitcoincore.org/en/2016/02/26/zero-knowledge-conting...

comment 10y ago · link · parent

This doesn't really reflect my experience at all with the RPi 2. The edimax or official wifi dongles "just work" with NetworkManager.

With the early RPi it was a bit different because of USB power problems and kernel bugs, but those are mostly solved.

comment 10y ago · link · parent

The FCC was mostly concerned about DFS in that case, which only applies to the 5GHz spectrum, and is only applied by the AP in a wireless network.

Note that if you have a 5GHz wifi dongle, you'll see that the Linux regulatory framework will disallow running it in AP mode for this reason - almost all lack DFS.

comment 10y ago · link · parent

Most patent encumbered codecs have patents worldwide, including in most EU countries. Go to the MPEG-LA website and take a look at the patent lists if you're curious.

comment 10y ago · link · parent

The copyright and patent issues involved with those packages are still valid in other countries though.

comment 10y ago · link · parent

Don't worry, as a Prime member they just replace that nag screen with one to watch Prime Video.

comment 10y ago · link · parent

Opus is mandatory for WebRTC, so presumably. That doesn't necessarily mean support for ogg opus in audio tags, though.

comment 10y ago · link · parent

VNC passwords are limited to 8 characters in length.

comment 10y ago · link · parent

Right, but it's also hard to define the "majority" and "minority" coin here. You could define "majority" based on "most hashpower", but say that chain is being mined exclusively by the 3 largest China-based miners, would it still be considered the most valuable? Or maybe only by one miner, like when ghash.io was over 50%?

If the exchanges don't support the concept, it'll still at least be up to the user to figure out which chain the exchange is on.

comment 10y ago · link · parent

No, the miners don't decide what Bitcoin is. If a miner produces an invalid block, other Bitcoin nodes will reject it.

It's true that the recent hard fork proposals have keyed off miner voting, but they wouldn't have to - they could just activate at a certain time, block height, strawpoll vote API, or whatever.

comment 10y ago · link · parent

Well, so far none of the chain forks have been accepted by the network, so I wouldn't call it dead yet.

It really isn't a democracy - there is no method to force the minority into the majority's will. If a controversial chain fork happens, there will now be two Bitcoin currencies. Those on the original chain won't be forced to switch.

1
212223
40