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

Odd. Did you load the GPU driver? Start powerd?

comment 8y ago · link · parent

If you're building some ports with custom options, check out Synth: https://github.com/jrmarino/synth

It downloads binary packages when it can & builds ports in parallel while showing a very nice ncurses UI :)

comment 8y ago · link · parent

> many features that require toil to achieve on FreeBSD, such as suspend on lid close, working volume buttons, and decent battery life, work out of the box on OpenBSD

Suspend on lid close worked out of the box for me on FreeBSD, on a ThinkPad X240. (Well, almost out of the box — had to disable the TPM in the firmware setup, otherwise the TPM would prevent it from waking up.)

There's NO WAY battery life could be better on OpenBSD though. OpenBSD is not even tickless!!

I measured the power consumption of the SoC with Intel's pcm tools, it's ~1W when idling in GUI on FreeBSD. Does OpenBSD even have pcm.x? ;)

comment 8y ago · link · parent

MACCHIATObin is a mini-ITX ARMv8 board with PCIe and great firmware (comes with U-Boot but you can flash (or chainload from u-boot) EDK2/TianoCore with ACPI support (!) and even QEMU for the "GPU BIOS" thingy that lets you get video out as EFI framebuffer)

Also there's the SoftIron Overdrive 1000 (sold only as full system, not bare board)

comment 8y ago · link · parent

> I don't want to wait for a login more than a second.

Do you log in that often?

comment 8y ago · link · parent

Heh, I grew up with PC games (mostly pirated, though I still have my legit DVD copy of NFS Most Wanted) —

and I just realized that I was mildly exposed to in-game ads back then — in the form of product placement! (or rather brand placement?)

e.g. Cingular and Burger King (NFS Underground 2), Motorola (Tony Hawk's Underground 2)… but Cingular was a US thing, and Burger King didn't exist in my country back then either, so these ads were hilariously irrelevant to me.

comment 8y ago · link · parent

Oh no. From a serious OS project to a buttcoin startup. I guess these people are the ones that pay the big money these days…

comment 8y ago · link · parent

    you, sobbing: "you can't just point at every thing using
     a merkle tree and call them blockchains"
    me, pointing at git: "blockchain"
­— https://twitter.com/whitequark/status/946886702932557824

comment 8y ago · link · parent

USB/NFC tokens and phones/computers are all "loseable". There are cool ideas about backup tokens https://dmitryfrank.com/articles/backup_u2f_token but IMO they can't be the only way to sign in, there should be some way to restore access from nothing (I guess my specific paranoia is about being locked out :D)

There are many specific auth "factors":

- valid signature from an extrernal hardware token (U2F/WebAuthn via e.g. YubiKey)

- valid signature from a device's embedded token/TPM (something like Touch ID / Windows Hello / Android keystore thing)

  - … as a WebAuthn implementation

  - … in response to a push notification on another device (Twitter, if they still have that)

  - … in response to a QR code (SQRL, Yandex.Key)
- one-time code via push notification to another device (Apple)

- one-time code generated from a shared secret key (TOTP)

- one-time sign-in link via email (Tumblr)

- passwords

- secret questions (like extra passwords but worse)

- behavior pattern analysis (IIRC Google showed an Android demo that looked at keyboard typing patterns and whatnot)

A good auth system should combine multiple factors in a correct way to minimize both impersonation and lockout chances, and maximize usability. How? That's the challenge…

comment 8y ago · link · parent

> their will decides to produce/disclose

Or someone else's will decides to shoulder-surf / keylog the password :)

comment 8y ago · link · parent

Yeah, 32-bit, Xbox and no-FPU platforms can be dropped, but dropping FreeBSD, aarch64 and powerpc64 is kinda sad.

comment 8y ago · link · parent

> Paul Krugman is saying that it wont be successful because the banks and government will fight it

He's wrong.

It won't be successful because it's pretty much unusable by regular people, difficult to secure (surprise, "be your own bank" implies "be your own security guard" — and 99% of people want to be neither of those things), extremely wasteful, slow and full of scams.

Most people's first encounter with buttcoins is literally RANSOMWARE. Do you really think mass adoption is coming?

comment 8y ago · link · parent

Trustless distributed agreement.

It's an interesting algorithm, but not actually useful. Society is literally built on trust. So "anti-government" (or "anti-social"?) currency is the only use for it.

comment 8y ago · link · parent

The last one is complete bollocks.

https://www.reddit.com/r/Buttcoin/comments/9jv70b/butter_tri...

comment 8y ago · link · parent

Mozilla: https://blog.mozilla.org/security/2018/10/15/removing-old-ve...

comment 8y ago · link · parent

The "best" part is password recovery — where SMS is typically the "second factor" to a completely insecure "secure question"

comment 8y ago · link · parent

(least meaningful of course)

comment 8y ago · link · parent

> no clear communication on software upgrade policy

The "Android One" label communicates 2 years of updates.

Either way, it's a Treble phone with an unlockable bootloader (without any key requests even! just like old Nexuses). I flashed a GSI (unofficial Lineage 16) right after I came home from buying the A2 :)

Of course this Treble stuff is still pretty new and you need to hack around some things — for example, I had to remove some XML file to make Bluetooth audio work, and (when Magisk rooted) SELinux is blocking the Wi-Fi driver from automatically loading so I have to load it from a root shell manually after a reboot :D but that's perfectly acceptable for me.

comment 8y ago · link · parent

Nokia doesn't allow bootloader unlocking, which should be a giant "nope" for anyone reading something called hacker news…

Meanwhile Xiaomi's Android One devices (not MIUI) are just 'fastboot oem unlock' without any key requests, just like good old Nexuses.

comment 8y ago · link · parent

Essential is also rather premium :) but they had a very different notch, very small (just for the camera).

