Hacker Newsnew | past | comments | ask | show | jobs | submit | pragueexpat's commentslogin

Take a look at these articles - they start with first principles:

http://amasci.com/ele-edu.html


This is the best resource I found that really explain what this whole electricity stuff is. I spent years at in engineering programs and none explain as well as it is by William.


Deep clone objects


Also curious if someone has anything to say about Vue/Nativescript. That would be my choice as well. I'm constantly wondering why React Native gets all the attention when Nativescript seems to have so much going for it.


Imo it's hard to justify betting a product on significantly smaller communities like nativescript/weex. Also when other companies have successfully used rn in prod like fb, insta, airbnb, the stress testing has already been done for you whereas I know of exactly 0 large scale deployments on those frameworks (even flutter had the Hamilton app)


OK, some stuff is nice (async), but seems like the standard keeps adding syntactic sugar while not addressing more pressing daily challenges, i.e. deep cloning (Object.assign does not go deep).


It's a hack, but `JSON.parse(JSON.stringify(obj))` is a relatively performant deep clone.

Very few languages that I know have deep cloning outside of some sort of serialization hack anyway (C#'s deep cloning is a reuse of/leftover from binary marshalling), so this is roughly par for the course, so far as I'm aware.


> is a relatively performant deep clone

Relatively short, but IMO not relatively performant. All the JSON encoding/decoding takes its toll.


Relative to most purpose built deep clone libraries I've tried and most manual deep clones I've seen tried that use some combination of DFS and Object.assign.

Obviously YMMV, and your performance needs likely differ from my own.

(Personally, at this point I try to use immutability [with ImmutableJS or friends] over deep cloning, but sometimes a deep clone is still handy.)


I'm an American who grew up on the East Coast, went to USC (Los Angeles) for university (left in 1990), later worked for a San Fran company and have been living in Prague for 15 years so I may have some perspective for you. Long story short, LA and San Fran are fantastic for single people or married working couples w/out kids. Once kids enter the equation, your perspective changes. You are not going to find cheap, good schools in those cities. And unlike Prague, will not want your 7 year old to ride the buses/metro alone. LA weather is fantastic, no doubt. Its the thing I miss most. The thing I don't miss is the traffic. Literally bumper to bumper crawling along at a snail's pace will drive you crazy after a while. Farther south in Orange County is an option, but housing is pretty expensive and the traffic is not a whole lot better. San Fran is even more expensive to live plus the weather is not as good as LA. I understand opinions will vary, but as someone with direct experience with all 3 cities you mentioned, there is a reason that I'm still in Prague :)


Glad to see fellow Prague expat here! Thanks a lot for the insight. What made you to move to Prague? We go to PBS here, and I've found private schools in LA to be less expensive. So, I guess, this part of the equation is solved, assuming I maintain the income (argh!) although I expect my overall expenses to double in LA with all the taxes, etc. I visited both LA and SF once and found traffic to be manageable in both (stayed in WeHo). We avoided peak hours, though, however, yes, I hear people complain on traffic when they have to drive to work. I've looked at Orange but couldn't find a walkable place. I'd really want to live without a car, so it's all down to walkable parts of LA + relying on Uber (Los Feliz, Venice, etc) or SF/Oakland for us. How is Oakland weather compared to Prague? I'm comparing numerically but always end up with different conclusions depending on what mood I am in.


My kids to go Meridian, which so far has been a fantastic school and is about 1/3 the price of a private school in the U.S. (I see that PBS is almost as expensive as ISP, which is very high). What is your citizenship? Any issues with moving to the U.S.? My advice would be to go for 3 months and try it out (maybe in the summer when the kids are out of school). All I can say is that I loved living in LA, but I would never do it with a family (unless I was a lot more wealthy than I am now). Good luck!


Thanks. We're Ukrainians. Getting a long-term U.S. visa is a complete quantum chromodynamics for us, a once in a lifetime decision, perhaps. We're going to go for 3 weeks, probably this summer, to try it out (planning 2 weeks in Oakland, then 1 week in Ocean Park/Venice area.)


I know of 2 in Prague. One in Těšnov 5 and the other in Komerční bank on Václavské Náměstí. Surprising how many people are scared to ride the whole loop.


There's at least one on Vodičková near the Lucerna, and one in the Poliklinika in Břevnov, too.


2-3 more at czech technical university. faculty of electrical and mechanical engineering.


According to this site http://paternoster.archii.cz/seznam-paternosteru.html there are almost 30 of them in Prague.


> "I'm glad I'm not the only one"

You're not the only one, but we're being steamrolled by the Java crowd and I'm afraid that we're in a losing position. Angular is the first of many to come.


As someone who works in this field, there actually are government standards and working groups that involve all the vendors. I'm talking about in the U.S. - Europe has a much more varied ecosystem and standards appear harder to agree upon. In the U.S. the standard is the Consolidated Clinical Document Architecture (C-CDA)(http://www.healthit.gov/policy-researchers-implementers/cons...). The government body involved is the ONC (Office of the National Coordinator)(http://www.healthit.gov/newsroom/about-onc). The only problem at the moment is the finalization of the draft proposals and the vendor-specific interpretations of the standard. It's getting there but obviously the details are slow to work out.


Thats a good point. In the US the ONC/HIT at HHS has put out recommendations and rules for the schemas for data storage. Which is what the documents you reference are about they are about defining the building blocks used to store and capture health data. But, they do not define how they are transported or exchanged. The C-CDA even notes this, the "CDA DOES NOT specify how documents are transported, simply how critical data elements should be encoded for exchange and interoperability". Its the same thing for HL7 and all those great ICD9 and ICD10 codes. They are just building blocks not rules for transport. (I also know a thing or two about the field. We are magnetic buddies.)


New Jersey - REMOTE from within U.S. (most of team is remote) Heavy AngularJS, Node.js, SQL Server Healthcare IT position, Contract to full-time if desired Help build front-end components for an established and very successful Health IT company. We are in over 250 hospitals in the U.S. Our developers are experts in Javascript and very self-motivated. Must have E&O insurance (we're talking HIPAA rules level of confidentiality here) Send me your info: lee@medactionplan.com


Agree. For me, best practice is to use JSON-RPC for our client to server communication and expose a REST interface for 3rd party CRUD operations.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: