Hacker News new | comments | show | ask | jobs | submit login

Or until the power is cycled. That's why it's best to do the crazy monkey or whatever it's called, walk into the production offline datacenter, online for testing (you do have geographically redundant datacenters right?) and pull out a half dozen random NIC cables. You can simulate with software tools but nothing beats the real test.

15 grams of sugar is above the daily recommended sugar intake for adults. Recent research indicates that 10 grams daily is a more realistic limit for maintaining health.

It is also possible to reduce the glycemic index of food by ingesting acetic acid (apple vinegar).

See: http://www.jbc.org/content/135/1/157.full.pdf

TL;DR Apple cider vinegar will decrease the glycemic index of food by interfering with carbohydrate digestion.


Great article!

have you tried making the keto flax focaccia bread? it changed my life.

http://www.healthfulpursuit.com/2014/08/flaxseed-focaccia-br...

as far as pizza crust goes, there are myriad alternatives for that as well.


I should probably have specified that when it comes to foods like that which are high in carbohydrates I won't eat a significant amount or I'll get knocked out of ketosis just like everyone else would.

I rarely eat foods that are primarily carbohydrate based since that defeats the purpose of going keto, but if I do I try to find alternatives (sweet potato replacement for regular potatoes) and even then I severely restrict the amount that I eat. Sweet potatoes have important nutrients in them like beta-carotene, vitamin A, manganese and copper. It is as far as I'm aware always preferable to get vitamins and minerals directly from your diet rather than supplementation.

See http://www.yummly.com/recipe/Low-Carb-Potato-Salad---paleo_-... for an example of a keto friendly sweet potato salad.

For me at least it's important to get creative with what I eat. Staying Keto is a long term goal for me and while I started off doing Keto as a means to lose weight the immediate health benefits convinced me to stay Keto for the foreseeable future. While it's possible to do keto off nothing but cheese, bacon, avocadoes, eggs and low-carb greens such as spinach and broccoli it can get boring.

As long as my body stays in ketosis and I'm covering my body's nutritional needs I believe strict moderation rather than completely cutting all carbs is an acceptable way to diet. While it is completely possible to eliminate all carbs from your diet it is not requisite for staying in ketosis, though you of course do not have much margin for error before you knock yourself out of ketosis. Good news is it's much easier to get back into ketosis if you overshoot your daily carb allowance compared to the initial adaption period where you have to be very strict in order to adapt your body to keto.

For people who are dealing with insulin resistant type health conditions like diabetes type 1, 2 or even pre-diabetes there might be entirely different dietary requirements and a very strict emphasis on eliminating all carbs may be appropriate. When it comes to carefully managing health conditions with potentially severe health ramifications that's something which requires cooperation with a physician.

For most people, as long as you stay beneath the protein and carb limit you're completely fine.


actually, many hard liquors don't have any carbs. i do keto and drink bourbon regularly.

https://www.reddit.com/r/keto/comments/hv0wu/bacon_booze_the...


REST/JSON makes sense between a human backed browser and a middle tier; between machines, SOAP is the best contract first technology, or at least a custom XSD backed XML schema.

It's possible to use SQL to retrieve data from a text file; that's not the same as using SQL backed by an actual relational database engine (and a well designed schema) that has been perfected over many decades.

> SQL databases should be conservative in what they accept. Once you've inserted crap into the DB, it's hard to fix it.

You can make your schema very light and accepting almost like NoSQL which is how you get into the situation you described; the solution is to use stricter schema. That and it helps to hire a full time data engineer/administrator.

> Using NoSQL as a fast cache

I'd rather use caching technology, specifically designed for caching, like Redis or Varnish or Squid.


and here is where i have a problem with "Open..."anything.

the belief that a non-profit model is the sole method for maintaining ideologically directed development is a fallacy. look to Mozilla, which at times has strayed far from the best interests of its users. look at the wounded soldier project. the belief that making a profit will cause for corruption of the ideological drive of an organization is a fallacy. look at SpaceX which has made more progress in a shorter period of time than just about anyone else to date.

the problem i have with the "please send us money" routine is that it ignores certain basic, fundamental economic and financial realities. if an organization is creating value, then they should be able to exchange value for value. if they are not creating value, then it should be considered R&D or a hobby, and should be funded as such. OpenStreetMap is creating value. there is no reason they shouldn't be able to utilize the freemium model. the freemium model could be coupled with a california style "benefit corporation". by acknowledging that we all must sing for our supper, we are forced to face the realities of the marketplace, of limited resources, of special needs, and so on. by continuing to deny this fact these organizations will constantly be either over or under funded compared to their needs. said more plainly, by staying totally blind to the economic realities of ones marketplace you're gonna make worse business decisions than if you put it all on the table. every time.

