HNHacker News
TopNewBestAskShowJobs

schemescape

2,278 karma · joined February 16, 2020

-
submissionscomments
schemescape··on Lapce: Fast and Powerful Code Editor Written in Rust
That seems "open a bug" worthy, for a "lightning-fast" editor.
schemescape··on Amazon receives FDA warning letter for supplements with undeclared ingredients
Anecdote: I filtered to “sold by Walmart” (I forget the exact terminology, but customer support confirmed it was not from a marketplace seller), but the item I received had an Amazon return label and was shipped from an Amazon warehouse.

That was the last time I bought from Walmart in an attempt to avoid Amazon’s shenanigans.

schemescape··on IDEs we had 30 years ago
Is Doom Emacs really 500 MB? How did the author determine that?

I use vanilla Emacs and I believe it was closer to 100 MB when I installed it.

Related: I’ve spent a lot of time trying to find a development setup that runs on low-end hardware (as a reaction to modern bloat, and also as a way to minimize distractions). It has many flaws, but Emacs with Common Lisp is my current sweet spot of “price” (resource requirements) to “performance” (features+speed).

schemescape··on Ptext: A Nano-like text editor built with pure C
I’ve been wanting to make a library for Pico-like interfaces, with the commands and key combinations listed at the bottom of the screen.

I thought something like that must exist, but I haven’t found it yet…

schemescape··on Ptext: A Nano-like text editor built with pure C
I was shocked to discover that the source code distribution for GNU nano is over 3 megabytes.

To be fair, it also has more features than I expected, e.g. syntax highlighting. And I’m sure it runs on an obscene number of platforms.

schemescape··on Grouphosting
> Matrix doesn’t need a lot of resources for an instance that will only serve one user; a few gigs of RAM and a fairly low-power CPU would suffice.

Can anyone running a Matrix server comment on memory usage? I’m not sure which implementations are popular, but surely it requires less than 1 GB of RAM for a single user…

schemescape··on Acer Aspire 1 ARM Laptop Has Nearly Complete Upstream Linux Support
Is that a setup you use regularly, with other apps? How is your swap space configured?

My lived experience on Alpine, with no desktop environment on 1 GB is that Firefox needs more memory than that. Browsing the super-lightweight HN site is probably ok, though!

schemescape··on Acer Aspire 1 ARM Laptop Has Nearly Complete Upstream Linux Support
Thanks! Good to know that Firefox is working for you, even with only 1 GB of memory. I'll need to ponder why my experience was so much worse...

Edit to add, in case anyone's curious: suspend works for me (but not hibernate).

schemescape··on Acer Aspire 1 ARM Laptop Has Nearly Complete Upstream Linux Support
Mind sharing more details on your setup? (Distribution, window manager, and, most importantly, browser)

I have something similar (but an even older netbook). I'm using Alpine, i3, and mostly w3m (or Midori if JavaScript is needed). Given that Windows 10 on the netbook was completely unusable, it's impressive how functional it is with Linux.

It cannot handle modern bloat, however. Firefox just eats up memory until the machine freezes and I can't run a single Electron app for too long. Sadly, those make up far more than 1% of my use cases.

Overall, it's nice for distraction-free computing. I learned Common Lisp and Emacs exclusively on that little netbook. I probably would have gotten distracted by some shiny web page partway through if I'd been using my more capable desktop.

Edit to clarify: I'm curious what all you're able to accomplish with your similarly spec'd machine.

schemescape··on Reclaiming the web with a personal reader
There’s a link in the HN footer to a FAQ which links to formatting info:

https://news.ycombinator.com/formatdoc

schemescape··on Reclaiming the web with a personal reader
My thinking was that you could avoid setting up a domain and VPS as well. But you might be right!
schemescape··on Reclaiming the web with a personal reader
In that setup, how does your phone know to access your Pi over the VPN, but use the regular connection for everything else? Subnet mask?

Edit: any pointers on how to set this up would be appreciated! Maybe I’m using the wrong search engine, but I haven’t found this scenario laid out clearly, yet.

schemescape··on Reclaiming the web with a personal reader
It looks like the author added authentication to support accessing the app from anywhere.

Would it instead be possible/easier to throw it on a VPN and make the VPN accessible from anywhere?

The reason I ask is that I want to be able to access personal web apps securely and I’m trying to figure out the easiest approach. Every time I look at authentication, it’s a labyrinth of concepts, protocols, and libraries. I don’t want to maintain that!

