136 Matching Annotations
  1. Jan 2023
    1. https://www.npr.org/sections/health-shots/2023/01/18/1139783203/what-makes-songs-swing-physicists-unravel-jazz-mystery

      Spaces in both language, text, and music help to create the texture of what is being communicated (and/or not).


      Link to Edward Tufte's latest book in section entitled "Spacing enhances complex meaning, encourages slow, thoughtful reading":

      <small><cite class='h-cite via'> <span class='p-author h-card'>KevinMarks</span> in #meta 2023-01-19 (<time class='dt-published'>01/19/2023 11:32:19</time>)</cite></small>


      Link to Indigenous astronomy example of negative spaces (like the Great Emu)

    1. The popular recommendation is that there should be between 40 and 75 characters per line. The findings of multiple studies conclude that "short line lengths are easier to read". Regarding learning and information retention: "Subjects reading the narrow paragraphs had better retention than those reading the wide paragraphs"
  2. Dec 2022
    1. Easy to scan and understand what’s discussed in the space. Fewer distractions to help you focus on topics you care about. Easy to browse topics because they’re all in one place in the thread navigation panel. Thread replies don’t interrupt the main conversation. You can toggle history on and off.
    2. You can find some benefits and limitations of each kind of space organization below.
  3. Nov 2022
    1. dsmdavid commented Mar 8, 2021 @tchakabam if you right click on the status bar, do you get many options? Might be worth not showing some of the other options (in my case the line/column was not shown because there were too many options already there) and, after unselecting one:

      Post about status bar in VS Code (visible at bottom of window by default).

      I looked for this since I couldn't figure out the column numbers of where my cursor was in the editor.

      You can toggle this setting by opening command palette and searching "View: Toggle Status Bar Visibility"

      Displays Ln & Col numbers.

  4. Sep 2022
    1. three-fourths of Americans will encounterpoverty or near- poverty (150 percent below the official poverty line).4

      Open question:<br /> Why is the word "below" used with numbers like "150 percent below the poverty line" when in fact this number indicates near, but above, poverty based on my reading?

    1. Crippled

      IS IT BECAUSE IT CHANGES WHERE WE PUT EMPHASIS

      So... line breaks change the emphasis and myster of poetry of each line (ie state of heightened anxiety) but also how we literally pronounce them out loud (what pitch we use)

  5. Jul 2022
    1. Always use a while read construct: find . -name "*.txt" -print0 | while read -d $'\0' file do …code using "$file" done The loop will execute while the find command is executing. Plus, this command will work even if a file name is returned with whitespace in it. And, you won't overflow your command line buffer.
    1. So the correct command to use is findmnt, which is itself part of the util-linux package and, according to the manual: is able to search in /etc/fstab, /etc/mtab or /proc/self/mountinfo
  6. Jan 2022
  7. Nov 2021
    1. Suddenly we’d come full circle. The fastest way to launch programs was to type their name into a box, only a box that looked a bit more stylish than the terminal of old.
  8. Oct 2021
    1. So, here is how I manage it, if the line height cannot be reduced sufficiently by the numeric entry/spinbox: Try clicking the question-mark (un-set variable inline height).If that does not resolve the issue, activate the Tt button ("outer" text style) and set the font height to something small and linespacing to something small and click the questionmark.Then de-activate Tt (outer) and edit the text normally.i.e. The outer style overrides the inner style.
  9. Aug 2021
  10. Jul 2021
  11. Jun 2021
    1. Please make sure that your file(s) referenced in bin starts with #!/usr/bin/env node, otherwise the scripts are started without the node executable!
  12. Apr 2021
    1. ![Cosmic radiation](https://i.snap.as/T05UTpx.jpg)

      Since a lot of this is guaranteed to be seen as arcane magic, maybe this is an opportune place for the UI hooks for a conversational/palette-based UI? Maybe >> to set it off?

    1. unbuffer disables the output buffering that occurs when program output is redirected. For example, suppose you are watching the output from a fifo by running it through od and then more.    od -c /tmp/fifo | more You will not see anything until a full page of output has been produced. You can disable this automatic buffering as follows:    unbuffer od -c /tmp/fifo | more
    1. can be easily invoked directly from shell prompt or script

      Can't expect / unbuffer / etc. (whatever this is attempting to contrast itself with) be easily invoked directly from shell prompt or script too??

      Okay, I guess you have to know more about how expect is invoked to understand what they mean. One glance at the examples, comparing them, and all becomes clear:

      #!/bin/sh
      empty -f -i in -o out telnet foo.bar.com
      empty -w -i out -o in "ogin:" "luser\n"
      

      I didn't realize that expect required/expected (no pun intended) to be used in scripts with its own shebang line:

      #!/usr/bin/expect
      
      spawn telnet foo.bar.com 
      expect ogin {send luser\r}
      

      That does make it less easy/normal to use expect within a shell script.

      I was coming to the expect project from/for the unbuffer command, which by contrast, is quite easy to include/use in a shell script -- almost the same as empty, in fact. (Seems like almost a mismatch to have unbuffer command in expect toolkit then. Or is expect command the only odd one out in that toolkit?)

    1. The command also can be run in silent mode (tty -s) where no output is produced, and the command exits with an appropriate exit status.
  13. Mar 2021
    1. I find it convenient to change proxy and other settings through gui window by right-clicking on launcher icon on my desktop. I mostly start slack by clicking desktop launcher, but also want to be able to start it from command line in some cases.
    2. If you really want this, I suggest you write a little function that extracts the executable name from the .desktop file and runs it. Add these lines to your shell's initialization file (e.g. ~/.bashrc): runDesktop () { eval "$(awk -F= '$1=="Exec"{$1=""; print}' "$1")" } Then, you can run your .desktop file with runDesktop ~/Desktop/slack.desktop
    1. We could add heuristics like: is the file inside XDG_DATA_DIRS/applications? if not, is the file inside XDG_DATA_HOME/applications? if not, is the file marked as executable? if not, open with the text editor
    2. Hello , since I made a modification in gio-tool (#2098 (closed)) , I seen this issue and decide to give it go. I implemented an unix only solution only for launching a desktop file through gio command, see !1779 (merged)
    3. When one is searching for it on the internet, there are many many people wondering how one can open .desktop files. It seems trivial, since one usually just has to click an item on the launcher so one thinks there must be some way.
    4. I have to agree with Raphael here that this should probably be handled in gnome-open, its a pain to have to implement .desktop parsing code in every beagle front end when I can't really think of an instance where the expected behavior wouldn't be to execute the associated command.
    5. I don't know what nautilus does, but i think when you double click a .desktop file it launches the associated program, i guess they don't use gnome-open then..
    6. deskbar should probably detect their extension and execute the relevant command as opposed to opening the file for editing.
  14. Feb 2021
    1. For example, on the terminal I'm using, the right arrow outputs ^[[C. You can see what sequence your terminal outputs by pressing Ctrl-V Right Arrow. The same is true for other cursor-control keys such as Page Up and End.
  15. Jan 2021
    1. sciences

      just for the sciences? Or do you mean, "For instance, as we're building a course for the sciences,"....

    2. The following were developed to afford groups made up of any disparate number of higher education team members to engage in

      "These exercises and activities are designed to support growth..." then.. "They can be used by groups of any number number of team members working in higher education." Shorter sentences better.

    1. Going Further and more about Getting Started

      do these need to be capped?

    2. , faculty in higher education need to attend to culturally relevant pedagogy, Universal Design for Learning, guidance on up-to-date standards (such as the ISTE Standards for Educators), and providing authentic assignments and activities while considering how surveillance technologies – think proctored exam software and the requirement to have cameras ‘on’ during meetings – are seen increasing anxiety in our students [1, 2], attending to student concerns, and – hopefully – keeping up with their own mental health.

      this is a suuuuper long sentence and there are a number of ideas in it. Suggest breaking it down.

    3. put

      let, i think. right?

    4. ional designers work tog

      "can" or "should" work together, yes?

    5. flow without being cognitively overwhelming

      "flow" doesn't seem to be directly counterintuitive to cognitive, uh, whelm. Like, they're not mutually exclusive.

    6. need their student to learn

      ...want to see a student absorb. (we don't so much "learn" information as we take it in.)

    7. – such as library, accessibility, and information technology departments

      ...larger university community, and includes the university's library, accessibility..."

  16. Dec 2020
  17. Nov 2020
    1. Prettier’s printWidth option does not work the same way. It is not the hard upper allowed line length limit. It is a way to say to Prettier roughly how long you’d like lines to be. Prettier will make both shorter and longer lines, but generally strive to meet the specified printWidth. Remember, computers are dumb. You need to explicitly tell them what to do, while humans can make their own (implicit) judgements, for example on when to break a line. In other words, don’t try to use printWidth as if it was ESLint’s max-len – they’re not the same. max-len just says what the maximum allowed line length is, but not what the generally preferred length is – which is what printWidth specifies.
  18. Oct 2020
    1. I debugged docker-compose and docker-py and figured out that you should either use environment variables or options in command. You should not mix these . If you even specify --tls in command then you will have to specify all the options as the TLSConfig object, as now TLSConfig object is created completely from the command options and operide the TFSConfig object created from the environment variable.
    1. The limits are chosen to avoid wrapping in editors with the window width set to 80, even if the tool places a marker glyph in the final column when wrapping lines.
    2. For code maintained exclusively or primarily by a team that can reach agreement on this issue, it is okay to increase the line length limit up to 99 characters
  19. Sep 2020
  20. Aug 2020
  21. Jun 2020
    1. copy editing

      I'd like to strike a blow for line editing. From Peter Ginna's brilliant What Editors Do:

      A line edit dials down to the paragraph/sentence/word level. As we said, it’s usually a much more expensive job than a developmental edit. A line editor will go through the pages of your book with a fine-toothed comb, looking for dialogue that feels awkward, sentences that don’t quite work, repetition, and more. Obviously this happens when the bulk of the work in terms of plot, character, beginnings, middles, and ends is done. It’s not that a line edit can’t address the bigger picture. But in most publishing houses an editor simply won’t do a line edit until the bigger issues are addressed, so as not to have to do the same work twice. It’s smart to stick with that order in self-publishing too. Line edits may or may not come with an editorial letter. But be sure that the fee includes time for you to meet in person or talk on the phone once you’ve had a chance to digest the edits. Often the same person could do both a developmental edit and line edit, if that’s what you decide to pay for, but you will also need a copyeditor. Copyeditors are the grammarians, the fact-checkers, the formatting gurus, the identifiers of repetitive words and phrases. They are the ones who make a book as smooth as a fresh jar of Skippy. The one instance where you might not need a separate copyeditor is if you hire someone to do a line edit who does a copyedit simultaneously. Some people have both skills and can pull this off, though it’s rare.

  22. May 2020
    1. Eric Schmidt, former Google CEO and Chairman, famously said “Google’s policy on a lot of these things is to get right up to the creepy line, but not cross it.” But for most people, that line was crossed by Google, Facebook, and others long ago.
  23. Apr 2020
    1. I had never considered it that in nearly a decade of using GNU find! Thank you for that! It will definitely change the way I think about -prune from now on.
    2. I think this structure is much easier and correlates to the right approach
    3. it isn't actually -prune itself that causes this, by the way. The issue is that the or operator "short-circuits", and or has lower precedence than and. The end result is that if a file called .snapshot is encountered it will match the first -name, -prune will then do nothing (but return true), and then the or returns true since its left-argument was true. The action (eg: -print) is part of its second argument, so it never has a chance to execute.
    4. If all you want to do is print the results you might be used to leaving out the -print action. You generally don't want to do that when using -prune.
    5. which means that it'll also print out the name of the directory you're pruning, which usually isn't what you want. Instead it's better to explicitly specify the -print action if that's what you want
    6. The thing I'd found confusing about -prune is that it's an action (like -print), not a test (like -name). It alters the "to-do" list, but always returns true.
    1. Did you expect the temp directory to get printed? In the last example, we saw the directories ./temp and ./C/temp got printed, but not now. This is the effect of the -print option. By default, the find command prints all the files matching the criteria. However, once the -print option is specified, it will print files only on explicit print instructions. In this find command, -print is associated in the other side of the OR condition, and hence nothing will get printed from the 1st part of the condition.
    2. 12. Same using the wholename option and prune to exclude directory: $ find . -wholename "./temp" -prune -o -perm 644 -print ./area.pm ./C/temp ./C/f2.c find has a switch with the name 'wholename'. Say, in your directory tree, there might be more than one temp directory. The earlier approaches will prune all the temp dierctories. In case, if the requirement is to prune a specific temp directory, then you can give the path of the directory itself. Note: The path specified in the wholename option should be relative to the search path specified, not the absolute path. 
  24. Mar 2020
  25. Jan 2020
  26. Dec 2019
    1. GitHub Packages uses the native package tooling commands you're already familiar with to publish and install package versions.

      Looks like GitHub Packages acts as a wrapper to these clients, acting on your behalf so you don't have to use the CLI yourself.

    1. Using find and cpio is a more unix-y approach in that you let find do the file selection with all the power that it has, and let cpio do the archiving. It is worth learning this simple use of cpio, as you find it easy to solve problems you bang your ahead against when trying tar.
    2. find
  • Nov 2019
    1. From the man pages The environment variables can be specified in lower case or upper case. The lower case version has precedence. http_proxy is an exception as it is only available in lower case. Using an environment variable to set the proxy has the same effect as using the --proxy option
  • May 2019
    1. The RNA-seq data for all 64 cell lines expressing 89% (n=17544) of all protein-coding human genes are presented in the Cell Atlas and can be used as a tool for selection of suitable cell lines for an experiment involving a particular gene or pathway or for further studies on the transcriptome of established human cell lines.
  • Oct 2018
  • Jun 2018
  • Dec 2017
  • Nov 2017
    1. In Bash you quite often need to check to see if a variable has been set or has a value other than an empty string. This can be done using the -n or -z string comparison operators.

      Two most useful commands in bash