- Feb 2024
-
unix.stackexchange.com unix.stackexchange.com
-
Try adding \ before your ls, e.g.: \ls | xargs file.
-
- Sep 2023
-
stackoverflow.com stackoverflow.com
-
git fetch --depth 1 origin <sha1>
-
- Jun 2023
-
soundcloud.com soundcloud.com
-
jperiod.bandcamp.com jperiod.bandcamp.com
-
jperiod.bandcamp.com jperiod.bandcamp.com
-
yewtu.be yewtu.be
- Mar 2023
-
fullblastradio.bandcamp.com fullblastradio.bandcamp.com
- Feb 2023
-
www.reddit.com www.reddit.com
-
Are there symbols for 'supported by' or 'contradicted by' etc. to show not quite formal logical relations in a short hand?
reply to u/stjeromeslibido at https://www.reddit.com/r/Zettelkasten/comments/10qw4l5/are_there_symbols_for_supported_by_or/
In addition to the other excellent suggestions, I don't think you'll find anything specific that that was used historically for these, but there are certainly lots of old annotation symbols you might be able to co-opt for your personal use.
Evina Steinova has a great free cheat sheet list of annotation symbols: The Most Common Annotation Symbols in Early Medieval Western Manuscripts (a cheat sheet).
More of this rabbit hole:
- Steinová, Evina. Notam Superponere Studui: The Use of Annotation Symbols in the Early Middle Ages. Brepols, 2019.
- Cappelli, Adriano. The Elements of Abbreviation in Medieval Latin Paleography. University of Kansas Libr., 1984.
- Coulson, Frank, and Robert Babcock. The Oxford Handbook of Latin Palaeography. Oxford University Press, 2020.
- Lindsay, W. M. Notae Latinae. Cambridge University Press, 2013. https://archive.org/download/notaelatinaeacco00lindrich/notaelatinaeacco00lindrich.pdf.
- Bains, Doris. A Supplement to Notae Latinae (Abbreviations in Latin Mss. of 850 to 1050 A.D.). Cambridge [England] University Press, 1936. http://archive.org/details/supplementtonota0000bain.
(Nota bene: most of my brief research here only extends to Western traditions, primarily in Latin and Greek. Obviously other languages and eras will have potential ideas as well.)
Tironian shorthand may have something you could repurpose as well: https://en.wikipedia.org/wiki/Tironian_notes
Some may find the auxiliary signs of the Universal Decimal Classification useful for some of these sorts of notations for conjoining ideas.
Given the past history of these sorts of symbols and their uses, perhaps it might be useful for us all to aggregate a list of common ones we all use as a means of re-standardizing some of them in modern contexts? Which ones does everyone use?
Here are some I commonly use:
Often for quotations, citations, and provenance of ideas, I'll use Maria Popova and Tina Roth Eisenberg's Curator's Code:
- ᔥ for "via" to denote a direct quotation/source— something found elsewhere and written with little or no modification or elaboration (reformulation notes)
- ↬ for "hat tip" to stand for indirect discovery — something for which you got the idea at a source, but modified or elaborated on significantly (inspiration by a source, but which needn't be cited)
Occasionally I'll use a few nanoformats, from the microblogging space, particularly
- L: to indicate location
For mathematical proofs, in addition to their usual meanings, I'll use two symbols to separate biconditionals (necessary/sufficient conditions)
- (⇒) as a heading for the "if" portion of the proof
- (⇐) for the "only if" portion
Some historians may write 19c to indicate 19th Century, often I'll abbreviate using Roman numerals instead, so "XIX".
Occasionally, I'll also throw drolleries or other symbols into my margins to indicate idiosyncratic things that may only mean something specifically to me. This follows in the medieval traditions of the ars memoria, some of which are suggested in Cornwell, Hilarie, and James Cornwell. Saints, Signs, and Symbols: The Symbolic Language of Christian Art 3rd Edition. Church Publishing, Inc., 2009. The modern day equivalent of this might be the use of emoji with slang meanings or 1337 (leet) speak.
Tags
- reply
- Universal Decimal Classification
- Tironian shorthand
- Medieval texts
- paleography
- Evina Steinova
- Maria Popova
- annotation symbols
- Curator's Code
- via
- hat tip
- shorthand
- note taking affordances
- manuscript studies
- emoji
- symbology
- nanoformats
- leet speak
- Tina Roth Eisenberg
- ars memoria
Annotators
URL
-
- Jan 2023
-
guides.rubyonrails.org guides.rubyonrails.org
-
belongs_to does not ensure reference consistency, so depending on the use case, you might also need to add a database-level foreign key constraint on the reference column, like this: create_table :books do |t| t.belongs_to :author, foreign_key: true # ... end
Tags
Annotators
URL
-
- Nov 2022
-
stackoverflow.com stackoverflow.com
-
All shells should tell you that your path is the same thing with BOTH of the two commands: # The PATH variable echo "$PATH" # The PATH environment variable env | /bin/grep PATH
-
- Sep 2022
-
-
Tip: It’s best to write down more information than later necessary.
Tip
-
-
mirrors.edge.kernel.org mirrors.edge.kernel.org
-
If you want to replace many blobs, trees or commits that are part of a string of commits, you may just want to create a replacement string of commits and then only replace the commit at the tip of the target string of commits with the commit at the tip of the replacement string of commits.
-
- May 2022
-
- Apr 2022
-
-
When setting up SAML SSO in your organization, you can test your implementation without affecting your organization members by leaving Require SAML SSO authentication for all members of the organization name organization unchecked.
-
- Mar 2022
-
-
There are three keys to backfilling safely: batching, throttling, and running it outside a transaction. Use the Rails console or a separate migration with disable_ddl_transaction!.
-
- Jan 2022
-
-
IF YOU SEE SOMETHING, SAY SOMETHING You can write richard@theankler.com, with end-to-end encryption on whatsapp and Signal (messages me for the number), or on gchat at richardrushfield
If you see something, say something is a lot over-the-top for a Hollywood rag.
-
- Dec 2021
-
psyarxiv.com psyarxiv.com
-
Ning, C., Wu, H., & Liu, Y. (2021). Deliberation in health-related headlines. PsyArXiv. https://doi.org/10.31234/osf.io/e5bn7
-
- Nov 2021
-
unix.stackexchange.com unix.stackexchange.com
-
should be really flatpack run com.visualstudio.code --wait, far as I know, never tried. (--wait is really important.)
-
- Sep 2021
-
www.amazon.com www.amazon.com
-
I improved its detection capability by taping a piece of paper on the bottom. It rests on the paper and absorbs water , setting the sensors off after a few seconds. Without this it wasn't able to detect water running down concrete with a grade. The water level would have come up a bit to trip the sensors.
-
- Jun 2021
-
-
Typing cmd in the Run Prompt and pressing Shift + Alt + Enter to open an elevated Command Prompt
-
- Apr 2021
-
unix.stackexchange.com unix.stackexchange.com
-
If a program receives file names as arguments, don't join them with spaces. Use "$@" to access them one by one.
-
-
www.youtube.com www.youtube.com
-
Motion sensor sprinklers are the best remedy I’ve found against cats. And it’s quite hilarious to see them run for their lives on cctv after they’ve turned up in front of one
Tags
Annotators
URL
-
- Mar 2021
-
superuser.com superuser.com
-
You can use apt-cache search -n vim to search only package names instead of piping the output into grep
-
-
stackoverflow.com stackoverflow.com
-
I don't use remote editing much so vim-dirvish is powerful enough to manage my workflow (It's actually faster than netrw ~ the author claims 2x, I feel it's faster than that - it's really instantaneous ⚡) very useful on large codebase/repositories
-
I was searching for a solution to this problem too since I actually removed netrw from being loaded in vim completely and replace it with vim-dirvish. This plugin has around 500~ LOC, compared to netrw's (11,000+ LOC).
-
-
askubuntu.com askubuntu.com
-
There's a command that knows about your default browser: xdg-open http://google.com This will also work for every other type of URI (Uniform Resource Identifier), like images - which will automatically open with eog, openoffice documents, and so on, and also on filesystem paths (xdg-open /tmp/foobar.png).
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
For branching out a separate path in an activity, use the Path() macro. It’s a convenient, simple way to declare alternative routes
Seems like this would be a very common need: once you switch to a custom failure track, you want it to stay on that track until the end!!!
The problem is that in a Railway, everything automatically has 2 outputs. But we really only need one (which is exactly what Path gives us). And you end up fighting the defaults when there are the automatic 2 outputs, because you have to remember to explicitly/verbosely redirect all of those outputs or they may end up going somewhere you don't want them to go.
The default behavior of everything going to the next defined step is not helpful for doing that, and in fact is quite frustrating because you don't want unrelated steps to accidentally end up on one of the tasks in your custom failure track.
And you can't use
fail
for custom-track steps becase that breaksmagnetic_to
for some reason.I was finding myself very in need of something like this, and was about to write my own DSL, but then I discovered this. I still think it needs a better DSL than this, but at least they provided a way to do this. Much needed.
For this example, I might write something like this:
step :decide_type, Output(Activity::Left, :credit_card) => Track(:with_credit_card) # Create the track, which would automatically create an implicit End with the same id. Track(:with_credit_card) do step :authorize step :charge end
I guess that's not much different than theirs. Main improvement is it avoids ugly need to specify end_id/end_task.
But that wouldn't actually be enough either in this example, because you would actually want to have a failure track there and a path doesn't have one ... so it sounds like Subprocess and a new self-contained ProcessCreditCard Railway would be the best solution for this particular example... Subprocess is the ultimate in flexibility and gives us all the flexibility we need)
But what if you had a path that you needed to direct to from 2 different tasks' outputs?
Example: I came up with this, but it takes a lot of effort to keep my custom path/track hidden/"isolated" and prevent other tasks from automatically/implicitly going into those steps:
class Example::ValidationErrorTrack < Trailblazer::Activity::Railway step :validate_model, Output(:failure) => Track(:validation_error) step :save, Output(:failure) => Track(:validation_error) # Can't use fail here or the magnetic_to won't work and Track(:validation_error) won't work step :log_validation_error, magnetic_to: :validation_error, Output(:success) => End(:validation_error), Output(:failure) => End(:validation_error) end
puts Trailblazer::Developer.render o Reloading... #<Start/:default> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:success> #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Left} => #<End/:validation_error> {Trailblazer::Activity::Right} => #<End/:validation_error> #<End/:success> #<End/:validation_error> #<End/:failure>
Now attempt to do it with Path... Does the Path() have an ID we can reference? Or maybe we just keep a reference to the object and use it directly in 2 different places?
class Example::ValidationErrorTrack::VPathHelper1 < Trailblazer::Activity::Railway validation_error_path = Path(end_id: "End.validation_error", end_task: End(:validation_error)) do step :log_validation_error end step :validate_model, Output(:failure) => validation_error_path step :save, Output(:failure) => validation_error_path end
o=Example::ValidationErrorTrack::VPathHelper1; puts Trailblazer::Developer.render o Reloading... #<Start/:default> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:validation_error> #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:success> #<End/:success> #<End/:validation_error> #<End/:failure>
It's just too bad that:
- there's not a Railway helper in case you want multiple outputs, though we could probably create one pretty easily using Path as our template
- we can't "inline" a separate Railway acitivity (Subprocess "nests" it rather than "inlines")
Tags
- example: not how you would actually do it (does something wrong/bad/nonideal illustrating but we should overlook it because that's not the one thing the example is trying to illustrate/show us)
- useful
- flexibility
- powerful
- concise
- tip
- helper functions
- verbose / noisy / too much boilerplate
Annotators
URL
-
-
github.com github.com
-
Rebasing For feature/topic branches, you should always use the --rebase flag to git pull, or if you are usually handling many temporary "to be in a github pull request" branches, run the following to automate this: git config branch.autosetuprebase local
That's what I keep telling people. Glad to see I'm not the only one...
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
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.
-
-
skepticalscience.com skepticalscience.com
-
Konstantinos, A. (2021). Tips on countering conspiracy theories and misinformaton. CommsFlyer.
-
-
github.com github.com
-
array :translations do hash do string :locale string :name end end array inputs can only have one input nested underneath them. This is because every element of the array must be the same type. And the inputs nested inside arrays cannot have names because they would never be used.
-
-
www.youtube.com www.youtube.com
-
If would recommend you create a bootable Windows 10 USB from the MS website and reinstall the PC with a clean Windows installation so you have the same Windows installation as shown in the video. Also, you'll be a lot happier with all the bloatware removed.
Tags
Annotators
URL
-
-
www.howtogeek.com www.howtogeek.com
-
Press Shift+F10 while installing Windows to open a Command Prompt window.
-
- Jan 2021
-
-
css-tricks.com css-tricks.com
-
I used it to create a full-bleed utility class: .full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
-
-
webapps.stackexchange.com webapps.stackexchange.com
-
I want to create a filter for all email sent by me only to me. To accomplish this I send all these "notes" to a permutation that I know no one else uses. E.g. john__doe@gmail.com
-
- Dec 2020
-
thecodebarbarian.com thecodebarbarian.com
-
the best way to ensure you've handled all errors in your run() function is to use run().catch(). In other words, handle errors when calling the function as opposed to handling each individual error.
-
- Nov 2020
-
-
As mentioned earlier, I tested a lot of activation functions this year before Mish, and in most cases while things looked awesome in the paper, they would fall down as soon as I put them to use on more realistic datasets like ImageNette/Woof.Many of the papers show results using only MNIST or CIFAR-10, which really has minimal proof of how they will truly fare in my experience.
You should start with CIFAR-10 and MNIST only to get some initial results, but to see if those ideas hold up more broadly, test them on more realistic datasets like ImageWoof, ImageNet.
-
- Sep 2020
-
-
What’s something you’re looking forward to, either at work or outside it?
-
- Aug 2020
-
elemental.medium.com elemental.medium.com
-
ScD, N. N. A. (2020, June 11). A Guide to Understanding Pandemic Predictions. Medium. https://elemental.medium.com/a-guide-to-understanding-pandemic-predictions-8ae3439b8224
-
-
www.alec.fyi www.alec.fyi
-
search the site itself for codes
Trickt to quickly find discount codes on a website:
site:curology.com ("coupon" | "referral code" | "affiliate code" | "discount code" | "VIP")
-
- Jul 2020
-
api.rubyonrails.org api.rubyonrails.org
-
(Note that you rarely want to deal with Time.now, or Date.today, in order to honor the application time zone please always use Time.current and Date.current.)
-
-
git.vger.kernel.narkive.com git.vger.kernel.narkive.com
-
Whatever you do, do not forget that your goal with this strategyis to prepare your index into a shape that the patch should havemade it into, if it applied cleanly. In other words, after youare done, "git diff --cached HEAD" should produce what theoriginal patch in .dotest/patch should have contained. Also,typically, "git diff" at that point should say nothing (unlessyou know what you are doing).So, if you used "git apply" without --index (or plain "GNUpatch"), do not forget to "git add" to register the result inthe index. Especially, if the patch adds a new file, do notforget to include it in the index!
-
Make sure that "git diff --cachedHEAD" output matches what you think .dotest/patch should havecontained. Then:$ git am --resolved
-
-
unix.stackexchange.com unix.stackexchange.com
-
If we do not care about untracked files in the working directory, we can use the --untracked-files=no option to disregard those:
-
-
twitter.com twitter.com
-
Trisha Greenhalgh 😷 #BlackLivesMatter on Twitter: “Mask steaming up your glasses? Fix here. https://t.co/Yn3wf7remH” / Twitter. (n.d.). Twitter. Retrieved July 7, 2020, from https://twitter.com/trishgreenhalgh/status/1279413188367454209
-
- Jun 2020
-
twitter.com twitter.com
-
Petrie-Flom Center on Twitter: “Here are @CaulfieldTim’s top tips for effective debunking! #COVID19andData https://t.co/AjkoTZSPjW” / Twitter. (n.d.). Twitter. Retrieved June 3, 2020, from https://twitter.com/PetrieFlom/status/1267856811962466304
-
- Apr 2020
- Dec 2019
-
www.howtogeek.com www.howtogeek.com
-
Another example: I didn’t find the Contexts useful, but I did want a way to sort my tasks by how long they take to complete, so I add items like “@5m” to tasks to mark how long I think they’ll take. When I have a few spare minutes I filter my list to show only quick tasks, and then get one of them done. It’s a simple thing, but it’s surprising how many little tasks I find myself doing during time I’d otherwise be watching YouTube videos.
-
- Oct 2019
-
stackoverflow.com stackoverflow.com
-
In Chrome browser, open Developer Tools and select Elements tab, then open the contextual menu of the parent node of the element you want to inspect, in the contextual menu click on Break on > Subtree modifications. Afterwards you just need to click on the page and you'll get on the inspector without losing focus or losing the element you want to inspect.
-
(() => { debugger; }, 5000)
-
- Nov 2017
-
code.facebook.com code.facebook.com
-
While previous attempts to use CNNs to train generative adversarial networks were unsuccessful, when we modified their architecture to create DCGANs, we were able to visualize the filters the networks learned at each layer, thus opening up the black box.
-
- Jan 2016
-
impedagogy.com impedagogy.com
-
Teachers feel as if they have limited control over what happens in their classrooms; parents feel as if they have little control over what gets taught their children; and students feel as if they have no control over what or how they are taught.
😁👍
You can use emojis in osX by holding down command+control+spacebar to open up the emoji keyboard.
-