Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

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

Submissions

comment 9y ago · link · parent

Anonymity and decentralization are two different things, you can have one and not the other. For example, Bitcoin and most other cryptocurrencies has decentralization (mining) but only weak anonymity (all transactions are public). The decentralization is most of the cost, but adding anonymity (like zcash) adds even more cost with larger transactions.

comment 9y ago · link · parent

You can if you have cheap electricity. The biggest downside is that you'll need ASICs, and only one company publicly sells them. Naturally, they are priced such that your margins will be hair thin.

comment 9y ago · link · parent

Do you actually need to do baseband sampling? It might be cheaper to bandpass and downconvert the received signal with an analog network first.

comment 9y ago · link · parent

But it uses the libvpx decoder, not ffvp9. https://blogs.gnome.org/rbultje/2014/02/22/the-worlds-fastes...

Also check that you're getting the same resolution on both. H.264 requires more bits, so you might be getting a lower resolution (which also takes less energy to decode).

comment 9y ago · link · parent

I don't see how VP9 hardware decoders shipping late means that H.265 wins? There's zero H.265 content on the web right now, so if anything H.265 would need to catch up. Also, the ffvp9 software decoder in Firefox is quite efficient. Hopefully Chrome will eventually ship it too.

comment 9y ago · link · parent

In fact, one is already in progress (the U500): https://www.sifive.com/products/freedom/

comment 9y ago · link · parent

The OP one seems to be different - for example, it doesn't list stb_vorbis.c.

comment 9y ago · link · parent

GPU drawing can still be faster than on the CPU, and you can do that with Wayland, by directly opening the DRM device (/dev/dri/render*) and sending the rendering commands directly to the GPU. This is how Mesa implements OpenGL on both X and Wayland. The X way requires you to send XRender commands to the X server first, and then it sends them to the GPU. This was already too slow (hence the already existing bypass for OpenGL) and Wayland just extends that idea to all rendering.

comment 9y ago · link · parent

Yes. Some applications still use the XWayland compatibility layer, so they can snoop on each other, but not on Wayland apps. I think the only XWayland-using app that Fedora ships with is Firefox.

comment 9y ago · link · parent

And it's also not GPL, which means that vendors will be able to create fully proprietary versions of it. Yay?

comment 10y ago · link · parent

This is one thing that Stratasys totally missed out on. They are heavily reliant on support material and other consumables, which is great for making arbitrary shapes but not for cheap production.

comment 10y ago · link · parent

I still frequently end up crawling back to OpenScad. It is often quicker than the rather click business of setting up constraints. Just don't ask me to make a rounded corner in it.

comment 10y ago · link · parent

It obviously can't work for a lot of applications on its own. Another limitation is that blocks are only every 10 minutes, so you're at an hour wait for the recommended 6 confirmations.

