351 Matching Annotations
  1. Last 7 days
  2. May 2021
    1. What I am attempting to do is to highlight a div with a certain id, when It has been referred to by an anchor on another page IE: User clicks link href="qw.html#test", when the page is loaded, then the div with the id="test" is highlighted so that the user can see it clearly.
    2. You need to use the :target pseudo-class: :target { background-color: #ffa; }
    1. More importantly, using a plain email would save lots of time and effort. As a goal-driven-lazy person, that’s a good enough reason to start experimenting.
    2. They don't look like advertisements. The second the recipient interprets your email as an ad, promotion, or sales pitch—and it does take just a second—its chances of being read or acted upon plummet towards zero. A plain email leads people to start reading it before jumping to conclusions.

      forces you to read before deciding

    3. They feel more personal. It's no handwritten note, but it's much more personal than an over-designed email with the recipient's first name crammed somewhere inside.
    4. The plain, unstyled emails resulted in more opens, clicks, replies, and conversions, every time.
    5. They're less likely to go into the "Promotions" tab in Gmail (used by ~16% of all email users), for the same reasons above. From my testing, the plain emails typically end up in the Updates tab and some times even in the primary tab. Of course, the text in the email also affects this.
    6. The plain email—which took no time to design or code—was opened by more recipients and had 3.3x more clicks than the designed email.
    1. Vulgata

      Darunter versteht man heute die als authentisch aufgefasste Übersetzung der Bibel. Das Verfahren zur Ermittlung eines Vulgatatextes wird allerdings schon seit dem 3. und 2. Jhd. vor Christus praktiziert. Es kann also auf alle authentischen Texte bezogen werden.

  3. Apr 2021
    1. Ideally, GitHub would understand rich formats

      I've advocated for a different approach.

      Most of these "rich formats" are, let's just be honest, Microsoft Office file formats that people aren't willing to give up. But these aren't binary formats through-and-through; the OOXML formats are ZIP archives (following Microsoft's "Open Packaging Conventions") that when extracted are still almost entirely simple "files containing lines of text".

      So rather than committing your "final-draft.docx", "for-print.oxps" and what-have-you to the repo, run them through a ZIP extractor then commit that to the repo. Then, just like any other source code repo, include a "build script" for these—which just zips them back up and gives them the appropriate file extension.

      (I have found through experimentation that some of these packages do include some binary files (which I can't recall offhand), but they tend to be small, and you can always come up with a text-based serialization for them, and then rework your build script so it's able to go from that serialization format to the correct binary before zipping everything up.)

    1. Feedback from the faculty teaching team after teaching for almost 8 weeks is how to template and simplify space for students to use, here is a direct quote: “could we create dedicated blog page for students that would be a pre-made, fool-proof template? When a student’s WordPress blog does not work and we can’t fix the problem, it is very frustrating to be helpless beside an exasperated student.”

      There may be a bit of a path forward here that some might consider using that has some fantastic flexibility.

      There is a WordPress plugin called Micropub (which needs to be used in conjunction with the IndieAuth plugin for authentication to their CMS account) that will allow students to log into various writing/posting applications.

      These are usually slimmed down interfaces that don't provide the panoply of editing options that the Gutenberg interface or Classic editor metabox interfaces do. Quill is a good example of this and has a Medium.com like interface. iA Writer is a solid markdown editor that has this functionality as well (though I think it only works on iOS presently).

      Students can write and then post from these, but still have the option to revisit within the built in editors to add any additional bells and whistles they might like if they're so inclined.

      This system is a bit like SPLOTs, but has a broader surface area and flexibility. I'll also mention that many of the Micropub clients are open source, so if one were inclined they could build their own custom posting interface specific to their exact needs. Even further, other CMSes like Known, Drupal, etc. either support this web specification out of the box or with plugins, so if you built a custom interface it could work just as well with other platforms that aren't just WordPress. This means that in a class where different students have chosen a variety of ways to set up their Domains, they can be exposed to a broader variety of editing tools or if the teacher chooses, they could be given a single editing interface that is exactly the same for everyone despite using different platforms.

      For those who'd like to delve further, I did a WordPress-focused crash course session on the idea a while back:

      Micropub and WordPress: Custom Posting Applications at WordCamp Santa Clarita 2019 (slides)

    1. What you want is not to detect if stdin is a pipe, but if stdin/stdout is a terminal.

      The OP wasn't wrong in exactly the way this comment implies: he didn't just ask how to detect whether stdin is a pipe. The OP actaully asked how to detect whether it is a terminal or a pipe. The only mistake he made, then, was in assuming those were the only two possible alternatives, when in fact there is (apparently) a 3rd one: that stdin is redirected from a file (not sure why the OS would need to treat that any differently from a pipe/stream but apparently it does).

      This omission is answered/corrected more clearly here:

      stdin can be a pipe or redirected from a file. Better to check if it is interactive than to check if it is not.

    1. .mainContent {  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;  user-select: none; }

    1. This question does not show any research effort; it is unclear or not useful Bookmark this question. Show activity on this post. I'm trying to filter the output of the mpv media player, removing a particular line, but when I do so I am unable to control mpv with the keyboard. Here is the command: mpv FILE | grep -v 'Error while decoding frame' When I run the command, everything displays correctly, but I am unable to use the LEFT and RIGHT keys to scan through the file, or do anything else with the keyboard. How do I filter the output of the program while retaining control of it?
    2. Quite a lot of programs actually detect if their output goes to a file (e.g. try man | grep -F a and you will not be able to scroll back and forth).
    1. i found that for the osx host "gonzo" , the vanished files (not the warning message itself) appear in stdout - for linux hosts they _both_ appear in stderr , but nothing in stdout (rsync.err.#num is stderr, rsync.log is stdout)
    1. Note: The standard variant of the TextField is no longer documented in the Material Design guidelines (here's why), but Material-UI will continue to support it.
  4. Mar 2021
    1. This looks interesting. Web based? Also includes version control as well as collaboration support.

    1. engage in technology enhancedmultigenre research

      this will go nicely with a text from my Educational Ethnography class, Hybrid Ethnography

    1. [...document.querySelectorAll("*")].filter(e => e.childNodes && [...e.childNodes].find(n => n.nodeValue?.match("❤")))
    2. function contains(selector, text) { var elements = document.querySelectorAll(selector); return [].filter.call(elements, function(element){ return RegExp(text).test(element.textContent); }); }
  5. Feb 2021
  6. Jan 2021
    1. Group Rules from the Admins1NO POSTING LINKS INSIDE OF POST - FOR ANY REASONWe've seen way too many groups become a glorified classified ad & members don't like that. We don't want the quality of our group negatively impacted because of endless links everywhere. NO LINKS2NO POST FROM FAN PAGES / ARTICLES / VIDEO LINKSOur mission is to cultivate the highest quality content inside the group. If we allowed videos, fan page shares, & outside websites, our group would turn into spam fest. Original written content only3NO SELF PROMOTION, RECRUITING, OR DM SPAMMINGMembers love our group because it's SAFE. We are very strict on banning members who blatantly self promote their product or services in the group OR secretly private message members to recruit them.4NO POSTING OR UPLOADING VIDEOS OF ANY KINDTo protect the quality of our group & prevent members from being solicited products & services - we don't allow any videos because we can't monitor what's being said word for word. Written post only.

      Wow, that's strict.

    1. While there are always going to be cases where one is more appropriate than the other, border-bottom offers much more precise control over text-decoration and is therefore probably the preferred method. Here's a quick (likely not exhaustive) list of properties that border-bottom can control/enable that text-decoration cannot:
  7. Dec 2020
  8. Nov 2020
    1. logInfoToStdOut (boolean) (default=false) This is important if you read from stdout or stderr and for proper error handling. The default value ensures that you can read from stdout e.g. via pipes or you use webpack -j to generate json output.
  9. jct.lucidrhino.design jct.lucidrhino.design
    1. The heart of the JCT Charity is to restore dignity to those who have lost all. To show respect to all, (especially those who have little self-respect), and to hod out that helping hand. Never have people felt so isolated as now. Being heard is an important part of building ‘community’. Many we seek to help can’t speak English for example. JCT aims to give a voice to those who have not had one and to help them to interact and contribute again.

      Text needs editing to:

      The heart of JCT Charity is to restore dignity to those who have lost all. To show respect to all, and to hold out that helping hand to those in crisis of some kind. Never have people felt so isolated as now. Being heard is an important part of this. Many we seek to help can’t speak English for example. JCT aims to help people interact and contribute again.

    2. Many have said that COVID-19 has brought communities together. Neighborhoods have risen to the challenge of helping each other out in really practical ways, food banks have emerged, street Whatsapp groups popped up everywhere and friends doing each other’s shopping. And yet isolation and personal crisis are to be found everywhere. JCT sees the need to make an impact in these times, allowing connection, enabling a dialogue, joining communities together. For us Covid has forced us to close many of our previous services especially drop-ins for people who were homeless or in need. This crisis forced us to work in a more focused way, one to one, with many of our clients concentrationg of getting housing and funds for those in the greatest need. What we found was that we were able to make a greater difference to those we were able to work with over this time, and from this JCT were able to fashion a new, highly effective, method of casework. The lockdown has helped us identify a specific way to help in this time of great need.

      Copy needs editing to:

      During the pandemic, Jesus Centre staff are collaborating and are working diligently to adapt existing services and develop new projects for people in social and economic hardship. Our plan is to channel our resources where they are most needed and to continue to support the homeless, elderly and refugees who are struggling even more throughout the Coronavirus pandemic

  10. Oct 2020
    1. "Most Native Americans did not neatly distinguish between the natural and the supernatural. Spiritual power permeated their world and was both tangible and accessible"

      This shows how much more open Natives were to the super Naturaul unlike the Europeans who were more than likely christians.

    2. my first question: is what do they mean exactly by "kinship"?

      My second question is: what does the reading mean by Chiefdoms?

    3. "Food surpluses enabled significant population growth, and the Pacific Northwest became one of the most densely populated regions of North America"

      This is significant because it shows how succesful the natives were before the Europeans showed up and spread native European diseases to Natives.

    1. I don’t think the right answer is to use something like the Mnemonic medium to memorize a cookbook’s contents. I think a likelier model is: each time you see a recipe, there’s some chance it’ll trigger an actionable “ooh, I want to make this!”, dependent on seasonality, weather, what else you’ve been cooking recently, etc. A more effective cookbook might simply resurface recipes intermittently over time, creating more opportunities for a good match: e.g. a weekly email with 5-10 cooking ideas, perhaps with some accompanying narrative. Ideally, the cookbook would surface seasonally-appropriate recipes. Seasonality would make the experience of “reading” a cookbook extend over the course of a year—a Timeful text.

      Indigenous peoples not only used holidays and other time-based traditions as a means of spaced repetition, but they also did them for just this purpose of time-based need. Winter's here and the harvest changes? Your inter-tribal rituals went over your memory palace for just those changes. Songs and dances recalled older dishes and recopies that hadn't been made in months and brought them into a new rotation.

      Anthropologists have collected examples of this specific to hunting seasons and preparations of the hunt in which people would prepare for the types of game they would encounter. Certainly they did this for feast times and seasonal diets as well. Indians in the Americas are documenting having done things like this for planting corn and keeping their corn varieties pure over hundreds of years.

  11. Sep 2020
    1. 19 Now the Lord God had formed out of the ground all the wild animals(AA) and all the birds in the sky.(AB) He brought them to the man to see what he would name them; and whatever the man called(AC) each living creature,(AD) that was its name. 20 So the man gave names to all the livestock, the birds in the sky and all the wild animals.

      God had given Adam the responsibility to name all living creatures on Earth after the first days of creation. In Ursula K. Le Guin’s “She Unnames Them”, the idea of how labels or given names could take away from “personal choice” and “freedom” was explored throughout the text. Instead of believing that humans are above animals and living creatures, Buddhists view animals as very sacred beings and are to be shown with respect and to never be harmed. They also believe that humans can be reborn as animals, all interconnected within one another, supporting their beliefs of showing extreme care towards animals and allowing them to live freely.

    2. When the woman saw that the fruit of the tree was good for food and pleasing to the eye, and also desirable(AT) for gaining wisdom, she took some and ate it.

      Despite being told by God that she and her husband were not allowed to eat the fruit from the tree of the knowledge of good and evil, Eve gave into her temptations. The idea of the "forbidden fruit" has been carried into other pieces of literature, using an apple to symbolize a character's temptation leading to downfall.

      For example, in the fairy tale, Snow White and the Seven Dwarfs, when Snow White eats the poisoned apple, offered by the evil witch, who parallels the serpent, she falls into a death-like sleep.

  12. Aug 2020
  13. Jul 2020
    1. Because the Web IDE is based on the Monaco Editor, you can find a more complete list of supported languages in the Monaco languages repository. Under the hood, Monaco uses the Monarch library for syntax highlighting.
  14. Jun 2020
  15. May 2020
    1. Once running, kaniko will then get the data from STDIN and create the build context as a compressed tar. It will then unpack the compressed tar of the build context before starting the image build.
    1. Pipes are great for taking output of one command and transforming it using other commands like jq. They’re a key part of the Unix philosophy of “small sharp tools”: since commands can be chained together with pipes, each command only needs to do one thing and then hand it off to another command.
  16. Apr 2020
    1. Python contributed examples¶ Mic VAD Streaming¶ This example demonstrates getting audio from microphone, running Voice-Activity-Detection and then outputting text. Full source code available on https://github.com/mozilla/DeepSpeech-examples. VAD Transcriber¶ This example demonstrates VAD-based transcription with both console and graphical interface. Full source code available on https://github.com/mozilla/DeepSpeech-examples.
    1. Python API Usage example Edit on GitHub Python API Usage example¶ Examples are from native_client/python/client.cc. Creating a model instance and loading model¶ 115 ds = Model(args.model) Performing inference¶ 149 150 151 152 153 154 if args.extended: print(metadata_to_string(ds.sttWithMetadata(audio, 1).transcripts[0])) elif args.json: print(metadata_json_output(ds.sttWithMetadata(audio, 3))) else: print(ds.stt(audio)) Full source code
    1. DeepSpeech is an open source Speech-To-Text engine, using a model trained by machine learning techniques based on Baidu's Deep Speech research paper. Project DeepSpeech uses Google's TensorFlow to make the implementation easier. NOTE: This documentation applies to the 0.7.0 version of DeepSpeech only. Documentation for all versions is published on deepspeech.readthedocs.io. To install and use DeepSpeech all you have to do is: # Create and activate a virtualenv virtualenv -p python3 $HOME/tmp/deepspeech-venv/ source $HOME/tmp/deepspeech-venv/bin/activate # Install DeepSpeech pip3 install deepspeech # Download pre-trained English model files curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.pbmm curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.scorer # Download example audio files curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/audio-0.7.0.tar.gz tar xvf audio-0.7.0.tar.gz # Transcribe an audio file deepspeech --model deepspeech-0.7.0-models.pbmm --scorer deepspeech-0.7.0-models.scorer --audio audio/2830-3980-0043.wav A pre-trained English model is available for use and can be downloaded using the instructions below. A package with some example audio files is available for download in our release notes.
    1. Library for performing speech recognition, with support for several engines and APIs, online and offline. Speech recognition engine/API support: CMU Sphinx (works offline) Google Speech Recognition Google Cloud Speech API Wit.ai Microsoft Bing Voice Recognition Houndify API IBM Speech to Text Snowboy Hotword Detection (works offline) Quickstart: pip install SpeechRecognition. See the “Installing” section for more details. To quickly try it out, run python -m speech_recognition after installing. Project links: PyPI Source code Issue tracker Library Reference The library reference documents every publicly accessible object in the library. This document is also included under reference/library-reference.rst. See Notes on using PocketSphinx for information about installing languages, compiling PocketSphinx, and building language packs from online resources. This document is also included under reference/pocketsphinx.rst.
    1. Running the example code with python Run like this: cd vosk-api/python/example wget https://github.com/alphacep/kaldi-android-demo/releases/download/2020-01/alphacep-model-android-en-us-0.3.tar.gz tar xf alphacep-model-android-en-us-0.3.tar.gz mv alphacep-model-android-en-us-0.3 model-en python3 ./test_simple.py test.wav To run with your audio file make sure it has proper format - PCM 16khz 16bit mono, otherwise decoding will not work. You can find other examples of using a microphone, decoding with a fixed small vocabulary or speaker identification setup in python/example subfolder
    2. Vosk is a speech recognition toolkit. The best things in Vosk are: Supports 8 languages - English, German, French, Spanish, Portuguese, Chinese, Russian, Vietnamese. More to come. Works offline, even on lightweight devices - Raspberry Pi, Android, iOS Installs with simple pip3 install vosk Portable per-language models are only 50Mb each, but there are much bigger server models available. Provides streaming API for the best user experience (unlike popular speech-recognition python packages) There are bindings for different programming languages, too - java/csharp/javascript etc. Allows quick reconfiguration of vocabulary for best accuracy. Supports speaker identification beside simple speech recognition.
    3. Kaldi API for offline speech recognition on Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
    1. import all the necessary libraries into our notebook. LibROSA and SciPy are the Python libraries used for processing audio signals. import os import librosa #for audio processing import IPython.display as ipd import matplotlib.pyplot as plt import numpy as np from scipy.io import wavfile #for audio processing import warnings warnings.filterwarnings("ignore") view raw modules.py hosted with ❤ by GitHub View the code on <a href="https://gist.github.com/aravindpai/eb40aeca0266e95c128e49823dacaab9">Gist</a>. Data Exploration and Visualization Data Exploration and Visualization helps us to understand the data as well as pre-processing steps in a better way. 
    2. TensorFlow recently released the Speech Commands Datasets. It includes 65,000 one-second long utterances of 30 short words, by thousands of different people. We’ll build a speech recognition system that understands simple spoken commands. You can download the dataset from here.
    3. In the 1980s, the Hidden Markov Model (HMM) was applied to the speech recognition system. HMM is a statistical model which is used to model the problems that involve sequential information. It has a pretty good track record in many real-world applications including speech recognition.  In 2001, Google introduced the Voice Search application that allowed users to search for queries by speaking to the machine.  This was the first voice-enabled application which was very popular among the people. It made the conversation between the people and machines a lot easier.  By 2011, Apple launched Siri that offered a real-time, faster, and easier way to interact with the Apple devices by just using your voice. As of now, Amazon’s Alexa and Google’s Home are the most popular voice command based virtual assistants that are being widely used by consumers across the globe. 
    4. Learn how to Build your own Speech-to-Text Model (using Python) Aravind Pai, July 15, 2019 Login to Bookmark this article (adsbygoogle = window.adsbygoogle || []).push({}); Overview Learn how to build your very own speech-to-text model using Python in this article The ability to weave deep learning skills with NLP is a coveted one in the industry; add this to your skillset today We will use a real-world dataset and build this speech-to-text model so get ready to use your Python skills!
    1. One can imagine that this whole process may be computationally expensive. In many modern speech recognition systems, neural networks are used to simplify the speech signal using techniques for feature transformation and dimensionality reduction before HMM recognition. Voice activity detectors (VADs) are also used to reduce an audio signal to only the portions that are likely to contain speech. This prevents the recognizer from wasting time analyzing unnecessary parts of the signal.
    2. Most modern speech recognition systems rely on what is known as a Hidden Markov Model (HMM). This approach works on the assumption that a speech signal, when viewed on a short enough timescale (say, ten milliseconds), can be reasonably approximated as a stationary process—that is, a process in which statistical properties do not change over time.
    3. The first component of speech recognition is, of course, speech. Speech must be converted from physical sound to an electrical signal with a microphone, and then to digital data with an analog-to-digital converter. Once digitized, several models can be used to transcribe the audio to text.
    4. How speech recognition works, What packages are available on PyPI; and How to install and use the SpeechRecognition package—a full-featured and easy-to-use Python speech recognition library.
    5. The Ultimate Guide To Speech Recognition With Python
    1. there is also strong encouragement to make code re-usable, shareable, and citable, via DOI or other persistent link systems. For example, GitHub projects can be connected with Zenodo for indexing, archiving, and making them easier to cite alongside the principles of software citation [25].
      • Teknologi Github dan Gitlab fokus kepada modus teks yang dapat dengan mudah dikenali dan dibaca mesin/komputer (machine readable).

      • Saat ini text mining adalah teknologi utama yang berkembang cepat. Machine learning tidak akan jalan tanpa bahan baku dari teknologi text mining.

      • Oleh karenanya, jurnal-jurnal terutama terbitan LN sudah lama memiliki dua versi untuk setiap makalah yang dirilis, yaitu versi PDF (yang sebenarnya tidak berbeda dengan kertas zaman dulu) dan versi HTML (ini bisa dibaca mesin).

      • Pengolah kata biner seperti Ms Word sangat bergantung kepada teknologi perangkat lunak (yang dimiliki oleh entitas bisnis). Tentunya kode-kode untuk membacanya akan dikunci.

      • Bahkan PDF yang dianggap sebagai cara termudah dan teraman untuk membagikan berkas, juga tidak dapat dibaca oleh mesin dengan mudah.

    1. Its superior not because its faster, nor because there are shortcuts for you to do things, but because you can make shortcuts to do things.
  17. Mar 2020
    1. Thisprovidesthestudentwithanexperienceakintosittingnexttotheinstructorinhisorherofficewhilegoingthroughtheassignment

      Equivalent but not identical

    2. Anumberofstudieshavedemonstratedthebenefitsofvoicefeedbackforstudents.Butfacultyneednotstopthere.Theproliferationofinexpensivescreencastingsoftwaremakesiteasyforfacultytodeliverscreencastedfeedbacktostudents

      so there is evidence of the benefits of voice feedback and now that it is more readily available, instructors should use it more often.

    1. That is, we are members of the same species.

      This is true but it used to be false. Biologists (Linnaeus) grouped different races into different species. That false classification still has modern-day ramifications.

  18. Feb 2020
  19. Dec 2019
    1. Your task list is a plain text file, not some proprietary format owned by a company or locked to a specific application.
    2. A simple and timeless format Plain text is the simplest file format there is. It will always be accessible, by some kind of application, forever.