Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

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

Submissions

comment 7y ago · link · parent

I wonder if they could have used something like petitboot? That way they don't depend on Pi4 firmware for netbooting. It does require a sd card, but it's read only and tiny.

comment 7y ago · link · parent

There are a lot better websites to ping for this, that are used for captive portal detection. E.g. Chromium uses http://clients3.google.com/generate_204 and Firefox uses http://detectportal.firefox.com/success.txt.

comment 7y ago · link · parent

Right click the video and choose Stats for Nerds. If Codecs shows something starting with "av01", it's AV1 (confusingly, av1c is H.264). It seems to be chosen for nearly every video for 480p or below, and a few for higher resolutions.

comment 7y ago · link · parent

It's enabled on Linux on 67+ (currently Beta).

comment 7y ago · link · parent

You could add this to the standard library in the future. There is already the 1d version of this (slices). But you don't need to - it would be perfectly fine to live on its own.

comment 7y ago · link · parent

It's a permanent magnet motor. It's an IPM design so some amount of the torque comes from reluctance, but the majority of the efficiency is from the permanent magnets providing the field rather than having to burn energy through the induction motor's copper bars to provide it.

comment 7y ago · link · parent

Verilator is only a simulator, once you want to run it on a fpga you use yosys + nextpnr. The icestick is a popular and cheap choice to get started, there is also the TinyFPGA BX and iCEBreaker if you would like a few more features.

comment 7y ago · link · parent

One cool thing you can do with Verilator is use the API to simulate other hardware. For example, here's a Verilog Gameboy being simulated realtime by simulating the display attached to it: https://twitter.com/zephray_wenting/status/11126917323936645...

comment 7y ago · link · parent

The GP shows both avc1 and av01, the latter of which is AV1.

comment 7y ago · link · parent

Firefox Nightly switched to dav1d, which for many users is only going to use a fraction of their CPU. https://code.videolan.org/videolan/dav1d/issues/15#note_2345...

It will still be a measurable difference if you are watching hours of video, but for the gif replacement that this site suggests, it's negligible.

comment 7y ago · link · parent

ST fixed their STM32Cube licenses so that most of it is BSD licensed, but yeah I also agree that libopencm3 is great. ST has good datasheets that allow anyone to easily create their own HAL or set things up directly if needed. There's also HALs for other language, such as Rust.

comment 7y ago · link · parent

The (optional) GPU is a Vivante core, which is great because it's supported by free software drivers and Mesa support. Given the generally good free software support that ST gives, plus the mainline Linux support landing over a year early, this looks like a pretty fun part to play with.

comment 7y ago · link · parent

AV1 also uses the brand new media codec sandboxing feature (RDD process). It has platform specific code, hence why only Windows was ready by 65 (but Mac + Linux should be available soon).

comment 8y ago · link · parent

The site is actually a bit out of date, the ECP5 bit (Project Trellis) and nextpnr are already working:

https://github.com/YosysHQ/nextpnr

comment 8y ago · link · parent

You either write an entire separate asm function, or use macro utilities to ifdef portions of the function. See for example: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcod...

comment 8y ago · link · parent

Nitrokey, the manufacturer of the Librem Key, has a U2F key available for preorder.

comment 8y ago · link · parent

Already done. Check out a-frame: https://aframe.io/

Bonus points for doing it in Firefox Reality or another VR browser.

comment 8y ago · link · parent

Yeah there is, if you go to some of the sites on the home page there's an "enter VR" button, where the site does the equivalent of fullscreen for VR (it enters VR mode and it's much like a VR app).

139.

Firefox Reality Now Available(blog.mozilla.org ↗)

301 points · by TD-Linux · 8y ago · 136 comments

comment 8y ago · link · parent

It's not an Open Source license either, violating criteria 5 and 6 of the definition. https://opensource.org/osd-annotated

comment 8y ago · link · parent

The MIT license has no restriction on applying additional restrictions, without the permission of the contributors. For example, MIT licensed software can be used in proprietary software.

comment 8y ago · link · parent

The article doesn't say that 1 human = 100GB anywhere. It does say a reference genome is ~1GB, which sounds similar to a zipped FASTA.

500k humans would make this 400TB of data. Really not that much, especially compared to the $500 million dollars it would take to sequence all those humans at $1,000 each.

comment 8y ago · link · parent

This article totally failed to justify why compression algorithms are so important for this application. How big is the human genome, how much can we compress it by, and why does this matter?

I took a look and zipped FASTA files are about 800MB. Large, sure, but people are streaming Netflix movies far bigger than this every night.

It's really hard for me to see the MPEG-G effort as anything but a money grab for compression patents and licensing.

comment 8y ago · link · parent

I'm disappointed this didn't launch with the i7-8809g as was rumored - having an AMD GPU would be far better for a Linux machine.

comment 8y ago · link · parent

Virtually all of the consumed memory is from the reference frames, so it depends on how big your video is. AV1 supports up to 8 reference frames, though if you're memory constrained you could use less.

Different encoders produce different outputs, the algorithm isn't specified.

comment 8y ago · link · parent

I actually had a realtime rav1e demo running, with some modifications. There's nothing inherently less realtime about AV1 than, say H.264.

comment 8y ago · link · parent

AV1 isn't just for 4K, though. Netflix recently showed a demo of 720p AV1 at only 200kbps. It should massively improve the low end - in fact, maybe the low end first because lower resolution streams are the fastest to encode.

comment 8y ago · link · parent

The AI services are accessed through a built in LTE modem. So you can't really filter it even if you wanted to.

comment 8y ago · link · parent

None, so a separate FEC can still be useful. You can use FEC like described in the article with WebRTC: https://tools.ietf.org/html/draft-ietf-rtcweb-fec-08

comment 8y ago · link · parent

fMP4 has an index for each chunk, so you have to buffer the whole thing to create the index on the writing side. However, with DASH you do have the option for WebM as well, which does not need and index and can be streamed. Or really small fMP4 segments work too.
1
456
40