Wednesday, June 2, 2021

Grammarly | Technical article | Sergey Yavnyi | Making Grammarly Feel Native On Every Website

June 2, 2021 

Making Grammarly Feel Native On Every Website

When a user installs the Grammarly extension, they expect it to work seamlessly. It shouldn’t matter if they’re typing in Gmail, if they’re posting on Facebook, or if they’re composing a comment on a Reddit thread. Grammarly should feel like it’s built into whatever website it’s being used on.

But there’s a whole lot of websites. According to this statistic, there are about two billion websites online as of today. How do we know that Grammarly works great on every website unless we test all of them? And how do we know that, once we do get Grammarly working on a website, the website won’t suddenly change, undoing all our hard work?

Every website is different, so a one-size-fits-all solution is infeasible. Some sites use plain <textarea /> or <div contenteditable=”true” /> fields, some use one of the popular open-source rich text editors like Draft.js or Quill.js, some even build their own proprietary text editing engines. And every website has its own unique layout and style.

The old way

The biggest challenge in improving the compatibility of the Grammarly extension has always been rendering our signature underlines. Not only is it the hardest part to implement—it’s also the core functionality. There’s no public API for native browser underlines, which are used by the built-in spell checker. So we have to implement our own. Consider this simple contenteditable text field:

The source HTML is straightforward:

<pre><div contenteditable="true">
That its when I decided getting on the bike.
</div></pre>

When you run Grammarly in that field, it will find a couple of mistakes in the text and underline them. Here’s the result:

Looks nice! But what’s happening in the DOM?

<div contenteditable="true" data-gramm_id=”d1a428f0–40fd-1fca-
a617-acf5aeeaa147" data-gramm=”true” spellcheck=”false” data-g
ramm_editor=”true”>That <g class=”gr_ gr_4 gr-alert gr_spell g
r_inline_cards gr_run_anim ContextualSpelling ins-del” id=”4"
data-gr-id=”4">its</g> when I decided <g class=”gr_ gr_3 gr-al
ert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace”
id=”3" data-gr-id=”3">getting</g> on the bike.</div><grammarl
y-btn><div class=”_1BN1N-textarea_btn _Kzi1t-show _1v-Lt-error
s _3MyEI-has_errors _MoE_1-anonymous _2DJZN-field_hovered” sty
le=”z-index: 2; transform: translate(359px, 89px);”><div class
=”_1HjH7-transform_wrap”><div title=”Found 2 errors in text” c
lass=”_3qe6h-status”>2</div></div></div></grammarly-btn>

Not as nice anymore, even though it gets the job done.

The current Grammarly extension first figures out what part of the text it wants to underline, then wraps those text fragments in a node whose style is set to show the underline. If the text is changed or moved, the underlines will move. If the text is deleted, so are the underlines. If the text field, its container, or the entire window is scrolled, both the text and the underlines will move.

This seems to work well, and it does in many cases, but there are several issues with this approach. First, by mixing text and underlines, we pollute the text field content. The text field is supposed to only contain actual text, and most of the code running on the web expects that to be the case—and rightly so. If Grammarly doesn’t remove the extraneous underline nodes before the website’s code can notice them, it can corrupt the user’s text, crash the website’s code, or make an email include underlines when it gets sent. Yikes. And most of the time, there’s no way to know when precisely the underlines should be removed.

Another—perhaps even bigger—issue with this approach is that websites don’t like it when somebody tries to change their DOM. The code running on the site expects that the DOM it created will not be changed by any other code. If that assumption is broken, bad things can happen. So both website and text editor developers started to look for ways to disable Grammarly, including such popular editors as ProseMirror, Quill.js, Draft.js, and many others.

Shape the way millions of people communicate!
OPEN ROLES

A new direction

If the Grammarly extension doesn’t work properly with rich text editors and UI frameworks, people are going to uninstall it. A lot of websites use rich text fields (formatting, images, mentions, etc.), and probably even more use a UI framework like Ember. If Grammarly doesn’t work in these cases, it will work on a smaller and smaller fraction of the web as time goes on.

It was time to change how the Grammarly extension worked. We needed to stop adding underline nodes inside of text fields and be very careful with any DOM modifications. If we were going to make any change to the DOM at all, we needed to make sure it wouldn’t be noticed by the code running on the page.

But we still needed a way to display underlines.

