HNHacker News
TopNewBestAskShowJobs

alephaleph

156 karma · joined July 9, 2021

submissionscomments
alephaleph··on The File Filesystem (2021)
Reminds me of Omar Rizwan's TabFS <https://omar.website/tabfs/>
alephaleph··on Coroutines and effects
A coroutine is a computation that can `yield`, suspending itself and passing control back up to the caller. It can then be resumed at the caller's leisure.

An function with an effect (in this sense) is a function which can ask a handler to `perform` some effect for it. This suspends the function and passes control to whichever handler is in scope for that call, allowing that handler to resume the function at its leisure.

I suspect that you're misunderstanding what is meant by effect, because despite buzz about them and backend support for them in OCaml 5, they aren't yet implemented with syntax and type-level support in any mainstream languages I'm aware of.

alephaleph··on Show HN: Elodin – A better framework for physics simulation
Checked on a private window; it happens only when I say no to inessential cookies. Being in California might also have something to do with it, because according to the logs that sets something to opt in mode.
alephaleph··on Show HN: Elodin – A better framework for physics simulation
Not sure why but everything below the hero section on your homepage is displaying as just grey background to me on Firefox, even with enhanced tracking protection and adblock off. In the console the only error is `Uncaught ReferenceError: tippy is not defined`.
alephaleph··on Array languages vs. the curse of the spreadsheet
I have to say that I was a little disappointed by this article. It doesn’t really demonstrate Kap as solving any of the issues that spreadsheets have, and it doesn’t really address many of the reasons people like spreadsheets.

Spreadsheets are reactive and stateless and allow you to move seamlessly from data storage to computation on that data. This is really just a calculator REPL that can ingest tabular data easily. I’d be more interested if they’d innovated more with the interface — maybe something node-based?

alephaleph··on OpenAI – Application for US trademark “GPT” has failed
The defining feature of a SLAPP is that it is a means of shutting up critics — not just any frivolous lawsuit is a SLAPP.
alephaleph··on Asahi Linux project's OpenGL support on Apple Silicon officially surpasses Apple
because it’s fun
alephaleph··on Unison Cloud
(Sorry for replying late to this but) that seems kind of inconvenient! And what if I'm using two libraries which happen to export functions with identical ASTs, and one updates? I guess usually meaningful nominal types will ensure that that doesn't happen but it seems like a nightmare to deal with in the event that it does.
alephaleph··on Unison Cloud
What happens if you have two terms that are incidentally equivalent:

  A = "Hello "
  B = "Hello "
  C = A ++ "world"
  D = B ++ "world"
and then you update the definition of A but not B?
alephaleph··on Non-deterministic execution of Python functions
It's roughly the same, no? It emulates a non-deterministic Turing machine and gives the same results, just taking much longer. But runtime isn't everything! I think that if you're programming in a nondeterministic style, you're programming as if you have a NTM, whether or not you're actually running the code on one.

Also, surely NTMs are only physically unrealizable if P!=NP, and so whether or not NTMs could exist is an open question.

