HNHacker News
TopNewBestAskShowJobs

TD-Linux

4,829 karma · joined January 31, 2014

submissionscomments
TD-Linux··on NNCP: Lossless Data Compression with Neural Networks (2019)
As long as the initial state of the network is fixed, the compressed output will be identical every time.
TD-Linux··on TI-84 Plus CE Python Graphing Calculator
They removed the ability on some of their newer calculators, after you made that repository. E.g. the TI-84 Plus CE: https://www.theverge.com/2020/5/27/21271625/texas-instrument...
TD-Linux··on Web developer's guide to AVIF images
libavif (and the libraries that back it) have a speed parameter to control the CPU/quality tradeoff. Have you tried tweaking that and seeing if you get acceptable speed?
TD-Linux··on Web developer's guide to AVIF images
The difference between the AOM license and React license is that the React license terminates if you sue Facebook for any patent infringement, whereas the AOM license only terminates if you sue an AOM user for an AV1-related patent.
TD-Linux··on Web developer's guide to AVIF images
AV1 has some support for progressive images as well. It hasn't been used much in AVIF yet, though there are a couple of PRs that contain some sample images encoded progressively: https://github.com/AOMediaCodec/av1-avif/pull/134 https://github.com/AOMediaCodec/av1-avif/pull/131
TD-Linux··on X11 Universal File Opener and XDG Mess
I also have 1.1.3.

Maybe what's missing is the libreoffice package? It seems like all these types are provided by /usr/share/mime/packages/libreoffice.xml on my system (which is read by update-mime-types).

Arguably this is a common enough format that you shouldn't really need libreoffice installed to have it, though I would think any other office program would have it. I think /etc/mime.types serves as the ultimate fallback, though it doesn't have entries for libreoffice file extensions on my system.

TD-Linux··on X11 Universal File Opener and XDG Mess
Is the OP's install missing a bunch of MIME entries or something? I can't reproduce the examples given for xdg-mime on Fedora 34, e.g.

  $ xdg-mime query filetype file.docx
  application/vnd.openxmlformats-officedocument.wordprocessingml.document
  $ xdg-mime query filetype file.xls
  application/vnd.ms-excel
TD-Linux··on Raspberry Pi Pico and RP2040 Microcontroller
There are a couple of FIFO "mailboxes" and spinlock registers between the two cores - I imagine they expect most of the synchronization to happen via that. It is a bit weird of a configuration though - is this the first dual core M0+? Does it count as SMP?
TD-Linux··on Ask HN: Why are 5 inch USB floppy drives so uncommon?
UFI does actually support 1.2MB! This is because many Japanese computers, like the PC-98, spun their 3.5 inch floppies at 360rpm to match the sector layouts of the 5.25 inch one. Many USB floppy drives support this - if you insert a 3.5 inch disk and format it as 1.2MB you'll hear the pitch of the drive motor change.
TD-Linux··on Firefox 80 and my confusion over its hardware accelerated video on Linux
VLC also has blocklists, e.g. https://code.videolan.org/videolan/vlc/-/blob/master/modules... https://code.videolan.org/videolan/vlc/-/blob/master/modules...

As does gstreamer (used by Totem): https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api...

TD-Linux··on Opus Audio Codec – FAQ
Doesn't seem to be the case at least in Rockbox, ATRAC is less efficient than Vorbis or MP3: https://www.rockbox.org/wiki/CodecPerformanceComparison
TD-Linux··on i8080 precise replica in Verilog, based on reverse engineering of real die
Although not based on die photos AFAIK, there is a cycle accurate SystemVerilog core. https://github.com/ijor/fx68k
TD-Linux··on Adding a fiber link to my home network
If you want thinner than normal Cat6 but can handle a bit more than 0.9mm, there is also thin Cat6 available: https://www.monoprice.com/product?p_id=34213

It's 2.6mm diameter, and I had success running it between baseboards and carpet.

TD-Linux··on Drivers who keep their windows down are exposed to 80 percent more air pollution
There's more information here:

https://www.ukimediaevents.com/publication/955cc42f/30

They said that all four tires combined lost 1.8kg, which implies they only drove 340km? Also, this is literally based on measuring the weight of the tires apparently, so how much of that became PM2.5 class particles is a mystery.

The article also mentions "track testing", which if used for the test, would easily explain the enormous material lost after a short time. Track racing is very different than highway driving...

