Better HN
topnewbestaskshowjobs
Log inSign up

tome

9,244 karma · joined Nov 30, 2008 (17y ago) · 5,614 submissions

Submissions

comment 1d ago · link · parent

In what way does it claim credit?

comment 6d ago · link · parent

Oh yes, you're right, I was quoting from the reductio ad absurdum derived from the hypothesis "If light travelled at a speed of one Earth-diameter per second", which is far too little.

But I don't know why it says "no difference is observed", as it follows up by saying a difference is observed! That's the operative part: the apparent period does differ (and, of course, you couldn't get from in phase to a phase shift without the period changing). The relevant figures are "an orbital period of 42 hours 28 minutes 31¼ seconds" and "apparent orbital period is 42 hours 29 minutes 3 seconds", a difference of 32 seconds.

Since 32 seconds is roughly 1/14th of 7 minutes, Rømer's reasoning should show that the speed of light is 14 earth diameters per seconds:

14 earth diameters per second: 110845.32 mi/s (miles per second)

speed of light: 186282 mi/s (miles per second)

(Thanks to Wolfram Alpha). So Rømer's analysis was roughly correct.

comment 1w ago · link · parent

No, the apparent orbital period differs:

> there should be a difference of about 7 minutes between the periods of Io measured at the first quadrature and those measured at the second quadrature

https://en.wikipedia.org/wiki/R%C3%B8mer%27s_determination_o...

comment 1w ago · link · parent

> The imperative approach really is simpler to wrap one's head around

I've devised a way of programming imperatively in Haskell but in a way that maintains all the benefits of the type system ("make invalid behaviours unrepresentable") but I don't think that moved the needle on Haskell's popularity...

comment 2w ago · link · parent

Prof Tao should change his ways in a tiny way to make his message clearer.

comment 3w ago · link · parent

Experience has demonstrated that it's not sufficient!

comment 3w ago · link · parent

> Flipping one card doesn’t change the state of the other one

Right, but you didn't say "change" you said "determine".

> Aspect carried out the experiment in the early 80s

I have a write up of the maths behind this if anyone is interested, accessible to an undergraduate: https://h2.jaguarpaw.co.uk/posts/bells-theorem-made-simpler/

comment 1mo ago · link · parent

Haskell most definitely supports loops:

    ghci> :{
    ghci| for_ [1 .. 10] $ \i ->
    ghci|   print i
    ghci| :}
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
It doesn't require loops to be implemented at the language level, however. The language is rich enough to support user-defined loop constructs.

comment 1mo ago · link · parent

> Just imagine the billions of value you could've generated with a more programmer-friendly language!

To make a serious rejoinder to a light-hearted comment, I couldn't have, because without Haskell I would have been so annoyed with programming I would have gone into management or something, so that I didn't have to use a "more programmer-friendly" language and want to tear my eyeballs out 8 to 10 hours a day. Seriously. Haskell is the only language I've used which I don't feel gets in my way.

comment 1mo ago · link · parent

> Haskell is a great research language - just don't try to use it for actual production programming. ;-)

Oops, your advice came ten years and millions of dollars of value generated too late for me :(

comment 1mo ago · link · parent

There is some work on that: https://www.youtube.com/watch?v=qk_P8piUclI

comment 1mo ago · link · parent

The first article doesn't say that Israel was the culprit and the second article isn't about this particular case (nor does it actually say that Israel was involved, just Israelis, formerly intelligence service staff).

comment 1mo ago · link · parent

Maybe a silly question, but without video isn't this obviously fake? Or is it normal for all participants on a call to be audio only?

comment 1mo ago · link · parent

I think you've got it exactly backwards. The comment is supposed to explain that there can't be a scientific determination of such a matter, not that it itself is such a determination.

comment 1mo ago · link · parent

This comment by nh2 (on Reddit) is my favourite response to that line of thinking. I recommend reading the whole thing. Excepts:

> You're not going to get any "credible empirical evidence" already because the sample size is so small. That would require getting, say, 100 companies that are similar in size and tasks, have a working business model and are still around, and also want to spend time on methotically collecting concrete evidence, and care to blog about that.

> people don't really want to spend time stating the obvious

> We don't spend time blogging that on our Haskell server, we get pretty much none of [run time type error or segfault] because well, those don't exist in Haskell

> We're convinced it's the best tool for the server job, compared to other tech we used at past jobs and projects. So we're using Haskell for it, and we started it in Haskell. We cannot compare before/after, because we directly started it in the "best tool available". We can compare our current project to our past individual work experience, but one cannot simply turn such individual cross-project experience into quantitative evidence

https://www.reddit.com/r/haskell/comments/1plsmqh/comment/nt...

comment 1mo ago · link · parent

If that's so could you link the other articles?

comment 1mo ago · link · parent

The culprit where?

comment 1mo ago · link · parent

That article doesn't say it was Israel.

comment 1mo ago · link · parent

Are you sure it says that? As far as I can see it only says he dealt with Israeli ex-spies in an (unrelated) kidnapping and that he was friendly with Israeli spies.

comment 1mo ago · link · parent

I don't quite follow. `fmap = map` is a valid implementation for lists indeed, but `for_ = foldr` is not. They don't have compatible types, for one thing. What do you mean?

comment 1mo ago · link · parent

Or just use `for_` instead of explicit recursion ...

comment 1mo ago · link · parent

Yes, because foldr is equivalent to for_, that is, iterating over a container and performing an effectful action (what in other languages would be called "doing something") for each element. Uses of foldr can always be rewritten to uses of for_, and I find things much clearer in terms of for_!

(This is explained in my article "foldl traverses with State, foldr traverses with anything": https://h2.jaguarpaw.co.uk/posts/foldl-traverses-state-foldr...)

comment 1mo ago · link · parent

Oh you're right, I misread. But in that case isn't it even less crazy? Different levels of risk pay different amounts, up to 33% more in the cases documented above?

comment 1mo ago · link · parent

> but this is what's crazy to consider: the difference in wages we are talking is no more than $3 per hour

What's crazy about it? Do you mean it's crazy that people chose to work a dangerous job when a safe job was available for not much less?

comment 1mo ago · link · parent

> Everyone assumed they were going to do a Venezuela

When you say "everyone" do you mean "everyone in the US military establishment"? I remember very few independent commentators who suggested the US intervention in Iran was a good idea. (Personally I think it's too early to say.)

comment 1mo ago · link · parent

Excitement is not a reward, excitement is a motivating force :)

comment 1mo ago · link · parent

> Apparently in the 90's the Haskell devs couldn't fathom two different types both having a field called "ID" or "name".

I think it's simply that making field names become functions that select from the record was a simple design that worked, and didn't require anything new to be added to the language.

comment 1mo ago · link · parent

> I haven't tried any serious LLM Haskell before 2026-02, because it was just not a timesaver.

Same, and now seven months later a GBP 20 per month Plus subscription gets me basically all the GPT-6-Luna-xhigh I can eat, which does a tremendous job of Haskell. It's even helped me with some really gnarly things like this, which require deep knowledge of the GHC RTS: https://github.com/tomjaguarpaw/bluefin/commit/c298733bdd67d...

It's possible it's much slower when working on Haskell than it is on other languages. I wouldn't know because I've only tried it on Haskell. But I'm very happy (and extremely impressed) by it.

comment 1mo ago · link · parent

Why would you want to be pissed off when you could be excited?

comment 1mo ago · link · parent

What do you mean? Because management says it makes you too slow? Or is it unacceptable for some other reason?
12345
188