Hacker Newsnew | past | comments | ask | show | jobs | submit | ckcheng's commentslogin

> but "now" is the collection of events that currently affect us.

Just to see if I understand what you’re saying…

So a hypothetical photon from the big bang (era?) gets observed now means the big bang is happening now?

A dinosaur decays to bones and now gets observed means the dinosaur died just now - not that it died millions of years ago?

(Dinosaur = photon from a star or something. Decay = red shift. Or a real dinosaur— guess it’s the same now.)


  > So a hypothetical photon from the big bang (era?) gets observed now means the big bang is happening now?
Yes. More specifically, the big bang would be happening now, at the location from where we perceive that photon. Hey, this stuff is not intuitive.

However the early universe absorbed all the big bang photons. The furthest back we can observe photons from is the CMB. And yes, the phase change is happening now, there... Complicated by the Hubble expansion of course.

  > A dinosaur decays to bones and now gets observed means the dinosaur died just now - not that it died millions of years ago?
No, that is incorrect. But you already knew that. Analogies don't work for light and for time and for relativity - it is too different from our everyday experiences for analogies to hold.

“Now” is weird. It doesn’t exist in a cosmic sense. Check out book “the order of time”.

Looking forward to seeing what the performance is like for a Clojure on “a whole-program optimizing compiler in the Stalin lineage”!


Took a few more years to get really bug free.

> Fast forward to 2006. I was shocked to learn that the binary search program that Bentley proved correct and subsequently tested in Chapter 5 of Programming Pearls contains a bug. ... Lest you think I'm picking on Bentley, let me tell you how I discovered the bug: The version of binary search that I wrote for the JDK contained the same bug. It was reported to Sun recently when it broke someone's program, after lying in wait for nine years or so.

https://research.google/blog/extra-extra-read-all-about-it-n...


403 error. What was the bug?


IIRC it was overflow when you do (a + b) / 2 for the midpoint. It took so long to find because you need a >billion item array to overflow the 32-bit integer, and that much RAM wasn't common until the 00s.

The right way is a + (b - a)/2.


64KiB was common in the 16-bit era, however


Load in an incognito window?

Loads fine for me:

> The bug is in this line:

6: int mid =(low + high) / 2;


How’s about radicle.dev ? Apparently like GitHub, but decentralized like Git.


It's mentioned in the article.

I tried it, years apart. It's forever experimental, and requires hosting for forever online repo anyway.

Forgejo is also mentioned, to me it's a valid alternative, without the community aspect.


TCO is surprisingly commonly supported in the real world. TCO is supported in C++ compilers, JavaScript in Safari, Scala, Clojure in a way, etc.!

For instance:

"All current mainstream [C++] compilers perform tail call optimisation fairly well (and have done for more than a decade), even for mutually recursive calls" [1].

"As of July 22, 2023 Safari is the only browser that supports tail call optimization" of JavaScript [2].

"Since Clojure uses the Java calling conventions, it cannot, and does not, make the same tail call optimization guarantees. Instead, it provides the recur special operator, which does constant-space recursive looping" [3].

"The Scala compiler will automatically optimize any truly tail-recursive method. If you annotate a method that you believe is tail-recursive with the @tailrec annotation, then the compiler will warn you if the method is actually not tail-recursive" [4].

[1]: https://stackoverflow.com/a/34129

[2]: https://stackoverflow.com/a/37224563

[3]: https://stackoverflow.com/a/34097339

[4]: https://stackoverflow.com/a/3114245


Yes, I think it’s like a decentralized GitHub?


Works over Bluetooth mesh offline and Nostr online.

Relevant discussion yesterday:

> “Government orders GitHub to remove Bluetooth-based chat app Bitchat: Jack Dorsey”

https://news.ycombinator.com/item?id=49036433


What a bunch of clickbaity nonsense.

Indian government*. They shut off internet access and order people to remove stuff all the time. Nobody pays any attention to them.

It's still up on Github. https://github.com/permissionlesstech/bitchat


India governs more people than anyone else in the world.

So, “government” defaulting to “Indian government” is pretty sane. And relevant.


Like many countries, China has an unemployment problem especially with new grads.

> demanding jobs and long hours in the private sector, where 12-hour days and weekend shifts are common

But well, there’s the problem right there, right? If they restrict max working hours to like European standards, they’d immediately reduce unemployment to near zero.

Plus the extra time off produces greater domestic demand too.

This solution is too obvious. So why don’t they do it?


What’s more funny to me is the set up to that quote:

> Bill Gates had somehow manifested, alone, surrounded by ten Apple employees. … Steve started yelling at Bill, asking him why he violated their agreement.

And what’s more interesting is the conclusion:

> Apple filed a monumental copyright lawsuit against Microsoft in 1988, but they eventually lost on a technicality (the judge ruled that Apple inadvertently gave Microsoft a perpetual license to the Mac user interface in November 1985).

Microsoft didn’t steal Apple’s GUI … Apple gave it to them.


That isn’t fully true is it?

Microsoft claimed that its software’s use of various visualizations related to window state was covered by the 1985 agreement, and Apple claimed that this was not true; those window states were produced by Macintosh while Microsoft’s software was being rendered in the Mac environment.

> In his March 20, 1989 Order, Judge Schwarzer declined to consider whether the visual displays in issue were generated by the Microsoft application programs or by the Macintosh system software. The point arose in connection with Microsoft's argument that the 1985 Agreement licensed to Microsoft all visual displays that could possibly be called up by running the five Microsoft application programs on the Macintosh system software then or in the future. 709 F. Supp. at 929. Judge Schwarzer concluded that Microsoft's contention would "defy common sense." Id.


Two spoiled rich kids arguing over who's morality is the least worst.

That this moment is held up as some great exchange in business is annoying. That our regulatory agencies are perennially sleep at the switch and allow this nonsense to keep happening is extremely frustrating.


Held up as some great exchange? No it's two assholes arguing with each other. Just like most Jobs documentaries show him as a terrible person.


[flagged]


Let me guess, when confronted with uncomfortable information that requires you to think longer than you are used to, you devolve to false dichotomies into defend your ego?


Answer the question. My ego? I am not Steve Jobs or Gates.

I live in Sweden but I worry about my country due to online freaks like you. Fair?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: