اپل یک مجموعه ویدیویی آموزش #عکاسی با آیفون درست کرده که فکر میکنم برای هر کسی که به عکاسی با موبایل علاقهمنده، مفید باشه. اگه علاقه دارید، از دست ندید. رایگان هم هست:
https://www.apple.com/iphone/photography-how-to/
https://www.apple.com/iphone/photography-how-to/
ما تو پروژه مون که یه وب اپلیکیشن هستش تو بخش اصلیش از setTimeOut و setInterVal استفاده میکنیم برای کنترل کامپوننت و ریکوئست هایی که به سرور میزنه ولی یه چیزی بود که مشکل بزرگی رو برامون ایجاد میکرد اونم این بود که وقتی شما میرفتی یه تب دیگه از مرورگر و مدتی بعد برمیگشتی
این setTimeOut و setInterVal ها اون پشت اجرا نمیشدن و باعث میشد کامپوننت مون باگ بخوره و کار نکنه برای حل این مشکل اومدیم از پکیج HackTimer استفاده کردیم این پکیج میاد یسری web worker راه اندازی میکنه که تو background این تایمر هارو اجرا میکنه و این باعث میشه که
شما اگه رفتی یه تب دیگه این تایمر ها اون پشت کار کنن و کامپوننت بتونه به درستی و سر موقع ریکوئست هاشو بزنه
#javascript
#npm
#reactjs
https://www.npmjs.com/package/hacktimer
این setTimeOut و setInterVal ها اون پشت اجرا نمیشدن و باعث میشد کامپوننت مون باگ بخوره و کار نکنه برای حل این مشکل اومدیم از پکیج HackTimer استفاده کردیم این پکیج میاد یسری web worker راه اندازی میکنه که تو background این تایمر هارو اجرا میکنه و این باعث میشه که
شما اگه رفتی یه تب دیگه این تایمر ها اون پشت کار کنن و کامپوننت بتونه به درستی و سر موقع ریکوئست هاشو بزنه
#javascript
#npm
#reactjs
https://www.npmjs.com/package/hacktimer
Node.js Helps NASA Keep Astronauts Safe and Data Accessible
🔆 Why Node.js?
For starters, Estes’ team was already writing JavaScript-heavy applications. “When we selected
Node.js, one of our selling points was centering around a single platform,” he said.
Some other key reasons NASA choose Node.js were:
🔸 • The relative ease of developing data transfer applications with JavaScript, and the
familiarity across the organization with the programming language, which keeps
development time and costs low.
🔸 • Node.js’ asynchronous event loop for I/O operations makes it the perfect solution for a cloudbased
database system that sees queries from dozens of users who need data immediately.
🔸 • The Node.js package manager, npm, pairs incredibly well with Docker to create a
microservices architecture that allows each API, function and application to operate smoothly
and independently. This encourages each of the three legacy database systems to play nice
with each other while the data is transferred to the cloud.
https://foundation.nodejs.org/wp-content/uploads/sites/50/2017/09/Node_CaseStudy_Nasa_FNL.pdf
🔆 Why Node.js?
For starters, Estes’ team was already writing JavaScript-heavy applications. “When we selected
Node.js, one of our selling points was centering around a single platform,” he said.
Some other key reasons NASA choose Node.js were:
🔸 • The relative ease of developing data transfer applications with JavaScript, and the
familiarity across the organization with the programming language, which keeps
development time and costs low.
🔸 • Node.js’ asynchronous event loop for I/O operations makes it the perfect solution for a cloudbased
database system that sees queries from dozens of users who need data immediately.
🔸 • The Node.js package manager, npm, pairs incredibly well with Docker to create a
microservices architecture that allows each API, function and application to operate smoothly
and independently. This encourages each of the three legacy database systems to play nice
with each other while the data is transferred to the cloud.
https://foundation.nodejs.org/wp-content/uploads/sites/50/2017/09/Node_CaseStudy_Nasa_FNL.pdf