126 Matching Annotations
  1. Last 7 days
    1. But in the dark world of HTML email, where the motto is "code like it's 1996" because Outlook uses the rendering engine from MS Word and Gmail removes almost everything, every method for making two elements overlap that I can think of is unsuitable due to poor client support
    1. I'm coding an email for a project and man! it's such a pain. Every other client has it's own implementation and supported rules. Some don't allow even simple properties like background-image while some support most advanced rules like media queries
    2. I haven't done much e-mail templating luckily, but like you said it's a PITA... It would be great if there was some kind of standard though, but that's not going to happen anytime soon
    3. That's something that has been bugging me too. I mean, it's fine if not everything is supported, but if everyone could agree on what is or should be supported then that would make a huge difference. But until then, it's going to be a struggle.
  2. Apr 2021
    1. The main difference is in the flow of how messages are ultimately sent to devices for output. The standard library Logger logic converts the log entries to strings and then sends the string to the device to be written to a stream. Lumberjack, on the other hand, sends structured data in the form of a Lumberjack::LogEntry to the device and lets the device worry about how to format it. The reason for this flip is to better support structured data logging. Devices (even ones that write to streams) can format the entire payload including non-string objects and tags however they need to.
    2. The logging methods (debug, 'info', 'warn', 'error', 'fatal') are overloaded with an additional argument for setting tags on the log entry.
    1. Write stderr and stdout to a file, display stderr on screen (on stdout) exec 2> >(tee -a -i "$HOME/somefile.log") exec >> "$HOME/somefile.log" Useful for crons, so you can receive errors (and only errors) by mail
    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. 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. I managed to do half the work. But that’s exactly it: It’s work. It’s designed that way. It requires a thankless amount of mental and emotional energy, just like some relationships.

      This is a great example of how services like Facebook can be like the abusive significant other you can never leave.

    2. I realized it was foolish of me to think the internet would ever pause just because I had. The internet is clever, but it’s not always smart. It’s personalized, but not personal. It lures you in with a timeline, then fucks with your concept of time. It doesn’t know or care whether you actually had a miscarriage, got married, moved out, or bought the sneakers. It takes those sneakers and runs with whatever signals you’ve given it, and good luck catching up.
    3. Pinterest doesn’t know when the wedding never happens, or when the baby isn’t born. It doesn’t know you no longer need the nursery. Pinterest doesn’t even know if the vacation you created a collage for has ended. It’s not interested in your temporal experience.This problem was one of the top five complaints of Pinterest users.
  3. Mar 2021
    1. My preference here is biased by the fact that I spend everyday at work building web components, so Svelte's approach feels very familiar to slots in web components.

      first sighting: That <template>/<slot> is part of HTML standard and the reason Svelte uses similar/same syntax is probably because it was trying to make it match / based on that syntax (as they did with other areas of the syntax, some of it even JS/JSX-like, but more leaning towards HTML-like) so that it's familiar and consistent across platforms.

    2. but I like that Svelte comes with a good CSS story out the box.

      comes with a good CSS story out the box

    1. Can we occupy technology with love?

      An interesting re-framing of the social media problem. Similar to the IndieWeb philosophy, but a bit more pointed.

    1. It does this by creating links to specially crafted URLs using custom schemes (ie. "txmt", "subl", "mvim"). I prefer to use standard CLI vim in iTerm.

      I have similar problem: want to use regular vim in tilix terminal

    1. the community is both endlessly creative and genuinely interested in solving big issues in meaningful ways. Whether it's their commitment to careful (and caring) community stewardship or their particular strain of techno-ethics, I have been consistently (and pleasantly) surprised at what I've seen during the last twelve months. I don't always see eye-to-eye with their decisions and I don't think that the community is perfect, but it's consistently (and deliberately) striving to be better, and that's a fairly rare thing, online or off.
    1. Will it also help accomplish another goal — communicating to my students that a classroom of learners is, in my mind, a sort of family?

      I like the broader idea of a classroom itself being a community.

      I do worry that without the appropriate follow up after the fact that this sort of statement, if put on as simple boilerplate, will eventually turn into the corporate message that companies put out about the office and the company being a tight knit family. It's easy to see what a lie this is when the corporation hits hard times and it's first reaction is to fire family members without any care or compassion.

    2. <small><cite class='h-cite via'> <span class='p-author h-card'>Remi Kalir</span> in Annotate Your Syllabus 3.0 (<time class='dt-published'>03/13/2021 14:18:33</time>)</cite></small>

    1. One thing that would be useful to this debate an analysis of a language ecosystem where there are only "macropackages" and see if the same function shows up over and over again across packages.
    1. jq uses the Oniguruma regular expression library, as do php, ruby, TextMate, Sublime Text, etc, so the description here will focus on jq specifics.
  4. Feb 2021
    1. identity theft

      Saw this while scrolling through quickly. Since I can't meta highlight another hypothesis annotation

      identity theft

      I hate this term. Banks use it to blame the victims for their failure to authenticate people properly. I wish we had another term. —via > mcr314 Aug 29, 2020 (Public) on "How to Destroy ‘Surveillance C…" (onezero.medium.com)

      This is a fantastic observation and something that isn't often noticed. Victim blaming while simultaneously passing the buck is particularly harmful. Corporations should be held to a much higher standard of care. If corporations are treated as people in the legal system, then they should be held to the same standards.

    1. Brian Nosek. (2020, December 5). We need a #2020goodnews trend. Here’s one: Science keeps getting more open. One indicator from @OSFramework: OSF users posted 9,349 files of data or other research content PER DAY OSF users made 5,633 files public PER DAY EVERY DAY in 2020 #openscience is accelerating [Tweet]. @BrianNosek. https://twitter.com/BrianNosek/status/1335210552252125184

    1. Programming to an interface means that when you are presented with some programming interface (be it a class library, a set of functions, a network protocol or anything else) that you keep to using only things guaranteed by the interface. You may have knowledge about the underlying implementation (you may have written it), but you should not ever use that knowledge.
  5. Jan 2021
    1. Great, I can use vw to scale text so it doesn't look puny on a desktop! Perfect... Oh. Huh, now the text is too small to read when viewed on a phone. Okay, well I can just use "max(x,y)" to make sure it doesn't get shrunk beyond a minimum size. Perfect... Oh. Hmm. Looks like "max" isn't supported properly by Chrome. Okay, well guess I'll just use "px" again.
    1. overflow-wrap: break-word; makes sure the long string will wrap and not bust out of the container. You might as well use word-wrap as well because as the spec says, they are literally just alternate names for each other. Some browsers support one and not the other.
    1. >Linux needs an app delivery format Yeah, it's incredible that it has managed to survive for so long without one.
    2. Its not too complicated but it is an annoyance. I want /etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf, /etc/rc.local and all the standard stuff to work. The heavy lifting is done in the kernel. All they need to do is leave it alone. Its getting harder to make Ubuntu behave like Linux.
    1. If components gain the slot attribute, then it would be possible to implement the proposed behavior of <svelte:fragment /> by creating a component that has a default slot with out any wrappers. However, I think it's still a good idea to add <svelte:fragment /> so everyone who encounters this common use case doesn't have to come up with their own slightly different solutions.
  6. Dec 2020
  7. 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.
    1. All browers handle 302 incorrectly. Chrome 30, IE10. It became the de facto incorrect implementation; that cannot be changed because so many web-sites issue mistakenly issue 302. In fact ASP.net MVC incorrectly issues 302, depending on the fact that browsers handle it incorrectly.
  8. Oct 2020
  9. react-spectrum.adobe.com react-spectrum.adobe.com
    1. In addition, this example shows usage of the isPressed value returned by useButton to properly style the button's active state. You could use the CSS :active pseudo class for this, but isPressed properly handles when the user drags their pointer off of the button, along with keyboard support and better touch screen support.
    1. trusktr herman willems • 2 years ago Haha. Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).

    1. However, this would lead to further divergence. Tooling that is built around the assumptions imposed by template literals wouldn't work. It would undermine the meaning of template literals. It would be necessary to define how JSX behaves within the rest of the ECMAScript grammar within the template literal anyway.
    2. Why not just use that instead of inventing a syntax that's not part of ECMAScript?
    3. ECMAScript 6th Edition (ECMA-262) introduces template literals which are intended to be used for embedding DSL in ECMAScript.
    1. The problem is that the since both the JSX transpiler and the traceur compiler are actually parsing the full javascript AST, they would have to mutually agree on the syntax extensions you use: traceur can't parse the faux-xml syntax JSX adds, and JSX can't parse the async or await keywords, for example, or generator functions.
  10. Sep 2020
    1. and I keep up with the modern way

      Here we can clearly observe Betteredge's double standard. Just a few lines above, he ascribes a contradictory behavior to women, and now he exhibits it gloriously himself. It's very apparent throughout the story that Betteredge cares a great deal about whether someone is "a Dustman or a Duke." He never fails to talk highly about people of rank, and scarcely about people of no particular hereditary rank. It even manifests itself in the way he values himself (albeit with some insecurity), as opposed to his servants. But here, he so blatantly declares himself free of any prejudicial behavior... This is one of various instances in which his hypocrisy is showing face.

  11. Aug 2020
  12. Jul 2020
    1. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD.
  13. Jun 2020
    1. the lowest copy number sample points impacted faster and sronger, then you just need to stabilize by adding a neutral nucleic acid background in your standard curve. I usually use water containig 10ng/microl yeast tRNA to perform serial dilutions. This will first create a reaction background similar to your RTQPCR reaction, but also stabilize your DNA copies; I can freeze and thaw (min 20C) more than 50 times the same standard curve sample without any loss in Cts, from 10E6 to 10E2 copies. When I tested the same standard curve but diluted in water only, then the 10E2 started to be slightly affected after one freeze and thaw and then crashed further; then higher copy numbers samples were also affected after 2 to 3 freeze and thaw.
    1. Slightly on a tangent, but https://github.com/hypothesis/h/issues/777 could be a good target for https://solidproject.org/ to address. The Web Annotation Vocabulary is defined in RDF, so there should be zero overhead.

      yes SOLID would be a neat backend for w3c annotations

  14. 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.
  15. Apr 2020
    1. Rails also adds a test method that takes a test name and a block. It generates a normal Minitest::Unit test with method names prefixed with test_. So you don't have to worry about naming the methods, and you can write something like:

      Or you could use the "it" format mentioned on https://devhints.io/minitest.

      Or better yet, just use rspec...

    1. a defined quantity of a nonhuman control virus (seal herpes virus [SHV], kindly provided by H. G. M. Niesters, University of Rotterdam, The Netherlands) was spiked into each sample prior to DNA and RNA extraction. Since constant DNA quantities of the control virus are coextracted even when RNA isolation kits are used (H. G. M. Niesters, personal communication; our own unpublished observations), the virus can also serve as a control in RNA virus detection assays.
    1. In many households, telephones were hard-wired to wall terminals before connectors like RJ11 and BS 6312 became standardized.
  16. Mar 2020
    1. The standard error (the standard deviation of the distribution of sample means) has this formula:

      Tex command for the standard deviation of the sample mean

  17. Jan 2020
    1. The Web Annotation Data Model specification describes a structured model and format to enable annotations to be shared and reused across different hardware and software platforms.

      The publication of this web standard changed everything. I look forward to true testing of interoperable open annotation. The publication of the standard nearly three years ago was a game changer, but the game is still in progress. The future potential is unlimited!

  18. Dec 2019
    1. Due dates and threshold dates aren't part of the todo.txt format spec! Due date and threshold date are implemented as key:value tags, which are fully compliant with the todo.txt format spec. They both are popular extensions to the todo.txt command line scripts.
    1. uBlock Origin blocks ads through its support of the Adblock Plus filter syntax. uBlock Origin extends the syntax and is designed to work with custom rules and filters.
    1. TC39 urges caution when using Stage 2-or below proposals, as it might result in inadvertent pressure from the community to keep the implementation as-is instead of improving it for fear of breaking existing code or ecosystem fragmentation (e.g. using a different symbol like # instead of @ for decorators).
    2. The reasoning is that saying "ES7 Decorators" assumes that Decorators is expected to be in ES7. I mentioned this in my last post regarding compiling node_modules, but being in a particular Stage doesn't guarantee much: a proposal can stall, move backward, or get removed entirely.
  19. Nov 2019
  20. Oct 2019
    1. Epictetus wrote nothing; and all that we have under his name was written by an affectionate pupil, Arrian, afterwards the historian of Alexander the Great, who, as he tells us, took down in writing the philosopher’s discourses

      As it happens, this annotation works through its proper URL) but, Hypothesis butchered the link. You need to turn the page once to see the highlight though.

  21. May 2019
    1. NDEx lets you specify Licenses and Request DOIs for your networks to include in grant proposals or publications thus enabling papers to link directly to your data.
    1. Require DOI?: Set this to true in order to generate a permanent identifier for this collection (Please set this to true for collections related to publications).
    1. The use of the common metabolite names in the RefMet database is strongly encouraged in order to be able to compare and contrast metabolite data across different experiments and studies.
  22. Apr 2019
  23. Feb 2019
    1. Thirdly, When the signification of the word is referred to a standard, which standard is not easy to be known.

      Trying to think of good examples of this, and came up with: "They are good people" or "She has the moral high ground".... possibly even words like "Lethal" because a weapon or object doesn't need to seem dangerous to everyone to have the ability to kill someone

  24. Jan 2019
    1. Coming back to the two ‘FreeSync’ settings in the monitor OSD, they differ in the variable refresh rate range that they support. ‘Standard Engine’ supports 90 – 144Hz (90 – 119Hz via HDMI) whilst ‘Ultimate Engine’ gives a broader variable refresh rate range of 70 – 144Hz (62 – 119Hz via HDMI). We didn’t notice any adverse effects when using ‘Ultimate Engine’, so we’d suggest users simply stick to that option.

      In my tests using Standard Engine, in combo with G-Sync Compatible Driver, I get more screen flickering during menus.

  25. Dec 2018
    1. Classifications may or may not become standardized. If they do not, they are ad hoc, limited to an individual or a local community, and/or of limited duration. At the same time, every successful standard imposes a classification system, at the very least between good and bad ways of organizing actions or things. And the work-arounds involved in the practical use of standards frequently entail the use of ad hoc nonstandard categories.

      This is an important point for classifying and standardizing modes of time and temporal representations in information systems. What comes first? The class or the standard?

    2. Standards Classifications and standards are closely related, but not identical. While this book focuses on classification, standards are crucial compo­nents of the larger argument. The systems we discuss often do become standardized; in addition, a standard is in part a way of classifying the world.

      Definition of standards

      "What are standards?"

      1. A set of agreed-upon rules for the production of objects
      2. Spans more than one community of practice. It has temporal reach since it persists over time.
      3. Deployed in making things work together over distance and heterogeneous metrics
      4. Standards are enforced by some legal/regulatory/professional/government body.
      5. There is no natural law that the best standard wins
      6. Standards can be difficult and expensive to change
  26. Sep 2018
    1. If ever there were a newspaper headline custom-made for Jay Leno's monologue, this was it. Kids taking on McDonald's this week, suing the company for making them fat. Isn't that like middle-aged men suing Porsche for making them get speeding tickets? Whatever happened to personal responsibility?

      They say / Standard View

    1. THE ISLAMIC REPUBLIC OF IRAN HAS BECOME, in two senses,an extraordinary preoccupation of the United States.

      Standard View



  27. Aug 2018
    1. The standardization of local times into standard world time is one of the prime examples for the push towards standardization and integration also on the temporal scale (Zerubavel, 1982).

      Get this paper.

      Zerubavel, E. (1982) 'The Standardization of Time: A Sociohistorical Perspective', American Journal of Sociology 1: 1-12.

    2. Despite the apparent diversity of themes, certain common patterns can be discerned in empirical studies dealing with time. They bear the imprint of the ups and downs of research fashions as well as the waxing and waning of influences from neighbouring disciplines. But they all acknowledge 'time as a problem' in 'time-compact' societies (Lenntorp, 1978), imbued with the pressures of time that come from time being a scarce resource.

      Overview of interdisciplinary, empirical time/temporality studies from late 70s to 80s. (contemporary to this book)

      Cites Carey "The Case of the Telegraph" -- "impact of the telegraph on the standardization of time"

      Cites Bluedorn -- "it is omnipresent indecision-making, deadlines andother aspects of organizational behaviour like various forms of group processes"

  28. Jun 2018
    1. global technology firm with social and economic justice at its very core

      Social Justice Pillar.

      Global IT Solutions: Your Quality Solutions Partner.

      1. emphasis on partnership and collaboration
      2. technologies influencing client business decisions
  29. Apr 2018
    1. The jōyō kanji (常用漢字, regular-use kanji) are 2,136 characters consisting of all the Kyōiku kanji, plus 1,130 additional kanji taught in junior high and high school[9].

      常用(じょうよう)漢字(かんじ)means "daily use" kanji.

    2. Some characters were given simplified glyphs, called shinjitai (新字体). Many variant forms of characters and obscure alternatives for common characters were officially discouraged.

      The simplification of Japanese kanji was done to a lesser extent than that of the Chinese hanzi.

  30. Oct 2017
    1. This was in part because of the considerable time that it took WWARN secretariat staff to persuade Oxford University lawyers that seven pages of often arcane legal language could be streamlined into a three-page document in plain English, understandable to malaria researchers worldwide.

      And even those three pages use non-standard terms, which requires more lawyers to assess the compatibility of these terms with those of any other database one might wish to combine with WWARN data.

  31. May 2017
    1. REQUIRED fields are no longer supported in Standard SQL. If you're using Standard SQL (as opposed to Legacy SQL), they recommend you change all your REQUIRED fields to NULLABLE.
  32. Jan 2017
    1. Common

      Though "standard" English is still important, it seems that there was more anxiety about standardization and prescriptive language/grammar during the Enlightenment than there is now. What accounts for this concern? Does it have anything to do with expansion in education, or leaning more towards the vernacular in school?