Worst case, you could imagine most Bitcoin trading going through something like Paypal, which would have some advantages over USD (you can't print Bitcoin) but many obvious disadvantages.

Better though, Bitcoin has a built in scripting language that lets you implement more complicated logic on top. The lightning network is one way to do that, which coalesces payments into only a few on chain transactions, and allows instant confirmations, with the tradeoff that nodes must remain online part of the time (compared to Bitcoin where nodes never need to be online, other than to receive and send transactions).

comment 10y ago · link · parent

An easier solution would be to enable e10s. It should be on by default in the next ESR, and I know TBB has been working to make their patches compatible with it.

comment 10y ago · link · parent

Yeah, even with the Opus application I mentioned, 320Mhz is way overkill - 50Mhz would have been plenty. It kind of seems like for some reason they were able to get a modern process, but only a really tiny die. It's pretty interesting that Open-V made the same tradeoff - 160MHz, but only 8KiB of RAM shared between code and data (with no memory mapped SPI flash).

comment 10y ago · link · parent

Too late to edit, but I meant to link to this page, which is more specific about this chip's implementation: https://dev.sifive.com/documentation/freedom-e310g-0000-manu...

comment 10y ago · link · parent

Yeah, bit banging I2S would be gross. You could, however, use the PWM outputs for audio as long as the requirements aren't too strict. And of course, you could always implement it with extra hardware. Hoping for I2S on the next version :)

comment 10y ago · link · parent

The limitation that I referred to (same as open-v) is that it's very difficult to get IP for embedded NVRAM, and requires more complicated processes. So this seems like the next best option. Yes, misses are going to be very expensive, but I'd rather have icache than manually paging code (plus you can use the 16KiB internal RAM for tight timing loops). More RAM would of course be better, but probably not the first thing I would add in the next revision (that would be more peripherals).

Also note that Quad SPI flash is 4 bits wide, and is NOR flash.

comment 10y ago · link · parent

Firstly, https://xiph.org/~xiphmont/demo/neil-young.html

Secondly, even if you did want to process at 96kHz, you'd have plenty of CPU left to do so. It's only 2x as intensive as 48kHz (this is a 32 bit CPU so using 16 bit vs 32 bit math is mostly the same, sans DSP instructions) and that amount of headroom is likely available, for example: https://www.rockbox.org/wiki/CodecPerformanceComparison

Thirdly, the article you linked talks about high end DACs but says nothing about the DSP on the card, other than that it has one, for doing... something (?)

comment 10y ago · link · parent

That speed is quite enough to do audio processing - you can run Opus easily on those microcontrollers. Many other audio processing tasks are simpler. AC97 chips are basically DACs/ADCs, and do no audio processing themselves, so are a bad comparison.

However, while most Cortex-M chips have an I2S peripheral to integrate with an external DAC, the HiFive1 doesn't, which might cause some difficulties. Audio out can be implemented with the PWM peripheral, though.

comment 10y ago · link · parent

I looked over the Chisel source code and the barebones datasheet [1]. This chip has a couple of unique features:

1. It doesn't have any onboard NVRAM (same limitation as the open-v). However, it does have a directly memory mapped quad-SPI peripheral and icache, which is a great alternative and might be better for applications that require a large amount of data. Note that an icache would still be required even if it had onboard NVRAM, because of its speed. You could also make swappable game cartridges, for example.

2. It has enough RAM and speed to run Opus.

3. The rest of the peripheral set is pretty barebones, no analog like the open-v has. No I2C or I2S without bitbanging, either.

4. The boot ROM has peripheral information stored in it. You might be able to have one binary that boots on different types of cores using this.

[1] https://dev.sifive.com/documentation/freedom-e300-platform-b...

comment 10y ago · link · parent

The chip linked is the E310G, which neither has a MMU or real OS kernel (same as Cortex-M). It also doesn't have most of the peripherals you listed (maybe you got it confused with their other, larger chip). It really is a Arduino competitor (though much faster).

comment 10y ago · link · parent

RISC-V has a head start - v2.0 was frozen in 2013, and j-core was first announced in 2015.

comment 10y ago · link · parent

It's quicker and easier than submitting any patches upstream. They don't care about support past product release.

Usually the SoC vendor provides the forked version, and the manufacturer forks that again, so they are twice removed from upstream. If they ever upgrade Android versions, they port all of their patches onto a new fork from the SoC vendor.

comment 10y ago · link · parent

How much are you willing to pay for it?

There's the Talos Secure Workstation, which has no such ME firmware (but costs ~$4.5k) [1].

A RISC-V desktop is pretty far out. There is an Arduino style microcontroller being made in silicon, though [2].

[1] https://www.crowdsupply.com/raptor-computing-systems/talos-s... [2] https://www.crowdsupply.com/onchip/open-v

comment 10y ago · link · parent

No need. Simple digital signatures of comments (and of their parents) would go a long way here.

comment 10y ago · link · parent

It's not the first time they've used this license: https://github.com/facebook/transform/blob/master/LICENSE

(in that case, they even used it to distribute a patch to ffmpeg, which is LGPL)

comment 10y ago · link · parent

That's partly the case, though note that in terms of Bitcoin, stock would be considered to be centralized, not distributed, as the exchange determines ordering of transactions. It's not really proof of stake because it doesn't have the problem that proof of stake is trying to solve in the first place.

comment 10y ago · link · parent

Sadly, this article is mostly just a link to the Ethereum FAQ.

It should be noted that every Proof of Stake altcoin has eventually collapsed, and there are arguments that this is inevitable: https://download.wpsoftware.net/bitcoin/pos.pdf

1
141516
40