TD-Linux··on Amazon Warehouse scam: 16TB HDD swapped for 8TB, returned for full refund
Someone did this scam even at a local Best Buy. When I returned it, they unpack it and scan the barcode on the case, but of course not on the actual HDD. (the person doing the scam didn't even do a good job, and broke some of the plastic clips in the process)
TD-Linux··on Firefox Picture-in-Picture
This pops out the <video> element, so it works on 100% of websites with one. You can use tools like youtube-dl to extract/convert a lot of websites' video to a playlist compatible with external players, but it will never have as complete coverage.
TD-Linux··on Firefox Picture-in-Picture
It can't. (on some platforms, the video ends up on a compositor subsurface, but so can many other portions of an app so trying to make a PiP feature out of that would probably not work well)
TD-Linux··on H.266/Versatile Video Coding (VVC)
https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding#P...

$0.20 for MPEG-LA, $0.40 for HEVC Advance, and "call us" for Technicolor and Velos Media. $0.99 doesn't sound far off.

TD-Linux··on ULX3S: Hackable FPGA that runs Linux on RISC-V
The Hub75 boards are great, but aren't really comparable to the ulx3s as they have extremely limited I/O options (a whole ton of output-only TTL level shifters, + 2 gigabit interfaces). Great if your project fits into those constraints, but few projects do. Plus they are only available with 25F size parts whereas the ulx3s is available with a 85F part.
TD-Linux··on ULX3S: Hackable FPGA that runs Linux on RISC-V
Yeah I also DIY'd one and it makes an excellent dev kit - the right combo of peripherals in a small footprint. It also has a lot of IO's on normal 0.1" headers so it's a good starting point if you want to stack it on top of another prototype PCB. Your blinky was actually the first code I ran on it.
TD-Linux··on Rav1e, an AV1 encoder written in Rust and assembly
Yes, there are currently 4 copies of the assembly - for AVX2, SSSE3, 64-bit NEON, and 32-bit NEON. There will likely be more as future architectures get added.
TD-Linux··on Rav1e, an AV1 encoder written in Rust and assembly
The assembly is not safe but it is used with safe wrappers. Likewise, there are some custom data structures (specifically for tiling) that are internally implemented with unsafe code (just like libstd's data structures). Fortunately the assembly bits have well defined inputs and outputs so they are testable on their own. I would love for comparably fast SIMD to be written entirely in safe Rust, but that is not possible yet.
TD-Linux··on FPGA: Why So Few Open Source Drivers for Open Hardware?
I think the article author is mixing up HLS tools and HDLs. HLS tools convert some subset of C to a hardware implementation, and thought that Chisel/SpinalHDL were converting Scala to hardware. But they are really just HDLs implemented as a DSL within Scala, much like Migen uses Python but does not execute Python code on the FPGA.
TD-Linux··on Used EV Batteries Could Power Tomorrow's Solar Farms
It is more complicated because there are more compounds to recover, and the batteries have a finer structure, but you can still do a broadly similar process.

Compare lead-acid recycling: https://www.youtube.com/watch?v=wxCFDWMPu38

To lithium recycling: https://www.youtube.com/watch?v=wxCFDWMPu38

TD-Linux··on A Future Without MPEG
That is the date of an ISO resolution to split MPEG into several separate working groups, a political decision (which doesn't disband MPEG in any way). A bit more detail: https://twitter.com/enginetankard/status/1269409381495365632
TD-Linux··on Blender 2.83 LTS
>One simple example. Click to select, press the Delete key to delete. Works pretty much everywhere. But no, Blender wants you to press X

Both of these examples work as you'd expect in Blender 2.8+. You may want to try out a new version of the software.

TD-Linux··on eBay port scans visitors' computers for remote access programs
eBay's technique does not use WebRTC at all.
TD-Linux··on Make Linux Fast Again (2019)
Fedora even enabled it by default: https://fedoraproject.org/wiki/Changes/EnableEarlyoom
TD-Linux··on Things about the new Firefox browser for Android
The address bar is pretty awful for me too. I just filed this bug: https://github.com/mozilla-mobile/fenix/issues/8837
TD-Linux··on AMD Threadripper 3970X under heavy AVX2 load: Defective by design?
I do prefer Intel's solution of slowing down over AMD's solution of crashing. I guess the good news is if this does turn out to be a power delivery related bug, it's fixable with firmware.
← PreviousPage 3 of 34Next →