HNHacker News
TopNewBestAskShowJobs

esrh

358 karma · joined June 13, 2020

esrh.me
submissionscomments
esrh··on Termux on Android 5 or 6
- testing short code in various repls

- using qalculate! for complex calculation (think physical constants, unit mixing, trig), currency and unit conversion, simple symbolics

- ffmpeg. i have aliases for video compression, stripping audio, etc

- converting between file formats, imagemagick and pandoc

- untarring files, encrypting files, batch renaming

- sending files somewhere else via scp

- remote controlling computers

- it's possible to set up a vnc server and a full gui desktop environment, for a highly portable system that gets you the same program and file setup on any computer supporting a vnc client.

Once you build up a collection of aliases / shell functions it can be very powerful even with a small virtual keyboard. The fish shell is also a great qol addition.

esrh··on Effective Altruism and Its Future
huh? it's just substack... the whole point is this half blog/half newsletter thing. It does have a close button, called "Let me read it first"
esrh··on Maria: A ClojureScript coding environment for beginners
This is really fantastic!

I've always felt like the lisp family could be a potentially killer educational language, with clojure being a good pick for its focus on functional ideas while being a bit more concise (and practical (looking at scheme)) than some other lisps.

Typically, most programmers start out with an imperative language and then eventually learn a functional language. I've wondered what it would be like to learn programming from scratch starting from key functional concepts like lists, map/fold/filter, recursion, and first class functions.

This kind of drawing program also has the benefit of making it simpler to explain some of the benefits of lisp-like languages specifically, in the sense of "wow i'm typing s-exps of the same structure a whole lot, I wonder if i could make it more elegant to type some how" -> macros.

Clojure has one of the heavier installation procedures, with its dependency on java. Plus, getting a decent repl environment takes at the very least installing rlwrap, and at the most emacs and CIDER. On that note, does anybody know of an all-in-one, simple, repl-focused, lightweight clojure IDE, like the IDLE for Python?

CLJS is looking pretty optimal. I only just played around with Maria, but it seems like a really friendly environment, especially the helpfully named functions, autocomplete, and of course the repl. It's overall super polished, 100% already rivals pygame and logo as educational tools which were super fun for me when I started programming.

esrh··on How did Cole factor 2^67−1 in 1903?
Title should be 2^67-1
esrh··on It looks like I’m moving to Mastodon
Quite a lot of people, i think. The google play app alone has been downloaded over a 100 million times.

All my family and some friends use it as our primary platform for communication.

esrh··on The Most Effective Way to Learn New Words
> In Mai

Maybe you got a little too into it? :)

esrh··on Nanowire synapses 30,000x faster than nature’s
30000x is bigger than you think!
esrh··on Elon Musk owns Twitter: The story so far
Someone told me a while ago that if you hit "log in" a close button appears in the top left, and you can close the dialog without signing in.
esrh··on iOS Ships Dvorak, Finally
Maybe I'm just not good enough, but i use Dvorak on desktops(~110wpm on typeracer) and still use qwerty on my phone. The (perceived) comfort improvement just isn't there for me when I'm typing with two thumbs and use a swipe keyboard half the time anyway.
esrh··on Joining the Church of Emacs
Really glad to see more people switching to meow[0]. It felt extremely right after using and being frustrated by both standard emacs and evil.

I wrote the article [1] linked in the post, so that was really fun to see as well!

Tldr: simplicity, extensibility, kakoune grammar, less modifier usage, dvorak/keyboard compatibility, great multiedit system that obsoletes macros in daily usage

(Disclaimer, i work on meow)

[0] https://github.com/meow-edit/meow

[1] https://esrh.me/posts/2021-12-18-switching-to-meow.html

esrh··on Show HN: Get conversational practice in over 20 languages by talking to an AI
I'm stunned by how well this works for Japanese, the only language I think I'm good enough at to judge the AI's responses.

The speech recognition is flawless as far as I can tell. The AI occasionally gets itself into a loop of repeating my question or itself, but I think this has been a problem with a lot of chatbots. The only glaring errors I've seen so far are these kinds of AI-specific issues, like forgetting context, getting geographical facts wrong, etc.

>こんにちは。今日はどちらへお出かけですか? (Hello. Where are you headed?)

