HNHacker News
TopNewBestAskShowJobs

LanternLight83

641 karma · joined July 15, 2019

lantern@illucid.net
submissionscomments
LanternLight83··on TurboWarp Desktop
I had the same question when I first saw this post because the title is kinda generic, but the description is right at the top of a page: a Scratch mod with a compiler. There's more detail on the actual tool's page:

> TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast.

And Scratch has it's own resources, because it is it's own project; the target audience is clearly (possibility prospective) Scratch users.

LanternLight83··on Lisp-stick on a Python
> I always wonder how different the history of prog.langs would be if early on one of the many indent/offside rule based 2-D notations had become popular with "boring code" writers in Lisp and not eschewed by "fancy macro writers" in Lisp.

That sounds interesting but is hard to search for, have you got an example?

LanternLight83··on Lisp-stick on a Python
I'd say the most satisfying experiences I have with lisp are a cross between clean abstractions and light code-golfing. To call out specific approaches, I'd highlight anaphoric macros, code-walking via (symbol-)macro-let [1], and the freedom to control when expressions evaluated (generally at read-time, compile-time, or run-time) for optimization [2][3].

[1]: https://letoverlambda.com/index.cl/guest/chap5.html#sec_

[2]: Compiler macro chapters aren't free, but I guess read-time is covered here https://letoverlambda.com/index.cl/guest/chap4.html#sec_1

[3]: https://irreal.org/blog/?p=809 / https://web.archive.org/web/20140711171755/symbo1ics.com/blo...

LanternLight83··on The fateful, final journey of the Edmund Fitzgerald
Relatedly, the Punch Brothers recently cover-albumed Tony Rice's cover of the track:

https://youtu.be/DhTRNU1mnVA

LanternLight83··on Mastodon Explained
> a non-web client that does E2EE

Yeah, I guess secure scuttlebutt comes to mind? But it's kinda it's own thing, notably with it's own scaling issues when it comes to widespread use.

LanternLight83··on PR that converts the TypeScript repo from namespaces to modules
I used to tout "tabs for indentation, spaces for alignment" until I started working primarily woth lisps. Idiomatic lisp indention isn't compatible with regular tab-stops, so the only solution is to go with spaces (maybe losing accessability) or, preferably, to go elastic.

https://nickgravgaard.com/elastic-tabstops/

LanternLight83··on PR that converts the TypeScript repo from namespaces to modules
https://nickgravgaard.com/elastic-tabstops/
LanternLight83··on SourceHut terms of service updates, cryptocurrency projects to be removed
Just as a Dad-joke, this is kinda ironic; bc "git is a blockchain" :p
LanternLight83··on Open source sustainment and the future of Gitea
The implication of a DAO and Crypto involvement has stirred attention in the comments. I have 2¢ on the matter. First, I don't think we've seen many examples like this in open-source communities. For that reason alone, regardless of the idea's merit, I welcome it; if it is to fail, let us see it, that we may have a case study in the future. Worst case, there is wide support for a fork, and I don't see that becoming any more unreasonable over the next decade. Secondly, just as a brain-storming idea, what if we had like the blockchain and stuff but the rewards weren't pure value (ie. contextual value, one man's treasure; titles, hats, cosmetics, merch vs purchasing power and/or influence)?
LanternLight83··on Salary Transparency
Aw, for what it's worth I (and I think GP) like it, but I'll take your word that trouble has occured~
LanternLight83··on New Psychedelic Entactogens
That's really neat! Where'd you hear about that?
LanternLight83··on Mojibake
Reminiscent of baud barf
LanternLight83··on Xonsh: I don't remember how to write a for loop in Bash [video]
I was a bash sympathizer until a post made the rounds about how, even if you `set -euxo pipefail`, `declare x="$(err)"` will silently eat the return code of the subshell. This applies to `local` too, and tbf is mentioned somewhat offhandedly on some man page, but was the straw that solidified my opinion. There's just no reasonable way that even an experienced user of Bash (ie. the kinds of folks who think that set command has them covered) could be expected to know about this footgun. The solution is to always declare and assign variables separately. Still use it all the time, and I guess "now I know", but, wtf Bash. Safety options are poorly bolted on.
LanternLight83··on Xonsh: I don't remember how to write a for loop in Bash [video]
You can use brace expansion to avoid calling out to seq in a subshell (`{1..5}` expands to `1 2 3 4 5`)
LanternLight83··on Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls
Googled it, it's a Mean Girls thing, kinda wholesome to see such fandom around such an arbitrary date that was just mentioned
LanternLight83··on Bash one-liner to produce a list of HEX color codes that read like English words
https://gist.github.com/aileftech/dd4f5598b1f3837651fdf16e5a...
LanternLight83··on Show HN: Stock Photos Using Stable Diffusion
Summoning, I like that~
LanternLight83··on DALL·E Now Available Without Waitlist
Anecdotally, it runs twice as fast and with 20% lower VRAM use on my machines than it did when I first experimented with it in the first week after release. I no longer need to hyper-optimize memory use (as a layman!) and patch that optimized model into web-frontends that don't come with it to get it to run on a 4gb card, there are flags now that make it "Just Work"™. Down from 90s/512²img -> ~35s. Exited to try it out on some AMD APU's when I've got time to see if that can outperform my dedicated but ancient 4gb card.
LanternLight83··on Learn TLA+
Love "Computer Things", and, tbh, forget sometimes that you and the "LearnTLA+ guy" are the same person; great work on both fronts, and thank you so much for putting posts/resources out there and contributing to these corners of the web; I'll be sure to check out LTLA+ when it & I are ready c:
LanternLight83··on Ken Thompson really did launch his "trusting trust" trojan attack in real life
Just wanted to say that I love your blog!!!
LanternLight83··on Ken Thompson really did launch his "trusting trust" trojan attack in real life
I get totally different vibes from the chat-esque furry avatars, which I see as both an extension of the increasing fluidity of identity on the internet/AFK/remotely and a push for representation and "positive shamelessness" (am I just trying to say "self-acceptence"?). Waifus still come across more ironically, clearly memes in casual settings, and without those aspects of identity and representation. Stuff like VRChat/Vtubers blurs that line and brings identity fluidity back into the picture, but that doesn't feel like what's happening here, nor does it's appearance on literally every page carry the tone of irony needed to combat cringe, but... I kinda like it, and kinda wish it was just totally cool to have a waifu on my site too without having to lean into irony or identity to "justify" it against this cringe instinct. Maybe that instinct comes from a specific subculture on a younger internet which, although still present, need not color the spread of these aesthetics forever. Like rage memes, which come from eg. SA/4c but have been widely adopted to the point of belonging more to "the internet" than specifically to their roots.