Prototype

It turns out it’s not very hard to create a simple proof of concept. Suppose we want to render the underline elements outside of the text field and make no changes to the field itself. This means the underlines will have to go on top of it. For this to happen, we need to know the exact position where each underline should land. This can be achieved with the Range.getClientRects() API. This method allows you to get a list of rectangles that a certain range of text takes up on the screen.

Here’s an early prototype. It’s under 200 LoC, including all of the boilerplate. And it yields the following result:

In the DOM, the text field is clean:

<body> <div contenteditable="true" spellcheck="false"> That its when I decided getting on the bike. </div> <highlights> <div> <div style=”position: fixed; top: 31px; left: 47px; width: 15px; height: 3px; background: rgba(255, 0, 0, 0.5);” /> <div style=”position: fixed; top: 31px; left: 168px; width: 45px; height: 3px; background: rgba(255, 0, 0, 0.5);” /> </div> </highlights> </body>

Note how the underline elements container is the very last element of the document body. Each underline is positioned to be exactly on top of a corresponding text fragment.

Tracking text field position

If we were to add such a functionality to one of our own web pages, not counting performance optimizations and positioning improvements, it’s a good start. But if we want to add underlines to somebody else’s text field, it’s a different story.

It is clear that underlines should be updated when the text is changed. But what if the text stays the same, but the layout of the text field (or elements around it) is changed?

Not what anybody would want.

Since we want to make the Grammarly experience look seamless and “native,” it is extremely important that our UI fits  on top of what’s already on the page. There’s little room for error, especially with the underlines—they have to be pixel-perfect and look like they are one with the text.

To achieve that, we need to know, reliably and precisely, the text field’s size, position, and style—at all times. It’s easy enough to query for these values: the Element.getBoundingClientRect() and Window.getComputedStyle() APIs provide just that. The challenge here is that .

We can try to substitute for the absence of events with heuristics. Think about it: What has to happen on a page to change the position, size, or style of a text field? Here’s what we came up with:

  • Text field content change: can have different size and even position in some cases, depending on what’s in the text field
  • Window scroll: can change client position of an element
  • Window resize: can change the layout of the entire page, including the target element
  • Container scroll: if an element is inside of a scrollable container, its position can change when scrolling happens—same thing for all scrollable ancestors of the element
  • Text field scroll (since we need to track the position of the text itself)
  • Style and class attribute change
  • Other element attributes (e.g. cols, rows, wrap for <textarea />)
  • All of the above, but for ancestors and all other elements on the page
  • Addition and removal of elements elsewhere on the page (a change to some distant element can cascade into layout change for our text field)
  • Global style sheet changes: insertion or removal of CSS rules and style sheets

For each of the above, except global style sheet changes, there’s an event you can subscribe to. The event for the DOM changes though, the MutationObserver API, is better used sparingly. If used improperly, it has the potential to degrade the performance of the entire page. So we cannot just blindly put a MutationObserver on the document element to get a notification for every change on the page.

What else can we do? There is this interesting IntersectionObserver API, which can notify you when a value of the visible area of an element changes. Even better, it will also give you the client rectangle of the element in the callback, which is exactly what we need. Although the IntersectionObserver isn’t really intended for such usage, with some hacking we can get it to do what we need in a lot of cases.

This gives us a good starting point into figuring out when a text field’s size, position, or style changes, but it still doesn’t cover all the cases. For example, an adjacent element changing its size might change the text field’s position. If we’re desperate, we can try to cover cases like this with another rather weak heuristic:

  • Window key and mouse events: A lot of times, changes on the page happen as a reaction to some user input.

Subscribing to these events will improve our case coverage, but will still not give us 100% coverage. With that in mind, and also with the fact that Safari doesn’t support IntersectionObserver at all, this leaves us with one last option:

  • Polling: Regardless of any other signals, we’re going to check up on the text field every second or so to see if anything has changed.

While this is not going to get us pixel-perfect alignment all the time, it will provide a necessary fallback option to ensure that underlines will get aligned .

Performance

Ok, since we’re already polling, why don’t we just poll for text fields’ position and styles with the highest possible frequency? Surely if we poll at the browser’s rendering limit of 60 times per second we’ll always have up to date values for every possible frame? And it will be a lot easier to implement than a bunch of heuristics and hacks. Why didn’t we think of it in the first place? Well, I think you already know where I’m going with this.

