fixing a bunch of broken stuff I think

This commit is contained in:
Chris Cochrun 2022-02-25 14:16:41 -06:00
parent 0dbc3ead0e
commit 8bace887a2
1551 changed files with 299 additions and 57481 deletions

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>So I&#39;ve swapped on over to the new NTFS3 driver included in 5.15, and while it is quicker, I&#39;ve noticed some strangeness about how it handles permissions that I can&#39;t find anyone else discussing. I&#39;m aware it&#39;s still new and <a href="https://bugzilla.kernel.org/show_bug.cgi?id=214833">has some known bugs</a>, but I can&#39;t see anyone talking about this. I&#39;m not even sure if it&#39;s a bug or not.</p> <p>My problem is that while the new driver has no issue reading anything there are some folders that it simply will not allow me to write to without being root, and while these folders are the same each time the drive is mounted, I can&#39;t figure out exactly what is causing these folders to require root access to write to.</p> <p>To give some examples (✔️ for writable, ❌ for not writable), I have my Windows C: drive mounted at /windows:</p> <ul> <li>/windows/ ✔️</li> <li>/windows/Windows ✔️</li> <li>/windows/Windows/System32 ✔️</li> <li>/windows/Program Files ❌</li> <li>/windows/Program Files/KeePassXC ❌</li> <li>/windows/Users/ ❌</li> <li>/windows/Users/[My Name]/ ✔️</li> <li>/windows/Users/[My Name]/Videos ❌</li> </ul> <p>I can&#39;t see the pattern here, but I am far from an expert at Windows permissions. This is really annoying as Dolphin doesn&#39;t let you perform actions as root, so I&#39;m forced to whip out the terminal which is usually a bit slower for me.</p> <p>My immediate attempt to fix this was the umask mount option, but that only seems to affect files created after the drive is mounted. I then tried the noacsrules option, but that didn&#39;t seem to affect anything. I tested NTFS-3G just to make sure this wasn&#39;t some change in Windows, but that still works fine. Nothing in journalctl either.</p> <p>So any help would be appreciated. What is causing this? Can this be fixed with a mount option, or something else? If not, is this a bug? Thanks in advance. Until then I&#39;ll just go back to NTFS-3G, cuz most files I transfer are pretty tiny anyway.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Tur8o"> /u/Tur8o </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r325t3/permissions_problems_with_the_new_ntfs3_driver/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r325t3/permissions_problems_with_the_new_ntfs3_driver/">[comments]</a></span>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>Hi emacsers,</p> <p><a href="https://www.reddit.com/r/emacs/comments/peezh4/teaser_a_php_parser_and_company_backend_in_emacs/">About two weeks ago I posted about my project phpinspect.el</a>, which is a PHP parser + company backend implemented in emacs lisp. There seemed to be some interest in it, so I decided to clean up the code somewhat and publish it.</p> <p>The git repository can be found <a href="https://git.sr.ht/%7Ehugot/phpinspect.el">here</a>. The documentation is mostly in the doc strings, starting with the doc string of <code>phpinspect-mode</code>. (use <code>C-h f phpinspect-mode</code> after loading the file).</p> <p>There is still a lot more work to do, and adding more tests wouldn&#39;t hurt either, but the basic infrastructure is there to provide accurate completion for object oriented PHP code.</p> <p>I would greatly appreciate feedback from anyone willing to try out my package or checkout its code. I will of course be reading the comments of this post, and there is also a <a href="https://todo.sr.ht/%7Ehugot/phpinspect.el">ticket tracker</a> for feature requests, bug reports and the like.</p> <p>I have already added a few features to the ticket tracker that I think should be implemented. Feel free to add more ideas or start a discussion about potential features.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/hugotty1"> /u/hugotty1 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/popk83/update_phpinspectel_php_parsercompletion/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/popk83/update_phpinspectel_php_parsercompletion/">[comments]</a></span>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>Just for acknowledgment and from personal experiences would like to hear about:</p> <p>&#x200B;</p> <p>What was the &#39;sudo&#39; command you executed which first scared you then made you smile when realized how stupid a move just been done and what damage it caused?</p> <p>&#x200B;</p> <p>I recently had <code>rm -rf /boot</code> which been done by auto-completion while my intense was to remove /bootstrap which had some personal scripts and today almost in the same way I deleted a project on which spend almost 2 months with no backups, etc. Still hate myself :)</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/ss-o"> /u/ss-o </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/posv61/the_power_of_sudo/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/posv61/the_power_of_sudo/">[comments]</a></span>

