HNHacker News
TopNewBestAskShowJobs

amake

1,913 karma · joined October 15, 2013

submissionscomments
amake··on Command line interface guidelines (2021)
The AWS CLI has --[no]-dry-run in many of its subcommands.

https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-h...

amake··on Emacs-copilot: Large language model code completion for Emacs
Yeah and there's already a well-known (at least I already knew about it and have been using it for a while) package started in 2022 called "copilot" for Emacs that is actually a client for GitHub Copilot: https://github.com/zerolfx/copilot.el

Given the lack of namespacing in Elisp (or, rather, the informal namespacing conventions by which these two packages collide) it's unfortunate that this package chose the same name.

amake··on 15-150: Principles of Functional Programming
Ah, that does look to be the case. I didn't know about that one.

    Signature
    (letrec BINDERS &rest BODY)
    
    Documentation
    Bind variables according to BINDERS then eval BODY.
    
    The value of the last form in BODY is returned.
    Each element of BINDERS is a list (SYMBOL VALUEFORM) that binds
    SYMBOL to the value of VALUEFORM.
    
    The main difference between this macro and let/let* is that
    all symbols are bound before any of the VALUEFORMs are evalled.
amake··on 15-150: Principles of Functional Programming
Anyway, as far as I'm seeing it's perfectly possible to implement let* consistent with the above behavior as a macro without mutation as such:

    (define-macro (let* bindings &rest body)
      (if (null? bindings)
        `(progn ,@body)
        `(let (,(car bindings))
           (let* ,(cdr bindings)
             ,@body))))
amake··on 15-150: Principles of Functional Programming
> let* permits expressions on the right refer to arbitrary other symbols bound by the let*

In what language? I just checked Elisp, SBCL, and Guile, and they all error out if you refer to a variable not previously defined by a left-to-right traversal of the varlist:

    (let* ((a (+ b 1)) (b 1)) a)
Edit: This doesn't work either:

    (let* ((a (lambda () (+ b 1))) (b 1)) (funcall a)) ; (funcall a) -> (a) for Schemes
amake··on 15-150: Principles of Functional Programming
Why does `let*` need to have mutation? It can be nested `let`s.
amake··on Why I tend not to use content negotiation
It's not just styling. The content is actually a `git format-patch` patch for the former a unified-format diff for the latter.
amake··on Monaspace
No one cares. Just don't use them.
amake··on Monaspace
No. People like them. No one is forcing you to use them. Stop complaining about it.
amake··on Monaspace
I agree entirely. PragmataPro is my daily driver, and anything else feels way too expansive.

Default Iosevka is close, but the leading is much larger. Luckily you can customize it to be almost identical (set `leading = 1110` in the config; value obtained by trial and error).

amake··on Free IRS-run tax filing pilot to be available in 13 states
No need for the hat. As I understand, that is an explicit goal of influential political operatives like Grover Norquist and the Americans for Tax Reform (https://en.wikipedia.org/wiki/Americans_for_Tax_Reform)
amake··on What every software developer must know about Unicode in 2023
The default iOS Japanese keyboard allows easily entering circled numerals and many other “exotic” characters.
amake··on macOS Sonoma is available today
MacPorts has provided binaries for many years at this point.
amake··on FiraCode: Free monospaced font with programming ligatures
https://news.ycombinator.com/item?id=34589338
amake··on FiraCode: Free monospaced font with programming ligatures
"Oh, a post about a programming font; let's see if there are any comments not from killjoys who can't help but advertise their hatred of ligatures"

*opens comments*

*shakes head, closes tab*

amake··on Lazydocker: a lazier way to manage everything Docker
Heavy Emacs users may appreciate docker.el, which does a lot of the same things inside Emacs

https://github.com/Silex/docker.el

amake··on Plastics are poisoning us
I suppose it was too late to ban lead from gasoline because everyone alive at the time had already been exposed.
amake··on 11 years of hosting a SaaS
> The team had several people in every time zone

Kind of hard to believe

amake··on It’s not wrong that "🤦🏼‍♂️".length == 7 (2019)
Did you not read the article?
amake··on It’s not wrong that "🤦🏼‍♂️".length == 7 (2019)
It's ambiguous because it's not clear what elements go into separate cells of the array.
amake··on Ligatures in programming fonts: hell no (2019)
Tell me you've never actually used programming ligatures without telling me etc. etc.
amake··on My Emacs eye candy
I would probably be considered an Emacs power user: I have used it for years as my daily driver for professional programming in many languages; I have an extensive custom config; I have published several non-trivial packages.

But I still had no idea that zones existed until today.

amake··on The Windows 11 Trash Party
There are occasionally ads disguised as alerts, such as when you're running low on storage space it will suggest that you buy a paid tier of iCloud storage.

I think I have seen other ad-adjacent messaging for other paid Apple services but I can't think of any off the top of my head right now.

amake··on Gource – Animate your Git history
What does “aesthetic” mean to you in this context?
amake··on Modern Mono
Oh boy time for this again:

> To all the people complaining about how they don't like ligatures:

> Nobody cares. If you don't like them, then don't use them. They are optional.

> Lots of people like them. Let people like things.

https://news.ycombinator.com/item?id=34589338

amake··on ChatGPT is a blurry JPEG of the web
baka and boke are unrelated words.

The overlap is that the verb "bokeru" and its root "boke" can be used to describe someone losing their mental faculties e.g. through age or disease such as Alzheimer's, and by extension it can be used as an insult to mean "stupid" as well. But etymologically there is no connection.

amake··on Berkeley Mono Ligatures Release
Are you haranguing people about liking dark mode in comments sections as well, or just ligatures?

> It being good or better is science

Citation needed.

amake··on Berkeley Mono Ligatures Release
> It's not just personal preference, it's the science of usability

It's obviously personal preference, because many people prefer it. If I found ligatures harder to read or edit then I wouldn't use them, but I don't, so I do.

> programs with ligatures-by-default

Such as?

amake··on Berkeley Mono Ligatures Release
The ligatures discussed are implemented at the rendering level. The byte sequence of text is unchanged vs the "no ligature" scenario. So this has zero impact on screen readers.
amake··on Berkeley Mono Ligatures Release
To all the people complaining about how they don't like ligatures:

Nobody cares. If you don't like them, then don't use them. They are optional.

Lots of people like them. Let people like things.

← PreviousPage 4 of 11Next →