...I think I like it

LanternLight83··on Gentoo Studio – A Gentoo Linux Professional Audio Workstation
Maybe it was all placebo, but Gentoo's use flags are super well organized, and are one of the first things I missed when I transitioned to functional distros. You can still apply bulk transformation functions to every package (like those CPU optimizations, Guix even has a flag for this), or configure the flags in build phases by defining package variants, (some of which are provided in functional package repos, not often), but it's a lot of work. The Gentoo way of doing things pit the user in control and had a feeling of minimalism in the portage configuration files, straightforward use of directory structures to define masks and overrides, ubiquitous atom selectors. Even if it was only minutely beneficial, or caused "more trouble than it's worth", I remember it for how empowered it made me feel and how easy it was to manage. The same optimizations are much harder to preform in amy other distro, and that says something regardless of their effectiveness.
LanternLight83··on What does $0=$2 in awk do?
Love the sound of it, but don't see this on mobile, even in desktop mode, must be tied to a media query; I'll be checking it out later too c:
LanternLight83··on What does $0=$2 in awk do?
I think awk and sed are great, and it's great to eschew pipes when a powerful component that's ready in the pipelibe, like sed, awk, or grep, can pull double duty, but do think that one should favor using `grep -e` with a positive look behind in a case like this. I can just picture an innocuous string being added anywhere above the version string and throwing this one-liner off, when a regex could have pulled the version string out from an arbitrary position within the file and would hold up much more robustly; You don't want to impose opaque constraints on future edits even if you're the only one who will be editing the file, it's just too easy to forget and trip over later.
LanternLight83··on Hacking anything with GNU Guix
This problem is trivial within emacs thanks to the advice system, and something I've always missed in literally any other programming environment. In Guile, I bet `(parameterize)` could be used to similar ends, but you don't get to choose the language of every project you hack on.
LanternLight83··on Whisper – open source speech recognition by OpenAI
Hoping to see this out to use in open source voice assistants, eg. mycroft
LanternLight83··on I Resurrected “Ugly Sonic” with Stable Diffusion Textual Inversion
Got the grado webui running (unstably, thx to a memory leak) on my GTX 1050Ti 4GB; you /can/ do it! Be sure to check-out the "optimizedSD" repo if you follow up
LanternLight83··on Bitcoin is not a store of value
I find this meaningful and empowering, thanks c:
LanternLight83··on S-expression based markup, styling and scripting
All these pages are blank without JS, which is totally understandable, but, is there an About page or README somewhere just to give the gist first?
LanternLight83··on Blinky – Exploring peripheral vision in games (using Quake)
One of the first games I played on my new GPU was Minecraft with all the Mods and Shaders; when I got a VR headset, one of the first games I tried, also Minecraft; so when I read about the panini projection, you can guess what I went searching for. They even cite Blinky in their README: https://github.com/shaunlebron/flex-fov/blob/master/README.m...
← PreviousPage 7 of 12Next →