HNHacker News
TopNewBestAskShowJobs

LanternLight83

641 karma · joined July 15, 2019

lantern@illucid.net
submissionscomments
LanternLight83··on Kamby – A programming language based on Lisp that doesn't seem like Lisp
Yeah, I think the title should be updated to something less elaborative. Looks like the reference to Lisp comes from the Github Readme?

https://github.com/henriquegogo/kamby

Still looks awesome; 400LOC is an incredible achievement for grok-ability c:

LanternLight83··on Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM
The green square issue has been well known, particularly on AMD cards, and I believe the solution is... full precision :c But idk, I haven't had that issue. My issue's that I can run it in <4GB VRAM, but can only do a couple dozen images before some memory leak or smth drives it out of memory (effects my 2070S too, but only after many more images). Restarting it isn't too bad, but it's enough to have me looking to using either if two AMD APU's that I have on hand.
LanternLight83··on Program Synthesis is Possible (2018)
First heard about program synthesis myself thanks to William Byrd's demo at the end of "The Most Beautiful Program[...]", https://youtu.be/OyfBQmvr2Hc @ 1:17:15
LanternLight83··on The optimal amount of fraud is non-zero
It's like cleaning old painted metal with a scouring pad; You want to clean thoroughly enough to take off the grime, but if you scour too long or too hard you'll end up taking off the paint itself. You'll always either leave a littke dirt behind, or take off some paint, never perfection. You could strip all the paint and repaint it, but that's so much more costly in terms of time and materials that it's a whole different task.

And the argument that more stringent anti-fraud protections increase the burdon on legitimate claimants is absolutely spot on, and has parallels in all sorts of other legal, financial, and market situations c:

LanternLight83··on Run Stable Diffusion on Your M1 Mac’s GPU
Runs on my 2070S at 12s/image (no batch optimization) and on my GTX1050 4GB at 90s/image
LanternLight83··on Stable Diffusion is a big deal
Prompt writing is a challenging and creative endeavor like any other, and a well-written prompt/image need not be mearly "vaguely related"; Certainly not in comparison to the stock images that are already utilized today.
LanternLight83··on Run Stable Diffusion on Intel CPUs
> Ryzen 5600X

Ooh, I've got one of those! I've been getting by trying to run it on my PC, which for various reasons currently has a 5800 and a GTX 1050 4GB, which can just bearly handle optimizedSD at 90s/image but runs out of memory if I try to use the popular webui repo. Swapping to the 5600X might be worth it!

LanternLight83··on The Anomaly of Cheap Complexity
> "A keynote talk by Thomas Dullien[1] entitled “Security, Moore’s law, and the anomaly of cheap complexity” at CyCon 2018, the 10th International Conference on Cyber Conflict, organized by NATO." [1]: https://youtube.com/watch?v=q98foLaAfX8

Off topic, but, I can't put this talk into my Watch Later list because it's "For Kids". It's not the first time I've ran into this issue, but it is the first time I've cared. Before, I said "that's funny", showed my SO, and moved on, because I didn't really care about saving the video. Today, I really do want to save it.

