HICTE Blog – Telegram
HICTE Blog
1.18K subscribers
382 photos
126 videos
8 files
616 links
گروهمون: @HicteGroup

دسته بندی پست‌ها: t.me/HicteBlog/743
Download Telegram
#کتاب

Fluent C: Principles, Practices, and Patterns

Author: Christopher Preschern
Edition: 1st
Date: November 2022
Publisher: O'Reilly Media
Length: 304 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍41
HICTE Blog
#کتاب Fluent C: Principles, Practices, and Patterns Author: Christopher Preschern Edition: 1st Date: November 2022 Publisher: O'Reilly Media Length: 304 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:

Expert advice on C programming is hard to find. While much help is available for object-oriented programming languages, there's surprisingly little for the C language. With this hands-on guide, beginners and experienced C programmers alike will find guidance about design decisions, including how to apply them bit by bit to running code examples when building large-scale programs.

Christopher Preschern, a leading member of the design patterns community, answers questions such as how to structure C programs, cope with error handling, or design flexible interfaces. Whether you're looking for one particular pattern or an overview of design options for a specific topic, this book shows you how to implement hands-on design knowledge specifically for the C programming language.

You'll find design patterns for:

    Error handling
    Returning error information
    Memory management
    Returning data from C functions
    Data lifetime and ownership
    Flexible APIs
    Flexible iterator interfaces
    Organizing files in modular programs
    Escaping #ifdef Hell
👍3
#خبر

ظاهرا چندین آسیب پذیری امنیتی توی بسته‌ی rsync (قبل از نسخه‌ی 1-3.4.0) پیدا شده و بهتره آپدیتش کنین.

اطلاعات بیشتر

🚁 Hicte Blog
👍10
#کتاب

How Computers Really Work: A Hands-On Guide to the Inner Workings of the Machine

Author: Matthew Justice
Edition: 1st
Date: December 2020
Publisher: No Starch Press
Length: 392 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍61
HICTE Blog
#کتاب How Computers Really Work: A Hands-On Guide to the Inner Workings of the Machine Author: Matthew Justice Edition: 1st Date: December 2020 Publisher: No Starch Press Length: 392 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:

An approachable, hands-on guide to understanding how computers work, from low-level circuits to high-level code.

How Computers Really Work is a hands-on guide to the computing ecosystem: everything from circuits to memory and clock signals, machine code, programming languages, operating systems, and the internet.

But you won't just read about these concepts, you'll test your knowledge with exercises, and practice what you learn with 41 optional hands-on projects. Build digital circuits, craft a guessing game, convert decimal numbers to binary, examine virtual memory usage, run your own web server, and more.

Explore concepts like how to:

    Think like a software engineer as you use data to describe a real world concept
    Use Ohm's and Kirchhoff's laws to analyze an electrical circuit
    Think like a computer as you practice binary addition and execute a program in your mind, step-by-step


The book's projects will have you translate your learning into action, as you:

    Learn how to use a multimeter to measure resistance, current, and voltage
    Build a half adder to see how logical operations in hardware can be combined to perform useful functions
    Write a program in assembly language, then examine the resulting machine code
    Learn to use a debugger, disassemble code, and hack a program to change its behavior without changing the source code
    Use a port scanner to see which internet ports your computer has open
    Run your own server and get a solid crash course on how the web works


And since a picture is worth a thousand bytes, chapters are filled with detailed diagrams and illustrations to help clarify technical complexities.

Requirements: The projects require a variety of hardware - electronics projects need a breadboard, power supply, and various circuit components; software projects are performed on a Raspberry Pi. Appendix B contains a complete list. Even if you skip the projects, the book's major concepts are clearly presented in the main text.
👍2
#سی

توی C اسامی رو بصورتی که اولش _ و یه حرف بزرگ یا __ باشه ننویسید.

خطایی وجود نداره اما توصیه کمیته‌ی استاندارد این هست.

