今日推薦開源項目:《更快的載入圖片 webp_server_go》
今日推薦英文原文:《How to Write Code With Your Kids at Home》
今日推薦開源項目:《更快的載入圖片 webp_server_go》傳送門:GitHub鏈接
推薦理由:WebP,一種減小圖片大小但是仍然保持一定質量的圖片格式,圖片越小,在網路傳輸中速度越快,自然減少了載入時間。對於個人網站來說,如果想要使用轉換服務,而不想受到雲服務商的限制,或者只是想統一你站點上的 URL 的話,這個項目能夠將圖片轉換為 WebP 格式輸出,因為是你自己的服務,當然也不需要更改 URL,在這種情況下相當適用。
今日推薦英文原文:《How to Write Code With Your Kids at Home》作者:
原文鏈接:https://medium.com/better-programming/how-to-write-code-with-your-kids-at-home-f7959fa22dbe
推薦理由:如果你剛好在家裡工作,又剛好需要照看小孩……
How to Write Code With Your Kids at Home
Are you locked in at home with kids? Here are some tips to help you stay sane, do some work, and still leave a smile on your kids』 faces
Worst-case scenario: You are alone, your kid is five years old and full of energy, and your company successfully switched to remote working or you are a freelancer already working from home.Everything would work out fine if your kid could stop storming in every five minutes with a question or request:
- I』m hungry.
- I』m angry.
- I』m lonely.
- I need to poo.
- Mommy, Daddy, I have a million ideas…
To really get anything done, you need at least an hour of quiet time. And with the coronavirus here to stay, what can we do? Things still need to be done. Bugs need to be removed, urgent things need to be handled.
So here are some tips to help you stay sane, write some code, fix some bugs, and still keep your kid happy:
- Get organized! Make a schedule — not a strict one but something you can follow. Have an emergency entertainment plan ready. The structure will keep you from losing your sanity and the backup plan should prevent all hell from breaking loose.
- Rhythm. When things are out of control, even us grown-ups feel safer if there is some kind of rhythm — something we can expect every day. Even in extreme times, we can formulate some kind of rhythm. Create a new routine for this new reality.
- Time blocking works great for me. Just remember that kids have short attention spans. Be sure to break up the day. Don』t try to make an eight-hour chunk as a workday. Smaller chunks are necessary.
- Have flexible expectations in place.
- Above all, have patience and remember this is temporary! It won』t be perfect, it won』t be easy, but it will be a time you will always remember.
- Understand that you』re not going to be as productive during the same amount of time as normal since you will be interrupted. It』s inevitable. Make a plan to do your work maybe during chores or playtime when the kids are occupied.
- Have a partner who also works from home so you share the workweek. Well, don』t try to find one now if you』re are single.
- Don』t expect to do it all. Be kind to yourself.
- If the kids aren』t old enough to understand boundaries and semi-care for themselves, squeeze in your work time either in the mornings or the evenings.
- Self-care — you can』t pour from an empty cup! Maybe you can squeeze in a nap when they sleep in the afternoon. Or you can make yourself a bath after they fall asleep. Anything that nurtures your soul.
- Give younger kids 20–30 minutes of real attention every 60–90 minutes and many/most will give you that 60–90 minutes to work.
- I also pulled the playroom table next to my desk and called it my kid』s 「office」 to 「work」 next to Mama.
- Invite them into the world of coding with Tynker or Scratch.
- Headphones are also great during this time. Noise-canceling Bluetooth headphones do miracles!
- Be flexible and know that it』s going to be an adjustment. Give yourself grace. Don』t be too hard on yourself and don』t expect to get as much done as usual.
- It can feel hard to pull yourself away, but take time to spend some good time with them. Fill their little tanks first at the beginning of each day. Before you know it, they will likely be ready to run off to do their own thing.
- Schedule important bonding time so your children feel like they aren』t neglected. When they feel connected, they will be more willing to cooperate with you. And they will feel safe to do their own thing. And we need them to do their own thing.
- When I get overwhelmed it also helps me to know that I don』t have to be perfect. All I have to be is an OK mom and an OK coworker. Did you know that OK meant 「Zero killed」 during World War I? Zero killed is OK with me.
- Now is the best time to teach them creativity. Boredom is the best teacher of creativity. Studies confirm that boredom could lead to better creativity.
- Remember, this is a great learning experience — both for you and your kid. What can you learn from it?
下載開源日報APP:https://openingsource.org/2579/
加入我們:https://openingsource.org/about/join/
關注我們:https://openingsource.org/about/love/