bottom line, there is no free lunch, and until the open-source community fully acknowledges and embraces this reality it will be at a disadvantage to other players. and, frankly, it will be lying to itself.

disclaimer: i'm a die-hard open-source software advocate. i just want to see it succeed.


The Simpsons are just stupid.

Check out Keto Chow. https://www.thebairs.net/

I have no affiliation with them and don't drink it often but I can tell you that it tastes awesome.


AAMI TIR-45 ("Guidance on the use of agile practices in the development of medical device software") offers guidance by mapping agile practices to regulatory requirements, and there are many other good examples for implementing agile (small "a") methods in other highly-regulated industries.

"Formal methods" of verification for medical devices usually means writing detailed product requirements in prose that are traced to manual test cases. Unit test coverage on all the software I worked on was pretty low, and I never heard of anyone using formal program verification, but there were armies of manual testers that found way more bugs than any automated tests did anyway.

Source: I worked on anesthesia machines, cath lab equipment, and patient monitoring devices at big companies in the US.


you can have alcohol. beer obviously is off limits except for some low carb beers but liquor and wine is OK.

You eat sweet potatoes and stay in ketosis? Those are full of carbs. I have been keto for about a year and would love to eat sweet potatoes.

No, try again.

This is a good resource that is just waiting for a website refresh: http://autopsy.io/?ref=producthunt . Homejoy is #3

I first started learning about keto on reddit - reddit.com/r/keto (although I initinally learned about it elsewhere)

In the sidebar on the right there are two very useful sections labeled "useful links" and "related subs". I personally recommend the ketoscience, ketogains and ketorecipes subreddits depending on your goals. I guess I can't leave out ketoxx either if you're a girl.

In addition to that I recommend reading anything written by Dom D'Agostino who is widely considered the #1 authority on the ketogenic diet. Also read Mark Sisson's books. And finally I recommend Joe Rogan Podcast Ep. 752 - Mark Sisson. Rogan can be somewhat of a pothead/hippie but if you can look past that his guests are often very informative.


I had an interview with amazon before that went exactly like that. The question was asking for a search algorithm the answer I gave was O(n log n) if you ran it the first time and O(1) every time after that. But the answer he wanted was O(n) every single time, wouldn't accept my explanation / answer.

I've been programming for 24 years (12 professionally). I've worked in startups, BigCo, and Facebook. I've been a jr. dev, lead, E4, E5, E6, EM, and VP. I've worked in the capacity of a PE, SWE, Front-end, Back-end, Data Engineer, and Data Scientist. I've worked with various clients such as: web, android, ios, tv, playstation, mac, and windows. I've been interviewed a dozen times, and have always been given an offer. I've been an interviewer throughout my career, and have conducted interviews at each company.

I'm now in a place where I've made my money, and now I'm set to move outside of the Valley. Given that I'll be near Irvine, I thought it might be fun to see what Google is up to. Completely ignoring my history, this is what I'm told I have to prepare for when I come onsite: - Be ready to talk about complex algorithms like Dijkstra and A* - Be comfortable with sorting and efficiency (be comfortable knowing when insertion sort, radix sort, quick sort, merge sort, heap sort - Be aware of discrete math solutions and know probability theory, combinatorics, n choose k, etc.. - Know all data structures and what algorithms tend to go with them - Know graph algorithms and structures, their representations, and how to traverse them - Be comfortable with recursion and how to think recursively - Know OS concepts like processes, threads, concurrency issues, locks, mutexes, semaphores, monitors, etc..

So, to join the "best of the best", I have to brush up on all of these concepts (again) enough to answer random questions from random interviewers for 5 hours. Also, I'll need to do it in one of the preferred languages... on a whiteboard... and be syntactically correct. Oh yeah, I'll also need to talk through my thought process the entire time, and explain the tradeoffs, time complexity, space complexity, alternative paths, etc... I'll also need to show a go-getter attitude and not get flustered while the interviewer "pushes" me in various ways. I'll also need to build a rapport with half a dozen different people with various personalities, quirks, and moods. If it involves lunch, I'll need to pay attention to what I eat, how I eat, what I chit chat about, what the temperature is (am I sweating, am I dressed the same), etc.. Depending upon the type of work being performed, I'll need to show good "excitement" for the product, be it ads, games, VR, AR, etc... I'll need to show intelligence, but not be abstract. I'll need to think through problems very quickly, but also be thorough and not make mistakes.

Do you have any idea how long it takes to prepare for this? Do you realize how taxing it is on your life? I'm an introvert... this stuff destroys me for weeks. ...and this is from someone who has a 100% success rate, and already knows all of the answers!

