HNHacker News
TopNewBestAskShowJobs

JoelMcCracken

2,777 karma · joined February 27, 2009

Pittsburgh dev. Haskell mostly.

Contact me at mccracken.joel@gmail.com

If your reply to me seems unnecessarily combative, pedantic, or uncharitable, I will probably not reply. Its not worth talking with someone who appears to be intentionally misconstruing my words. Ain't nobody got time for that.

submissionscomments
JoelMcCracken··on Evertop: E-ink IBM XT clone with 100+ hours of battery life
I use my boox max lumi as a secondary display daily for working in emacs. The eink is great for text/terminal use, the only issue I have is when i sometimes need to do any kind of mouse work (which, is basically never, when I use it for what I said above).

What I really want is a low power linux laptop that is not entirely without CPU/memory power, so I can program some simple things on it. I don't mind if it has _less_ power, I can use ssh for anything that is overly cpu-hungry.

Ive seen several devices that seem like they might suit my need, but I look at them for long enough and just won't pull the trigger. Either it seems overly much like a walled garden (like, I can program on the device, but it doesn't seem like a suitable spot to write blog posts in emacs for my blog or whatever), or its just too underpowered and I'm sure that 99% of the tools I use already won't work on it.

I wish I had the EE knowledge/confidence to start hacking on this kind of thing. I think its very doable; I was just looking at e.g. https://www.waveshare.com/product/displays/e-paper/epaper-1/...

which is just cheap enough that I could see myself risking buying it without being sure that it will work with my other choices.

Nowadays, I feel like I should be able to run most of what I want on an android device that is built for power, and it should have a fairly long lasting battery because of its design; attach a trackpad, keyboard, and eink display, and my perfect device is here. I don't care if its not the thinnest device in the universe, a swappable battery (or, just load the thing with extra batteries) plus perhaps a portable solar charger would be amazing.

JoelMcCracken··on Any program can be a GitHub Actions shell
Not too long ago, I went down a rabbit hole of specifying GHA yaml via dhall, and quickly hit some problems; the specific thing I was starting with was the part I was frustrated with, which was the "expresssions" evaluation stuff.

However, I quickly ran into the whole "no recursive data structures in dhall" (at least, not how you would normally think about it), and of course, a standard representation of expressions is a recursively defined data type.

I do get why dhall did this, but it did mean that I quickly ran into super advanced stuff, and realized that I couldn't in good conscience use this as my team of mixed engineers would need to read/maintain it in the future, without any knowledge of how to do recursive definitions in dhall, and without the inclination to care either.

an intro to this: https://docs.dhall-lang.org/howtos/How-to-translate-recursiv...

An example in the standard lib is how it works with JSON itself: https://store.dhall-lang.org/Prelude-v23.1.0/JSON/Type.dhall...

basically, to do recursive definitions, you have to lambda encode your data types, work with them like that, and then finally "reify" them with, like, a concrete list type at the end, which means that all those lambdas evaluate away and you're just left with list data. This is neat and intresting and worthy of learning, but would be wildly overly-complicated for most eng teams I think.

After hitting this point in the search, I decided to go another route: https://github.com/rhysd/actionlint

and this project solved my needs such that I couldn't justify spending more time on it any longer.

JoelMcCracken··on Any program can be a GitHub Actions shell
To me, the issue comes when something weird is going on in CI that isn't happening locally, and you're stuck debugging it with that typical insanity.

Yeah, it may be that you'll get the exact same versions of things installed, but that doesn't help when some other weird thing is going on.

If you haven't experienced this, well, keep doing what you're doing if you want, but just file this reflection away for if/when you do hit this issue.

JoelMcCracken··on Four Lectures on Standard ML (1989) [pdf]
Ditto! I've never heard of "Standard Oil of New Jersey" myself.
JoelMcCracken··on Why a plane turned around when a passenger lost a phone midflight
Thank you to whoever changed the title to omit the question mark. Question marks at the end of non questions drives me crazy. I’ve tried to accept it and accustom myself to it, but I still always trying to parse it multiple times
JoelMcCracken··on A Debugger is a REPL is a Debugger
Nice. I recently have been doing a bash deep dive and realizing that treating it like repl driven development is very useful. Been wondering if this is worth writing about for others.

You can also just execute another ‘bash’ process, of course the environment is a bit different

JoelMcCracken··on Plato: Organist to the Beasts (2022)
I, too, recoil at displays of arrogance, needing to spend time communing with nature from a barrel.

Tho I haven’t started on my exploratory instrument crafting era.

