.
اطلاعات کاربری
درباره ما
دوستان
خبرنامه
آخرین مطالب
لینکستان
دیگر موارد
آمار وب سایت

چه افرادی برنامه نویسی پایتون را یاد نگیرند؟

پایتون راهی سریع و ساده برای توسعه و پیش بردن مهارت‌های جدید است که می‌تواند شما را از یک برنامه نویس صفر کیلومتر به یک حرفه‌ ای تبدیل کند و قطعاً تأثیر مثبتی بر شغل‌ تان می‌گذارد. پایتون خیلی ساده است و هر فردی را حتی با سطح صفر در برنامه‌ نویسی می‌تواند به‌ سادگی و با کمک سینتکس قابل‌ درک‌اش که شبیه به زبان انگلیسی است آموزش دهد و به یک برنامه‌ نویس تبدیل کند. به علاوه اینکه پایتون یک محیط کد نویسی تعاملی دارد که باعث می‌شود کار با این زبان و تست کردن اجرای اسکریپت‌ها در حین یادگیری ساده شود.

 

1- افرادی که قصد دارند توسعه دهنده وب باشند

 

توانایی‌های پایتون خیلی گسترده‌تر از توسعه وب است. اینستاگرام بزرگترین سایتی است که Django (یک فریم ورک وب پایتون) را اجرا می‌کند. یکی از مهندسان ارشد اینستاگرام به نام ژیون لی در این باره می‌گوید: «ما استفاده از پایتون را به این دلیل آغاز کردیم زیرا کار با آن راحت است، اما ما طی سال‌ها تغییرات زیادی روی آن انجام دادیم تا آن را تا حدی که مورد انتظار ما است ساده نگه داریم.»

این نشان دهنده آن است که Django یک فریم ورک قدرتمند و با ظرافت است. اما پرسش اینجا است که وقتی جاوا اسکریپت از قبل برای چنین منظوری در نظر گرفته شده است چرا باید Django را یاد گرفت؟ فریم ورک‌های جاوا اسکریپت مثل React و Vue.js بسیار پرطرفدار هستند. هر دو می‌توانند از Django و سایر فریم ورک‌های سمت سرور مثل Ruby on Rails استفاده کنند. اما از آنجا که هر دو زبان‌های مبتنی بر جاوا اسکریپت هستند، چرا شما باید از چیزی غیر از Node.js استفاده کنید؟ این به معنای آن نیست که جاوا اسکریپت یک زبان برنامه نویسی کامل و ایده‌ال است. برعکس بسیاری به خلاف این اعتقاد دارند. اما اگر شما تازه توسعه وب را آغاز کرده‌اید، هنوز بهترین انتخاب برای شما همان جاوا اسکریپت است.

 

2- افرادی که قصد دارند توسعه دهنده بازی باشند

 

حتما کاربران Pygame از این موضوع متعجب خواهند شد. مگر کتابخانه‌های خوش ساخت مختص ساخت بازی‌های کامپیوتری به زبان پایتون وجود ندارد؟ بله وجود دارد. Pygame یک منبع فوق العاده برای یادگیری استفاده از پایتون در برنامه نویسی بازی است.

بعضی از بازی‌های خوب به زبان پایتون نوشته شده‌اند و حتی یک بازی تیراندازی اول شخص وجود دارد که به طور کامل در Pygame نوشته شده است. اما اغلب (نه همه) افرادی که وارد حوزه توسعه بازی می‌شوند به دنبال چیزی فراتر از توانایی پایتون هستند. یک پلتفرم قدرتمند با ابزارهای توسعه و ویرایش که امکانات کامل را در اختیار توسعه دهنده می‌گذارد. اما پایتون چنین امکانی را مثل آنچه Unity و Unreal ارائه می‌کنند در اختیار شما نمی‌گذارد.

 

3- افرادی که قصد دارند با سیستم‌های سطح پایین کار کنید

 

با وجودی که حوزه آماتور روبوتیک علاقه زیادی به پایتون نشان می‌دهد، اما این بهترین زبان برنامه نویسی برای انجام چنین کاری نیست. در بسیاری از سیستم‌های الحاقی و سطح پایین، پایتون انتخاب مناسبی نیست. مفهوم سیستم الحاقی (embedded system) که طی چند سال گذشته باب شده است چندان واضح و مشخص نبوده است.

