Using a VM as the "real" machine seems to be at least as effective as any other suggestion made here and far less brittle.
437 karma · joined May 23, 2013
Using a VM as the "real" machine seems to be at least as effective as any other suggestion made here and far less brittle.
If I'm watching a movie on my linux laptop and the battery dies I want to continue watching from the same spot on my wife's ipad.
This one is my personal favourite. My wife got a print made around a year ago for our anniversary. It's around 3m long so we don't actually have anywhere in the house we can hang it!
If we're talking about statement coverage then I agree that achieving 100% statement coverage then calling it a day really isn't as helpful as it might sound.
[1] https://en.wikipedia.org/wiki/Code_coverage#Basic_coverage_c...
[2] https://en.wikipedia.org/wiki/Code_coverage#Modified_conditi...
The issue of composing effects, along with the widespread fear of monads, are enough for me to conclude that monads are not the best way to control effects.
I don't remember ever seeing any solutions other than monads and deprecate effect systems, hence my preference for the later.
I doubt we'll see anything like this in a mainstream language anytime soon.
[1] https://github.com/lrytz/efftp/wiki/Relative-Effects
edit: That's effectively (sorry!) higher-order effects, behaving just as you'd expect.
It's always struck me as strange that value (as in a typical type system) and effects would be controlled through the same system. The type signature of a function and it's effects seem very much orthogonal to me.
If we want to be controlling side effects then we really ought to be using a separate effect system[1]. There's a scala plugin demonstrating this (although I've not tried it)[2].
With separate type and effect systems I should be able to define a pure function fib(n) and call it like this fib(getValueFromUser()) that is without having to use special operators to get at the value which can only be used in certain contexts a la Haskell.
Why not shut down the service in, say, 3 months, support MyRedis customers to migrate to Redis Cloud (or elsewhere) before moving the MyRedis personnel into their new roles.
As somebody without any experience in the world of start-ups the only explanation I can come up is that MyRedis was haemoraging cash so badly that this wasn't feasible however if that is the case why would you want to hire the team?
Can anybody with experience of such dealings shed some light?
I've known about my alignment issues for years - mega tight hamstrings and weak gluteals so I got my first pair of (corrective) running shoes from a local, reputable, running shop[2] after a gait analysis. I couldn't run further than 3 miles before the pain in my knee became too much.
The shop then referred me to a podiatrist and switched my corrective shoes for a neutral pair, with insoles from the podiatrist. Since then I've had no problems and have run a half-marathon and 10k.
[1] Not that I'm an especially experienced runner but I've known about my alignment issues for years and, with running in particular, really notice the difference the right correction makes.
The result of this seems to be that when I become unwell people in this group provide me with the best kind of support that they're equipped to give while others help me talk it out.
Unfortunately this hasn't been so easy to achieve with family members as it has with friends since they're so desperate to see me well, although things are improving. Fortunately (or unfortunately) my wife is also bipolar so I don't have that problem with her.
As to balancing talking it out vs. distraction? I rapid cycle so distraction can be very effective for dealing with short-term mood swings. If I notice that I'm distracting myself a lot then that's a sign that bigger trouble is just around the corner and is when I start to seek help. My wife and I discuss the state of our mental health very frequently so there's always a certain amount of discussion going on as well.
If they've not experienced something similar to the mental health problems I'm suffering from it's usually best if they treat me as normal. The effort required to try and explain aspects of what I'm going through, usually with little success, is often far more detrimental than any benefit they could hope to provide. Being distracted from the problems, even if only for a short while, can be blissful and hugely appreciated.
On the other hand, I'm usually happy to be treated differently by people that have had similar experiences to me. I can often communicate to them in a sentence things which would take hours of conversation with somebody who'd not been there before.
It's a difficult situation for both the supporter and the supported, particularly in the early days.
I also struggle to believe that there is any evidence to support your claim that depression as experienced by somebody who is bipolar is worse than somebody who is unipolar which is again worse than depression caused by life events.
Saying that the highs bring genius is a gross simplification.
Yes, manic episodes can provide productivity boosts and huge amounts of energy but it doesn't have to go much further before it becomes impossible to complete a thought let alone a sentence, where you cannot sit still, where your judgement is severely impaired or you're suffering psychoses.
None of these symptoms (and there are many more) are particularly conducive to productive work, let alone breakthroughs.
Until last December I'd been stable for around 5 years. Now I'm putting together an account of my health over the last 6 months for the benefit of my department's special circumstances committee. With any luck I'll make it through to the next year of my degree.
Thank you for your efforts, I hope to be able to contribute similarly when I'm stable again.
I'll forward this to my wife[1] as I expect she'll find them of interest too (she's also bipolar).
[1] http://www.time-to-change.org.uk/blog/academic-life-mental-i...