Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 9y ago · link · parent

Go (well, its main compiler, not gccgo) is one of the few languages that does everything by itself. It's awesome. I can just tell it to compile to FreeBSD/arm on a Darwin/amd64 box and it will just fucking do it!

comment 9y ago · link · parent

Just one Dick, not "Dicks", and you posted the same link twice :D

comment 9y ago · link · parent

also "close friends". not everyone has close friends at all

comment 9y ago · link · parent

Of course you shouldn't mix servers that handle and ignore the leap second in one pool, so OpenNTPD servers aren't accepted in the ntp.org pool. Doesn't mean you can't run OpenNTPD as an internal server for your machines :)

http://marc.info/?l=openbsd-misc&m=143544318718489&w=2

comment 9y ago · link · parent

Something like that. But not necessarily the Big Data that's being analyzed, that's usually done with Hadoop/Spark/whatever is the big thing now. It seems to be aimed at, like, huge apps that actually need horizontal scalability.

comment 9y ago · link · parent

That offering is just normal managed MySQL, the new thing is a custom built database for huge scalability, much more expensive of course.

comment 9y ago · link · parent

Intel wins on single thread… on the desktop line (4 cores max). Summit Ridge is competing against the overpriced "enthusiast" lineup (Haswell-E/Broadwell-E), which doesn't clock nearly as high as Skylake/Kaby Lake.

comment 9y ago · link · parent

Summit Ridge is literally a desktop CPU. The server CPU line, Naples, will come later.

comment 9y ago · link · parent

Back in 2014: https://arstechnica.com/apple/2014/06/ios8-to-stymie-tracker...

comment 9y ago · link · parent

Yalp uses a Google account, which isn't good.

I use https://apkpure.com

comment 9y ago · link · parent

Congratulations, you've reinvented ZFS Boot Environments :)

comment 9y ago · link · parent

Why Elasticsearch when Postgres has full-text search built in? It's one of my favorite Postgres features, I basically never have to bother with Elasticsearch/Solr/etc.

comment 9y ago · link · parent

Xorg with a compositor does the exact same thing with full backing buffers for every window. The only way X is using less RAM is if you run without compositing.

If you're not using a compositor, you must be either living in the 90s or using a device without a supported GPU. Compositing is not new, people were excited about Compiz desktop cubes and wobbly windows back in the mid-2000s!

A Wayland compositor running directly on EGL should always be faster than Xorg with a compositor. Xorg acts as an awkward middleman between your app and the compositor, wasting time on buffer copies.

comment 9y ago · link · parent

Postgres LISTEN/NOTIFY is actually very similar to Redis pubsub. You can manually add triggers to send notification on changes, sure, but the real "in the database" stuff is in RethinkDB.

comment 9y ago · link · parent

I've heard good things about Citus for horizontally scaling Postgres.

comment 9y ago · link · parent

> No ASLR or other hardening flags because FreeBSD

OPNSense (fork of pfSense) is built on top of HardenedBSD, so there's ASLR, PIE, SEGVGUARD, all the things :)

comment 9y ago · link · parent

> could have adopted jails instead of creating i've lost count of how many "container" technologies

The "many technologies" are mostly user-level wrappers though. What actually happened in the kernel: they've added unshare(2) early on, but it only isolated filesystem mounts at first. Later they started gradually adding more things for it isolate: network, PID, IPC and users. The "users" part arrived really late and is kinda bad… that's why for a very long time you weren't supposed to give people root in a docker container, and I think it's still not recommended. That's quite hilarious, considering that jails' main purpose literally was "containing root", and it fucking worked great since the early 2000s.

> they will toss iptables eventually and write something similar but not quite as good as pf

nftables is precisely that :D

comment 9y ago · link · parent

Interestingly however, Linux distros have been quick to adopt i686. I remember setting up a router on a small PC with a VIA processor several years ago. Inserted a Debian hard drive into that box — "cmov instruction not supported" instead of booting. The i586 version existed of course, but wasn't the default download IIRC.

comment 9y ago · link · parent

Um, what?! Where did you find that?

https://www.freebsd.org/where.html 11-RELEASE and 12-CURRENT snapshots are still being published for i386!

comment 9y ago · link · parent

That's really unlikely. There's no OpenCL for the RPi. GPGPU programming for the Pi is mostly assembler based:

https://github.com/nineties/py-videocore

https://petewarden.com/2014/08/07/how-to-optimize-raspberry-... (example involves deep learning!)

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=7891... (someone actually tried making an LLVM backend!)

I really doubt someone integrated that into TensorFlow…

comment 9y ago · link · parent

CloudABI https://nuxi.nl/cloudabi/ lets you run capability based apps side by side with traditional full POSIX apps on your OS. Out of the box on FreeBSD, patches exist for Linux and NetBSD, userspace support for macOS. So you get one binary that runs on multiple operating systems as a bonus :) The ABI itself is basically "FreeBSD, plus Capsicum always enabled from the start, minus any stuff that doesn't work under Capsicum".

comment 9y ago · link · parent

The author doesn't care about the advantage of Go, he cares about fair comparison to his project, which is single-threaded Python.

comment 9y ago · link · parent

You can try the KDE porting team's plasma5 branch right now…

comment 9y ago · link · parent

The article isn't bad tho… it's pretty much a transcript of a talk with the same title by a FreeBSD Core member.

The comments… yeah, there are people whining about "Marxists" "ruining projects" or something. Welp.

comment 9y ago · link · parent

> to change font, colour scheme, or hotkeys/shortcuts

No, you don't have to recompile it. For shortcuts, sure, but I haven't used any st shortcuts besides font size +/-.

Colors can be changed via the shell e.g. https://github.com/chriskempson/base16-shell and the font is passed via the -f flag.

comment 9y ago · link · parent

I measured single thread because the author measured single thread.

comment 9y ago · link · parent

The contestants are in the repo. One core is used "to be fair" (the Python stuff only uses one core). But the test, yeah. What's being tested is the presence of pipelining :D

comment 9y ago · link · parent

GOMAXPROCS is the number of cores used.

comment 9y ago · link · parent

Yeah, HTTP/1.1 pipelining is useless. But the good news is, HTTP/2 is pipelined (and doesn't have the head-of-line blocking problem). And HTTP/2 is supported by modern browsers.

But anyway… HTTP/2, or 1.1 pipelining for that matter, is usually terminated at the reverse proxy level. So it's really not necessary in a web framework! Just makes these unfair benchmark results possible.

comment 9y ago · link · parent

It's DYLD_LIBRARY_PATH or something on macOS.
1
858687
97