برای مقایسه می‌توان این‌گونه در نظر گرفت که بوردهای الکترونیک کوچک توسعه مثل Arduino الحاقی هستند. دستگاه‌های بزرگتر و پیچیده‌تر مثل رزبری پای یا بوردهای مینی کامپیوترهای مشابه نیز عموما الحاقی در نظر گرفته نمی‌شوند. مشکل مربوط به ضرورت اختصاص حافظه و زمانبندی می‌شود. یک تراشه 8 بیت که بخشی از یک سخت افزار الحاقی است نیاز دارد تا مدیریت حافظه در آن بسیار با دقت انجام شود. این موضوعی نیست که پایتون بتواند به خوبی از عهده آن برآید و به همین دلیل است که زبان Arduino نسخه ساده سازی شده‌ای از C/C++ است.



:: بازدید از این مطلب : 135
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
ن : zonelearning101
ت :
.

years. The main objective in Protecting Your Wealth in Good Times and  Bad is to reach a point in life when you work only if you want to and,  if you stop working, when you do not fear outliving your money.

Retirees are living longer and healthier, traveling more, enjoy  better housing, better automobiles, better communications, and  generally spending more money than prior generations. As life  expectancy extends and lifestyles rise, future retirees will need more  income and will rely more on their personal savings for that income  than past generations. Traditional sources of retirement income—  Social Security and employer pension plans—are on the decline. As  a result, the nest egg people accumulate during their working years  will dictate their quality of life in retirement. That is why it is impor-  tant for you to protect your wealth from simple, yet costly mistakes.  Every penny counts. Through proper planning, prudence, and perse-  verance, you can accumulate the wealth you need to enjoy your  Golden Years.

The State of Retirement Savings

A secure retirement means having enough sources of income to  maintain your standard of living after a regular paycheck stops.  Unfortunately, traditional sources of retirement income from an  employer pension and Social Security have diminished and will con-  tinue to fall in the future. At the same time the cost of retirement will  continue to rise. This will be a dilemma for many people. Neither  employers nor the government are as generous as they used to be.  Most employers are cutting back benefits for retirees. The Social  Security system will not survive in its current form when 50 million  baby boomers retire over the next 25 years.

Several large companies have already dropped employer-funded  defined benefit pension plans (DB plans) in favor of employee-  funded 401(k) and other types of defined contribution plans (DC  plans). (See Figure 1-1 for details.) By shifting the responsibility for  retirement savings to an employee-funded plan, employers can save  a significant amount of money and reduce their incredibly large reg-  ulatory burden. Several large employers continue to fund retirement  plans, but have shifted to the more liberal cash balance plans, in

43%

35%

28%

12%

0%

1983  1989  1998  2003 (est.)

Figure 1-1. Percent of households in a company plan

Source: Study by Edward Wolff, New York University, from Federal Reserve  Survey of Consumer Finances

which retirement benefits vary with market conditions and there is  no liability on the employer to make up the difference. In addition  to changes at large firms, hundreds of thousands of small business-  es offer no retirement plan at all to their employees. Consequently,  millions of workers must set up their own individual retirement  accounts and fund them on a regular basis.

The reduction in the number of employer-funded DB plans is  occurring for several reasons. First, since a DB plan guarantees  monthly retirement checks for all eligible employees and since the  rate of return on the investments in a pension account is uncertain,  the plan can become very expensive to the company in the years  ahead if there is not enough money in the fund to pay benefits.  Second, DB plans are expensive to administer and maintain. The  record-keeping cost and regulatory burden increase as the plan  grows. Third, DB plans do not work well for employees in today’s  dynamic business environment, where people shift jobs and careers  more frequently than in the past.

Due to legal uncertainties and escalating costs, several compa-  nies have converted defined benefit plans into cash balance plans. A  cash balance plan is a hybrid of a defined benefit and a defined con-  tribution plan (such as a 401(k) plan). Like DB plans, employers

5

43%

35%

28%

12%

0%

1983  1989  1998  2003 (est.)

Figure 1-1. Percent of households in a company plan

