HNHacker News
TopNewBestAskShowJobs

corinroyal

275 karma · joined May 25, 2018

submissionscomments
corinroyal··on Lifelong Disadvantage: How Socioeconomics Affect Brain Function
The Stanford marshmallow experiment has been debunked. https://anderson-review.ucla.edu/new-study-disavows-marshmal...
corinroyal··on HP wants you to pay up to $36/month to rent a printer that it monitors
I recently set up one of these for my parents. As a system administrator I was prepared to hate it, especially after seeing that you have to go online to set up the printer. But then the online wizard walked me through filling the tanks and printed its test page flawlessly in just a minute or so. I was impressed with an inkjet user experience for the first time in my life. And the volume of ink in those tanks means I probably will not have to do anything to that printer for a long time, where I was regularly attending to their old one.
corinroyal··on Common Lisp's block / return-from and unwind-protect
Thank you! Do come in, the water is fine. If you keep Python for it's applicability today and pick up Common Lisp for it's practicality tomorrow, I don't see how you could go wrong.

Emacs is the weakest link in the Common Lisp experience but, yes, you have to defeat that boss to move up. I love/hate Emacs and mostly struggle to do anything. GNU Emacs is a ball of mud with decades of technical debt in dire need of a ground-up re-imagining. Emacs Lisp made a lot of inexplicable choices but it is a Lisp and Lisp is why Emacs survives. RMS' stewardship has been consistent but underwhelming. He's no Jose Valim. The editing model is inadequate, as shown by Kakoune and structural editors. And yet, Emacs is alive and malleable while so many other editors/IDEs are inorganic artifacts that start to rust as soon as they are released. We do have the nascent Alive for VSCode and VIM options, but they are not really improvements over Emacs, nor are they likely to be. VSCode is the latest CodeWarrior and will suffer the same fate. It's only propped up by daddy's money.

Doom Emacs tooling, package management, and sensible defaults take much of the pain out of Emacs. Sly, the LSP-like Emacs mode for CL, is too much fun and gives a hint of what Lisp Machine development must have been like. Remote editing and daemon mode are so practical. Once you've painstakingly hammered out a config and workflow, Emacs starts to hum along pleasantly. But getting there is relentlessly frustrating and trying something new sends you right back to the treadmill. Once I figure out why Lem SDL2 (an Emacs clone in Common Lisp) isn't building for me, I'll attempt a switch.

I have daily fantasies of jumping back to my high school graduation in 1986 with everything I know now. I'd put up sexy posters of Guy Steele and Alan Kay in my dorm room. The only real advantage of starting programming at my age is that I know what I want and why. I'm following the humanistic thread of computing from Paul Otlet -> Vannevar Bush -> Doug Englebart -> Ted Nelson -> Bret Victor. But I read the same chapters over and over and still haven't written any code beyond homework exercises. The task feels Sisyphean and my trauma-addled, post-alcoholic brain struggles to stay focused. My only consolation is that I can't think of anything better to do with my remaining time and the Common Lisp community is good company. I love being around eccentric people who are much smarter than me.

Python is an eminently practical, perfectly respectable choice. So naturally, my life goal is to kill it. In my head, Symbolics was open sourced after the AI winter and grew to become the obvious choice for most tasks. I wish that people wrote new languages as DSLs on top of Common Lisp rather than littering GitHub with vanity projects that die on the vine. Think of all that wasted effort--like turning up the thermostat with the front door open.

When people ask about the choice of Common Lisp or Scheme, I ask which Scheme? No two are alike and none of them has achieved enough momentum to be truly practical. You have to pick one and pray your requirements don't exceed it. In CL, we invest in implementations--ABCL, ECL, Clasp--each one practical, each one mostly runs your code unchanged. Our spec is ancient by today's standards so old code just works. We innovate in our package ecosystem which gives users of whichever implementation access to fresh work. Compare to the whitewater churn of the NodeJS ecosystem. I have a Ghost blog that's a few years old and I can't update it as things have changed so much there is no practical way.

I'd like to file off the most common pain points in CL, spackle over obvious gaps in functionality, improve documentation, and polish the developer experience until nothing stands between Lisp and world domination. It's the once and future language. I have no qualifications for the job whatsoever except resentment of the status quo, a burning need for elegance, and lack of employment. It's a short resume, but the nice thing about being self-appointed is that no one has to want to hire you.