JoelMcCracken··on Autology: A Lisp with access to its own interpreter
reminds me a little bit of the Kernel programming language
JoelMcCracken··on DARPA exploring growing bio structures of "unprecedented size" in microgravity
Either human blood or potatoes, the two options.
JoelMcCracken··on The Yin and Yang of Programming
Don’t forget “do while”, and the various control statements they support.
JoelMcCracken··on Append-Only Programming (2024)
Neat. I’ve done some kinda sorta similar stuff with org mode in emacs. I really like it, but it does just make me long for a system with built in tracking, automatic synthesis of current focus from programs in use, etc.

Imagine something like a Jupyter notebook, with embedded browser widget; you look something up and that info is embedded in notebook. Same with bits of source files, shell commands and output, etc.

Trying to remember how I did something like 6 months ago? Open that notebook and scroll from bottom.

I’m skeptical of llm-take-over-the-world narratives, but I think that also a document like this could be used by them to synthesize summaries, TOCs, etc.

One of these days I’ll get around to implementing this b kind of flow myself. I hope. Someday.

JoelMcCracken··on Japan can be a science heavyweight once more if it rethinks funding
I do get your point, and generally think it makes sense, but in this case it seems extremely relevant: There is a global competition for intellectual capital, and at the moment, the US' position here seems at the very least uncertain, given all that is happening.
JoelMcCracken··on Maxima in the browser using Embedded Common Lisp on WASM
CL is not particularly functionally oriented. Many things like this are absent (or present, in some cases).
JoelMcCracken··on Masters of Allusion: The Art of Poetic Reference
I have also wished such a thing existed, something like genius.com but for literature (I know there are some works of literature on there, but for numerous reasons its not a perfect match).

Sometimes I end up looking at commentary on a work and it will talk about the allusions, but I only do that in the more extreme cases; to me commentaries often feel like a waste of time.

JoelMcCracken··on Masters of Allusion: The Art of Poetic Reference
Reminds me of Foucault's Pendulum. Great book, worth reading, and extremely relevant to our day.
JoelMcCracken··on 'Once-in-a-century' discovery reveals luxury of Pompeii
Interesting. I can’t speak to how it works in other countries; in the USA so much context is loaded into home ownership. I don’t know the Japanese “sticks and carrots”.

The one factor I could imagine is if cost of land is so expensive that anyone who could afford it is going to be wanting to do a ton of customization anyway.

Are you talking about rural Japan, not just e.g. Tokyo? What systems exist in Japan that make the building worthless?

JoelMcCracken··on 'Once-in-a-century' discovery reveals luxury of Pompeii
I mean, it’s not a foregone conclusion that you’ll do better than otherwise. You could buy when prices are high and sell when prices are low. There is an ongoing calculus also about how long you need to live in a house before you end up saving money; it’s something like, if you sell your house within 5 years buying, assuming prices are equal, you’ll loose money bc of various purchase costs.

I pay less for my mortgage than I did for my apartment, probably approximately 85%. That was last in 2016; in general, I understand that locally rent prices have gone up since then. Of course my mortgage hasn’t, but let’s set that aside. Also, my house is much better than my apartments were, so.

Anyway, the issue is that you have to live somewhere, rent vs mortgage. That’s the difference to consider.

JoelMcCracken··on 'Once-in-a-century' discovery reveals luxury of Pompeii
This is wild. If what you said is true, then there would be no appreciable value to be extracted by flippers. Their entire schtick is built around what you are saying being untrue.

I’m sure you have reasons for believing this, but I cannot fathom it.

Put another way, look at what empty lots sell for, and compare that to what a similar lot with a (not dilapidated) house sells for, in areas where the land values would be similar.

The only exceptions I could imagine perhaps being the places with crazy property values. But, the US is large (so, not just San Francisco)

JoelMcCracken··on 'Once-in-a-century' discovery reveals luxury of Pompeii
the reasons are myriad.

Because in a general way you can't say "I want X that will work perfectly until time Y". Instead, Xs are made my a process. That process can cost more or less: more meaning better quality ingredients, higher quality processing, tighter quality controls, whatever. This all yields end results are on a spectrum of quality - a likelihood that the item will last Y time within Z margin of error.

As chain is only as good as its weakest link - many systems will fail with a single broken element. And every time one of those elements breaks, I have a new problem with which to deal. Spend my precious free time figuring out how to do it myself? Try finding someone who will fix it for me, and hope they aren't going to just rip me off?

