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

Apple would've very likely patched it a long time ago if it was patchable, since the newest devices' ROMs don't have the bugs anymore.

Having a completely 100% untouchable ROM is very valuable. Yes, this kind of exploit being permanent is the downside, but then they don't have to worry about the modification fuses being misused in any way ever.

comment 7y ago · link · parent

Signal doesn't have to be distributed from the US though (well, apk for sideloading at least, app stores are US based..)

OpenBSD in the 90s used to emphasize that they're from Canada and have strong crypto because of that.

comment 7y ago · link · parent

He hasn't been very involved with code for the last N years, and how many GNU projects do you use anyway? GCC and coreutils? meh. Thankfully, LLVM has killed GCC's dominance.

comment 7y ago · link · parent

I'm pretty sure Apple's position towards kids learning to code is "use the swift playground thingy from the app store"

comment 7y ago · link · parent

I'd say `if err != nil {}` all the time is an awful lot of cognitive load. Heck, just `nil` turns everything into a minefield.

Functional programming constructs rarely add complexity, they are excellent tools for handling and reducing it.

comment 7y ago · link · parent

Weirdest toolchain in the world, at least among popular ones. Custom calling convention, custom (AWFUL) assembler, insistence on using syscalls directly on systems where the libc is the only officially public API (FreeBSD), bad portability as a result (I tried to add FreeBSD/aarch64, it was an awful experience, thankfully others have continued the work). Don't tell me about gccgo, it mostly copies the standard library from the main implementation, so it also uses syscalls directly.

Just look at https://github.com/minio/asm2plan9s / https://github.com/minio/c2goasm — carefully read the readme and understand what this hack does. If the existence of this hack does not make you extremely angry at Go, I don't know what will.

Oh and I don't like the language itself either. The anti-intellectual attitude of the designers sucks. "Screw anything discovered by PL research in the last 30 years, we just want everything like in the good old days with C but with GC and concurrency" is just silly. The "developers are too stupid to use smart features like generics" attitude is quite offensive. (I guess they are responding to the overwhelming demand for generics now, but it's not like they had a big change of heart, it's just caving to external pressure, not personally embracing the concepts)

comment 7y ago · link · parent

Ugh, nooooooo, not Go.

I'll stay on 1.x, thank you very much. I hope there will be a well maintained fork of 1.x.

comment 7y ago · link · parent

Just set a node as default gateway manually?

Or run HTTP/SOCKS proxies on these nodes…

comment 7y ago · link · parent

Wait, how exactly does iframe sandbox not solve everything? Emails definitely should be shown in them, even with client side decryption, you can create an iframe from a data: URI. iframe sandbox is the strongest sandbox possible. Unique origin, no JS execution…

comment 7y ago · link · parent

Many USB-C magnet thingies also have that design

comment 7y ago · link · parent

> breaking Intel's dominance will further marginalize Microsoft

Microsoft is not stupid, Microsoft has ported everything to ARMv8 already, both for the Snapdragon laptops and the servers (which they only use internally for now, but I hope Amazon's Graviton is pushing them in the ARM-public-cloud direction)

And by everything… I mean not just Windows, but even SQL Server now: https://twitter.com/ASGConf/status/1173163007733616641

comment 7y ago · link · parent

I'm "going" to write a post about my experience with the SolidRun MACCHIATObin as a desktop… (spoiler: I wish it was faster but it's pretty dang awesome in general)

comment 7y ago · link · parent

Why is the hw.model on EPYC redacted, when the chips are listed in the slides? Secret engineering sample? :)

comment 7y ago · link · parent

I know Chelsio has crypto directly on the NIC, but are dedicated crypto accelerator cards a thing and are they ever worth it? Why leave the CPU idle when the CPU itself is a good crypto accelerator (AES-NI, ARMv8 crypto)?

AMD Ryzen has a built-in crypto "decelerator" — a FreeBSD driver was written for the crypto engine, but it's disabled by default because it made everything slower than AES-NI. (Though I guess it would be funny to use it to mine bitcoin, since it supports SHA256. AMD — Advanced Mining Devices!)

comment 7y ago · link · parent

This is about TLS. DRM would probably be another layer of encryption inside?

comment 7y ago · link · parent

yeah, there was also LiteBSD https://github.com/sergev/LiteBSD

but Retro is the more active project https://github.com/RetroBSD/retrobsd

comment 7y ago · link · parent

Because they're the dominant player (and the history of getting to that dominance is very sketchy, including $billion fines in the EU for bribing OEMs to use their processors)

comment 7y ago · link · parent

> sometimes using them makes the program slower than it would be otherwise

oh no, that program will be super fast.

It would make other programs that run concurrently with the AVX one slower.

comment 7y ago · link · parent

> The Magic Power of 2: Division Is Slowaloo

Is LLVM not smart enough to optimize this?

comment 7y ago · link · parent

The coolest thing this enables is a way more precise ASAN: https://clang.llvm.org/docs/HardwareAssistedAddressSanitizer...

comment 7y ago · link · parent

1.0 beta is GTK 3, and doesn't need X because of that :)

comment 7y ago · link · parent

D.

It's not based on an ML-ish type system, but the amazing metaprogramming capabilities allowed std.variant.visit (sum type matching) to be implemented in normal library code:

https://dlang.org/blog/2018/03/29/std-variant-is-everything-...

immutability is not default too… but on the other hand, there's @nogc and betterC mode, purity annotations, contract programming, C++ (!) interop, an option to use the "C-ish" linking model (to build with e.g. Meson instead of Dub, install dynamic libs system-wide, and so one), and again, just next level metaprogramming.

You can do anything with Rust procedural macros, but they give you a token stream and you drag in the rust parser as a dependency and operate on the raw AST. That's hard and "special". With D metaprogramming you can, for example, just `static foreach` over the list of the current class's members directly inline where you want it.

comment 7y ago · link · parent

OTP release tarballs aren't much harder to deploy than static binaries :)

Elixir doesn't need to "cross compile" because its only compile target is BEAM. That's like saying "Java doesn't cross-compile".

comment 7y ago · link · parent

Go is garbage-collected just like .NET.

Rust indeed always pushes you towards efficiency :)

comment 7y ago · link · parent

Pebble is not eink though, it's transflective, marketed as "e-paper" but it's not at all like the screens of book readers

comment 7y ago · link · parent

POWER is not mainframes, z/Architecture is mainframes.

comment 7y ago · link · parent

> imagine trying to develop exploits for a system which is not commercially available

Well, looks like plenty of mainframes are very well exposed to the internet, which.. helps.

https://www.youtube.com/watch?v=Xfl4spvM5DI

https://www.youtube.com/watch?v=5Ra4Ehmifh4

https://mainframed767.tumblr.com/post/29672128939/yall-encou...

comment 7y ago · link · parent

Well, Spectre affected pretty much all processors except very slow ones (Cortex-A53) :)

comment 7y ago · link · parent

Their customer service is infamous for being an extreme ripoff, always pushing towards "buy a new device".

Most recently there was a cool video where a journalist went to the "genius bar", was told that repairing his MacBook's broken backlight would cost more than a new one ("we have to fix water damage" lol), then went to Rossman and got it fixed for free in a minute.

1
373839
97