Viewing profile — idubrov
idubrov
HN member- Joined
- Tue, Jul 26, 2016, 5:13 AM UTC
- HN karma
- 26
- Public activity
- 24 items
- HN profile
- View on Hacker News ↗
About idubrov
No profile information was provided.
Recent public activity
- comment
-
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…
-
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…
-
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…
-
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…
-
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…
-
comment
Comment #30431246
It's the configuration complexity clock! http://mikehadlow.blogspot.com/2012/05/configuration-complex...
-
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)…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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; // …
-
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, …
-
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…
-
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…
-
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…
-
comment
Comment #18040621
Any comments on how FoundationDB might be the same / different?
-
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.
-
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.
-
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…
-
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…