HNHacker News
TopNewBestAskShowJobs

omaranto

3,339 karma · joined December 30, 2009

submissionscomments
omaranto··on Show HN: A plain-text file format for todos and check lists
Is it really that much harder to read than Markdown?

- Headings: Markdown uses #, Org uses asterisks.

- Italic: Markdown uses asterisks or underscores, Org uses /

- Bold: Markdown uses double asteriskes, Org uses asterisks

- Inline Code: Markdown uses backticks, Org uses =

- List items: both use dashes

- Links: Markdown uses [description](url), Org uses [[url][description]]

- Code blocks: Markdown indents each line by four spaces, or some modern dialects use tripe backquotes, Org uses #+begin_src, #+end_src tags

omaranto··on Osm.el – OpenStreetMap Viewer for Emacs
And Corfu was written by the same person as this OpenStreetMap Viewer.
omaranto··on Osm.el – OpenStreetMap Viewer for Emacs
But that's for individual programs in a larger system. Those of us who live in Emacs do follow the Unix philosophy at the granularity of individual applications inside Emacs or even individual Elisp functions.
omaranto··on Offpunk 1.0: Offline Gemini/Gopher/Web Browsing
I'm pretty sure that Gemini users are for the most part not fans of the modern web!
omaranto··on Ask HN: How to quickly animate system sketches and 2D diagrams?
Did you mean "tweening" rather than "tweeting"?
omaranto··on Show HN: All desktop software calculators are wrong, so I had to build my own
I'm not sure what you mean by "digging developer forums", but I fully agree with you that Emacs Calc is not a good choice for everyone, in fact, I would not recommend it to anyone that isn't already an Emacs user (but for people who are already Emacs users I do highly recommend it, since it has a ton of functionality and is an easy-to-find lightweight tool ---if you're already in Emacs anyway).

I was just curious to see if you had tried it, since it seems similar in spirit to your project, and thought you might be able to borrow some ideas from it.

omaranto··on Cooklang – Managing Recipes in Git
That is highly unconvincing! Isn't the quantity a number? Have the syntax be @<ingredient>{<number> <units>}, where the units may contain spaces but not braces. You can even make the space between quantity and units optional.
omaranto··on Show HN: All desktop software calculators are wrong, so I had to build my own
Looks very cool, congratulations! Have you tried Emacs Calc? Chalk reminds me of Emacs Calc, but without the symbolic computation (and without date calculations or anonymous functions).
omaranto··on Cooklang – Managing Recipes in Git
The % in this syntax is not to indicate information about scaling, it is just a meaningless separator: "3%tsp". I'd say both "3tsp" or "3 tsp" look better.
omaranto··on Cooklang – Managing Recipes in Git
I'd remove the % sign from the syntax for ingredients.
omaranto··on “Open source” does not mean “includes free support” (2020)
I can understand not promising to fix bugs (in fact, I'd say that's the default), but not wanting to even find out about them seems very strange. It must be someone who doesn't like their own software.
omaranto··on Ask HN: Why are you programming your hobby projects in a niche language?
I use a niche language because it is by far the best language in which you can make the things I want to make as a hobby: tools to augment Emacs. I think that's how you are supposed to pick a language, right? Think of your goal and choose the most appropriate language to achieve that goal?
omaranto··on Thoughts on Markdown
Emacs' Org mode gets this right.
omaranto··on Automatically generate docstrings for your Python function
Or it makes it obvious the person is just learning the syntax and wrote themselves a reminder of what that weird ++ symbol means?
omaranto··on Annotated equations for increased readability and understanding of papers
I guess it depends on how concrete the code is. For very general things there just are no good names. I see the point in calling a variable anualSalary, say, but in a function for reversing a list is elementOfList really better than element or than x (which would be my preference)?

This, by the way, is probably the main reason math uses single letters for names (with some rules of thumb that hint at the type, like n for an integer, X for a scheme, calligraphic F for a sheaf, etc.).

omaranto··on Annotated equations for increased readability and understanding of papers
Yes. But it would be tough to change the culture. Math papers are meant to be read, so people pay attention to the explanations. Computer programs (at least if they garner users!) are run much more often than read, so it's natural to focus on the code and neglect the comments.
omaranto··on Annotated equations for increased readability and understanding of papers
> Mathematics seems to be obsessed with one-liners

Not at all. Formulas in a math paper always come with at least a paragraph of text explaining them. You aren't supposed to read the formula without the explanation.

> Single letter variable names (often from different alphabets) and complex expressions that should be broken down would never make it through a code review ;-)

That's done for readability. The text explains the terms of the formula and the formula concisely summarizes the precise relationship between them.

omaranto··on End of the line finally coming for BlackBerry devices
That wouldn't explain it: vos is used in Argentina, Uruguay, Paraguay, Costa Rica and in parts of several other Latin American countries.
omaranto··on On Emacs 28’ context menu and Unix mouse-usage in general
It feels so weird seeing my packages mentioned on Hacker News! (I wrote embark and orderless and cowrote marginalia.)
omaranto··on Exa: An alternative to Ls
I basically never use ls (directly) anymore since Emacs took over almost all my computing.
omaranto··on Why Lisp? (2015)
Why wouldn't you use Emacs Lisp to automate small tasks? I think it's great for that purpose, it's usually pretty easy to give a utility a very comfortable user interface in Emacs.
omaranto··on To learn a new language, read its standard library
> I think it's pretty clear the GP was asking if the optimizations implemented for x86 that aren't implemented for aarch64 would actually improve performance of generated aarch64 code.

Oh, of course! That must be what was meant. Sorry.

omaranto··on To learn a new language, read its standard library
Well, if it didn't, they could optimize the compiler by removing those optimizations. :)
omaranto··on Magit, the magical Git interface (2017)
It's not a CLI at all, it's text-based UI that runs inside Emacs.
omaranto··on Jupyter Book
I don't think this is true either. I went to one of the pages, https://orgmode.org/worg/org-contrib/babel/intro.html, clicked "Sow org source" and it took me to https://orgmode.org/worg/org-contrib/babel/intro.org.html, which does very nicely show the Org mode source code.
omaranto··on Jupyter Book
That's not true. Org has a subsystem called Babel that can run code in lots of different languages, and it's pretty easy to add support for new ones.
omaranto··on Jupyter Book
There's Emacs's Org Mode.
omaranto··on The most underused browser feature: reader mode
> - Put in a motherfucking scrollbar already.

You mean you want two scrollbars? One from the web page and one from the browser window. That seems like an odd choice.

omaranto··on Mexico is phasing out imports of glyphosate and GMO corn
> The google translated version says nothing about banning genetically engineered corn, just banning glyphosate?

That's a question, right? The answer is no: articles 5 and 6 do talk about banning genetically modified corn.

omaranto··on Surveys show Americans want more walkable cities
I lived in the Boston area for five years and it was a great experience overall, it's quite walkable. The one thing I could never quite get used to was public transit taking longer than walking! You often had a choice of walking for 20 minutes or waiting 15 minutes for a 6 minute bus ride. (Tip: in winter, walking isn't just faster, it feels much warmer too.)

This really confused my Mexico City brain. Here in Mexico City public transit is horribly crowded but faster than walking. The subway is usually faster even than driving, which makes sense because you're not in our terrible traffic.

I guess part of the problem in Boston is that there just aren't enough riders: after waiting 10 minutes for a bus it wasn't even full! Here in Mexico City a more typical waiting period is 5 minutes and the bus is usually packed. I bet in Boston it's just not economically viable to run transit more frequently. Although maybe more people would opt for public transit if it were more frequent?

Anyway, I do recommend living Boston for a few years even with its wonky public transit. It's very pretty and has plenty of character.

← PreviousPage 3 of 34Next →