corinroyal··on Common Lisp's block / return-from and unwind-protect
How kind of you to say. I held off on learning programming for so long due to my visceral disgust with C/UNIX and ALGOL syntax. I just knew it was the wrong set of abstractions that have trapped us all in a grey hellscape of mediocrity and wasted potential. When I was a kid I turned turtles into a spirograph in Logo on an Apple II. It ruined me. I didn't know Logo was functional or Lisp-inspired.

When I found functional programming in Erlang I got SO excited. When I found Common Lisp, decades of pent-up frustration melted away and I knew I'd come home. I guess my Unix Hating led to some intuitive thinking over the years and I've been making up for lost time over the past couple of years and mapping what I knew I wanted to what has been there in CL all along.

corinroyal··on Common Lisp's block / return-from and unwind-protect
OMG! This is what I'm talking about with Common Lisp. One minute you're a washed-up slacker, the next Mark L. Watson speaks to you. I'm winding my way through "Loving Common Lisp, or the Savvy Programmer's Secret Weapon" as we speak and loving it. Thank you!

I don't have a blog and haven't gotten far enough in my learning to make anything useful, but I do plan to produce a newbie's guide to help people get started quickly. My perspective as an older person for whom CL is my first language could be valuable since my sticking points are different and I don't yet have bad habits to break.

corinroyal··on Common Lisp's block / return-from and unwind-protect
> I'm somewhat disheartening because it implies that learning Lisp might be redundant given that contemporary languages have already incorporated its best aspects.

Indeed, Lisp is no longer as revelatory as it once was, since many innovations have been adopted, even surpassed in specific cases. Still, no other language gives you the total package. The environment is far more than the sum of its features list. CL just gets out of your way and allows you to think about problems not programming.

corinroyal··on Common Lisp's block / return-from and unwind-protect
I'm learning programming at age fifty-four and have chosen Common Lisp as my one language for life. If you want something easy to learn with a ton of support pick Python, Elixir, and/or JS. CL sucks for mini-projects since the learning curve requires serious commitment and is SO different from what people are used to. CL requires a long-term commitment and demands the programmer challenge pop programming trends and deeply entrenched styles. You have to think beyond today to what could be and what once was. But if you're willing to do that, there is no better language. Not Haskell, not OCamel, not Rust/Go/Julia/Clojure/Scheme, or the current lang du jour. Whatever limitations Common Lisp had in the past are long gone.

SBCL is blazingly fast, CL abstractions are profound yet practical. The type system gives you power without pettiness. Language-oriented programming is a superpower in a world of cut and paste library-oriented programming. Image-based computing often allows one to skip the impedance mismatch with DBs. In many cases and you can just persist the data structures as they are or serialize them where needed. The tooling with Roswell, Quicklisp, Qlot, Doom Emacs, and Sly make prototyping and exploratory programming wiz by. CLOG, Reblocks and Hunchentoot provide powerful abstractions for web programming, but Phoenix with Liveview is probably better for most. The debugging experience is so insanely powerful it freaks me out and makes other systems look rudimentary. CLOS, the object system, is best of breed and makes most of the standard criticisms of OO programming moot. The homoiconic list-based syntax and prefix notation are beautiful and never get in your way. Parentheses are invisible. The condition system makes flow control and error handling in other systems seem rigid and convoluted. Aspect-oriented programming is just what we do, not a thing tacked on. Macros and the meta-object protocol allow you to build a language on top of Lisp that allows users to conceptualize problems using nouns and verbs they already know.

Drop into Coalton or Shen for strong, static typing where necessary, or April (hosted APL) for array wizardry that makes NumPy look like data-flow programming in Basic on a Timex Sinclair with a cassette drive. You can slice and dice whole datasets in a few characters of code. Bundle existing C libs with CFFI when you find a good one you need. Lisp-based systems are alive and grow and change as requirements do. It's harder to program yourself into a corner. Refactoring is continuous and mundane. In-source documentation is the right place for it, but Lispers tend to be shamefully lax in providing it. Shaaame! Newer Lispers tend to be better about docs--the culture is changing. Often you ask a question and get no response. Other times you get a detailed response from a legendary mind and just sit there in awe working your way through their thinking and feeling your inadequacy. The code is about as succinct as it can be to maintain readability. There are two camps on readability, some experienced Lispers find it harder, and most find it much easier to parse than ALGOL-derived syntax.

