nixers.net_mybb.atom.xml - sfeed_tests - sfeed tests and RSS and Atom files
 (HTM) git clone git://git.codemadness.org/sfeed_tests
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       nixers.net_mybb.atom.xml (43917B)
       ---
            1 <?xml version="1.0" encoding="UTF-8"?>
            2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
            3         <title type="html"><![CDATA[nixers - All Forums]]></title>
            4         <subtitle type="html"><![CDATA[nixers - https://nixers.net]]></subtitle>
            5         <link rel="self" href="https://nixers.net/syndication.php"/>
            6         <id>https://nixers.net/</id>
            7         <link rel="alternate" type="text/html" href="https://nixers.net/"/>
            8         <updated>2021-11-07T19:10:36Z</updated>
            9         <generator uri="https://mybb.com">MyBB</generator>
           10         <entry xmlns="http://www.w3.org/2005/Atom">
           11                 <author>
           12                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
           13                 </author>
           14                 <published>2021-10-19T20:09:35Z</published>
           15                 <updated>2021-10-30T11:56:03Z</updated>
           16                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Nixers-Book-Club-Book-6-Introduction-to-Operating-Systems-Abstractions" />
           17                 <id>https://nixers.net/Thread-Nixers-Book-Club-Book-6-Introduction-to-Operating-Systems-Abstractions</id>
           18                 <title xml:space="preserve"><![CDATA[Nixers Book Club - Book #6: Introduction to Operating Systems Abstractions]]></title>
           19                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Nixers-Book-Club-Book-6-Introduction-to-Operating-Systems-Abstractions"><![CDATA[As proposed in the last thread, the next book of the Nixer's Book Club is gonna be <a href="https://archive.org/details/plan9designintro" target="_blank" rel="noopener" class="mycode_url">Introduction to Operating Systems Abstractions using Plan 9 from Bell Labs</a><br />
           20 <br />
           21 <img src="https://9p.io/plan9/img/plan9bunnywhite.jpg" alt="[Image: plan9bunnywhite.jpg]" class="mycode_img" loading="lazy" /><br />
           22 <br />
           23 We can do 2 chapters per week.<br />
           24 Our first session will be Nov 13, when we will discuss the first two chapters.<br />
           25 See you then!]]></content>
           26                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
           27         </entry>
           28         <entry xmlns="http://www.w3.org/2005/Atom">
           29                 <author>
           30                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
           31                 </author>
           32                 <published>2021-10-15T02:10:02Z</published>
           33                 <updated>2021-10-15T11:30:48Z</updated>
           34                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Your-top-10-commands" />
           35                 <id>https://nixers.net/Thread-Your-top-10-commands</id>
           36                 <title xml:space="preserve"><![CDATA[Your top 10 commands]]></title>
           37                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Your-top-10-commands"><![CDATA[After reading <a href="http://phroxy.z3bra.org/phlog.z3bra.org:70/0/my-top-10-commands.txt" target="_blank" rel="noopener" class="mycode_url">this post</a> on z3bra's phlog, I got curious to see what are my top 10 commands.<br />
           38 <br />
           39 <blockquote class="mycode_quote"><cite>Quote:</cite>Now what are YOUR top 10 commands ? <br />
           40 -- z3bra</blockquote>
           41 <br />
           42 On OpenBSD ksh, the history builtin only lists the last 10 commands on history, to list all commands, <a href="https://webzine.puffy.cafe/issue-1.html#tips" target="_blank" rel="noopener" class="mycode_url">you need to run this:</a><br />
           43 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>history 1</code></div></div>(history arguments are <span style="font-weight: bold;" class="mycode_b">[first [last]]</span>).<br />
           44 <br />
           45 So, this is the command I needed to run:<br />
           46 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>history 1 | awk '{print &#36;2}' | sort | uniq -c | sort -rn | head -n 10</code></div></div><br />
           47 My &#36;HISTSIZE is 1000, so my sample is not that big as z3bra's (whose &#36;HISTORY is ten times bigger).<br />
           48 <br />
           49 Here's my top 10:<br />
           50 <ul class="mycode_list"><li>1. vim: I expected that.<br />
           51 </li>
           52 <li>2. make: I use makefiles to build programs and documents, move my dotfiles to their proper places, etc.<br />
           53 </li>
           54 <li>3. cd<br />
           55 </li>
           56 <li>4. d: This is a shell function wrapper around tree(1) (actually colortree(1), a colored version of tree). Yes, I use tree(1), and not ls(1), to list the contents of a directory...<br />
           57 </li>
           58 <li>5. agenda: That's a shell script that shows a calendar for the current month, the events for the week and the tasks I need to do. Very handy. For events it calls calendar(1), for the tasks it calls todo(1). Both programs are part of my <a href="https://github.com/phillbush/orgutils" target="_blank" rel="noopener" class="mycode_url">orgutils</a>. This script reads the agenda and todo files in all directories of '~/proj/' (that is, in every project of mine), adds a prefix to each event and task corresponding to the project name, and pipes them to agenda(1) and todo(1).<br />
           59 </li>
           60 <li>6. git.<br />
           61 </li>
           62 <li>7. man.<br />
           63 </li>
           64 <li>8. xopen: That's my opener script. If I want to open a image with sxiv or a document with zathura, I just call xopen on them.<br />
           65 </li>
           66 <li>9. ssh.<br />
           67 </li>
           68 <li>10. fm: That's actually an alias for lf, the file manager, with some options.<br />
           69 </li>
           70 </ul>
           71 ]]></content>
           72                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
           73         </entry>
           74         <entry xmlns="http://www.w3.org/2005/Atom">
           75                 <author>
           76                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1240">ols</a>]]></name>
           77                 </author>
           78                 <published>2021-10-11T15:28:11Z</published>
           79                 <updated>2021-10-11T15:28:11Z</updated>
           80                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-webzine" />
           81                 <id>https://nixers.net/Thread-webzine</id>
           82                 <title xml:space="preserve"><![CDATA[webzine]]></title>
           83                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-webzine"><![CDATA[Greetings nixers,<br />
           84 <br />
           85 I've been thinking about doing some sort of nix-related webzine for a while now, and I know that the idea has been floated on IRC a few times already.<br />
           86 <br />
           87 My thoughts are a monthly publication with a couple of short articles (350-500 words), with one longer form (800-1000 words) and then possibly some sort of recurring theme like "shell one-liner of the month".<br />
           88 <br />
           89 Interested to hear thoughts and ideas for submissions; if all goes well I would like to get issue one launched before the end of the month (optimistic I know)<br />
           90 <br />
           91 Mock up below<br />
           92 <br />
           93 <img src="https://irc.ols.wtf/uploads/14bd737fefeb7551/image.png" alt="[Image: image.png]" class="mycode_img" loading="lazy" />]]></content>
           94                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
           95         </entry>
           96         <entry xmlns="http://www.w3.org/2005/Atom">
           97                 <author>
           98                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=80">venam</a>]]></name>
           99                 </author>
          100                 <published>2021-09-26T11:15:30Z</published>
          101                 <updated>2021-11-07T16:23:39Z</updated>
          102                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Nixers-net-Conf-2021" />
          103                 <id>https://nixers.net/Thread-Nixers-net-Conf-2021</id>
          104                 <title xml:space="preserve"><![CDATA[Nixers.net Conf 2021]]></title>
          105                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Nixers-net-Conf-2021"><![CDATA[<img src="https://nixers.net/conf/2021/nixers_conf_2021_poster_white.png" alt="[Image: nixers_conf_2021_poster_white.png]" class="mycode_img" loading="lazy" /><br />
          106 Hello nixers,<br />
          107 I'd like to announce the second edition of the nixers.net conf.<br />
          108 We will host the conference on Sunday the 7th of November between 2-4pm UTC depending on the number of talks.<br />
          109 <br />
          110 The call for proposal is open for 4-5 talks.<br />
          111 The presentations has to fulfill these criteria:<br />
          112 <ul class="mycode_list"><li>Fit within a time limit of 15min<br />
          113 </li>
          114 <li>3-5min for Q&amp;A<br />
          115 </li>
          116 <li>The topic should be anything that is usually posted on nixers: a project you are working on, a unix story, some research about a topic, some lesser known unix tool, stuff you've discovered on unix, etc..<br />
          117 </li>
          118 <li>The slides should contain the logo of the conf. You can find a <a href="https://nixers.net/conf/2021/nixers_conf_2021_white.png" target="_blank" rel="noopener" class="mycode_url">version for light background</a> and a <a href="https://nixers.net/conf/2021/nixers_conf_2021_black.png" target="_blank" rel="noopener" class="mycode_url">version for dark background</a>.<br />
          119 </li>
          120 <li>The presentation should be under CC-0 if recorded and sharing the slides.<br />
          121 </li>
          122 </ul>
          123 You can either choose to have your talk recorded or not.<br />
          124 Contact me on IRC, email, or on the forums with your ideas to reserve a spot. Send me your slides, general title, and ideas. Try to finalize it as much as possible before contacting me, and let me know how you'd like to be addressed.<br />
          125 <br />
          126 Be sure to share you slides and content at least 4 days before the conf to be included in the schedule. Otherwise, you can always geek out with members after the "official" talks and present whatever you want to present. Let's make it fun and games.<br />
          127 <br />
          128 The platform that will host the conference will be the same as last year, namely bigbluebutton, BBB. We'll need to record the conference ourselves as bigbluebutton format is composed of a mix of slides and audio only. We'll also host it on <a href="https://bbb.faimaison.net" target="_blank" rel="noopener" class="mycode_url">faimaison</a> and the link will be shared here and on IRC on the day of the conference.<br />
          129 Only presenters will join with the mic, everyone else should join as listen only.<br />
          130 A tutorial of the UI will be given at the start of the conference.<br />
          131 Be aware that this software uses webrtc, and that your browser should support it.<br />
          132 <a href="https://test.webrtc.org/" target="_blank" rel="noopener" class="mycode_url">https://test.webrtc.org/</a><br />
          133 <br />
          134 <br />
          135 Please note: The event will be recorded for our use. Any comments, chats, or voice recordings by attendees may be used as part of the final recorded and published conference.<br />
          136 <br />
          137 Updates about the conference will be found in this very post.<br />
          138 Cheers!<br />
          139 <br />
          140 <hr class="mycode_hr" />
          141 <br />
          142 Schedule:<br />
          143 <ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Intro</span> 14:00-14:15<br />
          144 </li>
          145 <li><span style="font-weight: bold;" class="mycode_b">Creating your own troff macros — seninha</span> 14:15-14:35<br />
          146   <span style="font-weight: bold;" class="mycode_b">Description</span>:  What is a troff macro package, how it works and how to write your own<br />
          147 </li>
          148 <li><span style="font-weight: bold;" class="mycode_b">Keeping track of your things — venam</span> 14:35-14:55<br />
          149   <span style="font-weight: bold;" class="mycode_b">Description</span>:  The extended mind, a review of a 6 years old thread and discussion of the topic.<br />
          150 </li>
          151 <li><span style="font-weight: bold;" class="mycode_b">Pause/Buffer</span> 14:55-15:00<br />
          152 </li>
          153 <li><span style="font-weight: bold;" class="mycode_b">Truly Federated Identity for the web — push-f</span> 15:00-15:20<br />
          154   <span style="font-weight: bold;" class="mycode_b">Description</span>:  How the open source community could become more independent from megacorporations.<br />
          155 </li>
          156 <li><span style="font-weight: bold;" class="mycode_b">...</span><br />
          157 </li>
          158 <li><span style="font-weight: bold;" class="mycode_b">Outro</span> 15:20-End<br />
          159 </li>
          160 </ul>
          161 <br />
          162 Final recording in BBB format: _AVAILABLE AFTER THE CONFERENCE_<br />
          163 <br />
          164 <br />
          165 <hr class="mycode_hr" />
          166 <a href="https://nixers.net/Thread-Nixers-net-Conf-2020" target="_blank" rel="noopener" class="mycode_url">Last year's conference</a>]]></content>
          167                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          168         </entry>
          169         <entry xmlns="http://www.w3.org/2005/Atom">
          170                 <author>
          171                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=2054">freem</a>]]></name>
          172                 </author>
          173                 <published>2021-08-27T01:03:07Z</published>
          174                 <updated>2021-08-27T01:03:07Z</updated>
          175                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-how-do-you-know-which-tools-you-really-use" />
          176                 <id>https://nixers.net/Thread-how-do-you-know-which-tools-you-really-use</id>
          177                 <title xml:space="preserve"><![CDATA[how do you know which tools you (really) use?]]></title>
          178                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-how-do-you-know-which-tools-you-really-use"><![CDATA[Hello.<br />
          179 <br />
          180 I was debootstrapping a debian 11 on some partitions yesterday (because my upgrade path won't be easy considering my tweaks, between the init system and the rebuilt packages...) and started to create a mindmap of stuff to do next time (turns out it almost looks like a roadmap of stuff to do to create a distro, but that's another topic).<br />
          181 <br />
          182 In the end, I noticed... or rather, am noticing, that I do not use that many programs, and that this tool (the mindmap) allows me to get a better understanding of what I use, in which context, and why, if I would like a replacement or not, etc.<br />
          183 <br />
          184 I might end in sharing the file, when it will be a bit more refined, but it spawned the (one in title) questions of: do you really know which tools you are using? Do you know why you're using them? Do you know any alternatives to them? Why not use them? How would you collect those informations for future use (when a program stops working (depends on deprecated tech), when your needs evolve, etc)?<br />
          185 <br />
          186 Note that I only have in mind the tools <span style="font-weight: bold;" class="mycode_b">you</span> use, not the ones the tools you use depends on, that's a very different thing.<br />
          187 <br />
          188 I think it would be interesting to have thoughts from fellow nixers on those questions, and maybe on other ones you might ask in the discussion?]]></content>
          189                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          190         </entry>
          191         <entry xmlns="http://www.w3.org/2005/Atom">
          192                 <author>
          193                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
          194                 </author>
          195                 <published>2021-08-16T03:10:42Z</published>
          196                 <updated>2021-08-16T03:10:42Z</updated>
          197                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Nixers-Book-Club-Book-5-Computer-Science-from-the-Bottom-Up" />
          198                 <id>https://nixers.net/Thread-Nixers-Book-Club-Book-5-Computer-Science-from-the-Bottom-Up</id>
          199                 <title xml:space="preserve"><![CDATA[Nixers Book Club - Book #5: Computer Science from the Bottom Up]]></title>
          200                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Nixers-Book-Club-Book-5-Computer-Science-from-the-Bottom-Up"><![CDATA[As proposed by Venam, the next book of the Nixer's Book Club is gonna be «<a href="https://www.bottomupcs.com/index.xhtml" target="_blank" rel="noopener" class="mycode_url">Computer Science from the Bottom Up</a>».<br />
          201 <br />
          202 Quoting from its introduction:<br />
          203 <blockquote class="mycode_quote"><cite>Quote:</cite>In a nutshell, what you are reading is intended to be a shop class for computer science. Young computer science students are taught to "drive" the computer; but where do you go to learn what is under the hood? Trying to understand the operating system is unfortunately not as easy as just opening the bonnet. The current Linux kernel runs into the millions of lines of code, add to that the other critical parts of a modern operating system (the compiler, assembler and system libraries) and your code base becomes unimaginable. Further still, add a University level operating systems course (or four), some good reference manuals, two or three years of C experience and, just maybe, you might be able to figure out where to start looking to make sense of it all.<br />
          204 <br />
          205 To keep with the car analogy, the prospective student is starting out trying to work on a Formula One engine without ever knowing how a two stroke motor operates. During their shop class the student should pull apart, twist, turn and put back together that two stroke motor, and consequentially have a pretty good framework for understanding just how the Formula One engine works. Nobody will expect them to be a Formula One engineer, but they are well on their way!</blockquote>
          206 <br />
          207 Chapters are short, so we can do 2 chapters per week.<br />
          208 Our first session will be Aug, 21 (next Saturday), when we will discuss the first two chapters.<br />
          209 See you then!]]></content>
          210                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          211         </entry>
          212         <entry xmlns="http://www.w3.org/2005/Atom">
          213                 <author>
          214                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=579">z3bra</a>]]></name>
          215                 </author>
          216                 <published>2021-08-06T15:36:23Z</published>
          217                 <updated>2021-08-06T15:37:49Z</updated>
          218                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-How-do-I-Ubuntu" />
          219                 <id>https://nixers.net/Thread-How-do-I-Ubuntu</id>
          220                 <title xml:space="preserve"><![CDATA[How do I Ubuntu ?]]></title>
          221                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-How-do-I-Ubuntu"><![CDATA[Hello folks,<br />
          222 <br />
          223 This thread will be a little awkward (for me at least!).<br />
          224 Next monday, I'll have my work laptop reinstalled under stock Ubuntu 21.04, as per my company's policies.<br />
          225 <br />
          226 The thing is, I have not used a pre-configured distro in years !<br />
          227 I don't want to use the default Gnome shell, or the default software provided with the distro. I don't mind keeping everything installed though, in case a coworker needs to login on my computer (it'll be connected to the active directory).<br />
          228 <br />
          229 So my question will be simple (though the answer might be complex…) :<br />
          230 <br />
          231 <span style="font-weight: bold;" class="mycode_b">How do I <span style="font-style: italic;" class="mycode_i">cleanly</span> change my login session under Ubuntu ?</span><br />
          232 <br />
          233 I basically have my ~/.xsession setup for use with the "xdm" login manager (it is equivalent to an .xinitrc). How do I translate/change it so I can use it under Ubuntu ? I've found that it uses GDM3 and that I'd possibly have to create a .desktop entry to /usr/share/xsessions to launch my own "session script" or whatever. Is that correct ?<br />
          234 <br />
          235 Also, Ubuntu 21.04 ships with Wayland by default. Apparently X is still installed, but I'd like to confirm that if anyone has the info.<br />
          236 <br />
          237 Help me as the Ubuntu login stack is totally unknown to me, and I don't want to loose too much time setting up my machine next week. <br />
          238 <br />
          239 Thanks everyone !]]></content>
          240                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          241         </entry>
          242         <entry xmlns="http://www.w3.org/2005/Atom">
          243                 <author>
          244                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
          245                 </author>
          246                 <published>2021-07-12T10:42:59Z</published>
          247                 <updated>2021-07-12T10:42:59Z</updated>
          248                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Nixers-Book-Club-Review-and-next-book-4" />
          249                 <id>https://nixers.net/Thread-Nixers-Book-Club-Review-and-next-book-4</id>
          250                 <title xml:space="preserve"><![CDATA[Nixers Book Club - Review and next book #4]]></title>
          251                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Nixers-Book-Club-Review-and-next-book-4"><![CDATA[<img src="https://i.postimg.cc/WVnqq32c/unixbooks.jpg" alt="[Image: unixbooks.jpg]" class="mycode_img" loading="lazy" /><br />
          252 <br />
          253 We concluded The Art of UNIX Programming on our book club.<br />
          254 What do you though of TAOUP?<br />
          255 Did it change the way you program on UNIX?<br />
          256 <br />
          257 Let's also vote for the next book.<br />
          258 These are the candidates:<br />
          259 <ul class="mycode_list"><li>Introduction to Operating Systems Abstractions Using Plan 9.<br />
          260 </li>
          261 <li>The Design of the UNIX Operating System.<br />
          262 </li>
          263 </ul>
          264 <br />
          265 venam gave the idea on irc to include specs, RFCs and other generic OS books.<br />
          266 If you have another recommendation, please comment.]]></content>
          267                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          268         </entry>
          269         <entry xmlns="http://www.w3.org/2005/Atom">
          270                 <author>
          271                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1548">jkl</a>]]></name>
          272                 </author>
          273                 <published>2021-06-30T01:50:57Z</published>
          274                 <updated>2021-06-30T01:50:57Z</updated>
          275                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-CB-UNIX-DevOps-before-it-was-cool" />
          276                 <id>https://nixers.net/Thread-CB-UNIX-DevOps-before-it-was-cool</id>
          277                 <title xml:space="preserve"><![CDATA[CB UNIX: DevOps before it was cool]]></title>
          278                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-CB-UNIX-DevOps-before-it-was-cool"><![CDATA[At least Columbus UNIX - an internally used UNIX at Bell Labs - seems to <a href="https://twitter.com/nabijaczleweli/status/1408801062832807941" target="_blank" rel="noopener" class="mycode_url">have come with</a> the <span style="font-style: italic;" class="mycode_i">allofc</span> command which I could not find in any other system.<br />
          279 <br />
          280 <blockquote class="mycode_quote"><cite>Quote:</cite>The allofc utility program was created to simplify the update/upgrade procedures. Allofc permits a sequence of UNIX commands to be performed in some or all office and type directories.</blockquote>
          281 <br />
          282 Arguably, its usage seems to be less intuitive than you'd think; still looks much less like a big pile of webshit poo than what "modern" "developers" call "DevOps".<br />
          283 <br />
          284 The man page claims that <span style="font-style: italic;" class="mycode_i">allofc</span> came as a part of (a version of) SCCS which makes sense, in a way. I wonder if it has spread into other Unices at some point in time.]]></content>
          285                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          286         </entry>
          287         <entry xmlns="http://www.w3.org/2005/Atom">
          288                 <author>
          289                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
          290                 </author>
          291                 <published>2021-06-24T23:12:01Z</published>
          292                 <updated>2021-06-24T23:38:49Z</updated>
          293                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Command-line-interface-on-GUI-programs" />
          294                 <id>https://nixers.net/Thread-Command-line-interface-on-GUI-programs</id>
          295                 <title xml:space="preserve"><![CDATA[Command-line interface on GUI programs.]]></title>
          296                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Command-line-interface-on-GUI-programs"><![CDATA[The standard input and output have no use on most GUI applications.<br />
          297 I have found, however, an application that makes use of the standard input for the user to type commands: gnubg, GNU's backgammon game.<br />
          298 <br />
          299 Here's a sample video.  On the video, I first type "new game" to start a new game, then "roll" to roll the dice, "help" to get a dialog window listing known commands, and "move" to move the tokens.  Then, I type ^D (Control+D) to send EOF and close the game.<br />
          300 <br />
          301 <a href="https://0x0.st/-pop.mp4" target="_blank" rel="noopener" class="mycode_url">Here's the video.</a><br />
          302 <br />
          303 This command-based interface is not available when the user opens gnubg(1) from the application menu/start menu, only when the stdin is connected to a terminal.<br />
          304 <br />
          305 However, the commands are fundamental to the game operations: menu entries and the icons on the toolbar are bound to commands (clicking in one of them has the same effect as entering a command on stdin).  You can also run a game from a script either by pipeing it to the stdin; or by running gnubg(1) with the -c option; or from the menu bar on File/Open Commands.<br />
          306 <br />
          307 I found that interface really interesting, because it can be extended and composed with other applications.  The user can run gnubg(1) from a script and call dmenu to run commands from it and/or get a list of commands within dmenu (mimicking HUD on the Unity DE from Ubuntu).<br />
          308 <br />
          309 MacOS' global menu bar can also be mimicked.  We can have a global menu bar in which clicking on a option on the menu bar sends commands to the stdin of the process of the active window.<br />
          310 <br />
          311 This kind of interface: a regular user interface that also interprets command is nothing new on TUI (aka roguelike interfaces): Vim and emacs have a command-line interpreter at the bottom of their windows.  Ranger, lf and other file managers can also interpret commands while also being controlled by usual keybindings.<br />
          312 <br />
          313 With this kind of interface we can bind commands to menu entries, icons, and hotkeys with separate programs like dmenu and sxhkd.<br />
          314 <br />
          315 Something like a command-line interface is being implemented in <a href="https://www.debugpoint.com/2021/05/kcommandbar-kde-feature/" target="_blank" rel="noopener" class="mycode_url">QT5 applications for KDE</a>.  The user can enter commands in a dmenu-like prompt, those commands are interpreted by the toolkit, which will run the corresponding action for the application.<br />
          316 <br />
          317 That kind of GUI interface, so unexplored, influenced me in projecting two different, but related applications: control and xfiles.  Xfiles will be a GUI file manager that reads commands from the stdin.  Control will have server and client processes.  The server is a macOS-like bar with global menu that changes its menus based on the current active window.  The client is a wrapper; calling "control xfiles" will open xfiles with its stdin bound to control, allowing the user to control xfiles (ie., send commands to its stdin) from the global menu bar.  Control will know which process stdin corresponds to which window by means of <a href="https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt" target="_blank" rel="noopener" class="mycode_url">startup notification</a>.<br />
          318 <br />
          319 Control and xfiles are still in my mind, and will be there for a long time, as I do not have time to work on them (my uni is returning next semester).<br />
          320 <br />
          321 What do you think of a command-line interface (CLI) for GUI applications?<br />
          322 And what do you think in implementing CLI in GUI by means of the standard interface (as gnubg does)?<br />
          323 Are CLI and GUI unrelated or can they be used together?<br />
          324 What do you think of KDE way of implementing CLI in GUI by means of the QT toolkit?<br />
          325 What solution is better: including CLI in GUI via stdin or via toolkit?<br />
          326 <br />
          327 I think that implementing CLI in GUI, while not caring about implementing menu bars, toolbars and keybindings in the application, is the UNIXy way of GUI interfaces: let the actual interface to be done by other programs (dmenu, sxhkd, macos-like global menu, etc), concentrate only on interpreting a little language and separate the interface from the engine.]]></content>
          328                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          329         </entry>
          330         <entry xmlns="http://www.w3.org/2005/Atom">
          331                 <author>
          332                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=2034">pfr</a>]]></name>
          333                 </author>
          334                 <published>2021-06-09T06:38:22Z</published>
          335                 <updated>2021-06-09T06:43:32Z</updated>
          336                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Dmenu-Scripts" />
          337                 <id>https://nixers.net/Thread-Dmenu-Scripts</id>
          338                 <title xml:space="preserve"><![CDATA[Dmenu Scripts]]></title>
          339                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Dmenu-Scripts"><![CDATA[While I acknowledge the following threads exist:<ul class="mycode_list"><li><a href="https://nixers.net/Thread-Scripts-to-be-quick-and-efficient?highlight=dmenu%2Bscripts" target="_blank" rel="noopener" class="mycode_url">Scripts-to-be-quick-and-efficient</a><br />
          340 </li>
          341 <li><a href="https://nixers.net/Thread-What-software-have-you-made-to-improve-your-workflow-or-rice?highlight=dmenu%2Bscripts" target="_blank" rel="noopener" class="mycode_url">What-software-have-you-made-to-improve-your-workflow-or-rice?</a><br />
          342 </li>
          343 </ul>
          344 I still think there is a need for a dedicated thread for dmenu scripts. dmenu is so widely used and is so versatile, resulting in an endless list of scripting possibilities, it would be nice to have them all in one place here on nixers.net.<br />
          345 <br />
          346 Cyr4x3 had a few cool looking scripts in their recent <a href="https://nixers.net/Thread-Workflow-Compilation-June-Events-2021" target="_blank" rel="noopener" class="mycode_url">workflow</a> video which sparked my interest. <br />
          347 <br />
          348 Feel free to drop in some helpful scripts to extend dmenu's capabilities in this thread. <br />
          349 The one I'm interested in at the moment is a <a href="https://forum.archlabslinux.com/t/the-great-dmenu-thread/4062/2" target="_blank" rel="noopener" class="mycode_url">screenshot script</a> that also allows for editing and uploading of screenshots. <span style="font-weight: bold;" class="mycode_b">I am however looking for some help</span> to replace <a href="https://paste.xinu.at/" target="_blank" rel="noopener" class="mycode_url">fb</a> with xero's <a href="https://github.com/xero/dotfiles/blob/master/bin/bin/pb" target="_blank" rel="noopener" class="mycode_url">pb</a> or just simply use curl to upload to 0x0. The thing I like most about this script is that, in addition to using xclip to copy the url to the clipboard, the upload option also sends the url through notify-send which (in gnome at least) is a clickable link. <br />
          350 <br />
          351 I hope some of you have more scripts to share.<br />
          352 <br />
          353 One of my most used is <a href="https://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu" target="_blank" rel="noopener" class="mycode_url">passmenu</a> which is now baked into pass itself. <br />
          354 <br />
          355 You've also got old mate dt <a href="https://gitlab.com/dwt1/dmscripts" target="_blank" rel="noopener" class="mycode_url">over here</a> with his bunch of scripts. <br />
          356 <a href="https://github.com/debxp/dmenu-scripts" target="_blank" rel="noopener" class="mycode_url">debxp</a> and <a href="https://github.com/I-LeCorbeau/dmenu-scripts" target="_blank" rel="noopener" class="mycode_url">I-LeCorbeau</a> also have a few. <br />
          357 <br />
          358 I don't have anything of my own to offer up, this is purely a selfish script trawling mission. <br />
          359 <br />
          360 Also feel free to mention/promote any dmenu alternatives or replacements (Philbush I'm looking at you - xmenu looks awesome), just keep any scripts in this thread dmenu specific to avoid confusion.]]></content>
          361                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          362         </entry>
          363         <entry xmlns="http://www.w3.org/2005/Atom">
          364                 <author>
          365                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=80">venam</a>]]></name>
          366                 </author>
          367                 <published>2021-06-01T15:07:29Z</published>
          368                 <updated>2021-06-01T15:32:27Z</updated>
          369                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-A-Week-of-Trial-June-Events-2021" />
          370                 <id>https://nixers.net/Thread-A-Week-of-Trial-June-Events-2021</id>
          371                 <title xml:space="preserve"><![CDATA[A Week of Trial [June Events 2021]]]></title>
          372                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-A-Week-of-Trial-June-Events-2021"><![CDATA[This is part of the <a href="https://nixers.net/Thread-The-June-Events-2021" target="_blank" rel="noopener" class="mycode_url">June events</a>.<br />
          373 <br />
          374 In previous years we've had the <a href="https://nixers.net/Thread-A-Week-In-The-TTY" target="_blank" rel="noopener" class="mycode_url">"Week in the TTY"</a> where we forced ourselves to only use the TTY for an entire week.<br />
          375 This time, let's just make it either a full week in the TTY or a vintage OS/software stack/very limited hardware.<br />
          376 <br />
          377 The week should be between Friday 25th and Wednesday the 30th of June.<br />
          378 <br />
          379 Bump this thread with what you intend to try out during that week, be it the original week in the TTY or something else. Then when the week ends you can post what you've discovered.<br />
          380 <br />
          381 Here are some ideas for the TTY:<br />
          382 <br />
          383 Get comfortable with terminal multiplexers, the command line in general, command line and curses games, emailing from the cli, browsing the internet from the TTY through protocols you might not have tried such as gemini or gopher, chat from the cli, manage offline documentation, and more...]]></content>
          384                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          385         </entry>
          386         <entry xmlns="http://www.w3.org/2005/Atom">
          387                 <author>
          388                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=80">venam</a>]]></name>
          389                 </author>
          390                 <published>2021-06-01T15:05:47Z</published>
          391                 <updated>2021-07-02T05:08:43Z</updated>
          392                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-Workflow-Compilation-June-Events-2021" />
          393                 <id>https://nixers.net/Thread-Workflow-Compilation-June-Events-2021</id>
          394                 <title xml:space="preserve"><![CDATA[Workflow Compilation [June Events 2021]]]></title>
          395                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-Workflow-Compilation-June-Events-2021"><![CDATA[This is part of the <a href="https://nixers.net/Thread-The-June-Events-2021" target="_blank" rel="noopener" class="mycode_url">June events</a>.<br />
          396 <br />
          397 Time to show off your workflow to everyone! You know the concept.<br />
          398 <br />
          399 <span style="font-weight: bold;" class="mycode_b">What is it ?</span><br />
          400 This is a video compiling a bunch of screencast from the nixers members, all performing the same task, but using their personal setup.<br />
          401 this would result in a compilation showing the personal workflow of each participant, and setting a comparison point between them.<br />
          402 <br />
          403 <span style="font-weight: bold;" class="mycode_b">Can I participate ?</span><br />
          404 Sure ! The more videos we get, the better. Just post your submission and we'll add it !<br />
          405 <br />
          406 <br />
          407 <span style="font-weight: bold;" class="mycode_b">What are the rules ?</span><br />
          408 1. Nixers will have to perform the tasks in the exact order they are listed (see below).<br />
          409 2. Nixers must use a single monitor for the screencast<br />
          410 3. Nixers' screen resolution should be above 1280x720<br />
          411 4. Nixers submissions should be in webm format<br />
          412 5. Nixers should submit their compilation before <span style="font-weight: bold;" class="mycode_b">2021-06-30 at midnight (UTC)</span><br />
          413 <br />
          414 <span style="font-weight: bold;" class="mycode_b">How can I record the video ?</span><br />
          415 The command to use is the following (adjust the resolution to fit your actual setup, it might also vary as you may find the recording too fast):<br />
          416 <br />
          417 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>RESOLUTION=&#36;(xwininfo -root | sed -nE 's/-geometry[[:space:]]([[:digit:]]+x[[:digit:]]+)+.*&#36;/&#92;1/p')</code></div></div><br />
          418 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>RESOLUTION=1440x900<br />
          419 ffmpeg -f x11grab -s &#36;RESOLUTION -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y workflow-compil-&#36;{USER}.webm</code></div></div><br />
          420 Another example<br />
          421 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>RESOLUTION=1440x900<br />
          422 ffmpeg -thread_queue_size 128 -f x11grab -r 30 -s &#36;RESOLUTION -i :0.0 -vcodec libx264 -preset ultrafast -threads 0 -y output.mkv<br />
          423 ffmpeg -i output.mkv workflow-compil-&#36;{USER}.webm</code></div></div><br />
          424 For those running OSX:<br />
          425 <br />
          426 <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>RESOLUTION=1440x900<br />
          427 ffmpeg -f avfoundation -s &#36;RESOLUTION -an -r 16 -loglevel quiet -i 0:none -b:v 5M -y workflow-compil-&#36;{USER}.webm</code></div></div><br />
          428 To end the video, press `q`.<br />
          429 <br />
          430 <span style="font-weight: bold;" class="mycode_b">What is the task list ?</span><br />
          431 <ul class="mycode_list"><li>Put on some music<br />
          432 </li>
          433 <li>Write some random text to a file in /tmp<br />
          434 </li>
          435 <li>Show "toilet", "figlet", ASCII art, and try it in a funny way !<br />
          436 </li>
          437 <li>Install a simple software (show pkg management)<br />
          438 </li>
          439 <li>Set a wallpaper<br />
          440 </li>
          441 <li>Take a scrot ( beautify it if you must ) and upload it to a pastebin of your choice<br />
          442 </li>
          443 <li>Join the IRC and paste the link to the scrot in <span style="font-weight: bold;" class="mycode_b">#nixers</span><br />
          444 </li>
          445 <li>Check your RSS feed (optional)<br />
          446 </li>
          447 <li>Browse the forum (post something on this thread, you'll edit it later with the actual link of the video)<br />
          448 </li>
          449 </ul>
          450 <br />
          451 <br />
          452 <span style="font-weight: bold;" class="mycode_b">Submissions</span><ul class="mycode_list"><li><a href="http://fixedpoints.zapto.org/workflow-compil-opfez.webm" target="_blank" rel="noopener" class="mycode_url">opfez</a><br />
          453 </li>
          454 <li><a href="https://transfer.sh/get/1PEN5mH/workflow-compil-prx.webm" target="_blank" rel="noopener" class="mycode_url">prx*</a><br />
          455 </li>
          456 <li><a href="https://movq.de/v/644d98f311/2021-nixers-workflow-compil-movq.webm" target="_blank" rel="noopener" class="mycode_url">movq</a><br />
          457 </li>
          458 <li><a href="https://perso.pw/f/RofdGjw5AJ6tbLSuQMiXPQ.webm" target="_blank" rel="noopener" class="mycode_url">solene</a><br />
          459 </li>
          460 <li><a href="https://upload.disroot.org/r/5hKve4UH#ha5IdKEwIhQneSRsouw6COkcHj0jH+lgx6K4XTi77Rs=" target="_blank" rel="noopener" class="mycode_url">phillbush</a><br />
          461 </li>
          462 <li><a href="https://venam.nixers.net/2021-nixers-workflow-compil-vnm.webm" target="_blank" rel="noopener" class="mycode_url">venam</a><br />
          463 </li>
          464 <li><a href="https://tmp.c0de.in/workflow-compil-jolia.webm" target="_blank" rel="noopener" class="mycode_url">jolia</a><br />
          465 </li>
          466 <li><a href="https://transfer.sh/1ubJjNZ/workflow-remiferous.webm" target="_blank" rel="noopener" class="mycode_url">ramiferous</a><br />
          467 </li>
          468 <li><a href="https://p.mort.coffee/2jR.webm" target="_blank" rel="noopener" class="mycode_url">mort</a><br />
          469 </li>
          470 <li><a href="https://transfer.sh/u/workflow-compil-cyr4x3.webm" target="_blank" rel="noopener" class="mycode_url">cyr4x3</a><br />
          471 </li>
          472 <li><a href="https://upload.disroot.org/r/8NaJ7XLX#4VqQHIKbJao5qd7DoOaDnEW9atZo+V+hrkovsUkTUqE=" target="_blank" rel="noopener" class="mycode_url">tuxifreund</a><br />
          473 </li>
          474 <li><a href="https://transfer.sh/1yV36Bc/workflow-compil-dany74q.webm" target="_blank" rel="noopener" class="mycode_url">dany74q</a><br />
          475 </li>
          476 <li><a href="https://pyratebeard.net/20210701-nixers_workflow.webm" target="_blank" rel="noopener" class="mycode_url">pyratebeard</a><br />
          477 </li>
          478 </ul>
          479 <br />
          480 <br />
          481 <hr class="mycode_hr" />
          482 <br />
          483 Previous threads: <a href="https://nixers.net/showthread.php?tid=1606" target="_blank" rel="noopener" class="mycode_url">#1</a>, <a href="https://nixers.net/showthread.php?tid=2130" target="_blank" rel="noopener" class="mycode_url">#2</a>, &amp; <a href="https://nixers.net/Thread-Workflow-Compilation-2020-finished" target="_blank" rel="noopener" class="mycode_url">#3</a>.<br />
          484 <br />
          485 <hr class="mycode_hr" />
          486 <br />
          487 Feel free to add more information about your setup as others might be interested in knowing what is actually running in the video. Otherwise, hope on <a href="https://nixers.net/Thread-IRC--1876" target="_blank" rel="noopener" class="mycode_url">IRC</a> and ask.<br />
          488 <br />
          489 <hr class="mycode_hr" />
          490 <br />
          491 Have fun!<br />
          492 <br />
          493 <hr class="mycode_hr" />
          494 <br />
          495 The result has been uploaded as <a href="https://nixers.net/images/2021-nixers-workflow-compilation.webm" target="_blank" rel="noopener" class="mycode_url">webm</a>, on a <a href="https://www.youtube.com/watch?v=PvsanPakB_g" target="_blank" rel="noopener" class="mycode_url">YouTube mirror</a>, on <a href="https://movq.de/h/d6b8c3fb8/2021-nixers-workflow-compilation.webm" target="_blank" rel="noopener" class="mycode_url">movq mirror</a>]]></content>
          496                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          497         </entry>
          498         <entry xmlns="http://www.w3.org/2005/Atom">
          499                 <author>
          500                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=80">venam</a>]]></name>
          501                 </author>
          502                 <published>2021-06-01T15:04:09Z</published>
          503                 <updated>2021-06-01T15:08:03Z</updated>
          504                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-The-June-Events-2021" />
          505                 <id>https://nixers.net/Thread-The-June-Events-2021</id>
          506                 <title xml:space="preserve"><![CDATA[The June Events [2021]]]></title>
          507                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-The-June-Events-2021"><![CDATA[The past years (<a href="https://nixers.net/Thread-The-June-Events" target="_blank" rel="noopener" class="mycode_url">1</a>, <a href="https://nixers.net/Thread-June-2017-Events" target="_blank" rel="noopener" class="mycode_url">2</a>, <a href="https://nixers.net/Thread-Unix-Weekly-Challenges" target="_blank" rel="noopener" class="mycode_url">3</a>, etc..) during the month of June we try to organize some events.<br />
          508 <br />
          509 So let's get some activities going on for this year.<br />
          510 I'll create separate threads for them.<br />
          511 <ul class="mycode_list"><li><a href="https://nixers.net/Thread-Workflow-Compilation-June-Events-2021" target="_blank" rel="noopener" class="mycode_url">A workflow compilation thread</a><br />
          512 </li>
          513 <li><a href="https://nixers.net/Thread-A-Week-of-Trial-June-Events-2021" target="_blank" rel="noopener" class="mycode_url">A week of trial</a> (Week in the TTY mixed with vintage OS)<br />
          514 </li>
          515 </ul>
          516 <br />
          517 Feel free to propose other ideas and share feedback here.]]></content>
          518                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          519         </entry>
          520         <entry xmlns="http://www.w3.org/2005/Atom">
          521                 <author>
          522                         <name type="html" xml:space="preserve"><![CDATA[<a href="https://nixers.net/member.php?action=profile&uid=1965">seninha</a>]]></name>
          523                 </author>
          524                 <published>2021-05-25T14:43:41Z</published>
          525                 <updated>2021-05-26T01:01:54Z</updated>
          526                 <link rel="alternate" type="text/html" href="https://nixers.net/Thread-What-is-your-coding-style" />
          527                 <id>https://nixers.net/Thread-What-is-your-coding-style</id>
          528                 <title xml:space="preserve"><![CDATA[What is your coding style?]]></title>
          529                 <content type="html" xml:space="preserve" xml:base="https://nixers.net/Thread-What-is-your-coding-style"><![CDATA[Recently I have been reading other people's coding style.<br />
          530 I have read <a href="http://doc.cat-v.org/bell_labs/pikestyle" target="_blank" rel="noopener" class="mycode_url">Rob Pike's</a>, <a href="https://suckless.org/coding_style/" target="_blank" rel="noopener" class="mycode_url">suckless'</a>, some <a href="http://aiju.de/misc/c-style" target="_blank" rel="noopener" class="mycode_url">9front</a> <a href="https://ftrv.se/3" target="_blank" rel="noopener" class="mycode_url">developers'</a>, and <a href="https://nxr.netbsd.org/xref/src/share/misc/style" target="_blank" rel="noopener" class="mycode_url">NetBSD</a> and <a href="https://man.openbsd.org/style.9" target="_blank" rel="noopener" class="mycode_url">OpenBSD</a> coding styles.<br />
          531 Those documents inspired me to write down all the subjective practices I have in my mind into objective conventions. And thus I wrote <a href="https://github.com/phillbush/home/blob/master/style.txt" target="_blank" rel="noopener" class="mycode_url">my coding style</a>.<br />
          532 <br />
          533 What do you think of those coding styles?<br />
          534 Do they enforce good practice or are they too normative to be feasible?<br />
          535 Do you have a coding style you follow in your projects? If yes, why not writing it down?]]></content>
          536                 <draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
          537         </entry>
          538