alephaleph··on Non-deterministic execution of Python functions
At a fundamental level Prolog works the same way that Python library works -- guessing and backtracking.
alephaleph··on Apple announces changes to iOS, Safari, and the App Store in the European Union
fwiw Amazon tried doing that (and maybe they're still trying?)
alephaleph··on Yup hacks together a cross-posting app for X, Threads, Bluesky and others
Assumed that this was like a modern Pidgin or something but it needs its own account, which is supposed to be a cryptocurrency wallet for some reason (they let you sign up with email but it’s weird and clunky and they still ask too to “sign” something). Then after that they tell you that you aren’t on the allow list but that they’ll let you in anyway if you just complete three steps, the first of which is enabling push notifications. Yuck. STEER CLEAR!
alephaleph··on Bret Victor update
If you just want the projector and the camera stuff there's https://paperprograms.org/
alephaleph··on Botanical Sexism
Saw a thorough debunking of this on twitter by a crop scientist: https://twitter.com/sarahtaber_bww/status/142301601013164851...
alephaleph··on Welcome Lemmy.world
Apparently it’s bc it uses websockets to live update vote counts or smth
alephaleph··on Reddit's Recently Announced API Changes, and the future of /r/blind
We know the costs and they’re ridiculous. Under the new pricing the average user of one third party app (Apollo) uses $2.50 worth of requests per month.
alephaleph··on Reddit's Recently Announced API Changes, and the future of /r/blind
/r/me_irl is doing that, they’re going to permanently go private if the changes aren’t reversed.
alephaleph··on Reddit's Recently Announced API Changes, and the future of /r/blind
I think they’re referring to aria-labels, not visible text.
alephaleph··on Show HN: ScrapScript – A tiny functional language for sharable software
I'm pretty sure that this is demonstrating that you can (have to?) write your definitions after the main expression, then suggesting that this encourages a development style in which you first write what you want the main output to be, then later write implementations for everything. It then further suggests that this style can work well with intelligent tooling, presumably by having autocomplete automatically infer definitions for the types you used or by having AI write implementations.
alephaleph··on Show HN: ScrapScript – A tiny functional language for sharable software
You might want to look into the way Unison does things: [1], they've got a lot of similar ideas and IIRC the way their hash system works avoids that ambiguity.

[1]: https://www.unison-lang.org/learn/the-big-idea/

alephaleph··on YouTube, the jewel of the internet
still one million times better than what came before.
alephaleph··on NewsNotFound: An open-source, unbiased news company
FWIW I was unaware of the Philip Cross thing, but after digging into it it appears that Wikipedia's arbitration committee imposed an indefinite ban on him from editing any page regarding modern British politics [1] and that after he was found repeatedly violating it, that was upgraded to an indefinite block [2]. Not exculpatory, but at the very least evidence that Wikipedia is capable of taking issues of editor bias seriously and not sweeping it under the rug.

[1]: https://en.wikipedia.org/wiki/Wikipedia:Arbitration/Requests...

[2]: https://en.wikipedia.org/wiki/User_talk:Philip_Cross#Blocked...

alephaleph··on Reddit will begin charging for access to its API
I really don't understand the world you're describing. Are you saying that no one will be able to enjoy art anymore because art won't be impressive?
alephaleph··on Reddit will begin charging for access to its API
This perspective seems insane to me. I'm undecided, but if I were to put forward an argument that AI art will be bad for culture regardless of economic model, it would be something like "AI art will always be worse (in some way) than human art, but it will also be cheaper than human art, and thus will replace it in basically all commercial fields, which would be bad for culture." Maybe I'd say it's worse because it's inherently soulless, or just that as a practical matter AI is be better at doing the bare minimum than humans are, or something like that.

If I thought that AI art would allow almost anything to be produced by anything at incredible quality, at no cost and with little skill, that sounds like a Sci-Fi utopia to me, an almost unimaginable world in which all limitations on self-expression are lifted. A world in which making a movie or a TV show or a video game becomes a weekend project. It sounds wonderful.

alephaleph··on The fastest math typesetting library for the web
mathematician-writable.
alephaleph··on A Language Design Analysis of HolyC (2019)
Sounds a lot like Lisp-y stuff, but done with a significantly lower level c-like language.
alephaleph··on A 1.5GB string
In the post they say they didn’t do this bc they’d just be trading long strings for deeply nested objects.
alephaleph··on Scratch is the world’s largest coding community for children
IIRC one of Hedy’s unique features is that it gradually increases in complexity as you “level up” including introducing what we’d call “breaking changes”. At level 4, they start allowing and requiring you to quote string literals: https://www.hedycode.com/hedy/4#default
alephaleph··on Typst, a new markup-based typesetting system, is now open source
To be honest I wouldn't recommend it just yet. Right now Typst doesn't expose that many layout primitives for math -- stuff like fractions are special-cased in the compiler. It all should be theoretically possible -- technically everything you need is there -- but from looking over the documentation and experimenting with this my guess would be that it would feel more like implementing your own layout engine with Typst's programming language than gluing existing stuff together.
Page 1 of 3Next →