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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #335 · 29 мар.

В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount mount -t tmpfs -o size=5G tmpfs /mnt/ram Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно? ▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD. ▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем. ▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов. Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM. Вот мои результаты: Single File Size: 30.0Gb ssd > ssd: 0:00:12.850 / 2.3Gb/s sdd > ram: 0:00:06.453 / 4.6Gb/s ram > ram: 0:00:06.995 / 4.3Gb/s ram > sdd: 0:00:06.217 / 4.8Gb/s Dir size: 32.7Gb, File count: 11127 ssd > ssd: 0:00:15.063 / 2.2Gb/s sdd > ram: 0:00:08.486 / 3.9Gb/s ram > ram: 0:00:08.032 / 4.1Gb/s ram > sdd: 0:00:07.026 / 4.7Gb/s Скрипт для теста ↗️ На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD. В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения #linux#triks

Hashtags

Резултати

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

Пребарај: #truewisdom

当前筛选 #truewisdom清除筛选
1 English learning materials

@englishmeta1 · Post #250 · 26.06.2024 г., 10:40

Question ppl ask me often How can I improve my writing skills? Here is my reply Improving your writing skills is a valuable endeavor that can benefit you in many areas of life. Here are several strategies you can use to become a better writer: 1. Read Regularly: - Diverse Materials: Read a variety of genres, including fiction, non-fiction, journalism, and academic papers. This exposes you to different styles and vocabularies. - Analyzing: Pay attention to how authors construct sentences, develop ideas, and build arguments. Reflect on what makes their writing effective or ineffective. 2. Write Daily: - Journaling: Keep a daily journal to practice writing regularly. It doesn’t have to be formal; the goal is to make writing a habit. - Prompts: Use writing prompts to challenge yourself and spark creativity. Websites and books often offer daily prompts. 3. Learn the Basics: - Grammar and Syntax: Brush up on grammar and syntax rules. Resources like "The Elements of Style" by Strunk and White can be very useful. - Vocabulary: Expand your vocabulary through reading and using tools like a thesaurus. 4. Seek Feedback: - Peer Review: Share your writing with friends, colleagues, or writing groups to get constructive feedback. - Professional Feedback: Consider hiring a writing coach or taking a writing course. 5. Revise and Edit: - Multiple Drafts: Don’t be afraid to write multiple drafts. Revision is a crucial part of the writing process. - Editing: Learn to edit your work critically. Look for clarity, coherence, conciseness, and correctness. 6. Study Writing Techniques: - Workshops and Courses: Enroll in writing workshops or online courses. Websites like Coursera, Udemy, and edX offer courses on various aspects of writing. - Books on Writing: Read books about writing, such as "On Writing" by Stephen King or "Bird by Bird" by Anne Lamott. 7. Practice Different Styles: - Genres: Experiment with different genres (e.g., poetry, essays, short stories, technical writing) to find your strengths and preferences. - Perspectives: Write from different perspectives and in various voices to develop versatility. 8. Use Writing Tools: - Software: Use tools like Grammarly, Hemingway Editor, or ProWritingAid to help with grammar and style. - Outlining: Use outlining tools to organize your thoughts before you start writing. 9. Stay Motivated: - Set Goals: Set specific, achievable writing goals (e.g., write 500 words a day, complete a short story in a month). - Celebrate Progress: Acknowledge and celebrate your progress to stay motivated. 10. Read Aloud: - Hearing Your Writing: Reading your work aloud can help you catch errors and awkward phrasing that you might miss when reading silently. Improving your writing skills is a continuous process, and persistence is key. By integrating these strategies into your routine, you'll gradually become a more confident and effective writer. #sirjimmy#teamjimmy#writingskills#englishmadeeasy#truewisdom

English With Natives*

@sirjimmy · Post #31107 · 26.06.2024 г., 08:19

Question ppl ask me often How can I improve my writing skills? Here is my reply Improving your writing skills is a valuable endeavor that can benefit you in many areas of life. Here are several strategies you can use to become a better writer: 1. Read Regularly: - Diverse Materials: Read a variety of genres, including fiction, non-fiction, journalism, and academic papers. This exposes you to different styles and vocabularies. - Analyzing: Pay attention to how authors construct sentences, develop ideas, and build arguments. Reflect on what makes their writing effective or ineffective. 2. Write Daily: - Journaling: Keep a daily journal to practice writing regularly. It doesn’t have to be formal; the goal is to make writing a habit. - Prompts: Use writing prompts to challenge yourself and spark creativity. Websites and books often offer daily prompts. 3. Learn the Basics: - Grammar and Syntax: Brush up on grammar and syntax rules. Resources like "The Elements of Style" by Strunk and White can be very useful. - Vocabulary: Expand your vocabulary through reading and using tools like a thesaurus. 4. Seek Feedback: - Peer Review: Share your writing with friends, colleagues, or writing groups to get constructive feedback. - Professional Feedback: Consider hiring a writing coach or taking a writing course. 5. Revise and Edit: - Multiple Drafts: Don’t be afraid to write multiple drafts. Revision is a crucial part of the writing process. - Editing: Learn to edit your work critically. Look for clarity, coherence, conciseness, and correctness. 6. Study Writing Techniques: - Workshops and Courses: Enroll in writing workshops or online courses. Websites like Coursera, Udemy, and edX offer courses on various aspects of writing. - Books on Writing: Read books about writing, such as "On Writing" by Stephen King or "Bird by Bird" by Anne Lamott. 7. Practice Different Styles: - Genres: Experiment with different genres (e.g., poetry, essays, short stories, technical writing) to find your strengths and preferences. - Perspectives: Write from different perspectives and in various voices to develop versatility. 8. Use Writing Tools: - Software: Use tools like Grammarly, Hemingway Editor, or ProWritingAid to help with grammar and style. - Outlining: Use outlining tools to organize your thoughts before you start writing. 9. Stay Motivated: - Set Goals: Set specific, achievable writing goals (e.g., write 500 words a day, complete a short story in a month). - Celebrate Progress: Acknowledge and celebrate your progress to stay motivated. 10. Read Aloud: - Hearing Your Writing: Reading your work aloud can help you catch errors and awkward phrasing that you might miss when reading silently. Improving your writing skills is a continuous process, and persistence is key. By integrating these strategies into your routine, you'll gradually become a more confident and effective writer. #sirjimmy#teamjimmy#writingskills#englishmadeeasy#truewisdom