comment 8y ago · link · parent

I actually adopted GOPATH for everything. I use https://github.com/motemen/ghq to quickly clone non-Go projects into the ~/src/github.com/user/project style paths.

But… I don't like Go itself (anymore).

It's not just the 'if err != nil', it's more the general attitude/philosophy from which it comes. Go is anti-intellectual, the designers basically don't respect the user. "You're too stupid to use generics/Result<A,B>/monads/whatever" is what it feels like they think of you.

Go internals are more infuriating than Go language though…

Especially the Plan9-based custom assembler. It truly is a horrific atrocity. I've had to deal with it two times:

1. That assembler does not support all instructions and even addressing modes (!) of amd64, so people have had to create hacks like https://github.com/minio/c2goasm to run asm functions without the overhead of cgo. Please actually read that project's README, but tl;dr it assembles your code using a normal assembler and STICKS THE BINARY CODE INTO A GO ASSEMBLY FILE AS HEX CONSTANTS. This hack actually didn't work for me when I tried to use some SIMD code, so I had to resort to cgo with its call overhead.

2. I also tried (and failed) to port the Go runtime to FreeBSD/aarch64. This was the last straw, this is what made me actually hate Go.

comment 8y ago · link · parent

"SSE speed" is the most meaningful term I've ever seen.

Ryzen doesn't have 256-bit wide units, so 256-bit instructions take 2x as long.

The benefit of that is that Ryzen doesn't throttle the clock speed of the whole chip when executing AVX2 instructions :P

Intel's widening of units has brought a giant downclocking problem: https://blog.cloudflare.com/on-the-dangers-of-intels-frequen...

comment 8y ago · link · parent

> a type system with holes you could drive truck through

That's most dynamic languages. (Python is a bit more strong than others, sure, but whatever.)

> pretty much every other language has an async implementation that is either just as good or superior

Most other languages have async bolted on and a lot of existing libraries are synchronous. Pretty much all JS embeddings (both the browser and various server side things) exposed everything as asynchronous from the beginning using callbacks — and now callbacks easily get wrapped into promises and async/await works with them very well.

comment 8y ago · link · parent

> Did someone say ARM is RISC?

Load/store are still always separate instructions, and instruction length is fixed — that's RISC enough. (But the distinction is not super meaningful these days anyway.)

comment 8y ago · link · parent

You can't pinch to zoom the UI of native Android/iOS apps. Makes sense that web apps with "native-like look" might want to behave similarly.

comment 8y ago · link · parent

You can make the next version proprietary or whatever, but you obviously can't retroactively revoke the license from released code :)

comment 8y ago · link · parent

Not just a question of state-level-ness, but of targeted/mass. Burning a 0day on a mass scam is really, really stupid.

comment 8y ago · link · parent

https://www.migadu.com has a free plan, and you can set up forwards… maybe you can do that with them

comment 8y ago · link · parent

That decision I support. An actually terrible idea they had though was to forward abuse complaints directly to the accused site owner, complete with personal information about the reporter:

https://arstechnica.com/tech-policy/2017/05/cloudflare-chang...

But my biggest concern is that CloudFlare is centralizing the internet way too much. If most connections to smaller websites are proxied through CloudFlare, the web becomes very centralized: all your connections go either to other giants like Google/Facebook/Netflix, or to Cloudflare.

comment 8y ago · link · parent

> “I love my domain registrar.” Has anyone ever said this?

Yes, pretty much every Hover customer?

(Most people don't even care about this, but) they were late with DNSSEC support though, and I transferred to Google Domains because of that, using a VPN because it wasn't officially available in my country. After a couple years, Google Domains told me to GTFO, went back to Hover and now they did have DNSSEC support :)

1
535455
97