The example of a home lasting long is especially wild to me. In the US at least, the home is one of the major mechanisms of increasing wealth over lifetime and inter-generational wealth. People frequently buy homes in order to build equity. Having homes that only last a few decades means that they are worth significantly less, and/or require significant repairs and remodels after relatively short time. I know that when I bought my home, which was made circa 1920, I was really happy that, while old, I could be fairly confident it wasn't about to fall over.

JoelMcCracken··on 'Once-in-a-century' discovery reveals luxury of Pompeii
I think this is the key.

As a generally smart person with disposable income, I am unable to figure out how to find/purchase higher quality products that are not optimized for obsolescence. Increasingly it seems that _everything_ is as cheap as possible: expensive products are not higher quality, but are instead designed to appeal to the premium market segment.

JoelMcCracken··on 'Obelisks': New class of life has been found in human digestive system
It’s such a different thing entirely, the question of replication doesn’t make sense. See my other comment.

I think you’d be better served by trying to understand how psychological research has been done, why people go on about replication, what results are suspect from psych, and how they developed in the first place.

Bc it seems like you’re trying to justify the actions in psych world by other disciplines, but it just doesn’t make sense.

JoelMcCracken··on 'Obelisks': New class of life has been found in human digestive system
So basically this study is “we looked at various publicly available data sets of information, and here is a thing we notice that has previously gone unnoticed”.

The noticed it in multiple datasets.

What would replication look like here besides someone else looking at the dataset and agreeing that they also see the curiosities?

Or do you mean someone measuring a new fresh set of data and looking at it?

Asking for replication in this case is surprising, because seemingly the entire value is to prompt other research to go figure out what’s going on with these things.

JoelMcCracken··on My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
I haven’t read htdp, but I looked through it. It seemed more of a “teach to program” than a “teach you to think about programs at a whole new level”. But HTDP didn’t exist when I was working on sicp.
JoelMcCracken··on My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
Yea exactly. Fan sites. What a concept!
JoelMcCracken··on My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback
I'm sure you've gotten a lot of good feedback, but a personal message for your kid: I am well into my adulthood, but I started programming from a similar place way back when. I was probably 12-13 when I was self-studying HTML/CSS/JavaScript. Today the web tech stack is way more complicated than it was when I was a kid, but its also way more capable. You can do so much with it now that was a dream - I was into pokemon as a kid and wanted to make a "fan site", which is what got me learning (just to date how far back this was)!

Its great you have so many tools now to learn, and your parents to ask advice. Keep it up, programming is great fun. For me as a kid it was great way to learn and explore and create in a world where I didn't have much agency.

Regarding age, my buddy from college started learning to code when _he_ was 9, on BASIC, another old programming language.

If I can suggest some potential learning resources for when you really want to learn more about code, checkout https://mitp-content-server.mit.edu/books/content/sectbyfn/b.... SICP was fantastic for me. If you're stuck, take it as a learning opportunity, ask for help, and keep at it. If learning a new language is too much for you, see https://sicp.sourceacademy.org/ or search google for other various attempts to port the stuff from SICP to JS world. (note to parents: if you happen to be doing this, my advice would be to set up DrRacket and install the SICP language (https://docs.racket-lang.org/sicp-manual/index.html), also feel me to email me any q's, email address in bio)

JoelMcCracken··on Show HN: SQLite Plugin for Jekyll
Who is to say it hasn’t been done before? OP did it and thought it was interesting and posted about it, and enough people also thought it was interesting so they upvoted.
JoelMcCracken··on How a 16th Century Explorer's Sailing Ship Works
Holy. How have I never seen this account before. I’ve never wanted to give someone my money so quickly before
JoelMcCracken··on Gear Acquisition Syndrome
I feel this quite a bit. When I was young, I had a ton of time and no money to acquire the needed equipment. Now, I finally have the money to get basically whatever I need within reason, but no time to use it.

I am typically able to resist the urge to succumb to GAS, but I don't always. I still have an incomplete atreus (http://atreus.technomancy.us/) in my basement; I set it aside when I bought a house, and haven't had time to revisit it since.

JoelMcCracken··on Virginia Woolf's list-making
This is what I've heard in the past: the companies want their articles to be recommended by search engines, but want the consumer to pay for it.
JoelMcCracken··on A British clergyman who predicted black holes in 1783
I don't know, isn't Aristotle credited with "predicting" the theory of the atom? Is this not an equivalent situation, in principle?

According to the article, it seems that his contribution was calculating a body size/density which would, according to newtonian physics, disallow light from escaping its gravity. So while the idea of a dark star existed at the time, the especially prescient part was connecting this to gravity.

It would have been truly extraordinary if Michell had predicted _all_ of the relevant properties of black holes.

← PreviousPage 3 of 24Next →