京都に行きます. (I'm going to Kyoto)

>素晴らしい都市ですね。行ったことはありますか? (It's a great city. Have you been?)

いや初めてです。お勧めの場所はありますか?. (Nope, it's my first time. Any places you suggest?)

>京都は歴史のある美しい都市です。たくさんのお寺や神社を訪れることができます。(Kyoto is a beautiful city with history. You can visit plenty of temples and shrines.)

そうですね。清水寺とか聞いたことがある。行きたいんだ. (True. I've heard of like, Kiyomizudera, and I want to go.)

>清水寺は必見です!とても人気のあるお寺で、市内を一望できるんですよ(Kiyomizudera is a must-see! It's a very popular temple, and you can see the whole area at once)

Not only does it know about Kyoto, but it knows about a specific temple (picked it up via speech recognition too). Translations are rough and by me, not quazel.

This could be a real game changer if the other languages are this good.

Additionally, if you register an account then you get access to the "Scene builder" which lets you set up a situation to start the conversation in. I have found that you can redirect any conversation to pretty much anything, but I thought it was a cool idea that many people here averse to account-making might have missed.

esrh··on Show HN: AutoHotkey for Linux
AHK's prime utility seems like hacking optimizations on inefficient-for-power-users gui software.

It kind of makes sense then that this was made for and got popular on windows, because that OS is absolutely rife with annoying gui software written for the lowest common denominator of user.

Whenever i infrequently have to use windows I'm a bit shocked at the number of clicks you need to get anything done.

esrh··on Ask HN: Is there other software similar to Vim and Emacs?
Some people have mentioned window managers, but nothing comes quite close in terms of extensibility and feature as dwm[0] and xmonad[1], which is a near dwm reimplementation in haskell with many more interesting features.

Both programs are configured by writing code, which compiles to a binary that you then use. Xmonad and xmonad-contrib are maybe more accurately described as haskell libraries that make writing your own window manager trivial. Highly recommend if you enjoy configuration, you can do some really cool stuff with it.

[0] https://dwm.suckless.org/ [1] https://xmonad.org/

esrh··on Straight.el: next-gen, purely functional package manager for the Emacs hacker
My interpretation is that the same initialization config will lead to the same setup every time, in the sense that each installation is pure in a way. Of course, while it probably just works, it's only actually pure if you pin every package to a version.
esrh··on I’m switching from VS Code to VS Codium
You might be right in cad and eda, but there's surely a case to be made that python libs(numpy, sympy), sage, r, octave could be better that matlab or mathematica.
esrh··on How To Remember Anything Forever-ish (2018)
I think anki is still probably the way to go. It doesn't store your cards in plain text, they're in a sqlite database instead. I use ankipandas[0] to read, manipulate and analyze my cards though.

[0] https://github.com/klieret/ankipandas/

esrh··on Ask HN: Favourite open source game?
osu!lazer: https://github.com/ppy/osu

Official open source reimplementation of the rhythm game osu!classic that is planned to replace it. It's mostly equivalent except in that you can't submit competitive scores online.

Osu probably has one of the biggest communities surrounding an open game, with some ~15 million active players around the world.

Gameplay revolves around playing community-generated "beatmaps" in one of 4 rhythm-based modes, the most popular of which involves clicking circles.

esrh··on Show HN: I made Ankify that converts notes to Anki cards
This is pretty neat, I've also encountered the same problem. Personally, I take my notes in emacs org-mode, and I've built up a workflow around anki-editor[0], some snippets and elisp.

[0] https://github.com/louietan/anki-editor

esrh··on Miniclip to Discontinue Desktop Site and Transition Exclusively to Mobile Games
I think the link is bad evidence, but they mentioned the "global population," which makes the claim more reasonable.
esrh··on Fennel: A Practical Lisp
Calvin rose, the author of fennel is a really great programmer and an even better language designer. Personally, i dont use or like lua, but I'm a big fan of one of his other projects, janet[0]

[0] https://github.com/janet-lang/janet

esrh··on Show HN: Warp, a Rust-based terminal
It is a little bit unfortunate that alacritty is licensed under Apache, which means it can be forked into proprietary software like this. If it was gpl like kitty, the authors would have had no choice but to make it fully open source from the start.
esrh··on LiBlast: A Libre Multiplayer FPS Game Built with Godot 4 and Blender
I have played Xonotic[0] for some time and it's a lot of fun. As far as i know it's entirely libre.

[0] https://xonotic.org/

esrh··on Show HN: Prig – like AWK, but uses Go for “scripting”
I agree. Your comment got me thinking about a lisp dsl for awk-like operations. txr lisp[0] comes with one of these.

[0] https://www.nongnu.org/txr/txr-manpage.html#N-000264BC

esrh··on Fleet, a Lightweight IDE from JetBrains
That's exactly why, free/open source enthusiasts are just the minority type to prefer freedom or privacy over convenience.
esrh··on The Catherine Project: A new experiment in liberal education
What's your favorite book?
esrh··on Show HN: Measure downloads and commercial adoption of any file you distribute
> Why should we hold OSS developers to an even higher standard than what we tolerate from large companies?

The problem here is that i DON'T tolerate this from large companies either. I find the pixel tracking thing outrageous and disable images by default in my email client to avoid it.

I understand your argument, I just find it personally strongly disagreeable, and I'm willing to bet poster above did as well.

esrh··on Remind – a sophisticated calendar and alarm program
I wonder why such a presumably free software extreme, Microsoft/apple hater would license under gpl2 instead of 3.
esrh··on Launch HN: Litnerd (YC S21) – Teaching kids to read with the help of live actors
I'm interested to know if this actually works at getting students better at reading. Since litnerd already has some 14k students, have you run any studies or recorded any metrics that show that litnerd is really helping kids learn to read better than the traditional strategies?
esrh··on Lignum Nephriticum
I'd very much like to see a video
esrh··on What to do if you think that you’ve found a meteorite
Another one by randy korotev:

> Think of it this way: If you see it driving down the freeway and it has 4 wheels, 2 headlights, and a trunk, it is probably an automobile, not an alien spacecraft.

https://sites.wustl.edu/meteoritesite/items/some-meteorite-r...

I wonder just how many times he's been contacted about meteorwrongs to write that flowchart.

← PreviousPage 2 of 4Next →