<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Karl Xavier</title>
    <description>The latest articles on DEV Community by Karl Xavier (@gotoxavier2333).</description>
    <link>https://dev.to/gotoxavier2333</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1232407%2Fd1a85bb4-da9e-4188-8049-dd336848f154.png</url>
      <title>DEV Community: Karl Xavier</title>
      <link>https://dev.to/gotoxavier2333</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gotoxavier2333"/>
    <language>en</language>
    <item>
      <title>Balance beam</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Wed, 31 Jul 2024 02:58:42 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/balance-beam-5e9k</link>
      <guid>https://dev.to/gotoxavier2333/balance-beam-5e9k</guid>
      <description>&lt;p&gt;Stress is pervasive, whether it's the anxiety of an upcoming interview, the challenge of a new job, financial concerns, or unemployment. Learning to coexist with stress has become essential in today's world.&lt;/p&gt;

&lt;p&gt;How to deal with my stress? &lt;/p&gt;

&lt;p&gt;Having a certain amount of stress is not necessarily a bad thing. On the contrary, controlling your stress well can turn it into motivation.&lt;/p&gt;

&lt;p&gt;We need to understand the value of stress; it is not just a burden, but also an incentive. When managed correctly, stress can drive you to surpass yourself and achieve your goals. &lt;/p&gt;

&lt;p&gt;When facing pressure, adopt a positive attitude. Turn "I can't" into "I will try," and try to find solutions to problems. Build confidence through small steps of success. Each time you successfully overcome a small challenge, it will increase your confidence in your abilities and better prepare you for greater pressures. Maintain an optimistic mindset and believe in your ability to overcome difficulties. Optimism can help you see the positive side behind the pressure and inspire your motivation.&lt;/p&gt;

&lt;p&gt;Learn to relax at the right time when facing pressure by meditating, taking walks or listening to music so that both body and mind get rest and have more energy to face challenges.&lt;/p&gt;

&lt;p&gt;When feeling stressed, do not bear it alone. Seek support from friends, family or colleagues; their encouragement and advice can help you better cope with stress. Find ways that motivate yourself whether through rewarding yourself or setting up reward mechanisms or imagining joy after success. Treat each instance of pressure as an opportunity for learning and growth. Reflect on the source of pressure and how you respond. Learn from this processand improve. Maintain a grateful mindset; be thankful for every challenge and opportunity in life.&lt;/p&gt;

&lt;p&gt;Gratitude helps you see the value behindthe pressureand inspires your motivation. Most importantly,enjoythe processof dealing withpressure. View each challenge as an adventure, and enjoy the funand growth with in.&lt;/p&gt;

&lt;p&gt;Through these methods,y ou can transform stress in to a driving force for moving forward. Not only can you cope with challenges, but you can also growand improve in the process.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Low code is evil</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Tue, 30 Jul 2024 07:35:24 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/low-code-is-evil-3bg0</link>
      <guid>https://dev.to/gotoxavier2333/low-code-is-evil-3bg0</guid>
      <description>&lt;p&gt;If someone says that it can be a universal software or that you can do whatever you want on their platform. Then please block him.&lt;/p&gt;

&lt;p&gt;I'm not saying that &lt;strong&gt;low code&lt;/strong&gt; is bad, on the contrary, if they control the boundaries, low code should provide a good service experience, at least for non-programmers.&lt;/p&gt;

&lt;p&gt;Over-marketing of low-code technology is not only irresponsible to consumers in the market, but also deeply hurts the developers who created the technology. Uninformed bosses spend a lot of money hiring developers, buying equipment or cloud services, all with the goal of making a big splash in the market. In the end, they find that they cannot even implement the most basic business logic. Technical staff feel frustrated and confused about not being able to meet the company's expected goals. It seems like a huge scam.&lt;/p&gt;

&lt;p&gt;Revised sentence: "An increasing number of low-code frameworks or platforms are emerging rapidly, but only a few have achieved successful commercialization and profitability. While it may sound exciting to claim that 'you can achieve any business you want by configuring (by dragging and dropping some components and combining them),' it's important to remember that no software can solve all problems, even if it were developed by the most skilled professionals."&lt;/p&gt;

