1,445 karma · joined February 28, 2011
It’s possible to do this more generically, because you know the animal’s type in the AnyAnimal constructor and that’s sufficient to declare its subsequent behavior:
struct AnyAnimal: Animal {
let name: String
private let walker: () -> Void
private let eater: (Any) -> Void
init<T: Animal>(_ animal: T) {
name = animal.name
walker = { animal.walk() }
eater = { food in
guard let f = food as? T.FoodType else { return }
animal.eat(food: f)
}
}
func walk(){ walker() }
func eat(food: Any){ eater(food) }
}No, better yet it would eliminate PRs from entitled users who think this way — who believe they contribute value by writing up issues and submitting minor pull requests that address their own needs, while remaining blind to the far greater value they receive from the project’s much larger code base; the mammoth time investment of the people who have designed, developed, and maintained that code base; and the thankless job those leaders have done nurturing a community often comprised of far more takers than givers.
Basically, the proposal eliminates the takers. Whether it would work or not is an open question. But if you find yourself feeling indignant at the very suggestion, then maybe take a hard look at which role you really fall in?
This is configurable. Just go to System Preferences > Keyboard, and on the first tab you can choose whether the touch bar shows (a) app specific controls plus an expandable control strip (the default), (b) the expanded control strip (the old default behavior), (c) function keys, or (d) app specific controls w/o expandable control strip.
Options (b) & (c) match the keyboard options without touchbars, and as before you toggle between them with the Fn key. The upside with the touchbar is you can see whether you’re in function or control mode. In any case, sounds like (b) is what you want.
Disclaimer: I’m running High Sierra so not sure if this is available on Sierra, but assume it is.
An IRB is not run by the FDA. They are independent bodies affiliated with research organizations like universities. The use of IRBs grew in response to research done in Tuskegee and Nazi Germany, and has been the standard for decades. Rather than make an organization like the FDA screen all human subject studies, IRBs are empowered to review and manage studies instead.
So no one is saying this research study needs to monitored by the FDA -- that's not how it works. There are also international standards for IRBs, this isn't just an American concept.
The investigator is at SIU, which has plenty of experience managing IRB studies [1]. It does seem odd that they would set this study up in this way, unless everyone involved is an extreme libertarian trying to thumb their noses at the notion of ethical review and monitoring, or the researcher has had past conflicts with an IRB at SIU. I wonder how many at SIU are aware of this study and if they will distance themselves from the study or the researcher, if this gets more press.
[1] http://ospa.siu.edu/_common/documents/human-subjects-forms/h...
Every time I've tried using Netflix, I've canceled in frustration. Their movie selection is awful, and it baffles me that you have to hunt for your own curated watch list among rows and rows of uninspired TV shows they insist you might enjoy.
Personally, I'm glad someone is trying to figure out how websites can derive revenue through privacy-respecting microtransactions instead of the current ad model, and I hope they can make it work.
* The Start Trip bar takes up too much of the screen for a feature I'll never use, especially when...
* All activities are public unless we pay $30 per year on top of the $6 app? That's not a premium feature, it's an anti-feature, and having those in a paid app is a fast way to turn someone who was already halfway converted into a pissed off 1-star reviewer.
* You limit non-pro users to 3 tiles but don't say how large the tiles are unless we buy the app to find out. Turns out they're approximately 15 by 15 miles, so 3 tiles won't even cover half of a small national park.
There aren't that many of us who still happily pay for apps knowing we may delete them immediately. When you find those users, you want to delight and reward them for taking a chance on you. Not offer a crippled app that only has practical utility with an annual subscription. Make this free or offer more features without a subscription. You can't have it both ways.
You disagree with one point [1] and question another, so for that reason you discount the entire article? If you can't align new information with your existing mental model, then the new information must be completely wrong?
This attitude has become so pervasive and so pernicious. Somehow even information has become partisan.
[1] BTW, do you have enough familiarity with Germany to make this comparison, or are you holding the author to a higher standard than yourself?
So when we heard the news, we didn't just say "How could an airline do that?" Instead we said "An airline knocked out a passenger and dragged him off a plane so a stewardess could have his seat? Let me guess... was this on United?"
(Spirit would have an equally good guess, but at least they don't pretend to be on par with the other carriers.)
But if someone gave us perennial sunshine and all we had to do was become a United hub instead of Alaska? Pretty sure I wouldn't be the only one begging to bring the rain back instead.
[1] http://www.startribune.com/soggy-seattle-lives-up-to-name-br...
Retail stores are shuttering at an increasing rate as things move online. But buying clothes online requires supporting lots of returns. Imagine you work at Amazon. You have an insane amount of computing power and very capable big data teams. You are tasked with building up clothing sales and minimizing returns. AR is on the horizon but not here yet.
So what could you release today to move towards your goals?
Terminal cancer and hospice by 70? How do you want to spend those last 6 months, and what's the value in having an active role in directing what would be inheritance towards those people and causes that matter most to you?
Major unexpected medical issue with a spouse or loved one that requires support beyond basic govt coverage? Maybe you want the option to tighten your belt a bit more that last decade so you can make a difference now.
Have a positive experience with parents or grandparents at end of life? Or an unnecessarily difficult one?
How about the economic situation of other family members and cultural expectations and family history when it comes to caring for elders?
Sure, every financial possibility can be offset by another, and maybe annuity pricing equates $1M lump sum to $5k/mo. But reducing all the personal values that go into someone choosing one vs. another as an illusion of wealth or poverty seems so absurdly academic and out of touch with the basic humanity we each have.
Mods can you merge?
And how is this article "scare tactics?" Sure, we have known about increasing antibiotic resistance for years. But this is a sentinel event that absolutely deserves attention. Resistance isn't one of those things that simply disappears if everyone stops talking about it.
Short overview: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3400130/?report...
Somewhat longer (PDF): https://www.researchgate.net/profile/Sarah_Kuhl2/publication...
If you really do want to be polite, then it's better to avoid expressions like "clue you in."
That used the be the norm in the US as well, but it has broken down over the past few decades. Some studies and motorist groups blame the nationwide 55 mph speed limit imposed in the 70s due to oil shortages. Slow drivers suddenly felt safe driving in left lanes and a whole generation has learned to drive like this. [1]
There are laws in many states against impeding traffic in the left lane [2], but they aren't that enforced. You also see signs occasionally on the highway, but my issue with these signs is that they say "Slower traffic keep right" (instead of eg, "Stay right except when passing"). I strongly suspect that very view people view themselves as "slow drivers" -- rather everyone tends to believe they drive the appropriate speed and everyone else is driving too slow or too fast.
[1] http://nytimes.com/2016/07/08/us/more-states-are-cracking-do...
> OK, I normally think misogyny claims are over-blown and people are way too sensitive. But your comment positively reeks of misogyny. Rather than go for a down-vote, because you're able to edit your comment, I think you should reconsider the phrasing and delete the misogyny.
Having newborn twins at home could certainly be a factor in any CEO's willingness to make an ideological stand in the face of jail time, regardless of the CEO's gender. Plus there's a wealth of feminist writing about the potential for gender disagreement when it comes to this very question, going back to Kohlberg, Gilligan, and an imaginary guy named Heinz.[1]
FWIW, I do agree that any privileged group should be conscientious when discussing others who might sometimes feel like or be seen as outsiders, and that this applies to guys in tech. But your comment seems a bit over the top and risks shutting down discussion about an important topic... whether the government took advantage of the fact that Mayer had newborns at home when they pressured her to comply.
[1] https://en.m.wikipedia.org/wiki/Lawrence_Kohlberg%27s_stages...
> @k_firsov This applies only to texts that were copy-pasted from clipboard, and such texts are open to all other Mac apps anyway (1).
> (2)... AppStore apps can NOT access syslog (starting 10.12 also true for unsigned apps). But ANY app can read your clipboard.
> (3)... AppStore apps are sandboxed and can only WRITE to syslog, not READ it
> (4)... Malware apps are unsigned/not from AppStore and so, of course, are not sandboxed. But it'd be a game over scenario.
> ...(5) So while copy-paste can not be secure anyway, I see such logging in the stable release redundant and will see it gone.
> ...(6) However, if you find anything really serious, let us know at security@telegram.org to claim your potential bounty. Thanks.
Basically, he's saying this isn't a problem because other App Store apps shouldn't be able to read syslog, and any malicious app already present on the machine could be reading the clipboard in real time. But he willfully ignores the fact that by saving clipboard data to the syslog, it can be accessed much later by a non-App Store app or someone with possession of the machine.
[1] https://mobile.twitter.com/k_firsov/status/75687561187282124...
> Have some respect for the people that do the heavy lifting. And if you're unconvinced: go take a manual labor job for a year or so and re-read your comment here.
Jacques, why the rancor and assumption that the OP and other commenters (like the GP) haven't also had physical jobs? I certainly have… It's all I did the first several years of my working life. And like you, my life is now quite different.
You have a different point of view, but it's not because we haven't done physical work. In fact, in my case I'd say it was my experience doing that kind of work that leads me to identify with what the OP describes in the linked article.
Working class doesn't mean that the work itself is more physical: the majority of these jobs have been taken over by automation and/or transferred abroad. A recent study in the US shows that mortality in white males has increased since the Great Recession. Not because jobs have gotten more physical, but because permanent joblessness has increased. It's increasingly difficult for men - especially those without the economic and employment flexibility that many of us enjoy - to find meaning in their lives according to the traditional roles under which they were raised. Long term maybe this turns out for the best as gender roles ultimately become less pronounced. But it's a hard transition and right this is a real issue that impacts everyone. Just look at current US politics.
All the comments about the dollar value of this suit are missing this point. I would assume Apple cares much more about sending a message to Samsung and others that they feel are simply copying their innovations. And if it gets their competitors to change their behavior and differentiate themselves, then the lawsuits are probably worth Apple's investment.
I compared the route they screenshotted and apparently the only reason TripDelta come up with a $150 cheaper one-way option ($302 vs $455) is by flying Spirit from OAK to LAX with a 9 hour layover. Kayak probably assumes that layover is excessive and filters it out. Because really, if you're that desperate to save funds, just take Greyhound to LAX.
And if you book round trip, returning a week later, it's $779 on Kayak and over $1086 on TripDelta. Plus Kayak will also give you the probability that prices will drop in the next 7 days.
http://www.audubon.org/news/moustached-kingfisher-photograph...