〜うちに while (still); before (it changes)
Examples
はい、午前( ごぜん ) 八( はち ) 時( じ ) 半( はん ) です。午後( ごご ) になると駅( えき ) へ行( い ) く人( ひと ) が増( ふ ) えるので、今( いま ) のうちに 記録( きろく ) を確認( かくにん ) します。
Yes, it is 8:30 a.m. Since more people head to the station in the afternoon, I will check the logs while we have time. (N5 lesson 3)
この天然( てんねん ) の山菜( さんさい ) を厨房( ちゅうぼう ) へ持( も ) ち帰( かえ ) って、採( と ) ったばかりのうちに 天( てん ) ぷらにすると、独特( どくとく ) の清々( すがすが ) しい苦味( にがみ ) がして美味( おい ) しいんですよね!
Bringing these wild mountain greens back to the kitchen and frying them freshly picked as tempura gives them that unique, refreshing bitterness that tastes delicious, right! (N4 lesson 24)
風( かぜ ) がゴウゴウと唸( うな ) っていますね!今夜( こんや ) のうちに 激( はげ ) しい嵐( あらし ) になるんでしょうか?
The wind is roaring fiercely! Will it turn into a violent storm tonight? (N4 lesson 41)
出来( でき ) 立( た ) ての熱々( あつあつ ) のうちに 大広間( おおひろま ) へ届( とど ) けないと、せっかくの炭火( すみび ) の香( かお ) りが飛( と ) んで料理( りょうり ) が冷( さ ) めてしまいますものね!
Unless we deliver them to the hall while piping hot, the charcoal aroma will fade and the food will cool down, after all! (N4 lesson 55)
懐中( かいちゅう ) 電灯( でんとう ) で足元( あしもと ) を照( て ) らして……いました!川辺( かわべ ) の光( ひか ) る秋( あき ) の蛍( ほたる ) を夢中( むちゅう ) で追( お ) いかけるうちに 、道( みち ) が分( わ ) からなくなってしまったのね。
Illuminating the ground with the flashlight... Found him! While chasing glowing autumn fireflies along the riverbank, he lost his way. (N4 lesson 57)
Practice
気候( きこう ) が暖( あたた ) かい( )現場( げんば ) を洗( あら ) い直( なお ) しましょう。来年( らいねん ) まで長引( ながび ) かせるわけにはいきません。
Let's re-examine the crime scene while the climate is still warm. We can't let this drag on into next year. (N5 lesson 12)
ばかりに うちに までに ところに
Answer うちに