HNHacker News
TopNewBestAskShowJobs

fiveop

13 karma · joined February 23, 2016

submissionscomments
fiveop··on Tracking Users Across the Web via TLS Session Resumption
There is a setting (security.ssl.disable_session_identifiers). You have to add it yourself, it's not in about:config by default. See https://bugzilla.mozilla.org/show_bug.cgi?id=967977
fiveop··on A Brief Guide to CLOS (1998)
You are mixing method qualifiers (:before, :after, :around) with method combinations (progn, and, or, +, etc.) which are very much alive. For maximium fun, you can even define your own: http://www.lispworks.com/documentation/lw70/CLHS/Body/m_defi...
fiveop··on Paradigms of Artificial Intelligence Programming (1992)
SBCL is mostly written in Common Lisp. It has a compiler that can compile itself. Part of that compiler are definitions of building blocks (VOPs or virtual operations) that describe snippets of assembly code. So as always, you use the tools provided by Lisp to create a DSL that allows you to write code as is practical for your use case.

For an example look at https://github.com/sbcl/sbcl/blob/master/src/compiler/x86-64...

You can find similar code for other ISAs in neighbouring directories.

fiveop··on Applying the Linus Torvalds “Good Taste” Coding Requirement
Or you could just loop n-1 times and adjust the array indices in the loop body, so that each statement only deals with one corner.
fiveop··on Study Finds No Gender Gap in Tech Salaries
Note, that fathers now have similar rights. There are some exceptions right around the birth, because that clearly affects women an men differently. I might also miss some differences. But the current legislation allows both my partner and me to take out equal amounts of time (about 7 month) in the coming year (we can split 14 months, as long as they each takes at least 2 and they can overlap) with 66% compensation replacement from the state.

So the employer cannot rely anymore on a man not taking time off.

(The total amount without is about three years instead of 14 months, but only those 14 months are covered financially).

fiveop··on Rewrite Everything in Rust
There is the library 'libc' which is a collection of interfaces to (g)libc functions together with the necessary constants and structs [1].

There is the library 'nix-rust' [2], which aims to provide a wrapper of 'libc' in idomatic Rust.

Unlike 'libc', 'nix-rust' does not have a consistent code quality and organization yet. However, Both are missing various bindings for various platforms.

[1] https://github.com/rust-lang/libc [2] https://github.com/nix-rust/nix