kamatsu

- friends
2,350 link karma
16,814 comment karma
send messageredditor for
what's this?

TROPHY CASE

5 Weeks of Go by urielin programming

[–]kamatsu 0 points1 point ago

I should chuck in Xavier Leroy as well.

5 Weeks of Go by urielin programming

[–]kamatsu 1 point2 points ago

I think a better approach is something like mix-fix syntax which lets you make your own syntactic sugar. Otherwise there'll always be another abstraction that could use some (e.g Haskell could really use some nice sugar for applicative functors)

Sci-Fi Show Commonalities (x-post from r/scifi) by kracovin startrek

[–]kamatsu 0 points1 point ago

Would like to see B5 here too.

Favorite Star Trek villain? by aflargein startrek

[–]kamatsu 1 point2 points ago

Weyoun.

Damar: "Are you at all different? you believe the founders are Gods."

Weyoun: "Oh, but that's entirely different - the founders are Gods."

I liked Dukat as well, but I prefer villains who are sly and friendly, not antagonistic.

Favorite Star Trek villain? by aflargein startrek

[–]kamatsu 0 points1 point ago

Even Ross let S31 get away with their shenanigans with the romulans.

Favorite Star Trek villain? by aflargein startrek

[–]kamatsu 0 points1 point ago

And First Minister of Bajor.

Favorite Star Trek villain? by aflargein startrek

[–]kamatsu 0 points1 point ago

Mostly due to the fact that the federation is trying to maintain peace.

Favorite Star Trek villain? by aflargein startrek

[–]kamatsu 0 points1 point ago

Combs played a semi-sympathetic character once in B5. It was quite hard for me not to think of him as an evil, or at least antagonistic (Shran) guy.

5 Weeks of Go by urielin programming

[–]kamatsu 11 points12 points ago

Either does automatically bubble up the stack.

5 Weeks of Go by urielin programming

[–]kamatsu 3 points4 points ago

So? Haskell was the first language with monad infrastructure, so it makes sense that most of the languages with monad infrastructure descend, at least in part, from Haskell.

5 Weeks of Go by urielin programming

[–]kamatsu 11 points12 points ago

So? You just asked "Who is better than them to create a new language". And I answered.

If you want more alive people, how about Don Syme? Or Bob Harper? Or Martin Odersky? All of whom have a great deal more experience in programming languages work than those two you mentioned.

5 Weeks of Go by urielin programming

[–]kamatsu 13 points14 points ago

Simon Peyton Jones? Robin Milner? Dennis Ritchie? Dijkstra? Wirth?

5 Weeks of Go by urielin programming

[–]kamatsu 2 points3 points ago

You can easily use monads for side-effects with strict evaluation. Hell, Haskell has strict Cont monads and IO is also strict. Lazy evaluation and separation of execution and composition are different things.

There are plenty of Haskell inspired languages, such as Idris, Agda, Clean and Disciple.

Consumer confidence tells us 'the vibe' - that's about it - Greg Jericho by iheartralphin australia

[–]kamatsu 0 points1 point ago

I'm reminded of an amusing scene from the Castle.

5 Weeks of Go by urielin programming

[–]kamatsu 7 points8 points ago

Lazy evaluation is hardly necessary for monads modelling exceptions. Disciple is an example of a strict language where monads might be useful for this (we don't have exceptions, yet, but I assume we'll get them at some point).

Do notation is minimal syntactic sugar. Lots of haskell-inspired languages have it, and Scala has for comprehensions which work reasonably well for monad stuff.

(Scala is notoriously bad at optimising that stuff though, it doesn't like lots and lots of lambdas)

Was classical BASIC ever used for commercial software development? by Rachel53461in programming

[–]kamatsu 3 points4 points ago

Even Haskell has a type based definition of equality (Eq), and a more direct, definitional equality that can't be directly reified in Haskell code.

Even mathematics doesn't really understand equality - are the functions f(x) = x + 1 and g(x) = 1 + x equal? They are defined differently, yet they are equal extensionally. Whether or not extensionality should be part of equality is an open question in some circles, such as type theory.

5 Weeks of Go by urielin programming

[–]kamatsu 12 points13 points ago

They are not the best of the best, by any measure.

5 Weeks of Go by urielin programming

[–]kamatsu 10 points11 points ago

That's exactly what I mean by "monad infrastructure"

5 Weeks of Go by urielin programming

[–]kamatsu 13 points14 points ago

Sum types are fine replacements for exceptions if you have all the monad infrastructure to back it up.

Quotes about programming languages by shenglongin programming

[–]kamatsu 26 points27 points ago

Remember that the BASIC Dijkstra was referring to here is nothing like MS QuickBasic or Visual Basic.

When Will Software Verification Matter? by quietsquarein programming

[–]kamatsu 7 points8 points ago

It's a functional abstract spec. We prove functional correctness via refinement from this spec through Haskell and down to C.

We define bugs as errors in the program. The spec is at least consistent, but the exact notion of what even constitutes an error in the spec is difficult to nail down - the spec could be said to be incorrect because it doesn't specify what you expect, but what you expect is not necessarily correct either.

In any event, we use the guarantees from the spec to prove higher level security properties and other more immediately useful things. Even if there are "errors" in the spec, we have shown various higher level properties to be true about the kernel as it is implemented. If we have proven that a program matches an "erroneous" spec, then that erroneous spec still implies useful high level properties, so I don't see the problem.

My two best friends just got married and I'm so happy for them! by PeterJeromein atheism

[–]kamatsu 1 point2 points ago

That's not Jesus, Rom, Cor are Paul. Lev is some ancient jewish pharisee.

Found this beautiful pic the other day... by apotheosis970in startrek

[–]kamatsu 2 points3 points ago

This only affirms my belief that Takei really is the best looking member of the original cast.

When Will Software Verification Matter? by quietsquarein programming

[–]kamatsu 4 points5 points ago

We just don't verify software that needs them. If we really needed to represent fractions, ratios of integers might be better.

view more: next