Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 8y ago · link · parent

If 'python' is 3, I'd expect 'pip' to be for 3, and 'pip2' for 2.

comment 8y ago · link · parent

C/C++ compilers support multiple versions of the standards at the same time. You can compile one file with -std=c++98 and another with -std=c++17 and link them together just fine.

Rust is now doing the same thing with editions.

Perl has 'use VERSION', but I'm not very familiar with it, not sure if e.g. new keywords only become available with that statement. The docs say 'use VERSION also lexically enables all features available in the requested version…'

comment 8y ago · link · parent

Arch Linux has been shipping Py3 as the default python for a long time…

comment 8y ago · link · parent

webauthn is the in-browser API that allows using existing U2F keys, new "FIDO2" keys, built-in "secure elements" / TPMs, and whatnot.

FIDO2, according to https://fidoalliance.org/fido2/ , is the overall project that includes both WebAuthn and CTAP — the latter being the new protocol for talking to the keys.

comment 8y ago · link · parent

> An exception to the rule that GPUs require a host is the NVidia Jetson, but this is not a high-end GPU

Well, the host is just on the same die, but it's still there

comment 8y ago · link · parent

8-core Ryzen is a huge upgrade from an Intel U and doesn't cost nearly as much as 16- and 32-core machines

comment 8y ago · link · parent

You could mount a HiFive Unleashed into a rack case I guess. It's not a standard form factor though, so you'd need some custom mounting hardware (or, well, hot glue :D)

comment 8y ago · link · parent

> you can buy it right now for a known public price

Huh, the HiFive Unleashed has a "buy now" button on the website. I thought it's still in crowdfunding stage. Nice.

> almost to this day

PINE A64 was kickstarted in december 2015 with a known public price of $15. The RPi3 and SoftIron Overdrive 1000 appeared in 2016, SolidRun MACCHIATOBin in 2017, and various Rockchip RK3399 boards (and Chromebooks!) are shipping this year.

Oh, and you could buy an iPhone 5S back in 2013. No standard peripherals on that one though :D

comment 8y ago · link · parent

Nah, certainly not the first. Lots of software was ported to AArch64 before any chips existed, only ARM's "Foundation Model" (a rather slow emulator).

comment 8y ago · link · parent

Servo is "one of these based on servo" :) Of course the embedding stuff is WIP just like Servo itself, but here's a few examples:

https://github.com/paulrouget/servo-embedding-example https://github.com/paulrouget/servoshell https://github.com/antoyo/servo-gtk

comment 8y ago · link · parent

More importantly, being lower-level reduces opportunities for driver bugs and inconsistencies — aren't they the main reason GL(&ES) and D3D(<12) are bad?

comment 8y ago · link · parent

I guess they don't count CPU instruction based accelerators like AES-NI as accelerators?

comment 8y ago · link · parent

Oh, right, I didn't even think about that meaning since we're not in the context of proprietary software. I'm 99.99% sure it's just "from scratch" here.

comment 8y ago · link · parent

Is it 32-bit or 64-bit?

comment 8y ago · link · parent

> The original Clang/LLVM runtime is written in C++ with features that are not available in libc and in the NetBSD kernel

comment 8y ago · link · parent

Zen 1 already implements AVX2 properly.

It doesn't have 256 bit wide units, so it's 2 clock cycles instead of 1… but that's actually good. Intel's 256 bit units cause horrible downclocking issues: https://blog.cloudflare.com/on-the-dangers-of-intels-frequen...

What even is "SSE speeds"?!

comment 8y ago · link · parent

> They start at about $350 and go up from there

That's an excellent deal compared to the Talos POWER9 boards :)

comment 8y ago · link · parent

EPYC fixes the problem by having 8 channels. All cores have direct access to DDR.

comment 8y ago · link · parent

> enormous 4094-pin TR4 socket

A lot of these pins aren't used on TR, since you only get half the memory controllers you'd have with EPYC

comment 8y ago · link · parent

That option makes the PSP invisible to the running OS, but no one knows what is left running on the PSP.

comment 8y ago · link · parent

Is anyone going to develop custom firmware / jailbreak for the vulnerable printers?

comment 8y ago · link · parent

> Partial borrow

Yeah, that's the annoying part of Rust :(

> I can't use my non-thread-safe classes in a lazy_static

Well, you can, if you wrap them in Fragile/Sticky from https://github.com/mitsuhiko/rust-fragile :)

> PhantomData is awkward, it absolutely sounds like something the compiler should handle, not the programmer

This is quite common in Haskell (called Proxy there), for different reasons (not for lifetimes since there are none — but for passing type-level stuff around calls), but because of that, it feels completely natural to me.

comment 8y ago · link · parent

> De-Googled Android is possible but it isn't a great experience

All I need from Google is the push notifications, so microG provides a great experience for me…

comment 8y ago · link · parent

It's just that not many non-UWP apps are natively compiled for aarch64 yet.

VLC, for example, is available: https://www.videolan.org/vlc/download-windows.html

comment 8y ago · link · parent

ZFS developers like to do this with hard drives :) But how did IBM do that with RAM? Do mainframes have… redundant RAM? Like literally sticks mirroring others?

comment 8y ago · link · parent

Sure, you don't get your own secure boot, but the point is, it's not "omg apple lockdown no third party OS possible at all"

comment 8y ago · link · parent

Current RISC-V chips are still proprietary, it's only the ISA that is free.

As for firmware, that's already pretty open with ARM.

You can boot a Tegra X1 (Google Pixel C, Nintendo Switch) without any blobs with coreboot. (You still want one tiny blob — DDR4 training stuff — if you want your RAM not to be super slow.)

Allwinner and Rockchip platforms also tend to not have blobs, at least not user visible/modifiable ones.

You can even boot a Raspberry Pi without blobs https://github.com/christinaa/rpi-open-firmware (but without usb/ethernet/etc.)

comment 8y ago · link · parent

> then I remind myself that I would have no time for it

The best (worst) is when you actually have time, but instead of playing all this stuff from humble bundles and sales, you just keep playing Overwatch…

comment 8y ago · link · parent

heh, reminds me of Tarsnap's picodollars

comment 8y ago · link · parent

> some serious hacking

I guess "Reboot into Recovery, Open the Secure Startup Utility and allow booting from external media and Set it to No Security" counts as serious hacking now :)

1
565758
97