Better HN
topnewbestaskshowjobs
Log inSign up

simplify

2,061 karma · joined May 24, 2009 (17y ago) · 911 submissions

Submissions

comment 4y ago · link · parent

Darklang is getting there. Functionality is limited, but feels great to use. Speaking as someone with 15 years experience. Can't wait for it to mature.

comment 4y ago · link · parent

If you mean "mental" as in "not based on reality", then no, that's wrong.

However, it is true that your hunger urges are not solely based on thriving and surviving, but also significantly on the current state of your gut bacteria, which is highly influenced by diet and stress. They say the gut is a second brain for good reason.

comment 4y ago · link · parent

It' a fun idea, but colors are so contextual that putting them next to each other for votes gives a pretty useless data set.

comment 4y ago · link · parent

As bad as the law is, these links don't answer the question of how many there are.

comment 4y ago · link · parent

> But what if you put the Do Nothing choice on a timer?

This is actually done in the game Dr. Trolly's Problem[0]. This technicality is interesting enough such that a streamer creates his own internal rule around it to handle issues of morality[1].

[0] https://store.steampowered.com/app/773830/Dr_Trolleys_Proble...

[1] https://www.youtube.com/watch?v=dabWpa-FwUo

comment 4y ago · link · parent

How many great projects will never be, from the common dev's expectation of free?

comment 4y ago · link · parent

Prolog itself does not have exponential complexity. It depends on the problem you're solving.

comment 4y ago · link · parent

I would love a Prolog database query language. Itch for it every time I use SQL.

comment 4y ago · link · parent

This post is related to a large number of developers and startups (read: HN users), many of which have at least an iOS app or support safari. I don't see what the problem is.

comment 4y ago · link · parent

Flooring has changed too. Carpets are better looking and more resilient. Click vinyl is stronger, has good texture, easier to install, and is super durable.

comment 4y ago · link · parent

Agreed. As James 2:15 puts it:

If a brother or sister is naked and destitute of daily food,

and one of you says to them, "Depart in peace, be warmed and filled," but you do not give them the things which are needed for the body, what does it profit?

comment 4y ago · link · parent

Is there an introduction to 2LTT for those with only a basic understanding of type theory?

comment 4y ago · link · parent

Also see https://quickparty.games for the multiplayer version.

comment 4y ago · link · parent

Shopify is hiring like crazy, and their stack is almost all Rails.

comment 4y ago · link · parent

Off topic: Does founding engineering team mean founders who are also engineers, or does it mean pre-launch engineer hires?

comment 4y ago · link · parent

Why write Lexical over using something like ProseMirror or CodeMirror 6? Not being snarky, just curious.

comment 4y ago · link · parent

Your intuition is correct. We're working on a project where 3rd party developers will write their logic in Prolog, which is a boon for both security and ease-of-writing.

Here's a good video explaining some of this, as well as a nice introduction to the language & and how you can use it in your own projects: https://twitter.com/ThePrologClause/status/15006425339400233...

comment 4y ago · link · parent

Why would being "cleaner" make any difference for the likelihood of a theory? Isn't "clean" just a made-up concept that merely means "pleasant" to the human mind?

I don't see how "all cases" is any more likely than "one case".

comment 4y ago · link · parent

Go is good and all, but it's odd to compare it to the vast feature set that Rails provides. The point of Rails is to give you standard tools so you don't have to consider / reimplement / configure / hook up e.g. background processes for every app you build.

comment 4y ago · link · parent

Microsoft sells Minecraft servers for $8/month. That $19.99 may very well go to zero.

comment 4y ago · link · parent

It's not orthogonal as you can't have TDD without tests. Perhaps you meant to say "you can have tests without TDD".

comment 4y ago · link · parent

> Not Prolog levels of bad

Prolog is homoiconic like lisp, and support metaprogramming, so in theory there's nothing stopping Prolog from being great at most or all of a problem.

comment 4y ago · link · parent

Love the effort fly.io is putting into supporting Phoenix. Reminds me of the early Heroku days when they were focused on making Rails as easy to deploy as possible. Betting on Phoenix is definitely the right call.

comment 4y ago · link · parent

You're vastly underestimating the advanced type system features TypeScript requires to typecheck even the most basic JavaScript code. It would be more like 10% rather than 98%. Intersection and union types are no joke, and are notoriously difficult to make performant.

comment 4y ago · link · parent

Funny enough, I've implemented a config language that fits exactly this bill https://github.com/gilbert/zaml

An example (also see it in the online editor[0]):

    users {
      andy
      beth {
        admin true
      }
      carl
    }
The author is right that you gain syntax benefits when you define a schema. For those who say this adds cognitive overhead, it actually doesn't; the schema and compiler are able to reduce that overhead, because if you make a mistake, you get a nice, accurate error message.

[0] https://gilbert.github.io/zaml/editor.html#s=N4IgzgxgFgpgtgQ...

comment 4y ago · link · parent

Considering the hard part of effects is implementing them at the language level, deferring on syntax is a good problem to have.

comment 4y ago · link · parent

The short answer is, algebraic effects allow you to build your own abstractions like async/await. That's extremely powerful.

comment 5y ago · link · parent

This is an odd question. Since when do SaaS companies charge based on hosting cost? If their service is superior, people will pay for the saved time.

comment 5y ago · link · parent

Board game rules. "Given the current state of the board, what are all the actions player 1 can do? Choosing one of those actions, which targets can they choose from?" etc.
1
567
31