Better HN
topnewbestaskshowjobs
Log inSign up

afefers

43 karma · joined Apr 30, 2020 (6y ago) · 27 submissions

Submissions

comment 1y ago · link · parent

Can you explain how you achieve this?

2.

Ask HN: What are the best things in your shell config? Functions, aliases, etc.

6 points · by afefers · 2y ago · 4 comments

comment 2y ago · link · parent

Huh! All this time I thought the "super" was just for branding/differentiation.

comment 2y ago · link · parent

Not Apple... At least as far as I known.

comment 2y ago · link · parent

Firefox doesn't have support for AppleScript and this is crucial to my browser habits/workflow. Both Safari and Chrome/Chromium-based browsers have it. Once/if Firefox adopts it, which I doubt but hope so, I'll consider using it.

Here is the 22 years old ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=125419

comment 2y ago · link · parent

The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev

comment 3y ago · link · parent

Yup. I use Emacs since 2002 and am pretty happy with it. Never used an Electron-based app and probably never will.

comment 3y ago · link · parent

The killer feature for me is not being an Electron app.

comment 3y ago · link · parent

I don't know anybody who uses Signal and isn't a programmer (on the cryptography/security side) or journalist that needs it in order to work. Anybody else uses Telegram, WhatsApp, or both. SMS if you're in the USA.

comment 3y ago · link · parent

Thank you so much! This got me looking at the Ruby documentation about blocks. Very cool feature!

comment 3y ago · link · parent

As someone who's new to programming and doesn't know Ruby at all, can you (or someone) please explain how it works, what it does, and how would someone use it?

I find it beautiful, tho :)

comment 3y ago · link · parent

What is MLS?

comment 3y ago · link · parent

I would love to see this money ($30M) being given to Andreas Kling and others behind Ladybird (the browser from SerenityOS). I'm pretty sure in 1-2 years they would have a better browser than the current Firefox.

comment 3y ago · link · parent

This is fantastic but I can't see myself using it simply because it uses Electron.

comment 4y ago · link · parent

What was made? I wasn't even born in 95 and am deeply curious to know.

comment 4y ago · link · parent

Those are really good! Thanks for sharing. Curious to see the others. Are they available somewhere?

comment 4y ago · link · parent

Thank you! Just converted it to Emacs Lisp:

  (defun new-note ()
    (interactive)
    (insert "----------------\n")
    (insert (shell-command-to-string "echo -n $(date \"+%Y-%m-%d %T\")"))
    (insert "\n"))
  
  (global-set-key (kbd "C-M-n") #'new-note)

And to invoke it from the shell:

  emacs --function new-note --file notes.txt

If somebody knows a better or more elegant way to do this, please tell me!

comment 4y ago · link · parent

This is so cool! Care to share it? I'm a non-programmer-who-wants-to-be-a-programmer and I loved this approach.

comment 6y ago · link · parent

As someone very poor, for me good life means having money to the point where my choices are not based around it.

comment 6y ago · link · parent

The customer support is the best! No waiting, no pre-recorded messages, no muzak, no menu. A real person picks the phone and talks to you. Oh and the app is a delight!

21.

Ask HN: What's the best documentation you've ever read?

4 points · by afefers · 6y ago · 3 comments

comment 6y ago · link · parent

Good points. What would you suggest instead?

comment 6y ago · link · parent

Is it available somewhere? I really liked it!