Better HN
topnewbestaskshowjobs
Log inSign up

HerrMonnezza

1,585 karma · joined Jan 21, 2012 (14y ago) · 210 submissions

Submissions

comment 4y ago · link · parent

Might be worth a "Show HN" of its own...

comment 4y ago · link · parent

I find that the experience of writing (La)TeX depends a lot on what you are using to write it. For me, Emacs' AuC-TeX [1] is nearly perfect: it has shortcuts and autocompletion for almost all the environment names and commands, inline preview, BibTeX searches (via RefTeX), and a number of other minor features that make it easy to write LaTeX. Honestly, I wish that other text-writing modes (like markdown-mode) would implement the interface and functionality of AuC-TeX and not the other way round.

As for the syntax: I love Markdown for writing very simple text content, but as soon as you need to do something just a little more complicated it becomes awkward (e.g., table entries that span multiple paragraphs) and some task are simply impossible (e.g. referencing a list item by label value, the way you do it with TeX's `\label` and `\ref`). The programmability of TeX-based systems is actually a great thing that lets you write shorter documents and push many aesthetics decisions to a `.sty` file (e.g., you can at any time change your mind on how `\vector{u}` should be rendered).

[1]: https://www.gnu.org/software/auctex/

comment 4y ago · link · parent

There's a few libraries on PyPI implementing this idea:

- https://github.com/borntyping/python-infix (https://pypi.org/project/infix/)

- https://pypi.org/project/infixed/

- https://pypi.org/project/betwixt/ (Diclaimer: author here)

comment 4y ago · link · parent

> What you lose on arxiv is peer review.

Or, instead, you get a much larger audience reviewing your article, instead of the 2 to 4 reviewers involved in the paper publishing process :-)

You can get comments from critical and interested readers, you upload a new version of the paper to arXiv, and repeat the process until the article is ready for submission/publishing.

In other words: I think that an article on arXiv (on average and as a whole, individual articles may be exceptional) is subject to much wider and more extensive scrutiny and verification than the average article during the paper publication process.

comment 4y ago · link · parent

From the article:

> But moderators frequently intervene, delaying posting by days or weeks, reclassifying papers or even outright rejecting submissions.

Definitely not my experience. I haven't posted to arXiv in a while now, but I wasn't even aware a moderation queue exists -- none of my papers were delayed, reclassified, or other...

EDIT: I see the article provides a few examples, but then they also provide numbers: "At arXiv, roughly 6 percent of submissions receive a hold, and about 2 percent are rejected." -- 8% of heavy-handed moderation intervention wouldn't qualify as "frequently" IMHO.

36.

Making Open Source software safer and more secure(blog.google ↗)

2 points · by HerrMonnezza · 4y ago · discuss

37.

Lambdex: Write multi-line anonymous function expression in Python(pythonrepo.com ↗)

2 points · by HerrMonnezza · 4y ago · discuss

comment 4y ago · link · parent

The Python package lambdex [1] provides a way to write multi-line anonymous functions in Python, with a syntax that's close enough to the "normal" Python.

[1]: https://pythonrepo.com/repo/hsfzxjy-lambdex

comment 4y ago · link · parent

This article is from a Swiss University. In the Canton of Zurich, kids are supposed to be walking to school alone by age 6 (law mandates that there must be a school within $WALKING_DISTANCE of any residential building).

High schoolers that need to be taken to school by their parents are definitely the exception.

comment 4y ago · link · parent

Why is Python 3.10 a game changer? (Honest question)

comment 4y ago · link · parent

Window Maker is an X11 window manager with a NeXTStep look.

GNUStep is an attempt at creating a Free/Libre NeXTStep-like environment, including all the apps.

comment 5y ago · link · parent

What literature/books would you recommend to know more about the subject to be able to apply it to practical programs?

comment 5y ago · link · parent

Well, quite: if you add that code must run sequentially it's the Boehm-Jacopini theorem: https://en.wikipedia.org/wiki/Structured_program_theorem

comment 5y ago · link · parent

We should also not forget that a lot of maths is spoken (in classes and seminars) so there the distinction between, say, \theta and \vartheta would be lost was they are pronounced the same...

45.

Towards Open Source Sustainability(nyxt.atlas.engineer ↗)

1 points · by HerrMonnezza · 5y ago · discuss

comment 5y ago · link · parent

Perl has had a similar trick for quite a while:

    eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
See https://stackoverflow.com/questions/9143726/what-means-not-r...

47.

Wasp: WASM Programming Language(github.com ↗)

73 points · by HerrMonnezza · 5y ago · 21 comments

comment 5y ago · link · parent

How do Nix and Guix compare?

comment 5y ago · link · parent

I can play it on Debian with Firefox, no problems.

comment 5y ago · link · parent

I wonder if there was any followup, trying to assess languages explicitly addressing programming education (e.g., Logo, Pyret) against the sins and recommendations of this paper?

51.

Why is everyone quitting, and how do I know whether it’s time to leave my job?(washingtonpost.com ↗)

7 points · by HerrMonnezza · 5y ago · discuss

52.

SHA-1 Is a Shambles(sha-mbles.github.io ↗)

1 points · by HerrMonnezza · 5y ago · discuss

comment 5y ago · link · parent

Does anyone have experience with Logo environments still available today? And what results did you have with teaching kids to use them?

comment 5y ago · link · parent

Grand-Parent (comment)

comment 5y ago · link · parent

Not sure if there's anything written on the topic, but I guess you can take a look at some of Damian Conway's public code to see it being used. For example: https://metacpan.org/release/DCONWAY/Keyword-Declare-0.00101...

comment 5y ago · link · parent

The issue is that `int(x) / int(y)` would yield an int result in Python 2, but a float result in Python 3. So you had to find all the spots in your code where `/` was being used as an integer division operator and replace it with `//`.

Since Python 2 does not have any form of type annotation, this made the task hard to do automatically and error-prone.

comment 5y ago · link · parent

I had the same thought. Reading the Wikipedia page for the respective Italian law [1], it seems to me (but IANAL) that it would only apply to ownership of material things, not apply to monetary claims.

However, Italy also abolished all noble titles with the fall of the monarchy in 1946 -- I would have also expected that fiefs and any associated claims had been extinguished at the same time...

[1]: https://it.wikipedia.org/wiki/Usucapione

comment 5y ago · link · parent

The point is: Logo >> turtle graphics.

comment 5y ago · link · parent

Quite some time ago, I built `j2pp` to be a general text file preprocessor, à la m4 or cpp but using Jinja2 syntax: https://github.com/riccardomurri/j2pp (being written in Python seriously hinders its deployment, though)

Another tool that I wrote (and have used quite a lot) is ElastiCluster: https://elasticluster.readthedocs.io/ It's a CLI tool to deploy compute clusters (of different types (well, it's basically a large collection of Ansible playbooks with a Python wrapper), but mostly focused on batch-queueing systems) on IaaS clouds. There's now multiple tools for doing the same but I think this one is still one of the few (if not unique) to be able to deploy multiple types of clusters on multiple clouds.

1234567