Live data from Hacker News

Viewing profile — idubrov

idubrov

HN member
Joined
Tue, Jul 26, 2016, 5:13 AM UTC
HN karma
26
Public activity
24 items

About idubrov

No profile information was provided.

Recent public activity

  1. comment
  2. comment
    Comment #32390483

    Wiring 240V is (typically) not an issue, as it is standard (in the US) to get 240V from the transformer to the house. The devil is in the details: what current would you wire it fo…

  3. comment
    Comment #32386237

    Yeah, it shows that I have zero knowledge about commercial appliances. I guess, I wouldn't be surprised if they routinely use 20A plugs / receptacles. Would make sense. Maybe, hosp…

  4. comment
    Comment #32385312

    The problem with 240V is that there are few NEMA standards used is USA (although , they look bulky and are kind of unsafe around the kids. Which is not a problem for dedicated circ…

  5. comment
    Comment #32385180

    Right, there are code compliant solutions. I was just musing over an idea of having 240V "everywhere" (including inside the house in every room, having 240V for special needs is, o…

  6. comment
    Comment #32382336

    (everything below assumes US and NEC / local electrical codes) I don't think code prohibits it, but in my (not very educated) opinion, you might get into some gray territory if you…

  7. comment
    Comment #30431246

    It's the configuration complexity clock! http://mikehadlow.blogspot.com/2012/05/configuration-complex...

  8. comment
    Comment #28933578

    Interesting. When I was doing my research on ULPower engines (which can burn 100LL, but they would prefer non-leaded), there were very few airports who offered unleaded fuel (UL94)…

  9. comment
    Comment #26069388

    >A common way to solve that problem is usually to use references instead of cloning. Right. I think, we ended up with having everything from the list: 1. String 2. &str 3. Cow 4. A…

  10. comment
    Comment #26068446

    I have some extensive (self-assesment :) ) experience building this kind of application, and my answer would be "no, but maybe" (I was one of the first engineers & architect on our…

  11. comment
    Comment #24312967

    At my previous job I've built a tool that was capable of doing that (we were merging XMLs with form definitions). The main idea was an interactive mode. Initially, tool would merge…

  12. comment
    Comment #20769832

    Well, I have this anecdote. We switched from serde to our own serialization / deserialization scheme (it still uses serde, but only for the JSON part), which is heavily based on dy…

  13. comment
    Comment #19356404

    I have a small shop. 8x12 lathe, X2 mini-mill, some amount of woodworking equipment (table saw, track saw, etc). Haven't done anything in the last year or two, though. Turns out, l…

  14. comment
    Comment #18191292

    Yes, the idea is that you only create them temporarily. Mutability is also possible to some extent with these "smart" pointers. It gets a bit trickier and less ergonomic, though. S…

  15. comment
    Comment #18191056

    FWIW, it is possible to make it a bit more ergonomic: pub struct SmartRef { container: &'a Container, widget: usize, } impl std::ops::Deref for SmartRef { type Target = Widget; // …

  16. comment
    Comment #18190813

    Cloning is not always possible (performance reasons, non-cloneable data, etc) and would not necessarily remove lifetime (for example, it could be a struct, defined somewhere else, …

  17. comment
    Comment #18190119

    >Could you explain? I might need a concrete example. You might want different trade-offs in different places. Like, in our case, the conflict is between three different representat…

  18. comment
    Comment #18189961

    >Would that satisfy your need? It's not always possible to change the data structure -- different ways of modeling data have different trade-offs. So, for me it is about not having…

  19. comment
    Comment #18189779

    #4 highly depends on a project size. On big projects, some of these decisions might become effectively one way doors. I've been struggling a bit with these issues on the project of…

  20. comment
    Comment #18040621

    Any comments on how FoundationDB might be the same / different?

  21. comment
    Comment #16962172

    They are in the same category as mobile apps in that respect, no? Both of them are "public clients" in terms of OAuth 2.0.

  22. comment
    Comment #16961504

    I wonder if the same recommendation (use Authorization Code Grant flow plus PKCE instead of Implicit Grant) should be made for SPA (single page applications), too.

  23. comment
    Comment #16757744

    1. Digital Design and Computer Architecture: ARM Edition 2. The Evolution of Cooperation: Revised Edition 3. The Ego Tunnel: The Science of the Mind and the Myth of the Self (in ba…

  24. comment
    Comment #16192198

    I don't see anything controversial here. First, you can always use unsafe and access low level registers ignoring all the synchronization. You are still getting typed access to the…