The sad part in all of this, is that it doesn't actually work. You've made your candidates go through this awful gauntlet, and your people are no better than any other company. You still have great people that leave, bad people that stay, bad solutions to easy problems, features that shouldn't be built, genius developers that can't communicate, teammates that won't stop talking, managers that make your life hell, managers that are amazing, problems that excite people, problems that bore people, etc... There's no difference, and that's why it's tiring.

Would you like to know the absolute worst project you could ever work on as a developer? It's one that takes a lot of time, work, thinking, personal interaction, consumes personal time, requires ridiculous scrutiny, needs to be perfect the first time, and wether or not it succeeds or not, it is trashed as soon as you're done with it. That's our interview process. That's what we're making thousands of good people do, every single day.


What was he supposed to say? "We're fucked, sell the stock, guys."

They do provide an android phone.

I've been doing Keto since Feb 25 2016. My primary goal when switching over was weight loss, which turned out to be easy. I'm 25, male and was experiencing growing health complications related to obesity. I've lost well over 60 lbs since making the switch despite the fact that I maintain a primarily sedentary lifestyle though I now work out weekly as well as take bi-daily walks.

There are downsides though. It's not cheap, it's restrictive and it requires you to build a fairly sizeable knowledge base in order to successfully maintain the diet and your own health. For instance your body consumes more water in order to burn fat stores which leads to the body burning through electrolytes more rapidly. It is very common to supplement electrolytes every day. It is common to drink broth while on Keto in order to cover the daily salt intake requirements of Keto, ~5000-7000mg every day on top of normal dietary salt intake. Failure to cover the daily electrolyte requirement will lead to muscle cramps and more severe symptoms brought on by electrolyte deficiency in the body. Prior to supplementing magnesium I experienced leg cramps and quickly realized what was going on.

However there are significant health benefits. Weight loss, improved mental clarity and better energy levels throughout the day, as well as less need for frequent meals are positive effects that a lot of people experience on Keto. It is also a useful tool for reversing lifestyle diseases such as diabetes type 2 and pre-diabetes.

When it comes to the stuff you "have to give up" while on Keto it's mostly a case of strict moderation rather than completely cutting things out. The things you do try to cut out though like bread, sugar, potatoes, pasta, corn-syrup etc have good alternatives available in most grocery stores. You can bake bread out of almond flour, make pasta out of almond flour (or have someone make it for you), replace potatoes with sweet potatoes and so on.

If you're thinking that keto sounds like it's too much hassle please leave me a reply and I'll gladly talk about whatever you're unsure about.


so all the world have to pay their estate bubble

That approach Works well with Q&A too.

Have you ever been at a big company where you found more than one or two exceptions to "I just don't give a fuck this company or any of youse", and which one, because I'd love to submit my resume there.

Issue with interviewers is that they invariably think themselves smarter than they are. For instance, just because something has a linear programming solution doesn't mean it doesn't just have a closed form solution too (most software engineers that have interviewed me would say "closed what ?", I feel). I've found, often, on interviews that you have to lower yourself to the interviewers' level to pass. Even when the problem is not so much that the interviewer doesn't know the stuff at all, the problem may be that they don't know it well enough to have a thorough understanding of the problem without preparation (and they never prepare), so they simply can't deal with other approaches. Or they provide a "warmup" question that is ridiculously hard or easy, and don't deal well with the fact that you approach it very different from what they expect for the real question.

Very few engineers, even at companies that claim to be different like Google or Microsoft, truly have a mathematical background in algorithms. This does not seem to stop them from often smugly pointing out the "right" solution from a blogpost that happens to be flat-out wrong, ill-specified and handwavy, to a Math PhD. Putting any math on the whiteboard in such situations is a bad idea. Even just pointing out the flaws in their assumptions ... Constructing a proof that it's equivalent to a well-known problem with lower complexity than their optimal solution does not often end well, as they neither can nor want to understand actual algorithm theory. They don't know the assumptions they use, and never once have I known one to question if the assumptions apply to the posed problem.


> Okay. So the first one was on the pharmacological induction of lucid dreams. It is complicated, but it’s a mechanism to induce lucidity in your dreams. You can control your dream by waking up in the middle of the night and taking an over-the-counter supplement called galantamine, which increases levels of the neurotransmitter acetylcholine in the synapse. Fun fact is that I’ve been writing down my dreams for 11 years.

Uh, what? Has anyone heard of this kind of procedure? I'm aware of other methods to induce lucid dreams but never ones that involve OTC medicine.


I think the math doesn't work out with subsonic since those huge delta wings are only efficient for supersonic flight. For subsonic a conventional swept wing (like on a 747) is much more efficient.
More

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: