Better HN
topnewbestaskshowjobs
Log inSign up

maxlapdev

65 karma · joined Aug 6, 2018 (8y ago) · 38 submissions

Submissions

comment 4y ago · link · parent

This is dated "October 12, 2021", 8 months ago. This doesn't appear to be related much to what is currently going on with Celsius.

32.

What makes Ruby's blocks great(maxlap.dev ↗)

4 points · by HellzStormer · 4y ago · discuss

comment 4y ago · link · parent

Small mistake, and maybe that's why this function exists, but it's actually combines `.map(fn).flat(1)`.

I think conceptually, `flatMap` is a `map` where each iteration can return multiple values (or none). So it feels quite more powerful than just `map` and is a quite common convenience function.

comment 5y ago · link · parent

My take on the difference (not a physicist):

Take that galaxy that just crossed our "observable universe horizon" so that we can't see it. If there is a civilization halfway between Earth and that galaxy, they can still see that galaxy. The galaxy can see that second civilization and so can we. There isn't a single fixed "observable universe" boundary in space, it's just relative to the observer.

With a black hole, it is different. There is no point that can see both sides while being seen from both sides,. If you are outside the black hole, you see nothing from within. If you are inside, then you can see the inside (this is speculation) and you also see the outside. It's a very clear boundary.

comment 5y ago · link · parent

I mean, miners could agree on a different set of rules to apply and increase the supply.

It's harder/unlikely, but its not "no way to".

comment 6y ago · link · parent

There is still a lot of work that has to be done before the ball is given to LLVM. If that gets optimized, it can improve the results.

Also, I would expect a more recent language to have a lot more low-hanging fruits than much older and highly used languages. The more you optimize, the harder it gets to optimize more.

comment 6y ago · link · parent

To be clear, crystal does have method_missing.

comment 8y ago · link · parent

For those that want to see https://imgur.com/a/OuNiT2O
12