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

https://en.wikipedia.org/wiki/QAnon

comment 7y ago · link · parent

Frama-C and Why3. Okay, maybe they're somewhat "language" projects since one is parsing C and another has its own language :)

comment 7y ago · link · parent

Naming is hard. This is possibly a nod to LibreSSL as a fork name :)

comment 7y ago · link · parent

Sounds awesome.

But calling something "Q" is a weird choice, considering a recent conspiracy theory

comment 7y ago · link · parent

No, the EFI demo uses no runtime at all

comment 7y ago · link · parent

libinput works pretty much perfectly for me, both on a Thinkpad X240 (Synaptics PS/2, FreeBSD psm(4)) and a Magic Trackpad 1st gen.

The only issue I have is that it's too conservative about starting to recognize gestures. On macOS, you can quickly transition from scrolling to pinching/rotating and it knows what you want. On libinput, you have to very deliberately stop scrolling, put two fingers into a pinch position, and start pinching.

comment 7y ago · link · parent

Are there delay slots in modern / 64-bit MIPS? I've heard they're only really present in very old MIPS

comment 7y ago · link · parent

Hm, why aren't compilers generating that instruction?

upd: apparently reasons like:

> So I guess for most of the case loading or storing i128, the data will be used by some library functions running on cores instead of NEON, so storing i128 to two GPR64 is more general.

https://reviews.llvm.org/D2344

comment 7y ago · link · parent

Bollocks. You can run at 100% load 24/7 for years, if it's not overvolted too much, it won't degrade in any noticeable way

comment 7y ago · link · parent

Their modern VPS instances use regular local drives. There is a local boot option too… but it's broken for now on the ThunderX ARMv8 instances. The docs say "will be enabled in a few days" but they still haven't done it. My FreeBSD/aarch64 install can't boot right now :(

comment 7y ago · link · parent

There's actually a whole scripting language for reading values from games' memory and extract events for timing and progress:

https://github.com/LiveSplit/LiveSplit/blob/master/Documenta...

comment 7y ago · link · parent

Fuzzing is a great use of spare CPU time…

comment 7y ago · link · parent

Because Google (even just search and mail) is extremely popular, and they ran a relentless advertising campaign, persistently telling everyone to install Chrome, right on the front page among other places.

comment 7y ago · link · parent

$269 (+ $70-100 shipping) will get you a MACCHIATObin (+ a 4GB DIMM), a mini-ITX board with four A72 cores, PCIe and FOSS firmware (https://github.com/MarvellEmbeddedProcessors/edk2-open-platf... or even just mainline TianoCore) capable of running a graphics card before the OS (thanks to qemu).

https://www.solid-run.com/product/SRM8040S00D04GE008S00CH/

$300 for a tiny Kirin 970 board with 6GB RAM.

https://www.96boards.org/product/hikey970/

$1200 will get you a Developerbox, 24 A53 cores, also PCIe and FOSS firmware.

https://www.96boards.org/product/developerbox/

£2255 will get you a 32-core Ampere eMAG workstation

https://store.avantek.co.uk/ampere-emag-64bit-arm-workstatio...

You can also order a system from Ampere directly, no public prices but they might be offering 16-core systems for less.

https://developer.amperecomputing.com/resources/

comment 7y ago · link · parent

You should use the TianoCore based firmware instead of the U-Boot it comes with. TianoCore even runs QEMU to emulate the VBIOS, so you should be able to get graphics before OS boot, like on a normal PC :)

https://github.com/MarvellEmbeddedProcessors/edk2-open-platf...

How to compile: http://wiki.macchiatobin.net/tiki-index.php?page=Build+from+...

How to run without flashing: https://lists.freebsd.org/pipermail/freebsd-arm/2018-October... (at the bottom) (tl;dr the 'bubt' command)

comment 7y ago · link · parent

Rust magic: https://github.com/Amanieu/intrusive-rs

comment 7y ago · link · parent

Thunderbolt is a horrendous piece of garbage. Not just in the sense of "we're making an internal bus external before ensuring security", but just in what it actually is:

https://twitter.com/whitequark/status/1097777102563074048

> Thunderbolt, uh, does not expose PCIe lanes directly. Thunderbolt is an MPLS-like packet switching network that can encapsulate PCIe TLPs over a PHY and MAC without a spec, chips without documentation, and software with barely any support. […] Ah, and let's not forget that the absurdly complicated MPLS-like system with topology written in EEPROMs in every node that, as far as I can tell, you have to bitbang via the half-configured packet path (what the actual fuck?), well, it's very general. You can describe a lot of different networks in it. But of course the Linux driver has two or three hardcoded ones, including indexes into the EEPROMs on the way, that it recognizes and loads a hardcoded configuration for. The entire thing is made -even worse than USB-, which is an achievement.

It pains me to hear people complaining about the lack of Thunderbolt in AMD Ryzen Mobile laptops, and wishing for it in the next generation now that the spec is no longer Intel-exclusive in some way. Lack of Thunderbolt is a feature.

comment 7y ago · link · parent

Unfortunately most things are 16:9. Some MacBooks are 16:10, and Surfaces are 3:2 which is really cool, but 16:9 still dominates :(

comment 7y ago · link · parent

> 60-90 minutes

That's really, really low for a *40. Unless you mean like 90 minutes of full CPU usage.

comment 7y ago · link · parent

ehh, 10 year old CPUs kinda suck. I upgraded from a 2010 MBA to a Thinkpad X240 in 2015, and it's been much better.

The Penryn Core 2 Duo made the Macbook warm and noisy (the joke was that it's called Air because the fans push a lot of air all the time), while the Haswell-ULT chip literally pulls ~1W for the whole package at idle, and the fan often just stays off, and even when it's on it's very quiet.

comment 7y ago · link · parent

> I'm not aware of a Mesa driver in a condition of usability one would consider practical not using Gallium

uhhhhhh i965 (which is replaced by Iris but unfortunately only for >=Broadwell, at least for now)

comment 7y ago · link · parent

Or just "mining" vanity addresses like facebookcorewwwi.onion

comment 7y ago · link · parent

It's not painfully slow these days, it's quite fast actually

comment 7y ago · link · parent

Well, it can't bust NAT444 on both sides :) I've had to set up a moon on a VPS in my city, and now it's great.

comment 7y ago · link · parent

FDA subtweeting Larry Ellison here

comment 7y ago · link · parent

Ehh… does it kind of suck? The ABI of libc's syscall wrappers is basically "here's some ELF symbols to call with some arguments using the operating system's preferred calling convention". The only really "C" thing about it, other than the name, is struct layouts of various arguments.

comment 7y ago · link · parent

oh. I understand why that's the default, but it should be possible to dynamically link musl on a distro like Alpine, right?

comment 7y ago · link · parent

My favorite: https://github.com/musec/libpreopen is a library for adapting existing applications that open() and whatnot from all over everywhere to the super strict capability based Capsicum sandbox on FreeBSD. I'm working on https://github.com/myfreeweb/capsicumizer which is a little wrapper for launching apps with preloaded access to a list of directories from an AppArmor-like "profile".

comment 7y ago · link · parent

On FreeBSD, it's supported but kinda sucks. e.g., porting to a new CPU architecture is hell (I contributed to the FreeBSD/aarch64 go port, someone else picked it up now…)

The libc is the stable ABI on pretty much any OS that's not called Linux, just use it.

comment 7y ago · link · parent

Not that it matters which particular libc you use, any libc is going to have dynamic symbols named 'open', 'read' etc. that can be hooked :)
1
474849
97