While I could save it as I would any other link or tab, that list is where I go to find the videos that I've saved for later, and as of today, it isn't sufficient for that purpose. I swear, this is the straw that will covert me to maintaining playlists on Newpipe, or, cross-platform, subscribing to channels via RSS, downloading the videos with youtube-dl (or it's progeny), and watching them with MPV. Today is the day! And I'm coming for those other links and tabs next.

LanternLight83··on Jonathan Blow on Societal Collapse (2019)
I'd highlight the handmade.network software community, who superficiality side with Blow, but if you read their manifesto on their website, it puts a lot of emphasis on the end user's experience.

They cite Casey (of Handmade Hero), and I recall watching a casual lecture of his on a case study of Performant Software. In his conclusion he proposed that as innovative greenfield projects claim thr low hanging fruit of developing software markets, those markets will increasing reward competitors who can undercut on the basis of intentionally (or deeply) crafted software architectures and the associated benefits to users (stability and performance). This is could be refuted by the suggestion that early market participants can establish strong enough monopolies to overcome their technical debt, but still shows another source of motivation for the Handmade community's ideals.

LanternLight83··on 10% of Ethereum nodes at risk of being booted from Hetzner
Love this; Another factor could be peer latency.
LanternLight83··on I Love My PinePhone
I'm setting up a static site, looking for inspirations, and was just looking at this blog yesterday to get a feel for it's Haunt theme! It's unique and gorgeous. Interesting comment system too. OTOH, the text is small on mobile and FF Reader Mode doesn't select the main context accurately, missing a portion of the article.
LanternLight83··on Ethereum Development Documentation
High throughout doesn't mean a high latency; one could process a million transactions per second or block and still need half an hour to verify (ie. reach global consensus on) the transactions within each block. Ideally ofc we'd have both, but if TPS was all that counted, the trade-off could likely be made (idk what I'm talking about).

"High throughout, low latency, or affordable fees: pick two."

LanternLight83··on Does syntax highlighting help programming novices? (2018)
Absolutely! UML gets a lot of discussion, but a more reflective model of a written program is something I long for. I love the feedback that I get from, say, writing a Tupfile and running `tup graph` to see an actual graph of all my recipes, complete with their commands, inputs, outputs, and interdependencies as understood by the build system. I haven't used Unity, but it looks like it has blender-like node-based programming that gives me the same feel, where each box ia just code but the connections between them are illustrated. Lastly, Emacs allows you to instrument function definitions with edebug, and stepping through the code or even just letting it run in a loop and observing the movement of the point-of-execution has given me a lot insight into packages that I've worked on. None of this is really "the thing", but each example gives me the same vibes, of showing how existing code or control flows are structured.
LanternLight83··on Every action you take is a vote for the type of person you wish to become
People who practice intermittent fasting often report that their body's hormonal rhythms adjust to their eating habits over time, so it's only by skipping the meal and bearing through the hungar that one can become the type of person who simply doesn't think to eat before 10-12 (leaving out a lot of debated science, personal variance, and assorted nuances for the sake of time and contrarianism).

Edit: Ah well, you've edited your comment now, can't argue with just getting through the day ¯\_(ツ)_/¯

LanternLight83··on Book Review: Unlearn Your Pain (2016)
Related SSC Book Review, which I've probably only read because it surfaced here recently anyways: https://slatestarcodex.com/2017/09/05/book-review-surfing-un...
LanternLight83··on It wasn't for nothing
Guix has been the only distro I run on my PC and Laptop for some time now, and will be what I depoy on my home server when I eventually get it back up and running (really looking forward to learning services and containerization inside and out). The ease of access to the source tree, the freedom and hackability, all come together to enable my habit of getting in over my head. I've got some patches languishing that I've been meaning to come back to, and this post reassures and inspires me. Thanks for putting your thoughts out there.
LanternLight83··on The AI Art Apocalypse
Sounds to me like the Nvidia Canvas App https://youtu.be/mlZYRwJ2oJg
LanternLight83··on Why I'm Suing YouTube
It comes up if you include the channel name, but I couldn't find it otherwise.
LanternLight83··on Zellij: A terminal workspace with batteries included
I for one think that this individual opinion has value under this post as a PSA to people who might not otherwise give the command a second thought, regardless of the conclusion they take away.
LanternLight83··on Advanced Metaprogramming in C: A select statement
I've never thought about it that way before, and suppose that it applies to any language with a two-way FFI (including more diverse languages like, well, just Guile Scheme off the top of my head, but insure there are more-- I'm sure someone could really benefit from a list of languages that can essentially target C like this)
LanternLight83··on Advanced Metaprogramming in C: A select statement
Absolutely; Complex macros are frequently written by breaking them up into smaller "actual" functions. The body of the macro just receives it's unevaluated arguments and calls those functions on them, because the only thing that's special about it is when it runs, that it's arguments are initially unevaluated, and that it's output is interpreted (possibly by a compiler) as code. Within the context of the macro's body, it's lisp like any other.
LanternLight83··on Reddit’s database has two tables (2012)
BTRFS or ZFS sounds just fine to me, you could even create a small virtual disk for it on a host FS (less integrity, and one oight to snapshot the whole system anyways, but hypothetically you could do this just for atomic snapshots as long the rest of the system is cattle and those snapshots are properly backed up / replicated)
LanternLight83··on Technical reasons to choose FreeBSD over GNU/Linux (2020)
Not #3, but it's still the best option
LanternLight83··on Librarian's Letter to Google Security
As of your comment, the letter says that they're being essentially DDOS'ed over an issue that was resolved a long time ago and to very specifically NOT ask them anything; posting this link isn't moral and I think you should edit it out.
LanternLight83··on Paredit.vim – Paredit Mode: Structured Editing of Lisp S-Expressions
Noctuid, of `general.el` fame, has a related package which integrates lispy's approach with `evil.el` better.

https://github.com/noctuid/lispyville

LanternLight83··on Serverless DNS: Self-hosted DNS resolver at the edge
> "Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love." -- Pete Cordell

You may be right, but a serverless resolver ain't anything I've seen before! Awesome project, and I'm glad to see that it all comw together-- not all projects do!

LanternLight83··on Religious Sites Carry More Malware Than Porn Sites, Security Firm Reports
@dang Dated 2012
LanternLight83··on Book Review: “Crafting Interpreters” by Robert Nystrom
I really look forward to reading the book myself, and don't have a background in compilation, but will probably try using my own language of choice for the first half anyways, because I feel I know what I want and no one can stop me :p

> Second, because it's so large and packed already, the author left quite a few things out, particularly testing. There's precious little actual Lox code in the book, and no testing strategy. Testing interpreters well is relatively easy and very powerful, especially when implementing multiple ones for the same language. I do understand the space constraints, however.

It's worth mentioning that the author does have a repo containing the tests they used while creating the book, which can be ran against the state of each interpreters (including your own) at the end of each chapter, which is really cool:

https://github.com/munificent/craftinginterpreters#testing-y...

LanternLight83··on Guile Steel: a proposal for a systems Lisp
I second this, emphatically! Between all the books and talks I've been through, this stands out for how much it packs in and how approachability it does so. I can't really give a perspective from a beginners view, but for a programmer with existing experience in other languages, think this is a great piece to read.
LanternLight83··on Show HN: Find out where your supplements are made & sourced
Love it! I've been meaning source my supplements more intelligently than via local sales and bargins, particularly as I have family that can't go without some. A friend mentioned companies that create custom multivitamins, but without looking into it, I assume it comes with a markup; OTOH, I own and love a Little Capsule Machine, but still do t have the time to buy in bluk and use it.

Other's are welcome to reply with your own situation and thoughts!

← PreviousPage 8 of 12Next →