Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 7y ago · link · parent

Depends on how many pixels there are in total. I have two blue pixels on my 4K 28" display… if I'm able to see them, that means I'm sitting too close :D

comment 7y ago · link · parent

OpenBSD presentation slides are done in Comic Sans… but it's hard to say if it's far from appropriate there, or actually 100% appropriate.

comment 7y ago · link · parent

Not everyone buys the implementations, I specifically listed multiple non-Cortex ones. Cavium/Marvell ThunderX, ThunderX2 (Broadcom Vulcan), Qualcomm Centriq (press F for Falkor), Ampere eMAG (Skylark), all current Apple stuff, are all very different custom implementations.

TX2 in particular has a fascinating history: https://en.wikichip.org/wiki/cavium/microarchitectures/vulca...

comment 7y ago · link · parent

It's been already happening with ARM. Clang has tune flags for cortex-$generation, thunderx, thunderx2 (vulcan), (not upstream yet) emag…

and regular distributions ship generic just like on amd64 :)

comment 7y ago · link · parent

> a defense of corporations and capitalism, with a bit of nationalistic pride sprinkled in

About what you should expect from that awful publication.

comment 7y ago · link · parent

Just like all software, there's a lot of Free Software fonts and that's not incompatible with money.

For example, back in 2012, I supported three SIL OFL licensed fonts on Kickstarter:

https://www.kickstarter.com/projects/typesenses/font-design-... https://www.kickstarter.com/projects/impallari/fast-brush-sc... https://www.kickstarter.com/projects/marcelommp/folk-is-a-gr...

comment 7y ago · link · parent

I don't know where you found MD5, most PKGBUILDs have `sha256sums` in them.

Package signing is (hot take!) overrated and can be somewhat theater. It helps if your package manager connects to third party mirrors, but otherwise, the only threat it protects against is "the https server is compromised but the package build farm is not". I don't know why anyone would worry so much about that.

comment 7y ago · link · parent

Is that significance also counted on Google scale? :)

comment 7y ago · link · parent

Well, Rust is closer to C++ than Lisp :)

If you look at the API https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-R...

it works on the level of raw tokens, not even the AST. So you have to construct your own AST via the parser if you want to manipulate AST.

comment 7y ago · link · parent

How is a domain not a pseudonym? With WHOIS Privacy + not even providing your full accurate identity to ICANN in private either :)

comment 7y ago · link · parent

Huh? D metaprogramming is much closer to "normal code executed at compile time".

Rust procedural macros are like external tools, manipulating the AST as a structure. In D, compile time code is seamlessly interleaved with other code – you just have `static if`, `static foreach` etc. in your code.

I'm not sure what you mean by "new pseudo-language to work with mixins". The term "mixin" is unfortunately overloaded: the `mixin()` call just splices a string into the code, while `template mixin` is a way to expand a template where you want it. Neither introduces new complex structures.

comment 7y ago · link · parent

Unfortunately, these restrictions make it hard to implement F# style Type Providers. Though honestly the filesystem one is not nearly as annoying as the inability to reinterpret-cast.

comment 7y ago · link · parent

> Counter-intuitively, AWS makes it very easy to do this! They publish and continuously update a list of IP ranges

It's not like any legitimate company could keep their IP address ranges private (other than by using seemingly unrelated shell companies) :)

comment 7y ago · link · parent

No one's protesting binge shopping, it's all about how Amazon treats its warehouse workers (spoiler: horribly). The first link of the article says

> in solidarity with striking workers in several fulfillment centers in Spain

comment 7y ago · link · parent

Or watch YouTube and play videogames :D

(preferably indie ones, the "AAA" game industry is about as bad as hollywood)

comment 7y ago · link · parent

Academic research :)

And personal FOSS projects of course.

comment 7y ago · link · parent

It's not like anyone is forced to use their distro. It's newbie-oriented and extremely annoying for Unix geeks anyway (Debian base with its always-outdated packages, etc)

You don't even have to run Linux at all. FreeBSD/aarch64 works great on a Pi3 (as a headless server at least, VC4 is not ported)

comment 7y ago · link · parent

VC4 works great in 64-bit, I've had WebGL running on some browser under Weston on ArchLinuxARM on a Pi3. I would expect V3D (VideoCore 5/6) to work out of the box on 64-bit too. Mesa very rarely introduces any unportable code – e.g. RadeonSI pretty much just works on FreeBSD/aarch64 :)

