Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 5y ago · link · parent

> Every single one is a special snowflake with its own special way to boot

Eh, the majority of embedded crap comes with U-Boot (sometimes built without EFI support but always with Linux image support, at least).

comment 5y ago · link · parent

Huh, I've only ever heard of MST in the context of too-high-res displays o_0 Never heard of raw DP supporting daisy chaining, I thought only Thunderbolt does that.

comment 5y ago · link · parent

The code of the webview is made by Apple, it's part of the OS – so it doesn't abide by App Store rules.

comment 5y ago · link · parent

The built-in Windows Defender is absolutely painful on low end machines. Yours should be absolutely fine, but on a 2010 macbook with an ancient core2duo and 2gb ram, it's very noticeable.

comment 5y ago · link · parent

Yes, "Apple Silicon" is the marketing name for macOS/ARM64.

(Why did 3 other people interpret this comment as saying something about iOS?!)

comment 5y ago · link · parent

"does firefox use llvm to compile" is a very weird question that can be interpreted in a variety of ways :D

Seems your interpretation is "does Firefox require any LLVM based compiler to compile?" and yeah. But "does Mozilla use clang for official builds?" is another valid way to parse the question.

(Mozilla does use clang, and they even do cross-language LTO thanks to that: https://blog.llvm.org/2019/09/closing-gap-cross-language-lto...)

comment 5y ago · link · parent

QML is generally faster, especially on high resolution screens, as it's rendered with the GPU.

comment 5y ago · link · parent

> Android gave up trying to fix all of the byte ordering problems and so many of the apps fail to execute correctly

What byte ordering problems could affect x86??

The only big endian platform Android was ported to was MIPS.

Maybe what you're seeing is apps with native components that are only compiled for armv6/7.

comment 5y ago · link · parent

With scripting runtimes like ruby and python, it's already kind of "Debian mode", with a system-wide location for packages. With compiled languages that really prefer to statically link stuff written in that language (rust, go, etc) it's really not feasible.

In FreeBSD Ports we have a very pleasant solution for packaging rust apps. You just run `make cargo-crates` and paste the output into the makefile – boom, all cargo dependencies are now distfiles for the package.

comment 5y ago · link · parent

If you only need to VLAN-tag the 4 ports on that one device, you can do it with like… about literally anything? e.g. an Archer C1750 with OpenWRT does that easily.

The benefit of UniFi is that you can centrally control a bunch of switches. It's definitely overkill and overpriced if you just want an all-in-one.

comment 5y ago · link · parent

Protectli seems to be a US company rebadging these Chinese devices. But apparently also putting coreboot on them now, which is nice. I wonder if their coreboot board configs are open source.

comment 5y ago · link · parent

Other comment seems to imply that only Unifi Protect really requires an account, not any of the networking functionality

https://news.ycombinator.com/item?id=25737660

comment 5y ago · link · parent

Wireguard has been merged into upstream FreeBSD almost a couple months ago.

comment 5y ago · link · parent

> connecting to a 10G Ethernet switch via copper or direct-attached SFP+

> RB-4011 was a perfect fit

Huh, isn't RB4011 the one with the very weird "you can't use a DAC in the SFP+ port" limitation?

> haven’t explored their WiFi products yet

They seem extremely underwhelming, especially in terms of software support :(

https://help.mikrotik.com/docs/display/ROS/WifiWave2 — they're finally barely rolling out WPA3, MU-MIMO/beamforming, 802.11w — in an optional beta package for a beta version of the OS, currently on 4 devices, breaking 2.4ghz on one of them, and breaking CAPsMAN (centralized management).

comment 5y ago · link · parent

It's literally just the birthday paradox. You get collisions very quickly for 32-bit numbers. This test finds collisions on Intel too.

comment 5y ago · link · parent

Hm. scuttlebutt, which is also a system with "off-grid" considerations, has built-in support for tor https://handbook.scuttlebutt.nz/faq/misc/tor

comment 5y ago · link · parent

In embedded SoCs the GPU is typically "render only", and display is handled by a different hardware block ("display engine" etc), and of course both CPU and GPU can write to it. Well that's even true in desktop GPUs but it's just tightly coupled there, both blocks are on the same PCIe device so the support is in one driver.

From the iPhone 7 Linux port we know that Apple is nothing special in terms of this (they have framebuffer working there)

comment 5y ago · link · parent

At least __attribute__((ifunc(..))) is common between clang and gcc. (E.g. no compiler conditionals are used in https://cgit.freebsd.org/src/tree/sys/arm64/include/ifunc.h) The fancier high level stuff that automatically compiles multiple versions of a function, I'm not sure.

comment 5y ago · link · parent

Altivec is regular SIMD like NEON or SSE/AVX

comment 5y ago · link · parent

I really like the transflective screen of the Pebble Time watch. I wish I could get a transflective monitor :D

comment 5y ago · link · parent

> an obscure niche

Are e-readers really obscure? Seems like a pretty big market.

comment 5y ago · link · parent

Building a corporate product like PlayStation is nothing like using FreeBSD in a "freedesktop community" way.

i.e. Sony has custom everything, including input stack.

comment 5y ago · link · parent

They probably won't use DDR-on-package for Mac Pro tier chips, so RAM could be whatever they want, they could put an 8-channel DDR4 controller onto the SoC, or even DDR5 if they don't rush it to market ASAP.

But it would be cool if someone did a tiered HBM+DDR system already.. (AFAIK Fujitsu A64FX is HBM-only) maybe the Mac Pro could be that. I kinda wish AMD did that though.

comment 5y ago · link · parent

Apple is super fucking rich, I wouldn't be surprised if they are ready to pay TSMC enormous money to make monster monolithic dies, and Mac Pro could be single-socket only, packing >128 cores into one socket.

comment 5y ago · link · parent

> fat connection to memory

It's the same "thickness" as desktop (or good laptop) DDR4, i.e. 128 bits. Apple is running a very high clock though, and with other manufacturers, even for laptops with soldered memory they were quite conservative with memory tuning, basically running JEDEC spec. Maybe now they'll feel the kick in the ass and overclock their RAM already.

comment 5y ago · link · parent

RISC-V is just an ISA. How exactly can it popularize the already extremely popular idea of shoving a bunch of peripherals onto a SoC?

> RISC-V was designed in a way to accommodate such co-processors, with limited instruction sets that make its CPU design simpler

This only affects the extremely tiny embedded space, only under the most extreme constraints you have the "simpler ISA → simpler CPU core design → more space on the silicon for coprocessors" thing.

For a general purpose high performance SoC, you don't want a simple CPU design, you want a fast CPU design, and you have space for all the coprocessors you want anyway.

Other than "being simple", there's nothing an ISA has to do with coprocessors. There's nothing ISA-specific about having memory-mapped peripherals.

Adding custom instructions directly to the CPU ISA instead? That's not exactly coprocessors, that's more like modifying the main processor, it's annoying (fragmentation) and Apple for some reason was allowed to do it with Arm anyway >_<

> Intel and AMD processors currently don't have these specific units integrated with their CPU

Of course they have GPU, video encode/decode, "secure enclave" (fTPM).

There's even an ISP on some Intel laptop chips: https://www.kernel.org/doc/html/v5.4/media/v4l-drivers/ipu3....

Neural thingy.. I'm happy not to pay for one :P

comment 5y ago · link · parent

Reasonable, but not exciting. Cortex-A72 is quite old by now. Just compare EC2 a1 instances vs. the newer ones.

comment 5y ago · link · parent

Anything that's SBSA compliant (supports ACPI, basically)… and ready to run on a massive machine with (for some reason) very sparsely populated huge physical memory address space.

https://github.com/freebsd/freebsd/commit/d7704f9e75aafd312a... https://github.com/freebsd/freebsd/commit/5786fe85813a411327... https://github.com/freebsd/freebsd/commit/3ef92b2f0a0ff3f101... https://github.com/freebsd/freebsd/commit/1f181d2512f60098ed...

comment 5y ago · link · parent

Uses fucking AWT for windowing (so no Wayland support), uses a hardcoded list of platforms like "linux amd64" (gonna be a huge pain in the ass on BSD/ARM), so rather disappointing from a unix perspective. Of course commercial app developers don't care about any of this, sadly.

comment 5y ago · link · parent

Looks like iOS still has zero support for webm :/
1
222324
97