HN user

substation13

776 karma
Posts33
Comments226
View on HN
historicalmodeling.com 2y ago

Don't Click Submit Twice

substation13
3pts0
news.ycombinator.com 2y ago

Ask HN: Are the days of CAPTCHAs coming to an end?

substation13
8pts4
www.dangerousroads.org 3y ago

Dangerous Roads

substation13
2pts0
news.ycombinator.com 3y ago

Ask HN: Why is parsing still inconvenient in 2023?

substation13
2pts4
github.com 3y ago

Expression – Pragmatic functional programming for Python inspired by F#

substation13
3pts0
en.wikipedia.org 3y ago

Wigmore Charts

substation13
1pts0
www.barefooters.org 3y ago

A Case for Bare Feet [pdf]

substation13
2pts1
news.ycombinator.com 3y ago

Ask HN: Best solution for comfortably reading papers and other PDFs

substation13
5pts13
psyarxiv.com 3y ago

Motornomativity: Social Norms Hide a Major Public Health Hazard [pdf]

substation13
3pts1
pubmed.ncbi.nlm.nih.gov 3y ago

Walking in Minimalist Shoes Is Effective for Strengthening Foot Muscles

substation13
4pts1
fellrnr.com 3y ago

The Science of Running Shoes

substation13
1pts0
www.outsideonline.com 3y ago

How Stupid Is ASICs’s Menstrual-Tuning Shoe? (2011)

substation13
2pts0
news.ycombinator.com 3y ago

Ask HN: Do you think Meta could compete with AWS?

substation13
25pts74
web.archive.org 3y ago

The rise of functional programming in Banks (2013)

substation13
2pts0
news.ycombinator.com 3y ago

Ask HN: How Does WhatsApp Work?

substation13
2pts1
www.bicycling.com 3y ago

Mandatory helmet laws make cyclists less safe

substation13
320pts574
github.com 3y ago

Buck 2

substation13
4pts0
isthisit.nz 3y ago

A Simple Computation Engine in F#

substation13
3pts0
catb.org 3y ago

The Story of Mel (1983)

substation13
2pts0
www.ft.com 3y ago

SEC steps in after investors buy up the wrong Zoom (2020)

substation13
2pts0
arstechnica.com 3y ago

When context is key: “Hunger stones” go viral, but news first broke in 2018

substation13
2pts1
en.wikipedia.org 3y ago

Irukandji Jellyfish

substation13
2pts2
en.wikipedia.org 4y ago

DPRK Standard Korean Graphic Character Set for Information Interchange

substation13
3pts0
dl.acm.org 4y ago

Equal Rights for Functional Objects (1993) [pdf]

substation13
2pts0
web.archive.org 4y ago

Software Transactional Memory for F# (2008)

substation13
1pts0
news.ycombinator.com 4y ago

Ask HN: What is on the cutting edge of programming language design and research?

substation13
8pts6
www.heddels.com 4y ago

The Great White T-Shirt Review (2020)

substation13
3pts2
news.ycombinator.com 4y ago

Ask HN: Is the GitHub home page distracting you from your work?

substation13
18pts22
groups.inf.ed.ac.uk 4y ago

Formlets

substation13
1pts0
en.wikipedia.org 4y ago

The Cisco Flip

substation13
1pts0

Many believe that F# is better for functional code and C# is better for imperative code. Hence F# immutable core and C# immutable shell.

But I think this is a myth. F# the language is better than C# at most things and certainly better overall. If you are going to use F#, you may as well go all in and get all of the benefits.

For web services, Giraffe or Suave combinators are much easier to reason about than ASP.NET MVC patterns.

Yes, it can be.

1. Loading data

2. Running algorithms that benefit from shared memory

3. Serving the model (if it's not being output to some portable format)

There are also general benefits of using one language across a project. Because Python is weak on these things, we end up using multiple languages.

Anyone else read the headline and go straight through to the comments?

I think that HN, which has added deliberate friction elsewhere on the site, should consider hiding the comments link until you have clicked through to the article.

Second, this is still fine. Don't make changes outside of the IAC control. And if you do make them, retro-fix the IAC files until there is no diff with the actual state.

This doesn't work in practice. Some aspects of the business want to tweak things and it should be reasonably guaranteed that the automated side never touches it.

Terraform state gives this assurance because it won't destroy resources not under its state.

With Terraform you can statically analyze the infrastructure definition with some guarantees of determinism etc. Arbitrary execution is allowed, as you say, but only in well-contained places, such as local_exec.

How can this work if, say, TypeScript is used as the definition language?

Exactly. If you want portability across clouds, Terraform ain't it. The only way I know of to achieve that right now (for any reasonably complex architecture) is:

- Minimal amount of Terraform to deploy Kubernetes (which is different for each cloud provider)

- Helm (or similar) for deploying to Kubernetes

But then you have Kubernets to deal with.

Adding a "real" programming language makes certain things easier, such as abstraction, but IMO they are too powerful for the task at hand. Do we really want an infrastructure description to be able to execute arbitrary code?

Stacking shelves in a supermarket is a perfect example. 1000s of products means that a bit of experience is required to know where everything goes in order to quickly stack. With a HUD, workers become productive much faster (and are more inter-changeable) - which is something large enterprises love.

If the prices have significantly risen since you purchased (as they have for most buyers) then moving even to the same quality of house makes you a net buyer because you need to take on more financing.

Remember, the day you buy a house, you are no richer. This is because the asset (house) is offset by the liability (the mortgage).

It's really easy to get an LLM to hallucinate by asking an open ended question - the type typically answered by a Google search or checking Wikiedpia. However, this is not the best application of LLMs. This criticism is getting old.

LLMs are great at:

- Text synthesis given all of the facts in a prompt (expand these bullet points)

- Summarization (condense this text)

- Data extraction (fit this data into this schema)

- Fiction (virtual characters, scripts, etc.)

They will dramatically change these industries.

Hello!

This looks really interesting to me.

There is a feature I would like that I have never seen in a scripting language, and I wonder if Scrap might support it:

Monadic bind points and applicative join points in the script language

Hopefully an example can convey what I mean.

Bind:

    do {
      let! x = some_value_in_a_monad

      x + 1
    }
Applicative:
    do {
      let! x = some_value_in_a_monad
      and! y = another_value_in_a_monad

      (x + y) * y
    }
Now when I embed this script, I would like my runtime interpreter to provide implementations of `let!` and `and!`. The script author defines the bind points and the runtime defines the effects.

Is this possible in Scrap?

Good post. I am still hopeful that a large scale "backwards" build-system can be made ergonomic enough to be used on even small projects.

If Bazel didn't have so many gotchas, it could be the one:

    cc_library(
      hdrs = [ "app.h" ],
      srcs = [ "app.cc" ],
    )