Live data from Hacker News

Viewing profile — haukur

haukur

HN member
Joined
Mon, Oct 10, 2011, 7:40 PM UTC
HN karma
137
Public activity
80 items

About haukur

https://hph.is/coding

https://github.com/hph

Recent public activity

  1. comment
    Comment #40206432

    If it were a matter of choosing another language, Polish might be a more natural choice, as Poles form the largest minority in the country. But to answer the question, I personally…

  2. comment
    Comment #40206404

    Just to be clear, I do see the value in a group like the Nordic TeX Users Group choosing a neutral language for simplicity and fairness. However, it's quite different when a whole …

  3. comment
    Comment #40203801

    English has become entrenched as the de facto second official language of Iceland. It's a very depressing trend for the conservation of Icelandic, and the ongoing promotion of Engl…

  4. comment
    Comment #23733746

    Do you have any sources relating to the foreign family you mention, and of them securing landholding rights? Based on what I've found, the man that was burned wasn't rich (his fami…

  5. comment
    Comment #23212463

    While not exactly the same, the concept of "whale drift" has existed in Icelandic law [1] for almost 8 centuries, and still applies today. It specifies to whom a whale carcass woul…

  6. comment
    Comment #21430061

    I cannot edit the post above, but it was meant to say that I'm looking for new clients in 2020.

  7. comment
    Comment #21425389

    SEEKING WORK - REMOTE ONLY (GMT) I'm a web & product development consultant based in Iceland. Specializing in web development, I work with startups of all sizes and help them build…

  8. comment
    Comment #21187479

    It appears that the system font was changed. I'm trying to figure out what it is now, it appears that San Francisco isn't even installed on my system anymore. GitHub, Twitter, and …

  9. comment
  10. comment
    Comment #20178131

    You can buy it online from some stores - this is the first one that popped up on Google: https://nammi.is/food-drinks1/dried-fish.html

  11. story
  12. comment
    Comment #19191535

    What you linked is "CSS-in-JS" (in the sense that the library/framework you use transforms the output for you, for convenience, i.e., you're not writing BEM or whatever - same as i…

  13. comment
    Comment #19060367

    SEEKING WORK - Remote I'm a web & product development consultant based in Iceland. Specializing in web development, I work with startups of all sizes and help them build MVPs and f…

  14. comment
    Comment #17980340

    I haven't seen any libraries using the new context API make use of the observedBits prop (currently called `unstable_observedBits`, as its not officially supported). There's a comm…

  15. story
  16. story
  17. comment
    Comment #15472585

    It's very unfortunate that the APIs of libraries that extend JavaScript builtins affect the development of the language to this degree.

  18. comment
    Comment #15367518

    It does, you can write this with a Babel preset supporting this feature: class Foo extends Component { state = { foo: '', }; // The arrow function here is what you're looking for. …

  19. comment
    Comment #15219133

    If you're interested in this approach, check out Pete Hunt's jsxstyle or Kent C Dodds' glamorous. Both allow you to pass in props that map to css rules (e.g., ` `).

  20. comment
    Comment #15199322

    Another good resource to learn about JSX (by the author of Preact): https://jasonformat.com/wtf-is-jsx/

  21. comment
    Comment #15158230

    It still does (these docs use the ES6 class API): https://facebook.github.io/react/docs/react-component.html#c...

  22. comment
    Comment #14434014

    The shallow check is on React.PureComponent. shouldComponentUpdate just returns true by default in React.Component components. See here for details: https://facebook.github.io/reac…

  23. comment
    Comment #14434011

    In case anyone reads this and is left wondering, there's no need to have n functions to handle n inputs - you only need one. A simple example would be to set the state based on `ev…

  24. comment
    Comment #14186637

    Most of the tooling is stable enough that you can lock your dependencies to minor versions (the default behaviour in Yarn/NPM) and only update when you want the new features. There…

  25. comment
    Comment #14186600

    The React API is stable. There haven't been any major changes to its public-facing API in a long time. Third-party projects that you might also depend on are not always as stable b…