Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 11y ago · link · parent

And the real anti-Twitter is good old websites. https://indiewebcamp.com

comment 11y ago · link · parent

If you look at the TODO list in the README, several performance improvements aren't done yet. But it works fine for my purposes.

Recompiling FreeBSD 10-STABLE (make clean buildworld installworld buildkernel installkernel) in xhyve took 32 minutes on my 3.4 GHz quad-core i5.

comment 11y ago · link · parent

I think parser combinator libraries are pretty similar. In Haskell, people often use Parsec instead of regular expressions.

comment 11y ago · link · parent

The last commit on the GitLab mirror is cf485148bd9f4d4520d13e2169997cd72464f3c0. On GitHub, it's not the last one, but it's on the first page (not that much commits since).

Because it's the same SHA, and because of the way git works, we know that all the history before it is exactly the same on GitHub and GitLab.

comment 11y ago · link · parent

But in the US, you can sue the government: https://en.wikipedia.org/wiki/Bernstein_v._United_States

comment 11y ago · link · parent

It won't. There were, like, three attempts to make launchd run on FreeBSD. All of them failed, because launchd is so full of Mach-isms/XNUisms/Darwinisms (lol) And pretty much everyone in the BSD community hates XML.

launchd is actually not bad, except for the XML.

comment 11y ago · link · parent

I made a Haskell library that uses Git as a JSON store: https://github.com/myfreeweb/gitson

Used in my website engine: https://github.com/myfreeweb/sweetroll

comment 11y ago · link · parent

JSON+UTF-8 is just another binary encoding...

CBOR is great, it's similar to JSON & already an RFC http://cbor.io

comment 11y ago · link · parent

Exotic? Obsolete? Really? Linked lists are used in pretty much all functional programming languages (because head/tail splitting is extremely useful)

comment 11y ago · link · parent

Public domain isn't a thing in all countries though? Some people basically want to politely ask people not to remove their name from their code?

Anyway: CC0, WTFPL and Unlicense are indeed gaining popularity.

comment 11y ago · link · parent

Google is second to Yandex in Russia, but still very, very popular.

comment 11y ago · link · parent

Um, .NET is not openwashing. CoreCLR/CoreFX are MIT Licensed, Roslyn is Apache licensed, all of them are developed publicly on GitHub. This stack fully supports running your apps on FreeBSD, OS X and Linux.

comment 11y ago · link · parent

Ten-hive :D

comment 11y ago · link · parent

pkg install binutils && make -C/usr/ports/lang/gcc install clean :-)

You can also `make package` to, well, make your own binary package (it will be in /usr/ports/lang/gcc/work/pkg) to distribute to other machines. Or use poudriere to setup a proper package build server.

comment 11y ago · link · parent

> support of the illegal drug trade industry

> marijuana regulatory compliance software

> REGULATORY COMPLIANCE

comment 11y ago · link · parent

The zsh Ctrl+Z binding is brilliant!

The Space and Ctrl+Space thing is interesting, but not interesting enough for me to switch (from , and Ctrl+q – with Ctrl being on Caps Lock).

comment 11y ago · link · parent

FYI: there is a setting that flips everything around – F1 to get F1, Fn+F1 to lower the brightness.

comment 11y ago · link · parent

If I remember correctly, the node.js team needed a lot of help from experienced Windows developers (even from Microsoft itself??) to add IOCP support to libuv.

I think kqueue is the best (well I guess I'm a BSD fan :D) but in general: app developers generally don't care about this, they just use libuv or libevent or something like that.

Does Windows really have "good stuff" for developers? .NET is excellent, but the lower level APIs look horrible. (And the CP/M / DOS era files stuff – drive letters, file extensions that actually matter – makes me very unhappy.)

Jails, ZFS, DTrace, FUSE, netmap, PAM, pf – that's good stuff!

comment 11y ago · link · parent

Try ConEmu, it's a very good terminal window.

comment 11y ago · link · parent

> 210 | ssh-ed25519 AAAAC

Does this mean GitHub finally supports Ed25519?

comment 11y ago · link · parent

Still no true color support :-(

comment 11y ago · link · parent

Multiplexing is in SPDY -> HTTP/2. QUIC shouldn't be "compared to HTTP" – it should be compared to TCP+TLS. http://blog.chromium.org/2013/06/experimenting-with-quic.htm...

comment 11y ago · link · parent

This. Google measured TLS overhead on their servers – it was very small. If you can do TLS on Google scale, you can do it anywhere.

comment 11y ago · link · parent

Hi! I've been working on my own nginx replacement in Go that uses bradfitz/http2: https://github.com/myfreeweb/443d

It has random load balancing, glob patterns for hosts, SSH proxying (like sslh) and, most importantly, proxying to UNIX sockets. And less code.

Maybe you could use my code to implement some of these features :-)

comment 11y ago · link · parent

nghttpx, the proxy from the nghttp2 package, turns rel=preload links from the Link header into server push: https://nghttp2.org/documentation/nghttpx.1.html#server-push

comment 11y ago · link · parent

You haven't read the manpage, have you?

The idea is completely different.

accf_http is... here, just read the source: https://github.com/freebsd/freebsd/blob/master/sys/netinet/a... – if it sees something that looks like an HTTP request and delays returning to userspace until \r\n\r\n.

http.sys is an actual HTTP/1.x parser. That runs in ring 0.

comment 11y ago · link · parent

IETF is working on better stuff – and it will be standard.

RFC 7413 TCP Fast Open, already deployed on Android and Chrome OS.

RFC 6824 Multipath TCP, already deployed on iOS.

And the most important upgrade: HTTP/2.

Sorry, I'm not using commercial proxies with proprietary protocols. I believe that anything as low level as transport layer shouldn't have a "pricing" link.

P.S. QUIC is an interesting experiment, maybe it will become a standard like SPDY became HTTP/2. But UDP can't always be used... My university's WiFi just blocks all UDP completely, for example.

comment 11y ago · link · parent

Of course this exploits XPC.

I really hate all the desktop IPC bullshit. IPC frameworks are pure fucking evil. COM, D-Bus, XPC, everything SUCKS.

If you want completely separate programs on one machine to talk, use UNIX domain sockets (with something like ZeroMQ or HTTP), FIFOs (named pipes), anything that you can chmod and chown, not a daemon that reinvents access control, badly.

comment 11y ago · link · parent

https://makezine.com/2015/03/19/massimo-banzi-fighting-for-a...

tl;dr "if people bought an Arduino board made in Italy in the last year thinking they were supporting the project they should know that we didn’t receive any money for it despite the fact that we designed, documented, maintained and supported those products" – Massimo Banzi

comment 11y ago · link · parent

Yeah. Why would anyone on GitHub contribute to the original Vim when there's Neovim?
1
9394959697