Better HN
topnewbestaskshowjobs
Log inSign up

imode

170 karma · joined Oct 28, 2016 (10y ago) · 165 submissions

Submissions

comment 6y ago · link · parent

What was The Palace?

comment 7y ago · link · parent

I don't agree with the assumption that we need to ditch X11 entirely. Implementations are different from the spec, and a common complaint I have is that certain implementations are gathering code smells like nobody's business.

You can fix both an implementation and a spec by continued review and revision, while making choices to either remain backwards compatible or breaking that compatibility with newer revisions. I don't think Wayland is a good solution to this kind of problem, despite it being touted as one in many circles I've witnessed.

The competition is nice, though! I have yet to give Wayland a try, but it's on my to-do list some time on a fresh machine.

comment 7y ago · link · parent

Seems like this is a misleading article, because..

1. You didn't actually beat C, as shown by your own measurements.

2. You move the goalposts to support your article.

This is not a good article.

comment 7y ago · link · parent

Something like a "place-based" tuple space would be more accurate, yeah.

comment 7y ago · link · parent

What's interesting is that there's no "destination" for these chemical signals, they're just emitted into the void. There's no sense of sender/receiver, which has some correspondence to the blackboard model[1,2].

1. https://en.wikipedia.org/wiki/Blackboard_system 2. https://en.wikipedia.org/wiki/Blackboard_(design_pattern)

comment 7y ago · link · parent

To add, here's a nice article on implementing map from scratch: https://blog.burntsushi.net/type-parametric-functions-golang...

It illustrates what you have to pay to get this kind of functionality for arbitrary slices.

I wonder how this would change with generics.

comment 7y ago · link · parent

I don't consider this "beating" the C version. The new version isn't even semantically equivalent. You had to resort to multiple cores. A parallelized C version of wc would probably be even faster.

There's not much content here, IMO.

comment 7y ago · link · parent

Is "ignoring the specification" an extreme, now?

Are we seriously expected to entertain this mess?

So glad I switched to Firefox all those years ago.

comment 7y ago · link · parent

I will be shocked if they can raise the required amount.

Shame that this property will probably be bulldozed and exploited like every other natural resource on this planet.

To downvoters, is it because I'm right, or because you don't like the consequences?

comment 7y ago · link · parent

Better call Jason Scott. :(

comment 7y ago · link · parent

Thanks for downvoting, everybody.

You aren't supposed to downvote because you disagree, you're supposed to downvote because I'm not contributing to the discussion.

This place is an echo chamber that favors cliques and follows its own arbitrary rules while being hostile to others. lobste.rs is so much better.

comment 7y ago · link · parent

This is troublesome, and it feels like "progress" for the sake of "progress" rather than actual improvements. The X Window System is time-tested technology, while Wayland, from what I've seen and read, is not.

This isn't a good thing to me, especially considering NVIDIA hardware doesn't seem to be well supported. Someone come along and correct me, please.

comment 7y ago · link · parent

We already have this unique method via Nichrome wire. You can see a really neat application of this in a common toaster here: https://www.youtube.com/watch?v=1OfxlSG6q5Y

comment 7y ago · link · parent

This is absolutely remarkable! I'm in awe of the whole thing, as is my father!

Thank you so much. This kind of effort means so much to the both of us.

comment 7y ago · link · parent

Blank page with uBlock Origin.

comment 7y ago · link · parent

This is remarkably beautiful. Could you, perhaps, give some detail as to how it functions? I see wave propagation, but I'm interested in the state dynamics of a particular cell.

comment 7y ago · link · parent

Now these are some cool resources! Thank you for providing them.

I'm really starting to enjoy Joy, J, FP, and other languages based on a similar combinator-like basis. I'll have to read over Compiling to Categories, because that certainly is something that catches my eye.

comment 7y ago · link · parent

That's pretty damning. Glad I never went to Snoonet. Something seemed off about the network as a whole, and it appears that my assumptions were correct...

comment 8y ago · link · parent

I feel that way when people write anything in a functional programming language.

"Here's this lovely new functional language!... written in Haskell, using Haskell's entire runtime as a basis."

comment 8y ago · link · parent

That's not a personal attack, it's an honest question.

comment 8y ago · link · parent

I think you're right w.r.t re-usability, though I've found semi-Thue systems more useful for formulating Turing Machines in order to avoid shifting things around. The string can just expand as needed, though the complexity probably changes.

comment 8y ago · link · parent

For all those downvoting my comments, why? Am I not contributing to the discussion?

comment 8y ago · link · parent

If you can't define an algorithm as a step-by-step process, what can you define it as? That's the whole point: it is a process, manifested as sets of discrete steps, towards an end result by following sets of rules.

Lambda Calculus, Turing Machines, etc. are no different in this regard. One has its steps realized in reduction and substitution rules, the other has its steps realized in movements of the head and manipulations of the tape.

You'll need more to disprove my hypothesis. All software is built compositionally, up from smaller pieces. It's why we commonly refer to everything as a "software stack": we can reason about smaller making up larger. If you examine most of the code written today, this very minute, you'll see it's compositional, in the way that larger codebases are built from components.

Neither LC or TMs are "natural ways of thought", they're mechanisms. Turns out that TMs won out not only because they admit an easy physical implementation, but also because they're compositional. I can wire up two TMs and get them to perform operations in sequence, perform conditional branching, etc.

JavaScript is hardly Lisp in a C-suit, but that's beside the point, because C is pretty terrible (despite it being my favorite) regardless of what paradigm you choose. I'm not going to devote much of this comment towards that.

All software is compositional, regardless of the medium, and all computation is purely mechanical, regardless of the model of computation, because unless you want to stare at a lambda expression and infer the value, you need to perform some kind of step-wise reduction. That, after all, was Church's point.

comment 8y ago · link · parent

The problem is all of this relies on a representation of the data structure you're manipulating. What exactly is the structure that a Lisp machine is manipulating?

The basis of Lisp is the Lambda Calculus, and a generalization of that gets you term rewriting. Both the basis and the generalization of Lisp admit to requiring a tree (or a graph, in the case of Cons-cells) to get on with the computations, because that's the "state" that you're working with.

The problem is that while these things in the minds of humans are pretty easy to work with, implementing them physically has you rely on things like the RAM model, which, while pretty far away from the Turing Machine, still has machine-like qualities.

That's my argument. We can't really build "Lisp Machines", we can build "Random Access Machines with Lisp Interfaces", because there's no physically implementable version of a tree or graph memory outside of linking randomly-accessible cells.

123456