HN user

eschulte

276 karma
Posts4
Comments87
View on HN
Emacs Lisp's Future 12 years ago

I think this is the most realistic approach mentioned here, and tromey is actually familiar with the Emacs internals.

I walk through a similar process here [1], using binwalk to extract the source-code from a firmware image, then running the insecure router software in a QEMU VM. Although the purpose in the linked instructions is to repair a different Netgear exploit from October 2013 by modifying the insecure binary executable (see [2] for information on the technique).

[1] http://eschulte.github.io/netgear-repair/INSTRUCTIONS.html

[2] http://eschulte.github.io/netgear-repair/

Real World OCaml 13 years ago

Having used fork/join to parallelize an OCaml genetic algorithm, I can say from experience it is neither safe nor practical.

Edit: Intentionally only supporting single-threaded processes is a perfectly fine design decision, however I haven't seen this argument made for OCaml, rather I've seen "multi-threading our GC would be hard" as the justification for the single-thread limitation. Admittedly it was 3-4 years ago when I last had to deal with this.

Real World OCaml 13 years ago

A major limiting factor is that OCaml has no support for parallelism, and due to it's use of a global interpreter lock for GC it can't run multiple threads.

That said it's great to program in (like Haskell with convenient IO and semicolons) and it compiles to blazing fast executables.

I think PGP signing could be a great way to prove authorship on publicly available messages (in those cases where rather than anonymity one does want to definitively know who wrote a message).

EDIT: If you are not already familiar with it, take a look at the PGP web of trust idea to get a better feel for the "proven authorship" use case. Some linux distros use PGP keys to prove authorship of software. http://en.wikipedia.org/wiki/Web_of_trust.

If you happen to have a /sys/class/backlight/acpi-video0/brightness file on your system (e.g., linux laptop). Here's a light weight and easy to customize option.

First make this file writable.

    chmod o+w /sys/class/backlight/acpi-video0/brightness
Then add something like the following to your crontab. I'm constantly doing this manually, and never thought to crontab it until this article.
    0 17 * * * echo 14 > /sys/class/backlight/acpi_video0/brightness
    0 18 * * * echo 13 > /sys/class/backlight/acpi_video0/brightness
    0 19 * * * echo 12 > /sys/class/backlight/acpi_video0/brightness
    0 20 * * * echo 11 > /sys/class/backlight/acpi_video0/brightness
    0 21 * * * echo 10 > /sys/class/backlight/acpi_video0/brightness
    0 22 * * * echo  9 > /sys/class/backlight/acpi_video0/brightness
    0 23 * * * echo  8 > /sys/class/backlight/acpi_video0/brightness
    0 00 * * * echo  7 > /sys/class/backlight/acpi_video0/brightness
    0 05 * * * echo 12 > /sys/class/backlight/acpi_video0/brightness
    0 06 * * * echo 13 > /sys/class/backlight/acpi_video0/brightness
    0 07 * * * echo 14 > /sys/class/backlight/acpi_video0/brightness
    0 08 * * * echo 15 > /sys/class/backlight/acpi_video0/brightnes
Note: 15 is the max brightness for me, not sure if that is standard, just cat the file to see your current level of brightness.

This is how false misperceptions are spread.

I'd ask you to mention a lisp library which you use but find under-documented (as another reply already has), but I don't think anyone with actual first-hand knowledge of the CL ecosystem would make this comment (even though I'm sure it recieved many enthusiastic if uninformed upvotes).

Lets look at some popular libraries with documentation. - Alexandria http://common-lisp.net/project/alexandria/draft/alexandria.h... - CL-PPCRE http://weitz.de/cl-ppcre/ - metabang-bind http://common-lisp.net/project/metabang-bind/ - not to mention the standard by which all other language documentation should be judged, the CL hyperspec http://www.lispworks.com/documentation/HyperSpec/Front/

And with sites like http://www.cliki.net/, http://common-lisp.net/ and http://www.gigamonkeys.com/book/ and many other full length books, if you can't find lisp documentation you're not looking very hard.

Here is a more complete (but still short) article on the same topic [1], and here are the records of the votes for the passage of this bill, and the rejection of the three proposed ammendments (search for "00236" in the table) [2]. The second link is useful if you want to see how your representative voted.

[1] http://www.nytimes.com/2012/12/29/us/politics/senate-votes-t...

[2] http://www.senate.gov/legislative/LIS/roll_call_lists/vote_m...

FWIW: Org-mode overloads C-c C-c and tab to the point where just using those two keys you can perform a huge portion of the Org-mode actions depending on your context (including executing code blocks).

Why not use the OpenPGP standard? PGP public and private keys seem to be the natural solution for both,

1. signing data so that the source can be verrified

2. encrypting messages so that they can only be read by particular recipients

Leaving Github 14 years ago

I've been using github side by side with self-hosted git repositories for years and I've yet to notice github doing anything to my git repositories which makes them harder to use outside github. Am I missing something, or is this article just FUD?

If it doesn't handle POST requests it doesn't count.

  (defun phase-handle-post ()
    "Phase handler for post requests"
    ;; XXXX hack, not handling multi-part form data, just treat as a GET
    ;; for now.
    (phase-handle-get) )