schemescape··on Ask HN: What apps have you created for your own use?
Wow! I thought I was familiar with the history of the web, but I didn’t realize there were pre-Mosaic browsers!

Just to confirm: you are referring to this link in your profile, correct?

https://github.com/gulkily/pollyanna

Edit: glad to see w3m in the supported browser list!

schemescape··on John Carmack and John Romero reunited to talk DOOM on its 30th Anniversary
Thanks! Having the source code be open source is definitely a step towards preservation.
schemescape··on John Carmack and John Romero reunited to talk DOOM on its 30th Anniversary
Is there any organization that buys up rights to classic games and then releases them as open source, removing/replacing third party dependencies in the process?

If not, we should start one.

schemescape··on Please, expose your RSS
If the target audience for a blog is HN readers, then RSS is probably worth it (since HN readers use RSS, myself included).

The biggest issue I have with RSS is that by the time I find interesting blogs, they’ve stopped posting, so I never see updates in their feeds. But that’s an issue with blogs, not RSS.

schemescape··on New QuickJS Release
As an example, I had a Makefile that ran a JS engine a few hundred times and Deno had ~240ms of startup overheard (on a very slow computer) versus QuickJS having around 20ms. But when running CPU-intensive JS (Marked.js and highlight.js), Deno was roughly 6x faster.

I wanted to try Bun, but it had some blocking bugs at the time (which have since been resolved—or so I’ve read).

schemescape··on OpenAI employees did not want to go work for Microsoft
Sadly, viewing source code no longer appears to work without JavaScript…

Edit: tested in w3m

schemescape··on Windows users report appearance of unwanted HP app
Thanks! I’m surprised that doesn’t cause more issues (especially with unattended updates on servers), e.g. programs not getting restarted when an update to a library is made, or newly started programs loading incompatible (some combination of old and new) dependencies.
schemescape··on Windows users report appearance of unwanted HP app
Are the Linux package manager binary updates (meaning the file updates themselves) transactional somehow? What happens to running processes? Presumably they need to be restarted.

Just overwriting files does not seem sufficient, given my limited understanding…

schemescape··on Steel – An embeddable and extensible Scheme dialect
Not exactly what you asked for but, if you have time, I would recommend looking at Practical Common Lisp:

https://gigamonkeys.com/book/

And also this blog post (which is a much smaller time commitment):

https://mikelevins.github.io/posts/2020-12-18-repl-driven/

schemescape··on Steel – An embeddable and extensible Scheme dialect
Out of curiosity, if you’re familiar with Emacs, what’s your motivation for wanting to use Helix? Built-in LSP support?
schemescape··on Steel – An embeddable and extensible Scheme dialect
Solving Advent of Code problems in a language you implemented yourself should earn you an extra good star or something. Nice work, and cool project!
schemescape··on Build your own WebAssembly Compiler (2019)
Did I understand correctly that the native code was compiled without optimization? Meaning “-O0”?
schemescape··on Clang now makes binaries an original Pi B+ can't run
I didn't see it addressed here or in the article: this is a bug, right?

Edit: oddly, after searching LLVM bugs, I found a bug that sounds pretty much exactly like this issue... but it's from 2012 and is closed (although the final couple of comments make it sound like maybe it wasn't actually fixed--note: I only skimmed the comments and I probably misunderstood):

https://github.com/llvm/llvm-project/issues/13989

Edit again: I forgot about the comment at the end of the article that clarifies that explicitly passing the target results in a working program. In that case, it sounds like some sort of configuration bug--I would assume (but am not certain) that the default target would be the current processor, at least on Unix. That bug I linked was probably about producing incorrect code even when the target was set correctly which, thankfully, isn't happening today.

schemescape··on Ask HN: Good, general-purpose Linux LiveCD?
Puppy Linux would be my first choice today, but it’s just a personal preference.
schemescape··on HTML hacks that shaped the Internet
I recently did sort of the inverse as an experiment: put a button in a frame to avoid reloading the main page:

https://log.schemescape.com/posts/web-development/interactiv...

schemescape··on My $500M Mars rover mistake
Anecdote: I ran a migration on a production database from inside Visual Studio. In retrospect, it was recoverable, but I nearly had a heart attack when all the tables started disappearing from the tree view in VS…

…only to reappear a second later. It was just the view refreshing! Talk about awful UI!

schemescape··on A DX7 USB Dongle
Don’t forget “This DX7 Cartridge Does Not Exist”:

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

← PreviousPage 2 of 30Next →