Better HN
topnewbestaskshowjobs
Log inSign up

tobik

238 karma · joined Sep 23, 2010 (16y ago) · 84 submissions

Submissions

comment 8y ago · link · parent

There is a good support for sndio in the FreeBSD ports tree as well. Albeit hidden behind the SNDIO build time option. It was quite the ride to get it to that point :-)

There are also now some sndio backends out there for applications not in the OpenBSD ports tree like Cava, shairport-sync, and Kodi.

2.

FreeBSD April to June 2017 Status Report(freebsd.org ↗)

1 points · by tobik · 9y ago · discuss

comment 9y ago · link · parent

FreeBSD's yes has just been updated because of this.

https://github.com/freebsd/freebsd/commit/1d61762ca37c20ab6f...

It's about twice as fast as GNU yes now on my FreeBSD system here.

comment 9y ago · link · parent

That's because you're using cat and a pipe. Try this instead:

  pv > /dev/null < /dev/zero

comment 9y ago · link · parent

Bad example :)

Most simple uses of lambda like this can be substituted with functions from the operator module:

  import operator

  formulas = {
    'sum': operator.add,
    'subst': operator.sub,
    'mult': operator.mul,
    'pow': operator.pow
  }

6.

FreeBSD Quarterly Status Report – Q1 2017(freebsd.org ↗)

4 points · by tobik · 9y ago · discuss

comment 10y ago · link · parent

src/gnu already has Perl in it, which isn't a GNU project or under the GPL either.

comment 10y ago · link · parent

I realize I'm replying to a 2 weeks old comment, so nobody will read this ever, but from your list sndio supports: streaming audio over a network, user-land mixing of audio sources, mixing of multiple audio streams at the same time, and per application volume settings.

> Per application input/output source settings

No, but the input/output device is selectable per application via the AUDIODEVICE environment variable.

> bluetooth audio devices

OpenBSD has no bluetooth support, so no. I'm also wondering why the kernel wouldn't create audio devices from these that the userland daemon can then just transparently use? Does an audio daemon need special support for bluetooth audio devices?

The sndio daemon has more features. Give the man page a read if you're interested: http://man.openbsd.org/OpenBSD-current/man8/sndiod.8

comment 10y ago · link · parent

The Reasoned Schemer by Daniel P. Friedman, William E. Byrd and Oleg Kiselyov

https://mitpress.mit.edu/books/reasoned-schemer

It's from the author of miniKanren on which LogicJS is based.

There are implementations for a lot of other languages (other JS implementation too) on

http://minikanren.org/

comment 10y ago · link · parent

Yes, it has V4L/DVB support via the multimedia/webcamd port/package, which is essentially a user space port of Linux' V4L/DVB drivers.

https://www.freshports.org/multimedia/webcamd

comment 10y ago · link · parent

No, we are not. :-( For what it's worth I just tried to answer your question on the forums.

comment 10y ago · link · parent

You can also display a list of all packages in the repository with

    pkg search -g '*' | less
Better pipe it to less because there are over 25000 packages.

comment 10y ago · link · parent

NetBSD has had support for ASLR since 2009 (NetBSD 5.0), but they only enabled it recently by default: https://mail-index.netbsd.org/source-changes/2016/04/10/msg0...

comment 10y ago · link · parent

> I thought surely they'd fixed it by now.

They did. pkg has gotten a lot better the past 3 years.

15.

HYPER-REALITY(vimeo.com ↗)

1 points · by tobik · 10y ago · discuss

comment 10y ago · link · parent

egrep, fgrep, grep (+ z* variants) share the same binary too.

comment 10y ago · link · parent

They are provided by M:Tier. See https://stable.mtier.org/ and http://www.mtier.org/index.php/solutions/apps/openup/

comment 10y ago · link · parent

http://man.openbsd.org/OpenBSD-current/man2/pledge.2 and the slides to the presentation http://www.openbsd.org/papers/hackfest2015-pledge/index.html

comment 10y ago · link · parent

https://golang.org/s/go13compiler

20.

Clojarr, friendly Clojure fork(arrdem.com ↗)

3 points · by tobik · 10y ago · discuss

comment 10y ago · link · parent

Dependencies are downloaded and compiled once for all your projects using the same Stackage release and are shared between projects.

In the end you still might have duplicated dependencies if you use different stackage.org releases but it's a much better situation than using Cabal sandboxes where every project has its own copy of dependencies.

comment 10y ago · link · parent

Luckily it was archived with at least some of the images: https://web.archive.org/web/20150707005712/http://eurasia200...

23.

Unofficial Haskell Stack Packages for FreeBSD(stack-pkg.applicative.tech ↗)

1 points · by tobik · 10y ago · discuss

comment 10y ago · link · parent

If anyone wants to try this on FreeBSD there is an update to the port (I'm the port maintainer) here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207236

afl-analyze is new. Afl in the ports tree doesn't have it yet.

comment 10y ago · link · parent

Comparing cut's GNU version (left) with FreeBSD's version (right) with afl-analyze: https://imgur.com/unah6NM

It's interesting that the results look very different. Maybe highlighting the different approaches they take?

123