</description>
      <category>lowcode</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Four problems can potentially arise if you focus too much on goals</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Fri, 05 Jan 2024 06:20:52 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/four-problems-can-potentially-arise-if-you-focus-too-much-on-goals-2n2n</link>
      <guid>https://dev.to/gotoxavier2333/four-problems-can-potentially-arise-if-you-focus-too-much-on-goals-2n2n</guid>
      <description>&lt;ul&gt;
&lt;li&gt;One: Winners and losers share the same goal.&lt;/li&gt;
&lt;li&gt;Two: Goal achievement is only temporary.&lt;/li&gt;
&lt;li&gt;Three: A goal limits your happiness.&lt;/li&gt;
&lt;li&gt;Four: A goal does not support long-term progress.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Difference between . and : in Lua programming</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Thu, 04 Jan 2024 05:58:13 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/difference-between-and-in-lua-programming-4936</link>
      <guid>https://dev.to/gotoxavier2333/difference-between-and-in-lua-programming-4936</guid>
      <description>&lt;p&gt;The .(dot) operator in Lua is used to invoke the method of an object, and it is a widely used operator in Lua.&lt;/p&gt;

&lt;p&gt;The :(colon) operator in Lua is used when you want to pass an invisible parameter to the method of an object that you are calling.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EPb18lis--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lnpzxld2qq8wchiso0yx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EPb18lis--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lnpzxld2qq8wchiso0yx.png" alt="lua code" width="800" height="253"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;when we use the colon(:) operator what actually happens is that instead of calling &lt;code&gt;v3 = returnX:fun1(100, 1)&lt;/code&gt; what gets called is −&lt;br&gt;
&lt;code&gt;v3 = returnX:fun1(returnX, 100, 1)&lt;/code&gt; and hence we get the output as an address, and so in the second case when we call returnX:bar(10,11) the second argument will be 10 and that’s what we get.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OB0txfT2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7zstihpx839lrhlf5gv5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OB0txfT2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7zstihpx839lrhlf5gv5.png" alt="lua result" width="442" height="155"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>lua</category>
    </item>
    <item>
      <title>Suspending vim</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Thu, 04 Jan 2024 02:37:48 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/suspending-vim-cca</link>
      <guid>https://dev.to/gotoxavier2333/suspending-vim-cca</guid>
      <description>&lt;p&gt;If you need to suspend Vim while in the middle of editing, you can press  Ctrl-z . You can also run either the  &lt;code&gt;:stop&lt;/code&gt;  or  &lt;code&gt;:suspend&lt;/code&gt;  command. To return to the suspended Vim, run  &lt;code&gt;fg&lt;/code&gt;  from the terminal.&lt;/p&gt;

</description>
      <category>vim</category>
    </item>
    <item>
      <title>The Pivotal Nexus of Power and Progress</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Thu, 21 Dec 2023 02:45:14 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/the-pivotal-nexus-of-power-and-progress-11am</link>
      <guid>https://dev.to/gotoxavier2333/the-pivotal-nexus-of-power-and-progress-11am</guid>
      <description>&lt;p&gt;Ensconced in the labyrinthine grandeur of the imperial palace, the emperor's court was a notable paradox of constant precision and unexpected blossoming. Conflicts, akin to a tug of war, ensued as the regent - a previously subservient facilitator of order - began to ardently argue for reforms against the staunchly conservative philosophy of the emperor's advisory council.&lt;/p&gt;

&lt;p&gt;Simmering beneath the surface of hushed discourses, an insidious force was gradually stirring. Barely perceptible, akin to the slow accumulation of methane in an unseen reservoir, it threatened an explosive alteration to the existing order if triggered.&lt;/p&gt;

&lt;p&gt;An observer amidst this intrigue was an unassuming philosopher, habitually easy-going yet quietly astute. From the sidelines, he scrutinized the steely hierarchy and detected an undercurrent, a swell of influence that was foreign to the traditional court. This influence was the burgeoning power of a consortium whose presence was being subtly felt through electronic and electrical channels.&lt;/p&gt;

&lt;p&gt;The integration and influence offered by the consortium constituted a desirable prospect for the philosophically inclined regent. The philosopher, with his keen gaze, watched as a chronic imbalance began to surface within the power dynamics. The regent's tacit alliance with the consortium promised not only technological advancement but possibility of an ideological overhaul.&lt;/p&gt;

