Was your mother a late bilingual? From this paper [1], we know that for late bilinguals, regions for each language are spatially separated in Broca's area. Broca's area is responsible for speaking, while language understanding is attributed to Wernicke's area*. It's possible that the stroke affected only the part of the Broca's region responsible for English speaking. And since language understanding is handled by another region, it wasn't affected.
*For completeness, according to current neurolinguistic models it's more complex than that, more brain regions are actually responsible for speech/understanding.
If so, it's a bit misleading. The go bug just requires a reference, rather than a lambda. I bucket lambdas into a category of language features I expect to have more sharp edges around capture semantics than references.
Bug:
var all []*Item
for _, item := range items {
all = append(all, &item)
}
Fix:
var all []*Item
for _, item := range items {
item := item
all = append(all, &item)
}
Yeah, makes sense that it's popular. I just thought you were making a joke by creating a similar looking issue with a different underlying reason.
In Go example the issue happens because item variable is per-loop, in your python example the issue is not related to loops at all, it's just because functions capture the value of global variables at execution time.
And the cherry on top is that the solution is also similar looking(i=i), but working with a different mechanic underneath(default argument assignment).
Anyway, this was my perspective that led me to interpret this as satire. A bit disappointed haha
Ask the caller to move their hand in front of the camera so the hand fully obstructs the view, and then slowly slide the hand to the side until it completely moves out of the view. Crop-resistant!
It's only a fool's errant if you give up. If you don't give up, then it's a cat-and-mouse game. Forever outsmarting the other, but neither side winning permanently.
Papers say that both are trained on PDB dataset. And still, we see a dramatic gap between old and new Alphafold models. Both were trained by Deepmind, probably with a similar computer power. I think it's obvious that it's not just compute power, method matters a lot.
Thanks for the example. Could you point me to a resource where it explains why the reality is like that? If that’s an implication of a formula of quantum theory(which the article also mentioned briefly), I would like to learn about it and be able to derive this implication myself.
This kind of magnetic sensitivity seems to be dependent on receiving light, because the sensitive molecules form the radical pairs when exposed to light. With this information, evolving within the eye scenario sounds plausible to me.
I don't use trending topics in ordinary days. It helps me a lot when something important happened recently.
An important political speech, a big earthquake, bombing... For this kind of situations, Twitter trending topics help a lot, because it provides you the most up-to-date source of news.
When critical situations happen, your priority is getting the news live. Correctness, officialness are less important. I don't know a better way to get that kind of news other than trending topics.
But you don't need trending topics for that. It can be replaced with a simple search, which is way more effective. Having important news jumping into the trending topics tend to add noise to the search because of the popularity.
I do searches all the time to check whenever Github/Jira/whatever is down, or when there's some helicopter over my neighborhood, or even in major events, but as soon as it enters trending topics it's a bit less effective.
I also thought about just using search. But trending topics let me know if something important is happening when I'm not aware. I still think it's valuable at times, while I also think it may be spammy and should be improved.
I think its low signal to noise ratio makes you ignore it, which is bad. But I think instead of just removing it, spams should be prevented more effectively. Because I know "trending" concept is useful when it works. HN, Reddit and some other aggregator sites have homepages with trending content, of course with varying degree of success.
Prevent your success from spoiling your kids. Your kids probably are not jealous of anything they see because you provide them anything they want. I think a parent should think and figure out how to create a challenging environment for their kids. Not just artificial challenge like games. Real challenge that will shape(and I think improve) their personality.
I'm not a parent so I can't give concrete advise, just sharing my thoughts.
Not a parent either, but constraints such as "you can only play videogames that you code yourself" could be an entertaining way to teach: they might want the reward, teach them to enjoy the path as well.
I am not saying they should learn computer science, but it's one of the best ways to use computers, and having some basic skills with it is incredibly useful still.
You can't really do that today. In 1980 Frogger was the state of the art of video games, a kid could code a clone of it over a few weekends so the hurdle was reasonable. However modern games takes years to clone even for professionals, even the indie ones, so you banning them from games they haven't made themselves today essentially means you banned them from ever playing games.
The main problem is that basically everything a kid would want to do with computers is already done in neatly packaged binaries, so the reward for exploring is just the exploration itself. And preventing your kids from using those binaries wont make your kid excited to recreate programs from the 80's, it will make your kid resent you as a conservative parent who wants his kid to relive his own childhood.
Well, there are plenty of game engines out there that empower the user a whole lot. And I bet any kid who codes a simple snake today would still play the hell out of it, and have plenty of ideas on how to improve the game even further.
You are right, however, that some parts are simply impossible to replicate: narratives, for instance, have to be experienced. Gameplay however, is where the fun is when it comes to games and game programming (this might be subjective), and is usually quite simple to replicate.
*For completeness, according to current neurolinguistic models it's more complex than that, more brain regions are actually responsible for speech/understanding.
[1] http://www.nature.com/articles/40623