As mentioned above, getting an element’s position, size, and style involves making calls to getBoundingClientRect() and getComputedStyle(). When you call these methods, the browser might have to force a synchronous layout/reflow. It used to be, and probably still is, a common source of performance issues on highly dynamic web pages. And we really can’t afford to create even more performance issues with our extension. If you try to call getBoundingClientRect of a text field element 60 times per second on a popular site like Facebook, it can easily consume over 90% of CPU on average hardware.

Profile of calling getBoundingClinetRect() and getComputedStyles() on an element 60 times per second.

That’s not all, though. We’ve used Range.getClientRects() to get coordinates for our underlines—it’s also on the list of calls that cause layout/reflow. And unfortunately, we have to use it a lot: once for each underline fragment of the text every time the text content, text field’s position, size, or style changes. So if there are a lot of underlined words, it can result in a significant performance drop. It is especially noticeable with scroll events: Users expect scrolling to be smooth. But if we force layout with these calls in the scroll event handler, there’s no way it will be smooth.

One way we can reduce the number of getClientRects() calls is to position our underlines relative to the text field. We are already querying for the text field’s position to check whether it has changed since last time, so we can use that value to:

  1. translate client coordinates that we get from Range.getClientRects() into offset coordinates relative to the text field element
  2. position the underline elements’ container to be directly on top of the text field

A caveat here is that since we now need the text field’s client position in order to translate the underline client position, we have to query for both values at the same time. This means that for each batch of Range.getClientRects() calls we need to make at least one getBoundingClientRect() call on the text field element. This is because the position of the text field might have changed since we queried for it last time, and if we use an outdated value we are going to get incorrect coordinates for the underlines.

With this optimization, we will only need to recalculate underline coordinates either when the text content or text field size changes. Scrolling and position changes will only require us to update the underline container element.

Another optimization we could do is to be smart about which underlines even need to have their coordinates calculated. For example, if a part of the text is currently not in the viewport, there’s no reason to update underlines that land inside of it.

My last point on this topic is about profiling and keeping an eye on performance. If you typically work on a high-end computer (like many developers do), you might not even notice any performance issues with your software. The problems might surface only when your code is run by an average user who’s running average hardware. But if we’re only detecting performance issues when a user experiences them, then it’s too late. Luckily, modern browsers come with a lot of powerful performance profiling tools, including CPU throttling. I found it to be very helpful, especially during early development, when many architectural decisions are made.

CPU throttle drop-down menu in Chrome DevTools.

Any more challenges?

There are always more challenges! So far, we’ve never really considered complex layouts in this article: pop-up dialogs, sticky headers, bottom-right-corner chat windows, etc. Our initial implementation assumed that the text field is always visible in its entirety, but that’s often not the case. It can be clipped if it’s overflowing in a container (which itself can also be overflowing, and so on, recursively). It can also be covered by an element with position: sticky style. The initial implementation didn’t consider any of that.

Formatting pop-up widget is covering the text, but underlines appear on top.

The good news here is that we can solve it, though in many cases it will require us to put the underlines container closer to the text field element in the DOM. And that’s a risk—as that way we’re more likely to affect the code running on the page.

In conclusion

The Grammarly extension only works if it feels like it’s native. Grammarly should be compatible with every website, and every feature on that website. If such an extension begins to feel like more of a burden than a help, people will uninstall it.

Building an extension like this involves many challenges, some of which we hopefully can explore in future posts. We haven’t found a perfect solution so far, but with each improvement we make, we’re bringing better writing one step closer to millions of people—and that’s the ultimate goal.

My notes

It is tough job for me to read as many articles as possible related to Grammarly technology in a few days. 

I prefer to study Google AI crash course first, and then work on machine learning related courses next. 

I spent at least one hour to read the article. I will read again later in short future. 


EA: Frostbite engineering workflows | Technology stacks | Challenges

 Software Engineer - Frostbite Engineering Workflows


