Live data from Hacker News

Viewing profile — mkawia

mkawia

HN member
Joined
Tue, Sep 23, 2014, 3:36 PM UTC
HN karma
105
Public activity
64 items

About mkawia

amateur developer

Recent public activity

  1. comment
    Comment #14530639

    AMP is also literally breaking internet. People share google.com/amp links,sometimes there'd be no preview and hard telling what the actual website being linked is.

  2. comment
    Comment #14530629

    It's a resource problem. The average website is in megabytes(that's expensive in emerging markets), loads lots of JavaScript on small devices draining battery. Even if we take Loui…

  3. comment
    Comment #14083562

    Rust aims to be mainstream hence the effort to improve ergonomics and marketing,documentation. Or atleast safe systems programming to be mainstream.

  4. comment
    Comment #14083510

    I'd even prefer the golang way of error handling by `if err!= nil` over exceptions, treating errors as values is so much better

  5. comment
    Comment #14002363

    On mobile that's a big deal. But on the other hand jQuery unlike MVC/virtualdom frameworks loads asynchronously and adds behaviour to static html ie it's non blocking.

  6. comment
    Comment #13979431

    That's quote ,a library that generates code for you at compile time ,it takes code as input,has it's own syntax. It's like compile-time reflection. It's not code rust programmers w…

  7. comment
    Comment #13763407

    I don't understand why the downvotes , JS is one of the most target languages. Elm,GHJS(Haskell),Purescript,Clojurescript and supersets like Typescript which come with their own to…

  8. comment
    Comment #13472399

    When in doubt be extra safe.

  9. comment
    Comment #13443280

    Long time ubuntu user here , I 'd change the wallpaper and install some basic software and that's it . I'd use and installation for ~2 years

  10. comment
    Comment #13392614

    As rust developer from a higher-level languages , I really struggled with that ,then I discovered format!() macro ,maybe they should make it more visible to new developers.

  11. comment
    Comment #13327886

    Think as an author of a function that does something that can fail . the signature ;"fn risky_shtuff() -> Result Rust guarantees to you as the author who ever uses this function HA…

  12. comment
    Comment #13327785

    Go promotes the pattern of dealing with errors ,which to be fair I think is an improvement on exception based handling. But rust compiler forces the user of a function to handle er…

  13. comment
    Comment #12750267

    Isn't it common sense for a person who's been writing programs in a high level programming language to use a safe low level programming language.

  14. comment
    Comment #12596525

    I see it like; smart,disciplined programmers are capable of writing complex programs in dynamically typed languages without making as many errors.

  15. comment
    Comment #12427430

    It's was meant to be there , It's a feature ,Going for the option/maybe types would have been too much according to it's designers.

  16. comment
    Comment #12379228

    angle brackets ,we decided long time ago we hate those :)

  17. comment
    Comment #12347727

    App engine app's clients use gRPC to connect to datastore , as far as I know

  18. comment
    Comment #12073619

    I wish there was a way/documentation to embed in a vanilla js app ,like with IIFE or something instead of required the whole

  19. comment
    Comment #11903983

    Still no service worker

  20. comment
    Comment #11888128

    I have something similar , I've extended the http code by adding a extra digits,it's for business logic errors . So http 4000 is bad request , but in the business logic terms

  21. comment
    Comment #11879040

    Isn't Rust's biggest advantage is safety , I make websites with golang , I can't stand the nil-ness and all the mutation mess I easily get myself into, could use a safer type syste…

  22. comment
    Comment #11878954

    So like a lite developer advocate

  23. comment
    Comment #11791518

    Yeah ,There are no good guys here. Criticizing Thiel shouldn't be confused with supporting Gawker , because we don't know who Thiel might choose to punish next

  24. comment
  25. comment
    Comment #10841216

    Google Play was poorly made https://play.google.com/store/apps/developer?id=itdisplayswh...