Source: Study by Edward Wolff, New York University, from Federal Reserve  Survey of Consumer Finances

which retirement benefits vary with market conditions and there is  no liability on the employer to make up the difference. In addition  to changes at large firms, hundreds of thousands of small business-  es offer no retirement plan at all to their employees. Consequently,  millions of workers must set up their own individual retirement  accounts and fund them on a regular basis.

The reduction in the number of employer-funded DB plans is  occurring for several reasons. First, since a DB plan guarantees  monthly retirement checks for all eligible employees and since the  rate of return on the investments in a pension account is uncertain,  the plan can become very expensive to the company in the years  ahead if there is not enough money in the fund to pay benefits.  Second, DB plans are expensive to administer and maintain. The  record-keeping cost and regulatory burden increase as the plan  grows. Third, DB plans do not work well for employees in today’s  dynamic business environment, where people shift jobs and careers  more frequently than in the past.

Due to legal uncertainties and escalating costs, several compa-  nies have converted defined benefit plans into cash balance plans. A  cash balance plan is a hybrid of a defined benefit and a defined con-  tribution plan (such as a 401(k) plan). Like DB plans, employers

5



:: بازدید از این مطلب : 111
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
ن : zonelearning101
ت :
.

DHCP-Dynamic Host Configuration Protocol تنظیم و پیکربندی
پروتکل و نصب در لینوکس ,linux
کھ بھ شبکھ متصل بھ اینترنت امکان میدھد کھ وقتی یک کامپیوتر میزبان بھ شبکھ TCP/IP یک پروتکل DHCP-Dynamic Host Configuration Protocol سرنام
بھ طورخودکاربھ آن اختصاص یابد ip addresss متصل میشود یک
DHCP طرزعمل
انتخاب کردیم مراحل زیر اتفاق می افتد client را در obtain ip addressautomatically پس از اینکھ گزینھ
میدھد (broad cast) انتشار DHCP Server را برای جیستجوی DHCP Discover بستھ DHCP Client.1
تقدیم میکند clinet بھ IP address یک DHCP Offer بوسیلھ بستھ DHCP server.2
معتبراست یا خیر خواھد فرستاد DHCP Server بھ منظور تحقیق اینکھ آیا DHCP Server مینامیم بھ DHCP Requset یک بستھ را کھ DHCP Clinet.3
را خواھد داد client جواب DHCP acknowledgement بوسیلھ بستھ DHCP server.4

DHCPD و یا ھمان پس زمینھ سرویس این سرویس Daemon
عدد 68 می باشد DHCPD شماره پورت برای
استفاده میکنیم DHCP از فرمان زیر بھ منظور آشنایی از وضعیت سرویس
#service dhcpd status
نصب نمیشود اما ما میتوانیم etc/dhcpd.conf بصورت اتوماتیک در dhcp RPM را میخواند.اما بستھ etc/dhcpd.conf شروع بھ کار میکند , فایل dhcp زمانی کھ
از آن را طبق فرمان زیر کپی میکنیم copy میباشد استفاده کنیم.بدین منظور یک usr/share/doc/dhcp-3.0.1/dhcpd.conf.sample از آن را کھ در copy یک
#cp /usr/share/doc/dhcp-3.0.1/dhcpd.conf.sample /etc/fhcpd.conf
کھ در قسمت قبل توضیح داده شد DNS pooya.com درحین کار داشتھ باشیم در این مثال از DNS میبایست یک DHCP بخاطر داشتھ باشید بھ منظور کارکردن سرویس
استفاده میکنیم
بھ فایل زیر وارد میشویم و تنظیمات ضروری را انجام میدھیم DHCP برای پیکربندی
#vi /etc/dhcpd.conf
subnet 192.168.10.0 netmask 255.255.255.0 {
#-- default getway
option routers 192.168.10.224;
option subnet-mask 255.255.255.0
option nis-domain "pooya.com";
option domain-name "pooya.com";



:: بازدید از این مطلب : 110
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
ن : zonelearning101
ت :
.

صفحه قبل 1 2 3 صفحه بعد

صفحات
نویسندگان
آرشیو مطالب
مطالب تصادفی
مطالب پربازدید
چت باکس
تبادل لینک هوشمند
پشتیبانی