What does the Frostbite team do?
We develop the Frostbite engine, EA's state of the art multi-platform game development engine. Frostbite has powered games such as FIFA, Madden NFL, Battlefield, Need For Speed, Dragon Age: Inquisition, PGA Tour and Star Wars Battlefront. Frostbite leverages its proprietary technical advantages to empower game creators to shape games and push the boundaries of what they can achieve. Creating and applying leading-edge technology in the gaming industry is not easy but it is increasingly the difference-maker between an evolutionary game and a revolutionary one. Here at Frostbite, we are setting the bar high and have a team of great engineers who are dedicated, capable and willing to reach it to ship the next awesome game. We are located across North America (Vancouver, Edmonton, Orlando, Montreal), Europe (Guildford, Stockholm, Bucharest) and Australia (Melbourne).

The Challenge Ahead:

The Frostbite Engineering Workflows team is responsible for tools that engineers use in their daily workflows. The successful candidate will be part of a team building efficient, robust and intuitive workflows used to create an amazing game development engine!

As a Software Engineer, you will be part of the team that interacts across multiple domains in developing solutions for some very complex problems. We expect that you are more passionate about understanding and solving problems together with the team and are not focused on coding in one specific language. We are looking for a strong generalist who can quickly familiarize themselves with multiple technologies, is an excellent communicator, and a team player.

Responsibilities:
  • Design and implement tools that will help improve the efficiency of how software is developed, tested, and released while elevating the product quality.
  • Work with software engineers across multiple domains, understanding their needs to define and develop tooling in various areas such as build configuration, compilers, and a multitude of other areas.
  • Writing code implementing new functionality, and fixing bugs
  • Responding to support/feature requests and other product related questions