علتش هم اینه که اگه بخوان توی استانداردهای جدیدتر C در آینده کلیدواژه‌ی جدیدی رو معرفی کنن میان بصورتی که _X یا __ [اون X میتونه هر حرف بزرگ انگلیسی باشه] تو اول اسم کلیدواژه باشه ایجادش میکنن تا با اسامی‌ای که توسعه دهنده‌ها تو کدای قدیمی‌شون استفاده کردن تداخلی ایجاد نشه و بهشون Reserved Identifiers میگن.

مثلا تایپ بولین توی C99 معرفی شد و برای کلیدواژه‌ش
_Bool
رو اختصاص دادن و از bool استفاده نکردن چون توی کدای قدیمی ملت برای خودشون bool رو برای بولین [خود زبان تایپ بولین نداشت قبل ۹۹] تعریف میکردن.

حالا اگه شما بیاین مثلا اسم متغیر رو
_Complex
یا
__complex
بذارین ممکنه بعدا یه کلیدواژه بیاد که همون اسم متغیر شما باشه و حالا باید بشینین ریفکتور کنین زخم شین.

پی‌نوشت۱: البته الان توی C23 بعد چندین سال فاصله دیگه رسما کلیدواژه bool رو قرار دادن.

پی‌نوشت۲: با هدر stdbool.h هم میشد از bool استفاده کرد و این اختیار وجود داشت اگه توی کدی قبلا bool استفاده نشده با اضافه کردن این هدر از کلیدواژه bool استفاده کرد.

مطالعه‌ی بیشتر
🚁 Hicte Blog
2👍11🔥4👌2
#کتاب

Crafting Interpreters

Author: Robert Nystrom
Edition: 1st
Date: July 2021
Publisher: Genever Benning
Length: 639 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍31🙏1
HICTE Blog
#کتاب Crafting Interpreters Author: Robert Nystrom Edition: 1st Date: July 2021 Publisher: Genever Benning Length: 639 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:

Despite using them every day, most software engineers know little about how programming languages are designed and implemented. For many, their only experience with that corner of computer science was a terrifying "compilers" class that they suffered through in undergrad and tried to blot from their memory as soon as they had scribbled their last NFA to DFA conversion on the final exam.

That fearsome reputation belies a field that is rich with useful techniques and not so difficult as some of its practitioners might have you believe. A better understanding of how programming languages are built will make you a stronger software engineer and teach you concepts and data structures you'll use the rest of your coding days. You might even have fun.

This book teaches you everything you need to know to implement a full-featured, efficient noscripting language. You’ll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection. Your brain will light up with new ideas, and your hands will get dirty and calloused.

Starting from main(), you will build a language that features rich syntax, dynamic typing, garbage collection, lexical scope, first-class functions, closures, classes, and inheritance. All packed into a few thousand lines of clean, fast code that you thoroughly understand because you wrote each one yourself.
👍3
😁8👍4
#کتاب

Operating Systems: Three Easy Pieces

Author: Remzi H. and Andrea C. Arpaci-Dusseau
Edition: v1.10
Date: October 2023
Publisher: Arpaci-Dusseau Books
Length: 920 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍5🔥1
HICTE Blog
#کتاب Operating Systems: Three Easy Pieces Author: Remzi H. and Andrea C. Arpaci-Dusseau Edition: v1.10 Date: October 2023 Publisher: Arpaci-Dusseau Books Length: 920 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:

The book is organized around three concepts fundamental to OS construction: virtualization (of CPU and memory), concurrency (locks and condition variables), and persistence (disks, RAIDS, and file systems).The material, if combined with serious project work and homeworks, will lead students to a deeper understanding and appreciation of modern OSes.The authors, Remzi and Andrea Arpaci-Dusseau, are both professors of Computer Sciences at the University of Wisconsin-Madison. They have been doing research in computer systems for 30 years, working together since their first graduate operating systems class at U.C. Berkeley in 1993. Since that time, they have published over 100 papers on the performance and reliability of many aspects of modern computer systems, with a special focus on file and storage systems. Their work has been recognized with numerous best-paper awards, a test of time award, and some of their innovations can be found in the Linux and BSD operating systems today. Both were named ACM Fellows for "contributions to storage and computer systems" and both received the ACM-SIGOPS Mark Weiser award for "outstanding leadership, innovation, and impact in storage and computer systems research."
#سی