&lt;p&gt;Such marked deviation from classical governance was viewed as heretical by the traditionalists of the imperial bureaucracy. Accustomed to the precepts of authority, they perceived the regent's techno-philosophical alliance as a renunciation of the long-held principles that had steadied the empire. Cultural philosophy and socio-political stability were at the brink of polarized disorientation.&lt;/p&gt;

&lt;p&gt;Would the empire tilt towards the consortium's shadowy promises of scientific progress and an enlightened philosophy? Or would it resist and retreat into the well-worn structure of traditions set in stone, preserving the rigid hierarchy, yet risking irrelevance? Such questions permeated through the halls of the palace, their echoes bouncing off the cold, stone walls.&lt;/p&gt;

&lt;p&gt;The entwined trajectories of the regent, the philosopher, and the consortium were at a critical juncture. As power stakes cluttered and ideologies clashed, decision-makers braced for the impending outcome. The empire languished at the precipice of a revolutionary era, the ride towards which promised to be as dramatic as the unique roll film of unfolding events, captured in the philosopher's contemplative repertoire.&lt;/p&gt;

</description>
      <category>chatgpt</category>
    </item>
    <item>
      <title>On Writing Well (Part I Simplicity)</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Wed, 20 Dec 2023 07:54:56 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/on-writing-well-part-i-simplicity-3mi7</link>
      <guid>https://dev.to/gotoxavier2333/on-writing-well-part-i-simplicity-3mi7</guid>
      <description>&lt;h3&gt;
  
  
  Part I Principles
&lt;/h3&gt;

&lt;h5&gt;
  
  
  2. Simplicity
&lt;/h5&gt;

&lt;p&gt;Clutter is the disease of American writing. We are a society strangling in unnecessary words, circular constructions, pompous frills and meaningless jargon.&lt;/p&gt;

&lt;p&gt;Who can understand the clotted language of everyday American&lt;br&gt;
commerce: the memo, the corporation report, the business letter, the&lt;br&gt;
notice from the bank explaining its latest “simplified” statement? What member of an insurance or medical plan can decipher the brochure explaining his costs and benefits? What father or mother can put together a child’s toy from the instructions on the box? Our national tendency is to inflate and thereby sound important. The airline pilot who announces that he is presently anticipating experiencing considerable precipitation wouldn’t think of saying it may rain. The sentence is too simple—there must be something wrong with it.&lt;/p&gt;

&lt;p&gt;But the secret of good writing is to strip every sentence to its cleanest components. Every word that serves no function, every long word that could be a short word, every adverb that carries the same meaning that’s already in the verb, every passive construction that leaves the reader unsure of who is doing what—these are the thousand and one adulterants that weaken the strength of a sentence. And they usually occur in proportion to education and rank.&lt;/p&gt;

&lt;p&gt;During the 1960s the president of my university wrote a letter to&lt;br&gt;
mollify the alumni after a spell of campus unrest. “You are probably aware,” he began, “that we have been experiencing very considerable potentially explosive expressions of dissatisfaction on issues only partially related.” He meant that the students had been hassling them about different things. I was far more upset by the president’s English than by the students’ potentially explosive expressions of dissatisfaction. I would have preferred the presidential approach taken by Franklin D. Roosevelt when he tried to convert into English his own government’s memos, such as this blackout order of 1942:&lt;/p&gt;

&lt;p&gt;Such preparations shall be made as will completely obscure all&lt;br&gt;
Federal buildings and non-Federal buildings occupied by the Federal&lt;br&gt;
government during an air raid for any period of time from visibility by reason of internal or external illumination.&lt;/p&gt;

&lt;p&gt;“Tell them,” Roosevelt said, “that in buildings where they have to keep the work going to put something across the windows.” &lt;/p&gt;

&lt;p&gt;Simplify, simplify. Thoreau said it, as we are so often reminded, and no American writer more consistently practiced what he preached. Open Walden to any page and you will find a man saying in a plain and orderly way what is on his mind:&lt;/p&gt;

&lt;p&gt;I went to the woods because I wished to live deliberately, to front&lt;br&gt;
only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.&lt;/p&gt;

