HNHacker News
TopNewBestAskShowJobs

schemescape

2,278 karma · joined February 16, 2020

-
submissionscomments
schemescape··on Garry Tan tech CEO and campaign donor wishes death upon SF politicians
Honestly, I can’t support Y Combinator (by contributing to this site) after the CEO does something like this without repercussions—song lyrics or not.

This is schemescape signing off.

schemescape··on A Tour of the Lisps
Thanks for the correction! I had only used Lua, and thought Fennel had no runtime, so I assumed this was not possible.
schemescape··on A Tour of the Lisps
Short answer: I don’t know. That sounds like a good idea, but how would that access local variables in the caller (to inspect state)?

I remember the Lua C API exposes a lot of information, but I didn’t think it was accessible from scripts. Of course, it was a long time ago and I could have easily missed something at the time. Happy to be corrected!

Edit: you might also run into difficulties trying to redefine non-global functions to add the call to “repl”.

schemescape··on A Tour of the Lisps
Last I checked, Lua was “bring your own debugger”. Assuming that hasn’t changed, a REPL is nice, but you can’t pause and inspect anything by default.
schemescape··on A Tour of the Lisps
Good list! I, too, have many complaints about Common Lisp.

But for a language whose standard hasn’t been updated in roughly 30 years, it holds up impressively well!

schemescape··on Oasis – a small, statically-linked Linux system
Thanks! Most of those seem like a fair trade-off for portability… for an app.

I’m not sure it’s a great idea for an OS as in the OP, but I do like that they claim accurate incremental rebuilds, to ensure everything get updated. Certainly an interesting experiment!

Edit: just to clarify, I meant "app" as in "something that isn't part of the OS/distribution".

schemescape··on Oasis – a small, statically-linked Linux system
What are the quirks of static linking you need to work around (in general, not for glibc)?
schemescape··on Oasis – a small, statically-linked Linux system
Does anyone know how big the base installation is? I couldn't find an answer anywhere, and the link to the QEMU image appears to be broken, currently.

I'm curious how it compares to, say, Alpine with a similar set of packages.

schemescape··on Show HN: Bernard – a link checker for your website
Maybe not all pages are reachable from the root.
schemescape··on Common Lisp's block / return-from and unwind-protect
If you end up starting a blog, please share it on HN so I can find it :)
schemescape··on Ask HN: Any way to write a simple desktop app anymore?
Do you have any programming language or UI toolkit preference? That will likely scope your options.

If it's just for you, you could use something simple like Tk (e.g. Python + Tkinter).

schemescape··on Teslas crash more than gas-powered cars. Here's why
It sounds like how the pedals react and one-pedal driving are the reasons they suspect? I was expecting touchscreen-only controls to be mentioned, but for all I know new ICE vehicles are like that too.
schemescape··on A 2024 Plea for Lean Software (with running code)
What are some current examples of lean software, esp. related to developing and deploying software?

i3? SourceHut? QuickJS? Edit: BusyBox!

I know it’s an open-ended question, but I’m curious to see thoughts from others.

For context, possibly in reaction to porting an app via Electron, I’ve been trying to repent by finding a minimal development environment for hobby projects. I’m not sure it qualifies as “lean”, but Emacs and SBCL strike a nice balance for me right now.

schemescape··on Lichee Console 4A – RISC-V mini laptop: Review, benchmarks and early issues
> apt update fetches packages from Chinese server

So is it not official Debian? If so, that’s concerning!

schemescape··on A supply chain attack on PyTorch
Thanks, that makes more sense than automatically granting privileges. It definitely seems easy to mix up those two terms, however!
schemescape··on Penrose – Create diagrams by typing notation in plain text
Looks like that depends on the “canvas” package, which appears to use Cairo/Pango for text, similar to Graphviz.

This is great! I wanted something I could compile (the native code) to WebAssembly for use in a Deno-based SSG, and this looks promising.

schemescape··on Penrose – Create diagrams by typing notation in plain text
Does this require a browser (or browser engine) for rendering (like Mermaid.js)? Or can it render (esp. to SVG) without a browser (like Graphviz)?

Penrose appears to be written in TypeScript, so my assumption is that it needs a browser.

schemescape··on A supply chain attack on PyTorch
> I really don't like this aspect of GitHub that people who have submitted a typo fix gain additional privileges on the repo by default.

What privileges do they gain? Anything other than the one you mentioned?

This was definitely not obvious to me, so thanks for bringing it up!

schemescape··on OpenWrt One/AP-24.XY: new open source router board by OpenWrt and Banana Pi
How paranoid should I be about routers from companies like Cudy that I’m not familiar with? My intuition is “very paranoid, even if I replace the firmware with OpenWRT”.

Am I being too paranoid?

schemescape··on Show HN: A Game for Developers. Can you beat it?
Is it just Safari or are the “turn left” and “turn right” icons nearly identical?
schemescape··on Spot Bitcoin ETF receives official approval from the SEC
In the hypothetical case that a Bitcoin ETF gets hacked and its wallet(s) emptied, what happens? Is it any different from, say, a gold ETF having its physical gold stolen?
schemescape··on Turing Complete is a game about computer science
Is anyone able to contrast NAND Game and MHRD? They sound very similar.
schemescape··on Turing Complete is a game about computer science
> If you don't actually enjoy the the electronics part so much and just enjoy the psuedo-assembly aspect, then I'd recommend TIS100 or Shenzhen I/O.

(Shameless self-promotion, but I think it's relevant here...)

And if you've already beaten TIS-100, but would like an even more tedious assembly language experience, I put a (free) single-instruction (subleq) game on Steam: SIC-1

https://store.steampowered.com/app/2124440/SIC1/

schemescape··on Missing the Point of WebAssembly
I saw you mention this in a previous post, but I can’t find an example. Do you have one handy? What are the limitations?

Edit: is this it? https://www.spritely.institute/news/building-interactive-web...

Edit again: apparently I had seen this before, since I upvoted its HN submission. Oops! https://news.ycombinator.com/item?id=38477602

schemescape··on Simple Lasts Longer
Local Storage falls apart on iPad/iPhone, unfortunately. The data is deleted if you don’t visit the site often enough. I lost my Wordle stats over a vacation this way.

Even worse, if you have an HTML game hosted on itch.io (which uses a cross-domain iframe, for security), Safari just silently discards all Local Storage when you close the tab, with no option to disable this behavior on a specific site.

I know Local Storage is supposed to be just a cache, but I really wish we had opt-in durable storage…

schemescape··on Web browser as GUI, with your preferred language in the backend
Is there a document describing the architecture and security model?

Edit: There's an image that mentions WebSockets. Is it using the same one-time token approach to security as NeutralinoJS[1]?

[1] https://neutralino.js.org/docs/contributing/security/

schemescape··on LuaX: A Lua Dialect with JSX
Is that because you want presentation to be separated? Or some other reason?
schemescape··on LuaX: A Lua Dialect with JSX
> The problem is that no preprocessor-style template language actually allows you to manipulate the HTML as data.

Lisp works great for this sort of thing.

schemescape··on Lapce: Fast and Powerful Code Editor Written in Rust
Right, I just meant it wouldn’t hang the UI (as the parent comment seemed to imply).
schemescape··on Lapce: Fast and Powerful Code Editor Written in Rust
I would assume that LSPs are queried asynchronously. That's at least how it appears in VS Code.
Page 1 of 30Next →