یکی از چیزایی که توی استاندارد C23 اضافه شد Bit-precise integer types هست.

میتونی با
_BitInt(width)
یه اینتیجر با اندازه دلخواه داشته باشی و اندازه‌ش لزوما توانی از دو نباشه.

مثلا بسته به نیازت یه اینتیجر 3 بیتی تعریف کنی:
_BitInt(3) my_var = 3;

همینطور طبیعتا
unsigned _BitInt()
هم داریم:
unsigned _BitInt(3) my_var = 7;


و با ماکروی BITINT_MAXWIDTH از limits.h میتونین حداکثر اندازه‌ش توی پلتفرم مشخص رو بدست بیارین.

البته کاربرد اصلی این ویژگی افزایش قابل حمل بودن کدهاتون هست و میتونین این تضمین رو دریافت کنین که تایپتون روی پلتفرمای مختلف اندازه‌ی N بیت ثابت داشته باشه.

مطالعه‌ی بیشتر

🚁 Hicte Blog
👍5🔥1👌1👨‍💻1
#کتاب

Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software

Author: Eric Freeman and Elisabeth Robson
Edition: 2nd
Date: December 2020
Publisher: O'Reilly Media
Length: 669 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍3
HICTE Blog
#کتاب Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software Author: Eric Freeman and Elisabeth Robson Edition: 2nd Date: December 2020 Publisher: O'Reilly Media Length: 669 pages Amazon 👀 Download 😉 🚁 Hicte Blog
توضیحات:

What will you learn from this book?

You know you don't want to reinvent the wheel, so you look to Design Patterns: the lessons learned by those who've faced the same software design problems. With Design Patterns, you get to take advantage of the best practices and experience of others so you can spend your time on something more challenging. Something more fun. This book shows you the patterns that matter, when to use them and why, how to apply them to your own designs, and the object-oriented design principles on which they're based. Join hundreds of thousands of developers who've improved their object-oriented design skills through Head First Design Patterns.

What's so special about this book?

If you've read a Head First book, you know what to expect: a visually rich format designed for the way your brain works. With Head First Design Patterns, 2E you'll learn design principles and patterns in a way that won't put you to sleep, so you can get out there to solve software design problems and speak the language of patterns with others on your team.
#میم

Average Gentoo users.

🚁 Hicte Blog
🤣10
#گوناگون

بدرد نخور ترین دکمه‌ی کیبورد.

امروز ریمپش کردم به win بلکه یکم از بیکاری در بیاد.

🚁 Hicte Blog
👍7😁2😡1
#والپیپر

نکته۱: بهتره align icons to grid رو غیر فعال کنین برای دسکتاپ تا بشه راحت جای آیکون‌ها رو مشخص کرد.

نکته۲: برای نشون ندادن اسم‌ها هم اول یه نوت پد باز کنین کلید Alt رو نگه دارین و 255 رو با کلیدای numpad بزنین و کاراکتری که ایجاد میشه رو توی کلیپ بورد ذخیره کنین. حالا موقع rename آیکون‌ها به ترتیب n بار این کاراکتر رو paste کنین. مثلا اسم آیکون اول رو یه کاراکتر و دومی رو دو کاراکتر و ... قرار بدین.

🚁 Hicte Blog
🔥5👍31
#کتاب

Pointers in C Programming: A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays

Author: Thomas Mailund
Edition: 1st
Date: April 2021
Publisher: Apress
Length: 552 pages


Amazon 👀
Download 😉

🚁 Hicte Blog
👍6🔥2