Viewing profile — mcaruso
mcaruso
HN member- Joined
- Thu, Nov 12, 2009, 3:52 PM UTC
- HN karma
- 165
- Public activity
- 58 items
- HN profile
- View on Hacker News ↗
About mcaruso
No profile information was provided.
Recent public activity
-
comment
Comment #44798716
People use method chaining all the time and don't have any issue with it? It's equivalent to something like: $result = $arr ->column('values') ->merge() ->reduce(fn($carry, $item) …
-
comment
Comment #42163557
> Where's our OOTB carousel, date picker, rich drop-down with icon/subtext, form elements supporting AJAX state, modal windows? etc etc. You might want to take a look at what brows…
-
comment
Comment #37178245
Of course HN works fine, if it didn't work fine it'd be fixed by now. "Working fine" is an extremely low bar for any site. As a developer you will still want to avoid quirks mode b…
-
comment
Comment #30854083
From the article: > But we've had a pretty good definition of abstraction since 1977, originally in the context of program analysis, and — I claim — it actually translates quite we…
-
comment
Comment #30162106
Node supports ES Modules (the import statements you mention) natively now: https://nodejs.org/api/esm.html
-
comment
Comment #30130700
=> also comes straight from math learned in school. There it's written → (for function signatures), and (the more rare) ↦ for function definitions.
-
comment
Comment #28092658
0.x releases are also major versions according to semver, just pre-stable. So many people were referring to React 0.x releases as "React x" that they just bumped it straight to ver…
-
comment
Comment #27782774
Lambdas are constrained by their type. If you see a lambda being passed to, let's say `map`, then (assuming you know the type of `map`) you know the type of the passed lambda. Of c…
-
comment
Comment #27736468
Was just pointing out a nice (probably unintentional) pun
-
comment
Comment #27729058
> (all _effect_ively research languages) :)
-
comment
Comment #24941575
The title probably changed. The URL slug still has "comes-to-an-end".
-
comment
Comment #24719322
Let's take a look at how we might write a function like `map` the (pure) functional way in a language like JS: const head = ([x, ...xs]) => x; const tail = ([x, ...xs]) => xs; cons…
-
comment
Comment #24709097
I'm reminded of this classic sketch: https://www.youtube.com/watch?v=3m5qxZm_JqM
-
comment
Comment #24691648
The ASCII art text? There's a link in the top comment there: http://www.patorjk.com/software/taag/#p=display&f=ANSI%20Sha...
-
comment
Comment #23142025
> Is a gymnasium a school in Europe? It's an exercise facility in the USA. https://en.wikipedia.org/wiki/Gymnasium_(school) > I've gone through high school and taken CS (and a bit …
-
comment
Comment #22206552
I'm a JS dev that learned Haskell over the past few years. Anything in particular you're curious about? I guess if I were to mention one thing I really miss in Haskell it's having …
-
comment
Comment #22161835
"Demanding" anything from a superior is a bit of a no-no in Japan, even if it's something as simple as a phone call.
-
comment
Comment #21744670
Not a physicist by any means, but from the article it talks about gravity in the context of the graviton (as one plausible solution to the problem mentioned). Which is still hypoth…
-
comment
Comment #21631284
It's a React component for data tables. So it implements (re)loading data, sorting, pivoting, and the other stuff mentioned in this feature list: https://github.com/tannerlinsley/r…
-
comment
Comment #21623626
That moniker should probably go to E4X: https://developer.mozilla.org/en-US/docs/Archive/Web/E4X_tut...
-
comment
Comment #21136333
`const` variables are actually inferred without widening. So in your example `dir` would be inferred as `"up"`, not `string`. If you use `let` (or `var`) however that would be true…
-
comment
Comment #20654136
> The way to grow from this book is to deeply learn what they did and how they did it, and then try to rewrite page 13 in a number of ways. How nicely can this be written in “a lis…
-
comment
Comment #20626227
I don't think you know how the IPCC works. They're not some vegan activist group. It's an internationally appointed group that studies scientific consensus to inform policymaking. …
-
comment
Comment #20615714
> The Netherlands has strict gun control and still has mass shootings. I can think of two in my lifetime. The one you mentioned in Utrecht, and the Alphen aan den Rijn one in 2011.…
-
comment
Comment #20615072
Agreed! If a conscious decision is being made to value the ability for people to own guns in expense of frequent killings then go for it. But it's usually phrased as "there's nothi…