comment 7y ago · link · parent

GTK works great with Python (like with most scripting languages really).

comment 7y ago · link · parent

> Working 3D acceleration is another story

Why? I recently enabled amdgpu on FreeBSD arm64 — as soon as KMS happened, 3D just worked. There was some buffer corruption (https://user-images.githubusercontent.com/208340/60443774-97...) for which I've had to cherry-pick this tiny Linux patch: https://patchwork.kernel.org/patch/10778815/

> packages for chromium browser on arm64

And we have Firefox, which doesn't break, has a working JS JIT, works on Wayland, renders with WebRender :)

comment 7y ago · link · parent

Yes — "VBIOS", and these days mostly "UEFI GOP driver", is code that runs on the CPU and allows the system firmware to initialize the card and preset video output before any operating system is booted. Without it, you cannot enter the setup screen graphically, only over a serial port :D

comment 7y ago · link · parent

https://github.com/parnold-x/nasc for GTK

comment 7y ago · link · parent

You can get AArch64 in Amazon EC2 by the way… up to 16 A72 cores, which is nice.

comment 7y ago · link · parent

It's only pre-order right now, and the firmware isn't done. They promise SBSA compliance (which includes ECAM PCIe working via a generic ACPI attachment) but they haven't passed the full test suite yet. Some experts are skeptical about whether full compliance is possible on that NXP chip…

I hope the PCIe works fine. And I hope the firmware will be FOSS like on their MACCHIATObin.

One thing they revealed is that the chip is overclockable (including memory), which is awesome. IIRC they got 2.5ish GHz core clock working. Would be amazing if it does like 3GHz with a voltage boost. (I don't expect software voltage control… but there's always hard mods :D)

comment 7y ago · link · parent

Yep, the "hack" (X86EmulatorPkg) allows running the card in the UEFI out of the box. AMD also provides native aarch64 builds of their UEFI GOP driver though. And none of this is necessary for running the GPU in the OS – amdgpu POSTs the GPU just fine.

> memory-cacheability-attibutes issues

Recently I've added aarch64 support to FreeBSD's port of the DRM/KMS drivers :) Took a couple hours to realize that our implementations of Linux's mapping functions used normal uncacheable memory instead of device memory – fixing that stopped the hangs on driver load and allowed everything to work.

Then there was some corruption on the screen – our drm-kms is from Linux 5.0 for now, and I've had to cherry-pick a fix that only landed in 5.1 I think: https://patchwork.kernel.org/patch/10778815/

comment 7y ago · link · parent

You don't need X, and I wouldn't assume its remnants of userspace mode setting would work on non-x86.

The amdgpu kernel driver POSTs the GPUs when loaded just fine! I run an RX 480 on a MACCHIATObin with FreeBSD and Wayland only :)

Plus, there are two ways to get the GPU in UEFI already – X86EmulatorPkg and native aarch64 GOP driver builds provided by AMD.

comment 7y ago · link · parent

VBIOS is often not necessary for running a GPU in the OS. The amdgpu driver can POST a GPU by itself just fine.

Still… X86EmulatorPkg allows running an amd64 VBIOS in UEFI on an aarch64 machine :)

AFAIK the bigger problem on embedded boards is half assed Synopsys Designware host controllers. I have a Radeon running on my Marvell MACCHIATObin, on FreeBSD even. But from what I've heard the Rockchip RK3399 has a worse version of the controller, and people trying GPUs on the ROCKPro64 saw errors related to not large enough BAR space or something.

UPD: yeah, someone in the thread mentioned BAR space issues wrt NXP i.MX SoCs, that's probably what's happening on Rockchip. Would be amazing if the Broadcom chip in the Pi turns out to be the one with enough BAR space! :D

comment 7y ago · link · parent

Yeah. Though rsync is not the most option-rich program ever. What really needs GUI is... ffmpeg! :)

comment 7y ago · link · parent

Yes, of course. It uses X25519 which is an elliptic curve Diffie-Hellman exchange.

comment 7y ago · link · parent

It's not equivalent in any way. Bouncy Castle is a kitchen sink library that provides everything except for a high-level, modern construction based, idiot proof secret_box/crypto_box/crypto_sign API.
1
414243
97