View file

@ -1,13 +0,0 @@
<p>I love programming puzzles, even if Ive never been particularly good at solving
them. For me they were always a good way to gain some practice with a new
programming language and to push myself to think for things unrelated to my job
or my own projects. Optimizing the performance of solutions to puzzles and
reading the solutions of other people is a very educational experience as
well. In recent years I rarely had time to play with puzzles, but this year Ill
try to find a bit of time for <a href="https://adventofcode.com/2021">Advent of Code</a>.</p>
<p>Ill be using Clojure to solve the puzzles and Ill post my solutions to <a href="https://github.com/bbatsov/advent-of-code2021">GitHub</a>. You can say that Im also looking for an excuse to use <a href="https://github.com/clojure-emacs/cider/">CIDER</a> for anything else besides developing CIDER.</p>
<p>I already solved the first 4 puzzles (you get to solve 2 each day) and this was a lot of fun. Lets see how far Ill manage to get. If I manage to solve half the puzzles Ill consider this a great success!</p>
<p>P.S. Dont worry, I dont plan to spam you daily with puzzle solutions!</p>

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/r55qui/kde_plain_and_simple/"> <img src="https://preview.redd.it/n6tbrc9vnl281.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=54afac9638860557d8a6892df8ffec3bdb74cd0b" alt="[KDE] Plain and simple" title="[KDE] Plain and simple" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Caaalek"> /u/Caaalek </a> <br/> <span><a href="https://i.redd.it/n6tbrc9vnl281.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/r55qui/kde_plain_and_simple/">[comments]</a></span> </td></tr></table>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>There is something i don&#39;t understand, a difference between behavior of org-babel and org-mode when you use org table to pass data using or not using :var.</p> <pre><code>#+NAME:mypythoncode #+begin_src python :results value raw :output :return tabulate(df, headers=df.columns, tablefmt=&#39;orgtbl&#39;) import numpy as np import pandas as pd from tabulate import tabulate df = pd.DataFrame(np.random.randint(0,10,size=(10, 4)), columns=list(&#39;ABCD&#39;)) #+end_src #+RESULTS: mypythoncode | | A | B | C | D | |---+---+---+---+---| | 0 | 0 | 9 | 6 | 0 | | 1 | 2 | 9 | 0 | 4 | | 2 | 9 | 6 | 0 | 1 | | 3 | 6 | 1 | 8 | 1 | | 4 | 4 | 2 | 1 | 4 | | 5 | 2 | 1 | 1 | 1 | | 6 | 4 | 8 | 9 | 0 | | 7 | 1 | 4 | 8 | 7 | | 8 | 9 | 3 | 2 | 5 | | 9 | 5 | 0 | 7 | 3 | #+NAME:lib-R #+HEADER: :var code=mypythoncode #+begin_src R :results output library(ggplot2) library(dplyr) library(lubridate) str(code) #+end_src #+RESULTS: lib-R : chr &quot;| | A | B | C | D |\n|----+-----+-----+-----+-----|\n| 0 | 8 | 0 | 5 | 2 |\n| 1 | 2 | &quot;| __truncated__ </code></pre> <p>As you see, the org table is not recognized as a dataframe by R. </p> <p>If i replace by a basic org table : </p> <p>&#x200B;</p> <pre><code>#+NAME: any_data | | parameter | value | |---+-----------+-------| | 0 | heats | 30 | | 1 | heats | 30 | #+NAME:lib-R #+HEADER: :var code=any_data #+begin_src R :results output library(ggplot2) library(dplyr) library(lubridate) str(code) #+end_src #+RESULTS: lib-R : &#39;data.frame&#39;: 2 obs. of 3 variables: : $ X : int 0 1 : $ parameter: chr &quot;heats&quot; &quot;heats&quot; : $ value : int 30 30 </code></pre> <p>That works...</p> <p>Any help appreciated to understand how i will resolve that ...</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/reyman64"> /u/reyman64 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r5yt4a/r_talking_with_python_using_orgtable_not_work/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r5yt4a/r_talking_with_python_using_orgtable_not_work/">[comments]</a></span>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I&#39;m using org-mode in Spacemacs. In my org agenda, open items (TODO, QUESTION, ...) are purple, while closed items (DONE etc) are green.</p> <p>I export my calendars to org-mode, with timestamps and the CALENDAR keyword. I would like to be able to tell at a glance which items are calendar items, because these are different from open as well as closed items. Can I somehow customize the color of an item - not the keyword, but the rest of the line! - depending on the keyword?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/SouthernZhao"> /u/SouthernZhao </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/r204c6/change_the_colors_of_an_agenda_item_based_on/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/r204c6/change_the_colors_of_an_agenda_item_based_on/">[comments]</a></span>

