News for hackers. Stuff that matters.

afefers

Re:Show HN: Zev – Remember (or discover) terminal commands on Thursday April 24, 2025 @03:02PM (#43786227)
Can you explain how you achieve this?
Huh! All this time I thought the "super" was just for branding/differentiation.
Re:Ilya Sutskever to leave OpenAI on Tuesday May 14, 2024 @09:41PM (#40362196)
Not Apple... At least as far as I known.
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

Re:You don't need JavaScript for that on Saturday December 02, 2023 @08:22AM (#38498444)
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
Re:Lapce Editor 0.3 on Tuesday November 14, 2023 @12:40PM (#38266635)
Yup. I use Emacs since 2002 and am pretty happy with it. Never used an Electron-based app and probably never will.
Re:Lapce Editor 0.3 on Tuesday November 14, 2023 @10:18AM (#38264289)
The killer feature for me is not being an Electron app.
Re:Websites That Changed the World (2006) on Saturday November 11, 2023 @01:22PM (#38232969)
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.
Re:Working with CSV files on shell/terminal on Wednesday June 28, 2023 @01:38PM (#36509839)
Thank you so much! This got me looking at the Ruby documentation about blocks. Very cool feature!
Re:Working with CSV files on shell/terminal on Wednesday June 28, 2023 @01:03PM (#36509308)
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 :)

Re:What I Want from the Internet on Monday May 08, 2023 @11:49AM (#35862951)
What is MLS?
Re:Mozilla.ai: Investing in Trustworthy AI on Wednesday March 22, 2023 @10:22AM (#35261450)
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.
This is fantastic but I can't see myself using it simply because it uses Electron.
Re:Pinboard vs. Raindrop: Two bookmark apps enter on Friday November 11, 2022 @03:18PM (#33566245)
What was made? I wasn't even born in 95 and am deeply curious to know.
Re:Idiot Proof Git on Wednesday November 09, 2022 @01:04PM (#33535479)
Those are really good! Thanks for sharing. Curious to see the others. Are they available somewhere?
Re:Ask HN: How do you maintain your daily log? on Thursday October 27, 2022 @02:51PM (#33362220)
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!
Re:Ask HN: How do you maintain your daily log? on Thursday October 27, 2022 @01:47PM (#33361260)
This is so cool! Care to share it? I'm a non-programmer-who-wants-to-be-a-programmer and I loved this approach.
Re:What Is a Minimally Good Life? on Wednesday September 23, 2020 @11:44AM (#24568380)
As someone very poor, for me good life means having money to the point where my choices are not based around it.
Re:Nubank acquires Cognitect on Thursday July 23, 2020 @12:19PM (#23928976)
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!

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

I'm looking for examples of outstanding documentation such as The Rust Programming Language book: https://doc.rust-lang.org/book/ or The Python Tutorial: https://docs.python.org/3/tutorial/index.htmlIt doesn't need to be related to programming languages, anything counts: APIs, frameworks, some really in-depth blog post or series of posts, etc.

( Read More... | 3 comments | 4 points | on HN )
Re:JavaScript for Impatient Programmers on Wednesday July 01, 2020 @07:02AM (#23700121)
Good points. What would you suggest instead?
Re:Userscripts Are Fun and Are Still Very Much Relevant on Thursday April 30, 2020 @06:06PM (#23036767)
Is it available somewhere? I really liked it!