News for hackers. Stuff that matters.

pwpwp

Re:C# now beats Rust on WASM size on Wednesday October 21, 2026 @08:17AM (#50179650)
Wasm GC does not offer weak refs or finalizers at this point: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Pos...
Re:The Linux Boot Process: From Power Button to Kernel on Saturday October 25, 2025 @07:46PM (#45707843)
Light gray text on white??
> The fires in HSS in Germany were determined using web crawling for the year 2023 because no other data was available. All other probabilities were calculated using researched data. The results show a significantly lower probability of an HSS fire compared to a general house fire.

Seems legit.

Re:Hypermedia Controls: Feral to Formal (PDF: ACM HT'24) on Saturday September 14, 2024 @05:42AM (#41538651)
You can put the actual definition on page 4, or you can make it easy for the reader and just say "hypermedia controls (like links and buttons)" the first time you mention the term in the abstract.
Re:Hypermedia Controls: Feral to Formal (PDF: ACM HT'24) on Saturday September 14, 2024 @05:06AM (#41538516)
So I've read the title and the abstract, and I still have no idea what a "hypermedia control" is.
Re:Should I Use jwts For Authentication Tokens? on Monday May 27, 2024 @12:10PM (#40492090)
Maybe address any of the issues raised in the post?
Re:A more natural API for JavaScript generators on Friday May 03, 2024 @06:34AM (#40246145)
Actually, I built this because I don't really understand async/await. Now that I understand generators (somewhat), I might be able to grok async/await ;-)
Re:A more natural API for JavaScript generators on Friday May 03, 2024 @03:50AM (#40245253)
IOW, there isn't any real stack growth, it just appears that way when running in the devtools with the "async call stacks" feature enabled.
Re:A more natural API for JavaScript generators on Friday May 03, 2024 @03:37AM (#40245182)
This appears to be an artefact of the "async call stacks" feature.

To turn it off in Firefox, go to about:config and set "javascript.options.asyncstack" to false.

In Chrome, in Devtools enter ctrl+shift+p and search for "async stack traces".

Re:A Tour of Lisps on Thursday February 01, 2024 @04:53AM (#39214297)
Re:A Tour of Lisps on Thursday February 01, 2024 @02:50AM (#39213672)
Overall I agree: yes, with fexprs you lose some code introspection ability compared to macros. I haven't found it to be a big deal in my fexpr-based hobby Lisp so far.

Re your two points:

You could have "symbol fexprs", analogous to symbol macros, I guess.

For places I think the first-class solution as employed by T and others is better, and would work fine with fexprs: (set (name-of person-1) "sam") simply stands for ((setter name-of) person-1 "sam").

IOW, name-of is expected to be a reader function. Every reader function has a writer function attached to it, that we extract with (setter name-of). Then we call that writer function with the rest of the original arguments.

Re:Why Lisp Syntax Works on Monday June 05, 2023 @12:01PM (#36198284)
I find the claim about image-based development being required for macros somewhat unfounded.

The most trivial counterexample is an interpreter - it can simply evaluate the macros just like ordinary functions.

A step up in complexity is a compiler that - during compilation - compiles macro definitions by emitting code and dynamically loading it (Goo does this http://people.csail.mit.edu/jrb/goo/goo.htm , and I have also put a toy implementation of this together using dlopen, and there are probably many other impls that do this.)

Re:The Io Language on Wednesday March 22, 2023 @02:36PM (#35265285)
Those things take time. I am convinced that the next big Lisp dialect will be a Kernel.
Re:The Io Language on Wednesday March 22, 2023 @01:59PM (#35264774)
Lack of compilation for fexprs is:

A) An exciting research problem! Shutt himself says that he doesn't see any fundamental obstacles to compiling them. It's just that nobody has done it yet.

B) Actually not a big deal for many applications. Take PicoLisp, which has been cheerfully used in customer-facing applications for decades. It's an ultra-simple interpreter (its GC is 200 LOC https://github.com/picolisp/picolisp/blob/dev/src/gc.c ) The same architecture can be used for Kernel implementations.

Re:The Io Language on Wednesday March 22, 2023 @04:45AM (#35258421)
> This is all documented.

Things have changed. Fexprs are coming back in a big way.

You need to check out John Shutt's Kernel language https://web.cs.wpi.edu/~jshutt/kernel.html

Yes, older Lisps messed fexprs up. Kernel fixes this. The vau calculus used by Kernel is simply a lambda calculus that, unlike CBN and CBV, doesn't implicitly evaluate arguments. The rest of the calculus is the same.

What this means is you get powerful hygienic metaprogramming (arguably as powerful or even more powerful than Scheme's most advanced macro systems) at a low low price and with very elegant theoretical properties. In Kernel, hygiene is achieved simply with the usual lexical scope that's already in lambda calculus.

So vau calculus is simpler than the CBV lambda calculus used by Lisps. Because it doesn't evaluate arguments, so it does less than those calculi. And by doing less it gains the great power of being able to do hygienic metaprogramming in the same calculus, without second-class contraptions like macros.

Re:Examples of Floating Point Problems on Friday January 13, 2023 @04:58PM (#34374465)
Good points!
Re:Examples of Floating Point Problems on Friday January 13, 2023 @04:27PM (#34374118)
I don't find this convincing.

> What do you return for an index into the array?

An option/maybe type would solve this much better.

> Yes, I know, it can be clumsy to trace it back to its source

An exception would be much better, alerting you to the exact spot where the problem occurred.

Re:SQLite Release 3.40.0 on Wednesday November 16, 2022 @03:09PM (#33629781)
Does the WASM port include full-text search (FTS)?
Every worker can only access a fixed set of databases?
Re:Resolving the Great Undo-Redo Quandary on Friday November 11, 2022 @08:24AM (#33560539)
Would be useful if this had a comparison with Emacs, which also resolves the GURQ.
It's missing #DADB0D
Re:Cloudflare Calls on Tuesday September 27, 2022 @10:19AM (#32995528)
Does this support RTC data channels, too, or just A/V?
Re:US Navy Patent Antigravity Device on Monday May 04, 2020 @11:27AM (#23069151)
Is this related to the EmDrive?
Re:A case for ending lockdown on Thursday April 30, 2020 @07:31AM (#23029731)
Northern Italy's health system also collapsed in 2018 (and probably other years, too) from the flu:

https://translate.google.com/translate?sl=it&tl=en&u=https%3...

IDGI, just store the structured data in Git.
Re:Show HN: Bel on Saturday October 12, 2019 @03:07PM (#21235456)
Re:A dream of an ultimate OS (1995) on Wednesday August 21, 2019 @06:19AM (#20755941)
Genode is really great, check it out: https://genode.org/documentation/genode-foundations/

Older ยป