View file

@ -1,28 +0,0 @@
<p>17 years ago the famous blogger John Gruber, of <a href="https://daringfireball.net">Daring Fireball</a> fame, introduced the concept of
a “link log”/”linkblog”:<sup id="fnref:1"><a class="footnote" href="https://batsov.com/articles/2021/12/09/experimenting-with-link-posts/#fn:1" rel="footnote">1</a></sup></p>
<blockquote>
<p>New feature at Daring Fireball: the Linked List, a daily list of interesting links and brief commentary on DF-related topics, updated frequently but not frenetically. Call it a “link log”, or “linkblog”, or just “a good way to dick around on the Internet for a few minutes a day”.</p>
</blockquote>
<p>Ive been a long-time reader of “Daring Fireball” and I always liked how
John was sharing his perspective on things he found interesting. Thats why when
I recently <a href="https://batsov.com/articles/2021/11/01/switching-to-minimal-mistakes/">migrated my blog to Minimal Mistakes</a>, I was happy to find out that Minimal Mistakes <a href="https://mmistakes.github.io/minimal-mistakes/post%20formats/post-link/">supports link posts natively</a>.<sup id="fnref:2"><a class="footnote" href="https://batsov.com/articles/2021/12/09/experimenting-with-link-posts/#fn:2" rel="footnote">2</a></sup> Inspiration acquired!</p>
<p>Ive been experimenting with them recently (e.g. <a href="https://batsov.com/articles/2021/12/06/no-hello/">No Hello</a>) and I like the results so far. Ive also realized that link logs are the ultimate (public) bookmarks - I dont know about you but I rarely bother to browse my browser bookmarks; its way more likely that Ill revisit my blog archive.</p>
<p>Theres no shortage of topics that Im interested in, and Im quite opinionated
in most of them, so expect to see more “link log”-style of articles from me
going forward. Dont worry, though! I dont plan to write 5-10 of them each day, so I
wont be introducing a separate feed for those. Until next (link) post!</p>
<div class="footnotes">
<ol>
<li id="fn:1">
<p>Ive always thought of those as “link posts”. <a class="reversefootnote" href="https://batsov.com/articles/2021/12/09/experimenting-with-link-posts/#fnref:1">↩</a></p>
</li>
<li id="fn:2">
<p>Its not hard to implement this in a any Jekyll theme, though. Heres <a href="https://danromero.org/jekyll-linklog.html">an example</a>. Seems I was just too lazy to ever bother doing it. <a class="reversefootnote" href="https://batsov.com/articles/2021/12/09/experimenting-with-link-posts/#fnref:2">↩</a></p>
</li>
</ol>
</div>

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/q7yu4d/ratpoison_dzen2_panel/"> <img src="https://preview.redd.it/aduxxb4xuet71.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=d2ae3d62b8947547b0521158a91f70462d719b9f" alt="[ratpoison] dzen2 panel" title="[ratpoison] dzen2 panel" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Maurorubenlopezitza"> /u/Maurorubenlopezitza </a> <br/> <span><a href="https://i.redd.it/aduxxb4xuet71.jpg">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/q7yu4d/ratpoison_dzen2_panel/">[comments]</a></span> </td></tr></table>