Once mastered, quick things are quick, hard things are straightforward, and impossible things are doable. This is a system for people who need, not want, to change the world. It gives single programmers and small teams the power to take on armies of bureaucratic programmers. But you have to be willing to break the mold, handle charges of elitism, not be required to justify your choice to managers, tolerate a small hiring pool, train newbies hard and long, not get freaked out using some libs that are stable and haven't been updated in years, deal with the pace of development of a small community, have the patience and joy in problem-solving to handle frequent bafflement, read a ton of source code rather than search the forums, and be willing to roll your own when needed. If you can handle all the idiosyncrasies and have a burning need for elegance and power, then CL will reward and surprise into until dementia takes you.

In short, all the good things you've heard are true, many of the standard critiques are uninformed, and problems people talk about that apply to most languages often don't apply.

corinroyal··on Men are hitting on my scheduling bot because it has a woman's name
Way to miss the point. The bot is not the problem here. Men are essentially executing a DDOS attack on women that is exhausting, terrifying, and can put them in danger. That's the software defect that needs refactoring.
corinroyal··on Tyrian purple: Ancient pigment that was more valuable than gold
Why is he smashing them up? Such a cruel waste. Those snails are rare. You can just poke them with a stick and they spit dye. Then you put them back. I guess he doesn't know that there is still Murex purple being harvested in North America.
corinroyal··on Why programming languages matter [video]
"Could a pure function not be referentially transparent?"

Yes there are pure functions which are not referentially transparent. A pure function with side effects, such as printing a result to standard output, is not referentially transparent. You can't replace the function with it's return value, since that doesn't replicate the printing side effect.

corinroyal··on Borges' infinite Library Of Babel with infinite books re-created in VRChat
> I mean, in theory all the works on Z Library are in there, somewhere...

Interesting to consider works excluded from the Library of Babel. Books aren't just a vector of EBDIC characters and whitespace. There are figures, captions, indices, tables, blurbs, notes, frontmater like publishing history, title pages, dedications, lists of figures, and backmatter like appendices, glossaries, epilogues, afterwords. In between the can be chapter, sections, free verse, lyrics, typographic art, and even art reproductions on archival paper pasted in with mucilage that long since lost it's stick. Some pages me even be left blank intentionally, due to oversight, or driven by malignant spirits.

Now if the Library of Babel were written using SGML... you'd have two problems.

corinroyal··on Early Europeans ate seaweed for thousands of years
How is this trolling? The development of factory farms where living creatures are so inhumanely mistreated at scale is a very recent development.
corinroyal··on First mini-PC with solid-state active cooling system launches
This. Sysadmins have air compressors for agood reason. A surprising proportion of the job is janitorial. Remember the famous bug that caused an error? Dust and cat hair are a much bigger problem than insects. Airflow obstructions are the number one killer of PCs and servers.
corinroyal··on First mini-PC with solid-state active cooling system launches
Those have massively greater surface area than this one. Have you seen how dusty it gets inside a laptop? This looks like it could choke in a month.
corinroyal··on The Classic Super Star Trek Game
A local college's Xerox Sigma 9
corinroyal··on The Classic Super Star Trek Game
So fun on fan-fold paper from an Anderson-Jacobson 860 terminal connected to the local Xerox/Honeywell Sigma 9 mainframe. The sound of the pins in the print head spitting out rows of asterisks punctuated by an occasional star, planet, or starship was hypnotic.
corinroyal··on The Economics of Programming Languages [video]
This. So many languages I run across would have been better off as a domain-specific language hosted on top of Common Lisp. Instead of learning a new language, we could grow our vocabulary.
corinroyal··on Wilhelm Reich on pleasure and the genesis of anxiety (2021)
Right? The guy never caught a break from persecution.

However wacky he became, Reich was one of the few in psychiatry to focus on prevention over treatment of mental illness. When he investigated the root causes of mental illness in his patients, he saw the conditions of modern life were often the source of the harm. He advocated a radical re-engineering of society so that it meets people's fundamental social, spiritual, and organismic needs.

He saw fascism as a symptom of structural failures to meet these needs. Fascism is not so much an authoritarian political movement as mass mental illness. His model suggests that in such circumstances you'd see disordered thinking across the political spectrum. People's tolerance for ambiguity diminishes, tribalism increases, and we grasp at simple solutions. This flailing fails to address the systemic problems leading to positive feedback that further corrodes the social fabric. That sounds like an accurate description of the present moment.

corinroyal··on As We May Think (1945)
> You can take a paper document, and add all manner of markup to it, without needing to alter the original source. Why can't we do the same with hypertext?