&lt;p&gt;How can the rest of us achieve such enviable freedom from clutter?&lt;br&gt;
The answer is to clear our heads of clutter. Clear thinking becomes clear writing; one can’t exist without the other. It’s impossible for a muddy thinker to write good English. He may get away with it for a paragraph or two, but soon the reader will be lost, and there’s no sin so grave, for the reader will not easily be lured back.&lt;/p&gt;

&lt;p&gt;Who is this elusive creature, the reader? The reader is someone with an attention span of about 30 seconds—a person assailed by many forces competing for attention. At one time those forces were relatively few: newspapers, magazines, radio, spouse, children, pets. Today they also include a galaxy of electronic devices for receiving entertainment and information—television, VCRs, DVDs, CDs, video games, the Internet, e-mail, cell phones, BlackBerries, iPods—as well as a fitness program, a pool, a lawn and that most potent of competitors, sleep. The man or woman snoozing in a chair with a magazine or a book is a person who was being given too much unnecessary trouble by the writer.&lt;/p&gt;

&lt;p&gt;It won’t do to say that the reader is too dumb or too lazy to keep pace with the train of thought. If the reader is lost, it’s usually because the writer hasn’t been careful enough. That carelessness can take any number of forms. Perhaps a sentence is so excessively cluttered that the reader, hacking through the verbiage, simply doesn’t know what it means. Perhaps a sentence has been so shoddily constructed that the reader could read it in several ways. Perhaps the writer has switched pronouns in midsentence, or has switched tenses, so the reader loses track of who is talking or when the action took place. Perhaps Sentence B is not a logical sequel to Sentence A; the writer, in whose head the connection is clear,&lt;br&gt;
hasn’t bothered to provide the missing link. Perhaps the writer has used a word incorrectly by not taking the trouble to look it up.&lt;/p&gt;

&lt;p&gt;Faced with such obstacles, readers are at first tenacious. They blame themselves—they obviously missed something, and they go back over the mystifying sentence, or over the whole paragraph, piecing it out like an ancient rune, making guesses and moving on. But they won’t do that for long. The writer is making them work too hard, and they will look for one who is better at the craft.&lt;/p&gt;

&lt;p&gt;Writers must therefore constantly ask: what am I trying to say?&lt;br&gt;
Surprisingly often they don’t know. Then they must look at what they have written and ask: have I said it? Is it clear to someone encountering the subject for the first time? If it’s not, some fuzz has worked its way into the machinery. The clear writer is someone clearheaded enough to see this stuff for what it is: fuzz.&lt;/p&gt;

&lt;p&gt;I don’t mean that some people are born clearheaded and are therefore natural writers, whereas others are naturally fuzzy and will never write well. Thinking clearly is a conscious act that writers must force on themselves, as if they were working on any other project that requires logic: making a shopping list or doing an algebra problem. Good writing doesn’t come naturally, though most people seem to think it does. Professional writers are constantly bearded by people who say they’d like to “try a little writing sometime”—meaning when they retire from their real profession, like insurance or real estate, which is hard. Or they say, “I could write a book about that.” I doubt it.&lt;/p&gt;

&lt;p&gt;Writing is hard work. A clear sentence is no accident. Very few&lt;br&gt;
sentences come out right the first time, or even the third time. Remember this in moments of despair. If you find that writing is hard, it’s because it is hard.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>iTerm2 with tmux -CC</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Wed, 20 Dec 2023 05:34:22 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/iterm2-with-tmux-cc-4k9e</link>
      <guid>https://dev.to/gotoxavier2333/iterm2-with-tmux-cc-4k9e</guid>
      <description>&lt;h3&gt;
  
  
  iTerm2 is integrated with tmux-CC
&lt;/h3&gt;

&lt;p&gt;With iTerm2, there is no need to remember tmux commands and shortcut keys, you can easily open a new window and split the screen, and restore all after disconnection.&lt;/p&gt;

&lt;p&gt;It's super easy to use, just add the -CC parameter when using tmux in iTerm2:&lt;/p&gt;

&lt;p&gt;For example, &lt;code&gt;tmux&lt;/code&gt; becomes &lt;code&gt;tmux -CC&lt;/code&gt;;&lt;br&gt;
For example, &lt;code&gt;tmux new-session-A-s xxx&lt;/code&gt; becomes &lt;code&gt;tmux -CC new-session-A-s xxx&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If you configure the following in &lt;code&gt;~/.ssh/config&lt;/code&gt;, ssh login will automatically resume all Windows and programs last time, and the program will continue to run when accidentally disconnected:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host xxxxx
    RequestTTY Yes
    RemoteCommand tmux -u -CC new-session -A -D -X -s yyyyy /bin/bash
