HNHacker News
TopNewBestAskShowJobs

HerrMonnezza

1,585 karma · joined January 21, 2012

submissionscomments
HerrMonnezza··on Elvish: a shell with some unique semantics
The semantics of its command language is what made it interesting for me: https://elv.sh/learn/unique-semantics.html
HerrMonnezza··on Show HN: Simple way to obtain pseudorandomness from CPU context switch in Go
I had to google "dakarand"; here are links to the original post announcing the DakaRand code and the GitHub repository:

- https://dankaminsky.com/2012/08/15/dakarand/ - https://github.com/stribika/dakarand

HerrMonnezza··on The Octonion Math That Could Underpin Physics
Even when adding "over the real number", the claim in the article is wrong: R(x), the algebra of rational functions of one variable with real coefficients is a field, and a module over R containing a isomorphic image of R as a subfield.

You really do need the additional constraint of the Hurwitz form to restrict the possibilities to R, C, H, O ...

(Of course this has nothing to do with the work of Furey - I'm just seconding that the claim in the article is incomplete and inexact as worded.)

HerrMonnezza··on The Spiral Language
`git commit -m` as a blogging platform...
HerrMonnezza··on Something about functions in Bash (2017)
Because `echo test` is not a compound command.

Informally, a compound command is a list of commands (`( ... )` or `{ ... }`) or a looping or conditional construct. See [1] for a precise definition.

[1]: https://tiswww.case.edu/php/chet/bash/bashref.html#Compound-...

HerrMonnezza··on Something about functions in Bash (2017)
Nitpick: although the linked page states that defining functions as compund commands is a `bash` feature, it is actually in the POSIX `sh` standard [1] so it should work with any POSIX-compliant shell.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3...

That said, I'm curious what are the nifty tricks that one can do by using functions as "aliases" for compound commands -- I cannot see much of a difference between `function sleep1 () { while true; do "$@"; sleep 1; done; }` and the similar definition without the curly braces. Only once in my life I have had to use the `function foo () ( ... )` syntax (i.e., using subshell instead of normal `{ ... }` grouping).

HerrMonnezza··on Advanced computing with IPython
If I'm allowed a shameless plug (I'm the developer), there is ElastiCluster [1] which can deploy (among others) JupyterHub on various IaaS cloud infrastructures. We have used it at UZH to provide teaching environments for various courses. By default it only comes with the local "passwd" authenticator, but anything that works with Jupyter or Linux/PAM can be used relatively easily (= write an Ansible playbook).

Feel free to reach out to me if you would like more info.

[1]: https://gc3-uzh-ch.github.com/elasticluster

HerrMonnezza··on Gardener: Manage Kubernetes clusters across multiple cloud providers
And http://elasticluster.readthedocs.io/en/latest/playbooks.html... (disclaimer: I work on it)
HerrMonnezza··on Pythran: Crossing the Python Frontier [pdf]
Thanks for your answer!

However, I think this might be a bit misleading for people who do not know Cython:

> the Cython language, which is a Python-ish programming language, but not Python.

Actually, http://cython.org/ states:

""" The Cython language is a superset of the Python language that additionally supports calling C functions and declaring C types on variables and class attributes. """

In my experience with Cython, this description is quite accurate: code can be annotated with C types and then compiled to efficient C code by Cython; if you don't use annotations, then you can still compile to C code but with less speed advantage.

I haven't used Cython since version 0.17 (quite old now) but IIRC the major drawback was that it was mainly targeting writing extension modules for Python; it could generate self-standing executables, but would still require a Python interpreter to be embedded in any compiled code (that was the price for seamless interoperability between Cython/compiled code and "pure Python" code).

HerrMonnezza··on Pythran: Crossing the Python Frontier [pdf]
Does anyone know how this compares to existing Python-to-C++ transpilers like Cython or Shedskin?
HerrMonnezza··on Show HN: Lisp Shell
It would be nice to see some examples of the syntax, maybe a couple of simple scripts...

E.g., the README states that 'cd/' is an alias for '(cd "/")' which seems to imply that one has to wrap every command in '()' and quote every filename... not very practical for a shell!

HerrMonnezza··on On the Work of Edward Witten (1990) [pdf]
Small correction to the submission title: it's "Witten" not "Whitten"
HerrMonnezza··on Modern IRC Client Protocol
You can use Bitlbee as a gateway between your IRC client and the HipChat server.

See, è.g., https://wiki.bitlbee.org/HowtoHipchat

HerrMonnezza··on Neo – Desired Word Processor for Authors
emacs with org-mode?
HerrMonnezza··on Don't Mess with Texas – TI-99/4A Megademo [video]
Does the demo run at this speed on a real TI-99/4A? The notes say the video has been recorded on a MAME emulator...
HerrMonnezza··on Ask HN: Who is hiring? (January 2017)
S3IT, University of Zurich | Technical Lead OpenStack Cloud | Zurich, Switzerland | Full-time ONSITE

S3IT is a core facility at the University of Zurich with the ambitious goal of supporting research use of IT across the University. This includes providing services in high-performance and cloud computing, data management, software development and higher-level functions related to computing and data interpretation.

