Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 10y ago · link · parent

On a newer ThinkPad — X240 (Haswell), battery life under FreeBSD -CURRENT is close to 9 hours. Doesn't resume from suspend though. But yours should! I know people got suspend/resume working on 20 and 30 ThinkPads.

Here's my post about the laptop: https://unrelenting.technology/articles/freebsd-on-the-think... — not fully up to date though: I'm using ZFS only now, with boot environments (no GRUB required, it's fully integrated into the FreeBSD EFI loader), and powerd++ https://github.com/lonkamikaze/powerdxx

Brightness works great with Intel graphics. I haven't been able to adjust brightness using the nvidia driver (on an iMac)

comment 10y ago · link · parent

Webmention implementations usually automatically check that there's an actual link. You can go even further and require not just a link, but a proper microformats2 reply/like/repost.

comment 10y ago · link · parent

Um, it has:

- Micro-HDMI Interface (for 2nd monitor)

- Micro-USB-OTG (bi-directional power)

USB-C would be great though

comment 10y ago · link · parent

Yeah the wiki is updated, like, once in a year

comment 10y ago · link · parent

The best part:

> Intel GPUs up to and including the unreleased Kaby Lake are supported

> Amdgpu AMD/ATI driver has been updated to GCN 1.1 and higher

comment 10y ago · link · parent

nah, storage is not a problem with gaming these days!

Wait for the Vega cards with 8GB of HBM2 — that will kick ass.

comment 10y ago · link · parent

Anything that increases our dependency on C++ is much, much worse.

You can easily call into something with a C ABI (er, OS ABI designed around C, or whatever is the correct technical name) from any language. Try that with C++ :D

comment 10y ago · link · parent

There was a time when you were required to accept a license using a web browser to build the port… Now you just `sudo pkg install openjdk8` or openjdk7 or openjdk6.

You can even install IntelliJ IDEA with pkg!

comment 10y ago · link · parent

Well, yeah, I guess. When context switches are the problem, you either move the application into the kernel space (which is what unikernels do) or move the network stack into the userspace (which is what netmap, etc. do)

comment 10y ago · link · parent

IIRC Microsoft IIS got pwned really hard because of a bug in that driver…

comment 10y ago · link · parent

Thanks, tronc

comment 10y ago · link · parent

Doesn't matter. JWT can be read on the client, but it's not necessary. From a typical client's point of view, the auth token is just a string. Doesn't matter if it's a JWT or a random string. The difference is on the server side — checking a signature vs. looking up in a database.

comment 10y ago · link · parent

Well, you can get processors from before these features existed – 2007 Intel chips or 2012 AMD chips — definitely AMD, 2012 isn't that old yet.

comment 10y ago · link · parent

I don't think any MacBooks ever had built-in cellular modems…

comment 10y ago · link · parent

Well, the Pi blob can be replaced… almost… soon… https://news.ycombinator.com/item?id=11703842 / https://github.com/christinaa/rpi-open-firmware

Not a ready drop-in replacement yet, but running ARM code with access to the SD card and the UART console is possible!

edit: By the way! The Pi loads all the firmware from the SD card — no reflashable memory on the board AFAIK – which would make it excellent from the "State considered harmful" perspective http://blog.invisiblethings.org/2015/12/23/state_harmful.htm...

comment 10y ago · link · parent

I'm not even sure if I agree or not. I get the point, but I kinda want random attack bots to try logging into my sshd with common passwords. It's like a free security scan!

comment 10y ago · link · parent

CyanogenMod without Google apps (gapps) is good enough (for normal life, not a Snowden-style situation, obviously). microG is a great open source replacement for gapps.

If you do want Google apps, at least turn off all the creepy features like Google Now, location history, etc.

comment 10y ago · link · parent

Actively scanning for malware in the background doesn't sound like a good idea to me tbh. The only malware detection anyone ever needs is Google Safe Browsing. And not running random crap executables :)

comment 10y ago · link · parent

ARMv8 phones like Nexus 5X/6P definitely do have AES instructions. These phones in particular have encrypted storage out of the box.

comment 10y ago · link · parent

Replying from the lock screen is good though?? You reply from the lock screen, so you don't unlock the phone, so you don't start doing other things than replying?

comment 10y ago · link · parent

People disagree about whether 0 is natural though. Better not to use the word at all :D

comment 10y ago · link · parent

> IDEA, 56 bit DES, 40, 128 and 256 bit RC4 encryption algorithms > MD4, MD5 and SHA secure hash algorithms

They certainly haven't updated it to match the modern world…

comment 10y ago · link · parent

Good. I always set browser.backspace_action to do nothing in Firefox, because this is SO infuriating. You think you have a text field focused but you actually don't (e.g. accidental mouse click removed the focus), you press Backspace and BOOM! suddenly you're on the previous page.

Ctrl/Cmd+[ and ] is the real shortcut!

comment 10y ago · link · parent

They only took, like, the network stack from Mirage. Their virtualization library is xhyve… well, turned into a library.

comment 10y ago · link · parent

There is a port of docker that works with jails+ZFS (and the linux.ko syscall translator to run linux images) https://wiki.freebsd.org/Docker

There's also jetpack for the app container spec (rkt) https://github.com/3ofcoins/jetpack

I'm also experimenting with building a simpler system.

comment 10y ago · link · parent

Previous/other Yubico products are flashable javacards.

comment 10y ago · link · parent

Hopefully, Polaris and Zen are going to be massive improvements.

But even current cards like the Fury look fine, especially if you consider DX12 and Vulkan performance. nVidia just spent a lot of money on optimizing the drivers for DX11.

About recording & streaming — that's not just a software feature, that's dedicated video encoding hardware on the cards. nVidia heavily pushed their own software that uses the hardware, but AMD were the first with the hardware itself, according to Wikipedia:

> Video Coding Engine was introduced with the Radeon HD 7900 on 22 December 2011

> [NVENC] was introduced with the Kepler-based GeForce 600 series in March 2012

comment 10y ago · link · parent

SELinux is not a distro. It's an Linux Security Module (Mandatory Access Control thing) that comes with the upstream kernel that sysadmins need to STOP TURNING OFF: http://stopdisablingselinux.com

There are alternatives though. SELinux was designed for big machines with multiple physical users. You can use it with pretty much any scenario (and Android uses it for sandboxing apps), but AppArmor is much easier for common personal desktops and web servers.

On FreeBSD and Darwin, the similar thing is TrustedBSD: http://www.trustedbsd.org/mac.html

comment 10y ago · link · parent

If it "lost", why did Valve port their games to it & encourage others to port their stuff as well?

Oh, also, pretty much all mobile gaming is OpenGL ES. Also there's WebGL!

comment 10y ago · link · parent

Don't forget Ashes of the Singularity! http://www.legitreviews.com/ashes-singularity-dx12-benchmark...

DX12 makes AMD cards work really well (thanks to async stuff) and allows AMD+nVidia multi-GPU.

1
909192
97