Basic Qualification:
  • Bachelor degree in Computer Science, Engineering or related field, or equivalent training and professional experience
  • Development experience in Engineering Workflows
  • 6+ years of professional experience with a variety of languages (C#, Python, Lua, C++)
  • Strong knowledge of Agile principles and processes

Bonus Qualification:
  • Experience with game engines and core technologies
  • Experience with JIRA, .NET Core/.NET 5, Javascript, and Cloud Technologies
  • Experience with msbuild, make, xcode, and Visual Studio
  • Perforce and other SCMs
  • In-depth understanding of industry market conditions and trends
  • Previous experiences in multiple engineering disciplines encompassing the complete SDLC

EA: Frostbite - game engine | wiki

 

Frostbite (game engine)

From Wikipedia, the free encyclopedia
Jump to navigationJump to search
Frostbite
Frostbite 3 logo (2013–present)
BF1 screenshot.png
Battlefield 1 built on Frostbite 3
Developer(s)DICE
Initial releaseJune 2008; 12 years ago
Written inC++, C#
Platform
LicenseProprietary
Websitewww.frostbite.com

Frostbite is a game engine developed by DICE, designed for cross-platform use on Microsoft Windows, seventh generation game consoles PlayStation 3 and Xbox 360, eighth generation game consoles PlayStation 4, Xbox One and Nintendo Switch and ninth generation game consoles PlayStation 5 and Xbox Series X/S.

The game engine was originally employed in the Battlefield video game series, but would later be expanded to other first-person shooter video games and a variety of other genres. To date, Frostbite has been exclusive to video games published by Electronic Arts.

Grammarly | Startup in Vancouver | Pandemic challenge

Pandemic is hitting hard and I did not hear a lot of startup in Vancouver in 2021. Grammarly is the first one, I did get contacted for an anonymous one over one month ago.  

I hope you are well! Our team is excited to see your profile and we've love for you to consider joining our rapidly expanding Grammarly front-end engineering team.

 
Here are a few reasons to join Grammarly: 
  • Great culture and people that genuinely care about career growth and learning.
  • A perfect 5.0 rating on Glassdoor
  • The product is scaling- 25million users and growing daily!
  • The growth opportunities for the business are real. (Profitable)
 
If you are interested, I would love to get a call set up! Let me know your availability this week.

About Us:

Thanks!
Elizabeth

Let's connect on LinkedIn!: www.linkedin.com/in/elizabethswaney

Collin Greene, head of product security, Facebook

Here is the link. 

 68

05.25.2021 | 1:01''32'

Collin Greene, head of product security, Facebook


About the episode

Facebook product security leader Collin Greene joins the show to discuss philosophies around securing code at scale, the pros and cons of relying on bug-bounty programs, the humbling lessons from being on the wrong side of a malicious hack, and why "shift-left" should be the priority for every defender.

Women Who Inspire: Meet Janani Vasudevan

Here is the link. 

What are your biggest career and personal achievements?

In my career, I’ve been fortunate to work in both India and the US, both as an individual contributor and a manager. I’ve been lucky to work on some of the most interesting projects at Microsoft. Some of those are:

  • Co-developing the Azure Service Operator for Kubernetes with customers -  working with customers directly and adapting what I build to them is something I love!
  • Building a team to develop the first version of the Azure Customer Lockbox service - I’m always excited with a challenge, in this case, it was building a new team and a new service ground up, and all within 6 months!
  • Leading the creation of the mobile device management client for Windows 8 - I am especially proud of this as this was something I led as a new product manager, after 9 years of engineering experience.

As for personal achievements, I love that I can make time to mentor through the Global Giveback circle outside of work. Apart from projects, I also pride myself in mentoring and coaching many engineers and PMs, helping them grow in their career. I also a member of the Microsoft Commercial Software Engineering Ambassador Program, where I get involved in Women tech communities to foster more opportunities for inclusivity in our organization.

There, I have the chance to share stories of my work and personal experiences in the industry which has helped to provide me with a wide range of perspectives.

Tuesday, June 1, 2021

6 miles walk | Try Google photo app | lens app

I like to learn more plants on my way to home by walking. It takes me two hours to finish the walk, and I need to find some good ideas to learn from my own experience. 


June 1, 2021 | 6 miles walk - two hours | My selfies | Vancouver neighborhood

June 1, 2021

Introduction

I have to learn how to get rid of extra 20 lbs. It is so hard for me to find good ideas how to do it. I just like to work on project - walk 6 miles to home after work every day. The weather is so good for me to take pleasant work. I like to find ideas to spend those two hours, what to do. I thought about getting a phone - Google pixel 4 5G phone with 120 GB storage, I like to install apps and try so many apps from Google. 

My selfie | Healthy and happy | Obesity weight - 199 lb - 202 lb | June 1, 2021

I need to be careful, learn how to take care myself physically and mentally in pandemic. 










I just could not believe myself that I have to learn how to walk two hours without too much stress. I feel so stress to walk uphill in the first park before commercial drive road, so I just walk zigzag to avoid uphill. I just could not believe that my heart just could not handle stress of small uphill. 











Three miles walk, I need to take so many breaks. What I did is to take some selfies. I plan to work on something more challenge for my future walks. I need to check safety, I did jaywalk first three walks, and I learned to take extra steps to cross the street with signal intersection. 












Two hours walk a day | My new life style | Tips to be more efficient

 June 1, 2021

I just could not believe that. Two hours walk a day is so challenge for me to learn and make a few changes on my daily activities. 

New life style

I have to learn how to recover from two hours walk. I also need to learn better how to work better every day in the office, since I will be more fit with less weight. 

I have to measure how I vary in terms of performance in terms of weight, 180 lb, 190 lb, 200 lb, 206 lb. 

I do think that it is important to learn difference as a 55 year old compared to being a 50 year old. 


6 mile walk 2 hours | Learn from my experience | Selfie | What to do? | June 1, 2021

 June 1, 2021

Introduction

I have to start to learn so many things since I can not control my weight. My friend Rick told me over months ago, he said that you can just take a walk. I started the project to walk to home after walk. It is tough project for me to handle, and after three weeks, I started to see my weight from 206 lb three weeks ago, now I can see 199 lb, 202 lb once a while. I have to push myself to learn so many things, I need to learn how to deal with the pain and tiredness after two hours walk. 

June 1, 2021

Here is my strava's link. 

I like to take photos and then I can figure out what I should do better to spend those two hours. Walk is simple and I enjoy exploring so many things along the trail. 





I was so tired and sat on chair, took a 5 minutes break. 



Why Walking Is The Superpower You Didn’t Know You Had with Professor Shane O’Mara | FBLM Podcast

June 1, 2021

Here is the link.

 When was the last time you gave any real thought to walking? It’s so easy to put one foot in front of the other. Yet this unique, underrated activity sets us apart from other species, and brings incredible advantages – yes, superpowers – if we do it enough.

My guest on this week’s podcast is the neuroscientist Shane O’Mara, a professor of experimental brain research at Trinity College Dublin. After reading his remarkable new book, In Praise of Walking: The New Science of How We Walk And Why It’s Good For Us, I couldn’t wait to talk to him about the topics it raises. Shane has always been a keen walker and aims to clock 15,000 to 17,000 steps each day on his pedometer. But as we discuss, the positive effects of walking go way beyond the fitness benefits we all know about. Walking helps more than our hearts and lungs, our muscles and posture, yet modern, sedentary lives mean we’re doing far less of it than nature intended. It can increase creativity and problem solving, lift our mood and protect us from depression. Shane reveals how it helps learning, memory and cognition and how it can slow and even reverse the functional ageing of the brain. All this science, he hopes, will help convince town planners and public health officials that we must redesign our environments with pedestrians in mind. This is such an enlightening conversation and I know you’ll gain some fascinating new perspectives on how you could (and why you should) fit more walking into your life. Why not head out for a stroll as you listen?

Neuroscientist Reveals How Walking Improves Our Brain and Mental Health: Shane O’Mara | Bitesize

June 1, 2021

Here is the link. 

Walking can slow and even reverse functional ageing in the brain, improve our cognition, our creativity and our mental health but yet it is such an underrated activity. Today’s clip is from episode 84 of the podcast with neuroscientist Shane O’Mara, a professor of experimental brain research at Trinity College Dublin. Shane believes walking can be our superpower. In this clip he explains how the many benefits of walking go beyond the physical – it’s important for our mood, our happiness and our wellbeing. Shane reveals the results of a studies that showed that walking improved memory and attention and reversed functional ageing of the brain, and that if we walk before doing a task, we perform it more creatively.

The Importance Of Walking → Improve Your Overall Health

June 1, 2021

Here is the link. 

Learn about the importance of walking every day and how it can DRASTICALLY improve your overall health. Get our Fit Father 30-Day Fat Loss Program here → https://www.fitfatherproject.com/yout... Get our Fit Father Old School Muscle Building Program here → https://www.fitfatherproject.com/yout... Subscribe to our channel here → https://goo.gl/wxghQ5 Our FREE resources: 1-Day Weight Loss Meal Plan → https://www.fitfatherproject.com/yout... 24-Min Fat Burning Workout → https://www.fitfatherproject.com/yout... 5 Best Muscle Building Exercises → https://www.fitfatherproject.com/yout... "Walking is the best medicine" - Hippocrates Walking is essential for good health. Walking research is very clear. If you take a 30-minute walk each day, your heart will be dramatically healthier. As you walk, your heart pumps in a nice and relaxed manner, circulating oxygen-rich blood throughout your body. When your body is receiving this vital oxygen-rich blood and nutrients, your body and tissues stay younger and healthier. The walking benefits for men are infinite. Did you know you can lose weight walking? A 30-minute walk can boost your metabolism for up to 12 hours after the walk! Pairing a healthy diet with a 30-minute walk can help you lose weight without exercise. Additional benefits of walking include strengthening your bones and improving your attention and memory. Taking a walk after eating a meal is a great idea. Walking helps to decrease the blood sugar spike that happens after eating a meal. Start taking a walk every day and let us know how you feel in the comments below! 👇 If you feel your lifestyle could use an improvement, then check out our FF30X 30-Day Transformation Program at → https://www.fitfatherproject.com/yout... If you want to start putting on muscle TODAY, check out our Fit Father Old School Muscle Building Program at → https://www.fitfatherproject.com/yout...

Take my notes:
  1. Walk first thing in the morning, or after big meal; 
  2. Blood sugar spike - Eat and move, not eat and sit on the buds; we are built to walk; 
  3. Intensity workout; ability to walk; quality of life;
  4. Daily basic line movement - high intensity workout - walk every day
  5. Walk good for your brain, your heart, and your immune system; 
  6. Waling is the best medicine - Hippocrates 
  7. Heart health - tissues - stay health and younger - lymphatic vessels boots the immune system
  8. 30 minutes - give a massive boost of immune system
  9. 100 lb loss without touching dumb bell - estrogen level decline - 
  10. strength our bones - improve memory and attention - specific in nature - memory attention
  11. big challenge - how to walk - start from crawling - bake into our DNA
  12. walk outside - sunshine - vitamin D - immune system 
  13. Lose weight - blood sugar - cut blood sugar hiking - big spike after big meal - sucks big fructcose - avoid diabetes - digest mode 
  14. Accumulate more steps are good - 45 minutes in the middle of day - walk after the meal - afraid to eat carbonhydrate
  15. Build for walk - until you are in 80 or 90s
  16. Ability to walk is more important, quality of life