Our technology stack currently includes Openstack, Ceph, Elasticsearch/Logstash/Kibana (ELK), Check_MK, CFEngine 3, Percona, Pacemaker/Corosync, Ubuntu. We love to Python and use it to automate the services.

We are currently looking for an OpenStack ops team lead to continue developing our private OpenStack installation with new service offerings, and keep the existing ones up to their excellent track record of stability.

More details and application info at: http://www.jobs.uzh.ch/jobDetail.php?jobID=7184

HerrMonnezza··on Linux Kernel Use-After-Free Remote Code Execution Vulnerability
It seems that Linux distros are now releasing fixes:

- Debian is prevalently not vulnerable: https://security-tracker.debian.org/tracker/CVE-2016-7117 (except the "oldstable" release)

- for Ubuntu, the situation is more complicated, as it depends on the actual kernel package installed: https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2... For the "linux" kernel package (prob the most common), the situation looks like this at the moment::

        Upstream:	released (4.6~rc1)
        Ubuntu 12.04 LTS (Precise Pangolin):	needed
        Ubuntu 14.04 LTS (Trusty Tahr):	released (3.13.0-86.130)
        Ubuntu Touch 15.04:	DNE
        Ubuntu Core 15.04:	pending (3.19.0-59.65)
        Ubuntu 16.04 LTS (Xenial Xerus):	released (4.4.0-22.39)
        Ubuntu 16.10 (Yakkety Yak):	not-affected (4.4.0-22.39)
- for CentOS/RHEL, my understanding is that fixed kernels have not yet been released: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-7117
HerrMonnezza··on Linux Kernel Use-After-Free Remote Code Execution Vulnerability
At the moment, the link you posted says "This candidate has been reserved by an organization or individual that will use it when announcing a new security problem."

I guess the post on securityfocus (also not reachable) slipped out before end of embargo time?

HerrMonnezza··on A bite of Python
> I would argue that one should never use '-O' it also strips doc strings from running code.

Python `-OO` strips docstrings, `-O` basically only disables assertions. See: http://stackoverflow.com/a/4777156/459543

HerrMonnezza··on ZStack v1.1 release: Infrastructure-as-a-service software
Does anyone have experience with this? How does it compare to e.g. OpenStack or CloudStack?
HerrMonnezza··on Distribution packages considered insecure
Well, I can agree with the concerns. But what are the alternatives? What GNU/Linux distributions do (and Debian in particular) looks to me the least of all possible evils.
HerrMonnezza··on Mpmath – Python library for arbitrary-precision floating-point arithmetic
My understanding is that pure Python implementations of "compute-intensive" algorithms are interesting now because they can run on PyPy (whereas Python modules that require C libraries can, in general, not).
HerrMonnezza··on Things I learned from OpenSSH about reading very sensitive files
> In fact, the article's conclusion that the OpenSSH team should have > rolled their own memory management code rather than use tried, > tested and approved libraries

That's not the conclusion I draw from the article.

I rather read it as warning that even innocent and quite common operations like realloc() or using buffered I/O can have security implications, so one need to be extra extra extra careful when writing code that handles sensitive data. In other words, security can be even harder than security professionals think.

HerrMonnezza··on Short Rebol Examples: The simplicity and productivity of Rebol
Commented walkthrough of the examples: http://learnrebol.com/rebol3_book.html#section-1.2

Apparently these code examples accompany the author's "book" on GUI Rebol programming.

HerrMonnezza··on Ask HN: Who is hiring? (October 2015)
S3IT, University of Zurich | Zurich, Switzerland | Full-time | ONSITE

S3IT is a core facility at the University of Zurich with the ambitious goal of supporting research use of IT across the University. This includes providing services in high-performance and cloud computing, data management, software development and higher-level functions related to computing and data interpretation.

We are currently looking to expand our core team with:

* a cloud systems engineer, http://www.s3it.uzh.ch/about/jobs/senior-cloud-systems-engin...

* a junior systems administrator, http://www.s3it.uzh.ch/about/jobs/junior-systems-administrat...

Our technology stack currently includes Openstack, Ceph, Elasticsearch/Logstash/Kibana (ELK), Check_MK, CFEngine 3, MariaDB with Galera, Pacemaker/Corosync, Ubuntu. We love to Python and use it to automate the services.

For more information please see http://www.s3it.uzh.ch/about/jobs/ or email jobs@s3it.lists.uzh.ch

HerrMonnezza··on The Lux Programming Language
How does it compare to Shen? http://www.shenlanguage.org/
HerrMonnezza··on Long line (topology)
Yes, exactly. Paths are defined as continuous maps from the closed real interval [0,1] to a space.
HerrMonnezza··on Doom as a tool for system administration (1999)
One of the issues with this user interface was that you were going to kill the Doom process itself, eventually :-)
HerrMonnezza··on Nuitka: a Python compiler
On a tangentially related note: here is a comparison of various Python runtimes (interpreters and compilers including Nuitka and PyPy) on a fairly complex scientific code: http://arxiv.org/abs/1404.6388

The shootout, however, is from August 2013 so getting a bit old by now.

HerrMonnezza··on How fast is fscanf?
It would also be interesting to compare it to C++'s ">>" operators; one of the reasons to introduce them was exactly to avoid run-time parsing of format strings.
← PreviousPage 3 of 4Next →