# Above xxxxx and yyyyy can be replaced with any name you like
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Documentation for iTerm2: &lt;a href="https://iterm2.com/documentation-tmux-integration.html"&gt;tmux Integration&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  This section describes common shortcut keys
&lt;/h3&gt;

&lt;p&gt;The following shortcuts belong to iTerm2 and are compatible with scenarios that do not use tmux.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;command + t&lt;/code&gt; New tab window &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + d&lt;/code&gt; Left and right split screen &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + shift + d&lt;/code&gt; Up and down split screen &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + [&lt;/code&gt; or &lt;code&gt;command + ]&lt;/code&gt; Switch between the split screen &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + &amp;lt;-&lt;/code&gt; or &lt;code&gt;command + -&amp;gt;&lt;/code&gt; Switch tab window &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + shift + enter&lt;/code&gt; a split screen full screen, Or restore&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + fn + &amp;lt;-&lt;/code&gt; Scroll to the beginning of the current output&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + fn + -&amp;gt;&lt;/code&gt; Scroll to the end of the current output &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + k&lt;/code&gt; Clear all the current output &lt;/li&gt;
&lt;li&gt;
&lt;code&gt;command + control + shift + d&lt;/code&gt; Disconnecting tmux and reconnecting restores all open Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Hide the tmux control window
&lt;/h3&gt;

&lt;p&gt;By default, after running tmux -CC, iTerm2 will display two Windows, the original window will be shown as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;** tmux mode started **

Command Menu
----------------------------
esc    Detach cleanly.
  X    Force-quit tmux mode.
  L    Toggle logging.
  C    Run tmux command.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can hide this window by setting, &lt;code&gt;iTerm2 -&amp;gt; Preferences... / Settings... -&amp;gt; General -&amp;gt; tmux&lt;/code&gt;:&lt;br&gt;
Select &lt;code&gt;Automatically bury the tmux client session after connecting&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  New window opens
&lt;/h3&gt;

&lt;p&gt;You can set the way to open the new window according to your own Preferences, &lt;code&gt;iTerm2 -&amp;gt; Preferences... / Settings... -&amp;gt; General -&amp;gt; tmux&lt;/code&gt;:&lt;br&gt;
&lt;code&gt;When attaching, restore windows as&lt;/code&gt;: Choose the way you like.&lt;br&gt;
After setting up, run &lt;code&gt;tmux -CC&lt;/code&gt; and you will see the difference in each way, which will not be detailed here.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hide the split screen title bar
&lt;/h3&gt;

&lt;p&gt;By default, Windows that use &lt;code&gt;tmux-CC&lt;/code&gt; split-screen display a single title bar, which is very ugly.&lt;br&gt;
The split screen title bar can be hidden by setting, &lt;code&gt;iTerm2 -&amp;gt; Preferences... / Settings... -&amp;gt; Appearance -&amp;gt; Panes&lt;/code&gt;:&lt;br&gt;
Do not select &lt;code&gt;Show per-pane title bar with split panes&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Inactive window style
&lt;/h3&gt;

&lt;p&gt;By default, Windows that use &lt;code&gt;tmux-CC&lt;/code&gt; split screens are gray when inactive and very ugly.&lt;br&gt;
You can optimize the style of the inactive window by setting, &lt;code&gt;iTerm2 -&amp;gt; Preferences... / Settings... -&amp;gt; Appearance -&amp;gt; Dimming&lt;/code&gt;:&lt;br&gt;
Check &lt;code&gt;Dimming affects only text, not background&lt;/code&gt;. That's it.&lt;/p&gt;

</description>
      <category>tmux</category>
      <category>iterm2</category>
      <category>macos</category>
    </item>
    <item>
      <title>On Writing Well (Part I The Transaction)</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Wed, 20 Dec 2023 03:44:46 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/on-writing-well-part-i-3ndg</link>
      <guid>https://dev.to/gotoxavier2333/on-writing-well-part-i-3ndg</guid>
      <description>&lt;h3&gt;
  
  
  Part I Principles
