Live data from Hacker News

Viewing profile — uryga

uryga

HN member
Joined
Wed, Mar 16, 2016, 11:16 PM UTC
HN karma
943
Public activity
629 items

About uryga

she/her

meet.hn/city/de-Berlin

Socials:

- x.com/lubieowoce

- github.com/lubieowoce

---

Recent public activity

  1. comment
    Comment #38516030

    > AFAIK there's no magic to React.memo. It's basically a shorthand for useMemo that takes the props as the dependency. Pedantic note: this isn't quite true. memo() also allows a se…

  2. comment
    Comment #37437709

    how exactly is there "money to be made" here for the React team?

  3. comment
    Comment #37436655

    > Why did they not include other companies AFAIK: the initial stages of the project involved Vercel and Shopify [edit: and Gatsby]. these companies maintain frameworks and hosting …

  4. comment
    Comment #37436392

    > But their routing things locks you into NextJS as a framework. I'm confused by this -- how is a framework supposed to offer routing in a way that doesn't "lock you in"? are you "…

  5. comment
    Comment #37436314

    > I would like to write a component, not have to think about where it is running in most cases you can keep doing this, just put "use client" in the file, Next will SSR them just l…

  6. comment
    Comment #37436133

    > zero functionality has been removed from class components yes, exactly! > They use them because they are idiomatic React right, and do you think it'd be easy for a feature to bec…

  7. comment
    Comment #37288817

    have you seen https://vite-plugin-ssr.com/ ? i've only browsed their docs, but AFAICT the pitch is that it's a more DIY approach to a framework, where you keep a lot of control ove…

  8. comment
    Comment #37288691

    > Apps (as in, mobile apps) cannot be rendered on the sever yes and no. sure, you can't do standard SSR like for websites. but i've seen a number of spins[1] on "Server-driven UI",…

  9. comment
    Comment #34955655

    > TypeScript is a little unique in that its core type system is much more structural than nominal ( even more so than Haskell ) I'm a bit confused by the point about Haskell here -…

  10. comment
    Comment #32042314

    thats what the rack is for duh

  11. comment
    Comment #31886311

    good luck! it's quite fun :) another term that might be useful is "GADT" - it's kinda like a weaker form of DT, more easily expressible in, uh, normal languages. the C# one i linke…

  12. comment
    Comment #31883569

    i haven't used scala, but from the looks of it, yeah, "path-dependent types" are a narrow subset of full dependent types, intended for stuff like this exact use case :D there's thi…

  13. comment
    Comment #31882896

    while you probably can do this with dependent types, i'd imagine GP means something along the lines of typescript's structural typing, i.e. const post = { id: 123, content: "...", …

  14. comment
    Comment #31882603

    they allow as many operations as you need, just pass in a "method name" :) const p = Point(3, 5) p('getX') // 3 p('up', 11)('toString') // "Point(3, 16)" const Point = (x, y) => (m…

  15. comment
    Comment #30795540

    > 'useSyncExternalStore()' -- Gack! > Now...that "little" it's-not-a-framework-it's-a-library whose scope is supposed to be confined to just the "view" part of MVC (by which I mean…

  16. comment
    Comment #30696765

    are there any languages that do this? Rust's `?` is similar but the propagation is explicit

  17. comment
    Comment #30696727

    > But where they really shine, like in the mapping example, isn't possible in Go. oh yeah, definitely! Go's version of EaV with multiple returns is pretty lackluster compared to a …

  18. comment
    Comment #30693693

    > But I also don't know any languages where errors _aren't_ values (look, i know you understand how exceptions work, please bear with me) yes, Exception objects are technically val…

  19. comment
    Comment #30693349

    https://en.m.wikibooks.org/wiki/Haskell/do_notation rough analogy: `await` replaces `.then()`, do-notation replaces `.flatMap()`

  20. comment
    Comment #30693267

    distinguishing `Some(null)` and `None` is often considered a feature of Optional ;) to use a tired example: when getting a value out of a map via some `myMap.get(key)`, you may wan…

  21. comment
    Comment #30126202

    that's fair, i was in a spicy mood. there's "esoteric" as in fundamentally complicated, and """esoteric""" as in syntax that's unfamiliar but easily explained w/ a quick web search…

  22. comment
    Comment #30125873

    "programming shouldn't evolve, it should look like what i learned N years ago"? ;)

  23. comment
    Comment #30125847

    that's GP's (and the linked paper's) point :) "paradigmatically can't understand" = "can't figure out using current methods", so pretty much what you're saying

  24. comment
    Comment #29735798

    yeah, that's not really explained in the article, and it's not explained in the `ast` docs either [1]. for reference, the full list of assignment targets is: -- the following expre…

  25. comment
    Comment #29325088

    > [React] requires compilation technically, but not in the same way e.g. Svelte does. the syntax used by React, JSX, is simple local syntactic sugar: ... // ↓ createElement(Foo, { …