This is a crucial point that I had never considered. Maybe we could mark this interleaved metaHTML with IDs or classes that make it easy to strip out. Or maybe HTML is a rendering format and we need something one step up.

corinroyal··on Prophetic Perfect Tense
I've never been bitten by a rattle snake. Does that mean me wearing boots and stepping carefully on hikes has been pointless?

How do you know that the fear served no one? Is it possible the anti-nuke movement changed the way we consider the risks and rationale of nuclear deterrence? How come we never hear about acid rain or the ozone layer anymore. Are the movements examples of mass hysterics or of people pushing progress?

Did you know that world nuclear stockpiles have shrunk dramatically in recent decades from ~70,000 warheads in 1986 to ~12,000 today? Would it affect your risk calculation if stockpiles had grown or spread? If they are as safe as you claim, should numbers, actors, and locations even matter? Have you considered the effects of a loss of vigilance might have?

corinroyal··on Joe Biden Is About to Go Where No President Has Gone Before
I agree. To have Biden out there signals that his NLRB might actually have teeth this time. So many of have tried to organize a union election only to stall when the anti-worker NLRB gets involved. It's great to have an administration that, for once, doesn't undermine the board's mission
corinroyal··on The reckless, infinite scope of web browsers
This really focuses my thinking on the matter. I've been planning an app with a web frontend, but what I really want to do is to design my own post-W3C protocol and browser. I don't know how to do this, but the web is totally broken.
corinroyal··on Why are we all obsessed with doing what others think is good?
Innovation is not something we do in isolation. We build on the work of others. That means we need to study what others have tried. Your contribution will be layered on top of the work they have done. It can be tricky to both put yourself in the shoes of another in order to understand their work, concerns, and motivations while maintaining space for one's own ideas, approaches, and goals.
corinroyal··on San Francisco's Millionaire Marxist
That was a lot of words for an article that says, "Our funders hate this guy."
corinroyal··on CFPB kicks off rulemaking to remove medical bills from credit reports
Imagine thinking a visit to the ER was "frivolous". As if significant numbers of people would subject themselves to an ER for fun. Imagine looking at a situation in which significant numbers of people have no other access to care but ERs and think, "Those freeloaders!" What sort of twisted mirror-world ethics are these? How does one get to the point where they could type this, read it over, and hit send? You'd think the shame alone would be lethal.
corinroyal··on Medical gaslighting: when conditions turn out not to be 'all in the mind'
I'm so sorry this happened to you. I can relate: I tried for fifteen years to get disabling ear pain treated. Turned out it was an infected tooth that no one could diagnose in all that time. Made me homeless. Now I have PTSD from the medical neglect and I have an incredibly hard time forcing myself to make or go to appts.

Medical professionals don't acknowledge PTSD they caused, and it's odd that I have to seek help from the same people who hurt me.

There are a lot of us suffering alone from medical neglect and gaslighting. I wanted you to know that I see you.

corinroyal··on Humans Have Exceeded Six of the Nine Boundaries Keeping Earth Habitable
It's funny that so many people have a harder time visualizing the end of extractive capitalism than they do the end of the world as we know it. But once oligarchs start talking about fleeing to Mars, it's probably time to do some refactoring to balance inputs and outputs over the long term.
corinroyal··on YouTube blocks Russell Brand from making money through its platform
It stayed where it belonged--out of conversations on the social consequences of rape allegations.
corinroyal··on YouTube blocks Russell Brand from making money through its platform
So if I run a social media site, I would be required by law to carry hate speech, incitement to overthrow the government, rape threats, heretical religious statements, fascist propaganda, and covid conspiracy videos? That's gonna be a no from me. Freedom of speech does not imply a mandate for others to broadcast your speech.
corinroyal··on YouTube blocks Russell Brand from making money through its platform
Exactly, and look what happened to Usenet. People abused the commons and we lost it to spam. Unmoderated networks always fall to bad actors.

I'm building a p2p social network and struggling hard with how to balance company needs, community needs, and individual freedom. A free-for-all leads to a tyranny of structurelessness in which the loudest and pushiest form a defacto leadership that doesn't represent the will of the majority. On the flip side, overly restrictive rules stifle expression and cause resentment. These are hard questions and there is no one answer, except that unmoderated networks always suck eventually, so the question is one of line drawing and compromise.

← PreviousPage 4 of 9Next →