&lt;/h3&gt;

&lt;h5&gt;
  
  
  1. The Transaction
&lt;/h5&gt;

&lt;p&gt;A school in Connecticut once held "a day devoted to the arts," and I was asked if I would come and talk about writing as a vocation. When I arrived I found that a second speaker had been invited-Dr. Brock (as I'll call him), a surgeon who had recently begun to write and had sold some stories to magazines. He was going to talk about writing as an avocation. That made us a panel, and we sat down to face a crowd of students and teachers and parents, all eager to learn the secrets of our glamorous work.&lt;/p&gt;

&lt;p&gt;Dr. Brock was dressed in a bright red jacket, looking vaguely bohemian, as authors are supposed to look, and the first question went to him. What was it like to be a writer?&lt;/p&gt;

&lt;p&gt;He said it was tremendous fun. Coming home from an arduous day at the hospital, he would go straight to his yellow pad and write his tensions away. The words just flowed. It was easy. I then said that writing wasn't easy and wasn't fun. It was hard and lonely, and the words seldom just flowed.&lt;/p&gt;

&lt;p&gt;Next Dr. Brock was asked if it was important to rewrite. Absolutely not, he said. "Let is all hang out," he told us, and whatever form the sentences take will reflect the writer at his most natural. I then said that rewriting is the essence of writing. I pointed out that proffessional writers rewrite their sentences over and over and then rewrite what they have rewritten.&lt;/p&gt;

&lt;p&gt;“What do you do on days when it isn’t going well?” Dr. Brock was&lt;br&gt;
asked. He said he just stopped writing and put the work aside for a day when it would go better. I then said that the professional writer must establish a daily schedule and stick to it. I said that writing is a craft, not an art, and that the man who runs away from his craft because he lacks inspiration is fooling himself. He is also going broke.&lt;/p&gt;

&lt;p&gt;“What if you’re feeling depressed or unhappy?” a student asked. “Won’t that affect your writing?” Probably it will, Dr. Brock replied. Go fishing. Take a walk. Probably it won’t, I said. If your job is to write every day, you learn to do it like any other job.&lt;/p&gt;

&lt;p&gt;A student asked if we found it useful to circulate in the literary world. Dr. Brock said he was greatly enjoying his new life as a man of letters, and he told several stories of being taken to lunch by his publisher and his agent at Manhattan restaurants where writers and editors gather. I said that professional writers are solitary drudges who seldom see other writers.&lt;/p&gt;

&lt;p&gt;“Do you put symbolism in your writing?” a student asked me.&lt;/p&gt;

&lt;p&gt;“Not if I can help it,” I replied. I have an unbroken record of missing the deeper meaning in any story, play or movie, and as for dance and mime, I have never had any idea of what is being conveyed.&lt;/p&gt;

&lt;p&gt;“I love symbols!” Dr. Brock exclaimed, and he described with gusto the joys of weaving them through his work.&lt;/p&gt;

&lt;p&gt;So the morning went, and it was a revelation to all of us. At the end Dr. Brock told me he was enormously interested in my answers—it had never occurred to him that writing could be hard. I told him I was just as interested in his answers—it had never occurred to me that writing could be easy. Maybe I should take up surgery on the side.&lt;/p&gt;

&lt;p&gt;As for the students, anyone might think we left them bewildered. But in fact we gave them a broader glimpse of the writing process than if only one of us had talked. For there isn’t any “right” way to do such personal work. There are all kinds of writers and all kinds of methods, and any method that helps you to say what you want to say is the right method for you. Some people write by day, others by night. Some people need silence, others turn on the radio. Some write by hand, some by computer, some by talking into a tape recorder. Some people write their first draft in one long&lt;br&gt;
burst and then revise; others can’t write the second paragraph until they have fiddled endlessly with the first.&lt;/p&gt;

&lt;p&gt;But all of them are vulnerable and all of them are tense. They are&lt;br&gt;
driven by a compulsion to put some part of themselves on paper, and yet they don’t just write what comes naturally. They sit down to commit an act of literature, and the self who emerges on paper is far stiffer than the person who sat down to write. The problem is to find the real man or woman behind the tension.&lt;/p&gt;

&lt;p&gt;Ultimately the product that any writer has to sell is not the subject being written about, but who he or she is. I often find myself reading with interest about a topic I never thought would interest me—some scientific quest, perhaps. What holds me is the enthusiasm of the writer for his field. How was he drawn into it? What emotional baggage did he bring along? How did it change his life? It’s not necessary to want to spend a year alone at Walden Pond to become involved with a writer who did.&lt;/p&gt;

&lt;p&gt;This is the personal transaction that’s at the heart of good nonfiction writing. Out of it come two of the most important qualities that this book will go in search of: humanity and warmth. Good writing has an aliveness that keeps the reader reading from one paragraph to the next, and it’s not a question of gimmicks to “personalize” the author. It’s a question of using the English language in a way that will achieve the greatest clarity and&lt;br&gt;
strength.&lt;/p&gt;

&lt;p&gt;Can such principles be taught? Maybe not. But most of them can be&lt;br&gt;
learned.&lt;/p&gt;

</description>
      <category>books</category>
      <category>writing</category>
    </item>
    <item>
      <title>Writing a chapter in English</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Tue, 19 Dec 2023 08:23:30 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/writing-a-chapter-in-english-1lpa</link>
      <guid>https://dev.to/gotoxavier2333/writing-a-chapter-in-english-1lpa</guid>
      <description>&lt;p&gt;Writing a chapter in English can be a rewarding experience, and I'm here to guide you through the process. Here are some steps to help you write a chapter effectively:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Choose a Topic or Theme:&lt;/strong&gt;&lt;br&gt;
Decide on the subject matter of your chapter. What is the main idea or story you want to convey?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Outline Your Chapter:&lt;/strong&gt;&lt;br&gt;
Create a basic outline to organize your thoughts. List the main points or events you want to cover in the chapter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Set the Scene:&lt;/strong&gt;&lt;br&gt;
Begin by setting the scene for your reader. Describe the location, time, and atmosphere. Introduce the characters if they are part of your chapter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Develop the Narrative:&lt;/strong&gt;&lt;br&gt;
If you're writing a story, develop the plot by introducing a conflict or challenge that the characters must face. If it's non-fiction, present the information in a logical sequence.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use Descriptive Language:&lt;/strong&gt;&lt;br&gt;
Employ vivid language to paint a picture for your readers. Use adjectives and adverbs to add depth to your descriptions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Show, Don't Tell:&lt;/strong&gt;&lt;br&gt;
Instead of simply telling your readers what happens, show them through actions, thoughts, and dialogue.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Include Dialogue:&lt;/strong&gt;&lt;br&gt;
If your chapter involves characters, include dialogue to bring the interactions to life. Make sure the dialogue sounds natural and is consistent with each character's voice.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Maintain a Consistent Voice:&lt;/strong&gt;&lt;br&gt;
Keep your narrative voice consistent throughout the chapter. Whether it's first person, second person, or third person, make sure it aligns with the overall tone of your writing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use Varied Sentence Structure:&lt;/strong&gt;&lt;br&gt;
Mix short and long sentences to create rhythm in your writing. This can help maintain the reader's interest.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Edit and Revise:&lt;/strong&gt;&lt;br&gt;
After writing your first draft, take a break and then come back to it with fresh eyes. Look for grammatical errors, awkward phrasing, and areas where the flow could be improved.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Seek Feedback:&lt;/strong&gt;&lt;br&gt;
If possible, have someone else read your chapter and provide feedback. This can be invaluable in identifying areas that need clarification or improvement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Finalize Your Chapter:&lt;/strong&gt;&lt;br&gt;
Incorporate the feedback you've received, and make the necessary revisions. Read through your chapter several times to ensure it's polished and ready for readers.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Remember, writing is a process, and it's okay to take your time to get it right. Practice makes perfect, so keep writing and refining your skills. If you have any specific questions or need further assistance, feel free to ask. Good luck with your writing!&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to possesses an astonishing vocabulary</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Tue, 19 Dec 2023 08:09:47 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/how-to-possesses-an-astonishing-vocabulary-4183</link>
      <guid>https://dev.to/gotoxavier2333/how-to-possesses-an-astonishing-vocabulary-4183</guid>
      <description>&lt;p&gt;If you are in search of books to enhance your vocabulary, here are some recommended titles suitable for English learners at various levels:&lt;/p&gt;

&lt;p&gt;"Word Power Made Easy" by Norman Lewis – This book employs roots and word origins to teach vocabulary, aiding learners in memorizing and understanding an extensive array of words.&lt;/p&gt;

&lt;p&gt;"Merriam-Webster's Vocabulary Builder" – Offering a systematic approach to learning new words, this book includes numerous examples and exercises to reinforce memory.&lt;/p&gt;

&lt;p&gt;"1100 Words You Need to Know" by Murray Bromberg and Melvin Gordon – Structured around weekly word lists and exercises, along with engaging reading materials, this book assists readers in gradually expanding their vocabulary.&lt;/p&gt;

&lt;p&gt;"Barron's Essential Words for the IELTS" by Dr. Lin Lougheed – Tailored for those preparing for the IELTS exam, this book provides essential vocabulary, practice exercises, and mock tests.&lt;/p&gt;

&lt;p&gt;"English Vocabulary in Use" series by Cambridge University Press – Categorized into different levels (Elementary, Intermediate, and Advanced), each book in this series features practical topics and scenarios, along with relevant vocabulary and exercises.&lt;/p&gt;

&lt;p&gt;"McGraw-Hill's 400 Essential SAT Words" – Designed for students preparing for the SAT, this book lists key vocabulary commonly encountered in the exam and offers mnemonic techniques and exercises.&lt;/p&gt;

&lt;p&gt;"Oxford Picture Dictionary" – Ideal for beginners, this pictorial dictionary aids in learning words through visual association, making it suitable for learners with a strong visual memory.&lt;/p&gt;

&lt;p&gt;When selecting a vocabulary book, consider your learning objectives, current level of vocabulary, and your learning style. This will ensure that the book you choose is the most fitting for your needs.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>ai</category>
    </item>
    <item>
      <title>A cross-platform graphical system monitor</title>
      <dc:creator>Karl Xavier</dc:creator>
      <pubDate>Mon, 18 Dec 2023 05:58:14 +0000</pubDate>
      <link>https://dev.to/gotoxavier2333/a-cross-platform-graphical-system-monitor-3oi4</link>
      <guid>https://dev.to/gotoxavier2333/a-cross-platform-graphical-system-monitor-3oi4</guid>
      <description>&lt;p&gt;Hi, Today I will introduce one graphical system monitor called "bottom". Bottom is a process/system visualization and management application that provides comprehensive system monitoring capabilities. &lt;/p&gt;

&lt;p&gt;It offers a real-time visualization of CPU usage over time, both at an average and per-core level. This allows users to easily identify and track CPU-intensive processes.In addition to CPU usage, Bottom also displays RAM and swap usage over time. This provides valuable insights into the memory utilization of the system, helping users identify potential memory issues or optimize their system's performance.Another feature of Bottom is its ability to display network I/O usage over time. This allows users to monitor network traffic and identify potential network-related issues.&lt;/p&gt;

&lt;p&gt;Bottom also includes a range of widgets that provide additional information about the system. These include a disk capacity widget, temperature sensor widget, and battery usage widget. These widgets provide quick and convenient access to system information without having to navigate through multiple menus or applications.&lt;/p&gt;

&lt;p&gt;Furthermore, Bottom has a process widget that displays information about running processes. Users can sort and search processes using the process widget, making it easier to identify specific processes or manage running programs.&lt;/p&gt;

&lt;p&gt;One of the key features of Bottom is its support for kill signals. Users can send kill signals to processes to terminate them, which is useful for managing resource-intensive processes or responding to system crashes.Another noteworthy feature is its tree mode, which provides a hierarchical view of running processes, making it easier to navigate and manage process relationships.&lt;br&gt;
Bottom is also cross-platform, supporting Linux, macOS, and Windows. This makes it a versatile tool that can be used on multiple platforms without the need for additional configurations or adaptations.&lt;/p&gt;

&lt;p&gt;Lastly, Bottom offers extensive customization options. Users can control its behavior using command-line flags or a config file. This includes customizing color themes, modifying widget behavior, adjusting the layout of widgets, and filtering out entries in some widgets to tailor the display according to their specific needs or preferences.&lt;/p&gt;

</description>
      <category>rust</category>
      <category>python</category>
    </item>
  </channel>
</rss>
