TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #281 · 18 авг.

Что-то вы гоните насчет "привычного вида формата 755 и 644". Я вот вообще не понял что это!😳 Действительно, что означают цифры которые мы получили в прошлом посте? Это кодировка, заключающая в себе режимы доступа к файлу. Подробней можно почитать в статье про chmod. Там можно увидеть альтернативное обозначение того же самого с помощью символов r w x, что значит чтение, запись, исполнение. Чтобы преобразовать восьмеричное число в такое обозначение в Python есть готовая функция >>> stat.filemode(0o755) '?rwxr-xr-x' Мы видим 3 группы по 3 символа, дающие 3 типа доступа для 3 типов юзеров. А что за знак вопроса в начале? Давайте передадим в эту функцию необрезанное значение от os.stat >>> stat.filemode(os.stat(path).st_mode) 'drwxr-xr-x' Это данные, которые мы безжалостно обрезали в прошлый раз😼 Первый символ обозначает тип объекта. Это может быть файл (-), директория (d) или симлинк (l). Вот простая схема данной кодировки [1][3][3][3] │ │ │ │ │ │ │ └──> Others Permissions │ │ └─────> Group Permissions │ └────────> Owner Permissions └───────────> File Type (разверните экран если вы с телефона) Если вы попробуете получить пермишены для симлинка то получите пермишены для файла >>> path = '.venv/bin/python3' >>> stat.filemode(os.stat(path).st_mode) '-rwxr-xr-x' Чтобы получить свойства именно симлинка, нужно это явно указать >>> stat.filemode(os.stat(path, follow_symlinks=False).st_mode) 'lrwxrwxrwx' #tricks#basic

Резултати

Пронајдени 2 слични објави

Пребарај: #framing

当前筛选 #framing清除筛选
Journey to Fluency

@fluencyinenglish · Post #7911 · 21.02.2026 г., 06:08

Spin (verb)/(noun) Verb: to present information in a favorable or strategic way Noun: a biased or strategic way of presenting information Example (verb): The government tried to spin the economic data as a success. دولت تلاش کرد داده‌های اقتصادی را به‌گونه‌ای ارائه کند که موفقیت‌آمیز به نظر برسد. Example (noun): The press secretary put a positive spin on the policy failure. سخنگوی مطبوعاتی به شکست سیاست، تفسیر مثبتی داد. Put a spin on : present something strategically She put a positive spin on the election results. او نتایج انتخابات را به شکل مثبتی تفسیر کرد. Spin doctor : political advisor who manages public perception The spin doctor tried to downplay the scandal. مشاور سیاسی سعی کرد رسوایی را کم‌اهمیت جلوه دهد. #idioms #discourseanalysis #criticalthinking #spin #framing #ielts#cae#fce

Red Nile

@rednile12 · Post #11017 · 16.02.2026 г., 16:08

📝ANALYSIS: The Unmasking of Addis Standard: Independence or Illusion? ✍🏽By Dhuga Bilisuma | Red Nile Contributor 📅 February 16, 2026 In a detailed piece for RedNile, contributor Dhuga Bilisuma subjects Addis Standard’s recent coverage to rigorous academic scrutiny, questioning whether the outlet’s self-proclaimed “independence” withstands analytical review. Drawing from established media theory — including the framing work of Robert Entman and agenda-setting theory — the article examines three editorial patterns from January–February 2026 that raise concerns about conflict-sensitive reporting standards in Ethiopia’s fragile post-conflict environment. 1️⃣ Territorial Framing: “Wolkait” vs. “Western Tigray” When Prime Minister Abiy Ahmed referred to “Wolkait” during parliamentary remarks, Addis Standard’s headline substituted the term with “Western Tigray.” 📌The Critique: Framing theory suggests such terminology shifts are not neutral. In a contested territorial dispute, choosing nomenclature different from the speaker’s own wording can signal narrative alignment — especially when competing historical and constitutional claims are involved. The report, according to Bilisuma, lacked the contextual clarification recommended by conflict-sensitive journalism standards. 2️⃣ Agenda-Setting: Selective Visibility of Protests In late January, demonstrations reportedly took place in #Telemt, #Humera, #Wofla, #Korem, #Zata, #Dabat, #Debark, and #Dejach_Meda, with protesters calling for full implementation of the 2022 Pretoria Peace Agreement. #AddisStandard reportedly provided no coverage of these protests. 📌The Critique: Agenda-setting theory argues that what media omits can be as influential as what it highlights. For diaspora readers — who rely heavily on English-language reporting — such omissions may shape international perception by rendering certain grievances invisible in global discourse. 3️⃣ Post-Publication Revision: The “Maneuver” Case In reporting remarks from the Tigray Interim Administration, the outlet initially used the military term “maneuvering” to describe troop movements. 📌The Critique: While revisions are common in journalism, Bilisuma points to a pattern of reactive, non-transparent language adjustments. In a post-conflict setting governed by the Pretoria Agreement, terms like “maneuver,” “movement,” or “deployment” carry significant implications regarding compliance or breach. Inconsistent transparency in edits can undermine public trust. 4️⃣ The Broader Pattern: Asymmetrical Context The article argues that detailed historical grievances and counter-arguments are frequently added when framing federal officials. However, similar contextual depth is not consistently applied when reporting on actors associated with #TPLF leadership. 📌The Critique: This uneven distribution of contextual scrutiny may generate cumulative narrative asymmetry — shaping reader perception without explicit editorial positioning. 🧭 The Verdict Bilisuma stops short of alleging intentional bias. Instead, he argues that the cumulative effect of terminology choices, selective coverage, and revision practices constructs a particular political terrain for readers. For diaspora audiences — whose understanding of events often depends on outlets like #AddisStandard — these framing dynamics carry amplified consequences. “Media independence is not established solely through mission statements. It is demonstrated through transparent editorial standards.” ♦️Bottom Line: A must-read for anyone who consumes Ethiopian media critically. In fragile post-conflict societies, framing is never just semantics — it is politics. 📌Read the full article here: The Unmasking of Addis Standard: Independence or Illusion? #Ethiopia#MediaAnalysis#AddisStandard#RedNile#ConflictReporting#Framing