Telegram Group & Telegram Channel
Python Hints
یک ابزار داریم (روی Rust) که توی چندتا بخش نیاز به پردازش یک سری header های درخواستی که میاد داره. یا مثلا بعضی جاها کاربر می‌تونه permission هارو باهاشون کار کنه و ... همیشه خیلی سریع پردازش انجام می‌شد و تمام؛ دیروز یکی از مشتری‌ها اعلام کرد که ابزار خیلی…
پرسیدید؛ چرا AND انجام شده؟

هرعددی نهایتاً بصورت binary توی کامپیوتر ذخیره میشه مثلاً 10 میشه (۸بیتی در نظر بگیریم)

00001010
یا برای 5 می‌شه
00000101

اولین عدد سمت راست همیشه 2⁰ رو ضربدر خودش می‌کنه تا به دسیمال همون سیستم عددی خودمون تبدیل بشه.

2⁰=1
هست، پس اگر سمت راستی ترین بیت 1 باشه اون عدد فرد هست.
👍204



tg-me.com/pyHints/848
Create:
Last Update:

پرسیدید؛ چرا AND انجام شده؟

هرعددی نهایتاً بصورت binary توی کامپیوتر ذخیره میشه مثلاً 10 میشه (۸بیتی در نظر بگیریم)

00001010
یا برای 5 می‌شه
00000101

اولین عدد سمت راست همیشه 2⁰ رو ضربدر خودش می‌کنه تا به دسیمال همون سیستم عددی خودمون تبدیل بشه.

2⁰=1
هست، پس اگر سمت راستی ترین بیت 1 باشه اون عدد فرد هست.

BY Python Hints




Share with your friend now:
tg-me.com/pyHints/848

View MORE
Open in Telegram


Python Hints Telegram | DID YOU KNOW?

Date: |

What is Telegram Possible Future Strategies?

Cryptoassets enthusiasts use this application for their trade activities, and they may make donations for this cause.If somehow Telegram do run out of money to sustain themselves they will probably introduce some features that will not hinder the rudimentary principle of Telegram but provide users with enhanced and enriched experience. This could be similar to features where characters can be customized in a game which directly do not affect the in-game strategies but add to the experience.

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Python Hints from us


Telegram Python Hints
FROM USA