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

I think this misses the point. `times` is "better" than `for` because it's declarative, reads like English, etc. Which of course are opinions, but the implementation details (messaging passing or not) are irrelevant.

Example: Swift and Kotlin can do `Int#times` and don't need message passing to get it done.


> but the implementation details (messaging passing or not) are irrelevant.

I'm the author here. While I agree that the implementation details do not matter for _most_ developers, I wanted to learn Ruby with an understand of how things are implemented.

In my previous post[1], I go into why I've always felt I didn't need Ruby since I knew Python, and I spent time learning Rust instead. It felt redundant to learn a second dynamically typed programming langauge that offered no advantage in performance. I started working at Chatwoot, where we use Ruby, and I had to pick up Ruby for the job. I didn't want to be satisfied with a "user-level" knowledge of the language and instead wanted to rip its internals apart so I can learn why it does the things it does.

Call it a preference on how I want to learn things.

[1] - https://tech.stonecharioteer.com/posts/2025/ruby/


Dynamic types in Swift do use message passing. Int/NSInteger is a struct/value type, but NSNumber is a dynamic type that would receive a message.


App Store search.


What kind of app?


(2006) An article about the importance of typography uses massive, unreadable font at 25px.


I think it is more readable than most pages.

One of the few pages where I don't need to scale up at least one step in my browser.


And with ink traps in the title font.


Pretty sure it didn’t use that custom font back then, and the iA swiss founder would never have done this. They seem to be focused on apps lately and probably had someone new try their hand at “modernising” the old website…


I thought HN would find this amusing. I went to sign in to Airbnb and faced the hardest security captcha test in my life. After 10 minutes and failing twice, I finally succeeded, only to be met with an error message saying I couldn't sign in anyway. Depression ensued.


Some previous discussion around scaling their database: https://news.ycombinator.com/item?id=25730778


will this support multiple monitors?


It still doesn't support daisy-chaining, aka. Multi-Stream Transport (MST) from the DisplayPort 1.2 spec.

Basically, connecting two displays via one cable.

An 5 year old PC supports it. Sad.


Yes, as the predecessor supported multiple monitors this one will too. It's also in the specs on apple.com.


Missed that, thanks.


i'm already using two external displays and the built-in one with my m1 macbook pro


M2 Pro supports 3, M2 supports 2


This is incorrect, the M2 supports a single, M2 Pro supports up to 2 and the M2 Max up to 4 external displays.


Yes.


Thanks.


Some small feedback if I may: Could you separate the link and the text on the main page? My first thought was: "This isn't text. I can't highlight or copy anything. It's actually the opposite of what the title says." But everything was as advertised when viewing an actual coin.

Cool site! Cheers!


You are probably right. I should also probably add a link to a 'true' plain text version that returns a pure txt.


You hit the nail on the head. `callAsFunction` was introduced for Swift in order to interop with Python for the TensorFlow project.


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

Search: