4,493 Matching Annotations
  1. Jun 2021
    1. We should think about the number of simultaneous connections (peak and average) and the message rate/payload size. I think, the threshold to start thinking about AnyCable (instead of just Action Cable) is somewhere between 500 and 1000 connections on average or 5k-10k during peak hours.
      • number of simultaneous connections (peak and average)

      • the message rate/payload size.

    1. Thus, by adding system tests, we increase the maintenance costs for development and CI environments and introduce potential points of failures or instability: due to the complex setup, flakiness is the most common problem with end-to-end testing. And most of this flakiness comes from communication with a browser.
    1. This is why for a recent Angular+Rails project we chose to use a testing stack from the backend technology’s ecosystem for e2e testing.
    2. There are times to stretch individually and as a team, but there are also times to take advantage of what you already know.
    3. When it came to testing the whole product, end-to-end, owning both sides gave us not only more options to consider, but also more tools to choose from.
    4. This meant that we owned both sides of the product implementation. For unit testing on the frontend, we stayed with Angular’s suggestion of Jasmine. For unit testing on the backend, we went with rspec-rails. These worked well since unit tests don’t need to cross technology boundaries.
    5. We used testing tools that were in the same ecosystem as our backend technology stack for primrily three reasons: We owned both ends of the stack Team experience Interacting with the database
    6. We chose to define the frontend in one technology stack (Angular+TypeScript/JavaScript) and the backend in another (Ruby+Ruby on Rails), but both came together to fulfill a singular product vision.
    1. ​La forme de cet écrit est multisupport : à l’écran et imprimée, mettant en action les outils développés par les designers que j’étudie dans cette réflexion. Et, le propos sur l’édition à plusieurs est actionné par les commentaires de chaque lecteur disponibles sur la version numérique.

      Les commentaires et échanges ne sont donc visibles que sur la version numérique ? Puisqu'on parle de web to print, ce serait intéressant que l'écrit augmenté soit aussi présent dans la forme imprimée. En terme de mise en page, cela pourrait donner lieu à une forme intéressante des échanges : en fin d'ouvrage ? ou entrecoupant les différents chapitres ? ou encore directement en face de l'écrit d'origine pour confronter deux textes ? Chaque nouvelle impression serait comme une réédition, une édition qui s'écrirait sans cesse dans le temps.

    1. use :ENABLE_SOUNDTRACK, class: :boolean
    2. ENV! can convert your environment variables for you, keeping that tedium out of your application code. To specify a type, use the :class option:
    1. How to test at the correct level?
    2. As many things in life, deciding what to test at each level of testing is a trade-off:
    3. Only test the happy path, but make sure to add a test case for any regression that couldn’t have been caught at lower levels with better tests (for example, if a regression is found, regression tests should be added at the lowest level possible).
    4. These tests should only be used when: the functionality/component being tested is small the internal state of the objects/database needs to be tested it cannot be tested at a lower level
    5. Black-box tests at the system level (aka end-to-end or QA tests)
    1. when it first came out, cubicity: slide puzzle was full of mobile shenanigans, but based on feedback the developers quickly 'de-mobilized' it during launch week
    1. <small><cite class='h-cite via'> <span class='p-author h-card'>juanjosefernandez</span> in 📚-reading (<time class='dt-published'>06/04/2021 16:32:12</time>)</cite></small>

    1. von Feinaigle, Gregor.The New Art of Memory: Founded Upon the Principles Taught by M. Gregor von Feinaigle. London, 1813.

      I thought this was in my reading list and my library, but perhaps it's not? Doublecheck.

    2. Delaney, Ian, Kate Danskin, Erin Clinch, eds.William Fulwood’s The Castel of Memorie. CreateSpace IndependentPublishing, 2013.
    3. Other treatises exemplifying the retreat of imagery from the fourth canon include Henry Herdson’sThe Art of Memory Made Plaine, which saw two printings in 1651 and another in 1654, and ThomasFuller’s 1641 bookThe Holy State and the Profane State, which contains a section“On Memory.”

      Add these to our list.

    4. Willis’s primary interest was shorthand writing—he is chiefly noted forArt of Stenographie—andhis memory treatise is clearly influenced by shorthand’s mechanism of one-to-one correspondence.

      John Willis's Mnemonica (Latin 1618, English 1621, 1654, and 1661) covers memory, but he was apparently more interested in shorthand writing and also wrote Art of Stenographie.

      I'll have to read this for a view into the overlap of memory and shorthand with respect to the development of the major system. Did this influence others in the chain of history? It definitely fits into the right timeline.

    1. Another problem was the ambiguity of RFC 3066 regarding the generative syntax. The idea of "language-dash-region" language tags was easy enough to grasp; most users didn't read RFC 3066 directly or consider the unstated-but-realized implication that other subtags might sometimes occur in the second position.

      unstated-but-realized

    1. Gary Foster has provided a script to migrate to Pundit.
    2. Users who have installed it decided to trust me, and I'm not comfortable transferring that trust to someone else on their behalf. However, if you'd like to fork it, feel free.

      Interesting decision... Seems like the project could have been handed off to new maintainers instead of just a dead-end abandoned project and little chance of anyone using it for new projects now.

      Sure you can fork it, but without a clear indication of which of the many forks in the network graph to trust, I doubt few will take the (massively) extra time to evaluate all options and choose an existing fork as a "leader" (or create their own fork) to go with continuing maintenance...

    1. We want the GraphQL API to be the primary means of interacting programmatically with GitLab. To achieve this, it needs full coverage - anything possible in the REST API should also be possible in the GraphQL API.
  2. May 2021
    1. No it doesn't. I've simply told SvelteKit to ignore the type error from credentials missing. If there's some other issue or missing feature it's not blocked by this. That being said, I wouldn't mind getting this change in
    1. First of all, I would start off presenting yourself: Dear XYZ support team I am the web developer in charge of example.com website. By presenting you this way, you are establishing the frame to treat you, hinting that you should be presupposed to be somewhat proficient, so they could choose to answer in a more technical detail.
    2. Feel free to hint, brag, or both! The best CS reps should easily take a hint from clear language and a signature like John Appleseed, JavaScript/Ruby Developer, but any will catch on with a simple line like "I know what I'm doing, so I'd appreciate an extra-technical explanation!"
    3. If the hosting company (or any organization that you're trying to get support from) wanted you to know something, they would have already told you or made that information available.
    4. Hey, I'm a PhD in [field] and do [whatever] professionally. Before calling you, I've narrowed down the problem to [something on their end], so that's what needs to be addressed. If I could speak to an engineer about [specific problem], that'd be great; but if we've gotta walk through the script, let's just knock it out quickly. If they end up requiring the script, then the best way to use your expertise is to run through it quickly. Keep the chit-chat to a minimum and just do the stuff efficiently. If they start describing how to perform some step, you might interrupt them with, "Got it, just a sec.", then let them know once you're ready for the next step.
    5. However, what speaks against just straight up telling them that you're working as [Insert title of your position] and you know what you're talking about?
    6. And asking them if they think they know what they are doing will not help, because many people will overestimate their knowledge, making the support even more complicated as the tech guy may at first believe them and only find out later that they told wrong things because they do not actually know what they are pretending to know.
    7. OP is referring to letting people know they can speak like proper adults when talking about technical terms, without going through the usual nanny-like discourse that tech support has to provide to non-techies. For instance, it happened to me with Amazon support. The speaker told me exactly where to touch in order to clear the cache of the Android Amazon App Store. Given that I work as an app developer the guy could have just said "please clear the cache". No need to go through "tap here, then here, now you should see this, tap that"...
    8. I have tried different tactics of showing the tech support that I am proficient in their field of work (I work as a web developer). Specifically: using accurate terms and technologies to show my knowledge of them and telling the support that I am the "administrator" of the website in question.
    9. How to let tech support subtly know that I am proficient without showing off?
    10. They have to ask you the dumb questions, either because their employer demands they do, or sometimes because their computer system doesn't let them get to the next part of the script unless they play ball.
    11. Another will employ smart people who apologise to you profusely for having to go through all the pointless steps, but that's just what they have to do!
    1. Because constants in Ruby aren't meant to be changed, Ruby discourages you from assigning to them in parts of code which might get executed more than once, such as inside methods.
    1. If you would like to make a code change, go ahead. Fork the repository, open a pull request. Do this early, and talk about the change you want to make. Maybe we can work together on it.
    2. For users with Google Chrome, this can be paired with FelisCatus SwitchyOmega for great results.
    1. Are you also tired and fed up with the bulkiness of jQuery, but also don't want to have to type document.querySelector("div").appendChild(document.createTextNode("hello")); just to add some text to an element?

      happy middle/medium?

    1. --tag-rename '':'my-module-' (the single quotes are unnecessary, but make it clearer to a human that we are replacing the empty string as a prefix with my-module-)
    1. By default, groups created in: GitLab 12.2 or later allow both Owners and Maintainers to create subgroups. GitLab 12.1 or earlier only allow Owners to create subgroups.
    1. Salvinorin A, a kappa-opioid receptor agonist hallucinogen: pharmacology and potential template for novel pharmacotherapeutic agents in neuropsychiatric disorders

      I think this may be the best review of salvinorin A that I have ever looked at. I definitely need to sit down and read the full article at some point.

    1. If this is so, we literati must surrender certain cherished assumptions: that litera ture is inextricably associated with reading and writing, that lack of literacy means lack of culture.

      Lack of literacy definitely does not mean lack of culture.

      Reminder to self: I've got a strong suspicion that the Hebrew bible was transmitted orally for generations prior to being written down in a similar manner. I need to collect some additional evidence to build this case. The arc of the covenant is a first potential piece of evidence.

    1. Bloom’s taxonomy is a framework that suggests learners move from lower order thinking such as remembering and understanding, through to higher order thinking skills that include synthesising, evaluating and creating [26].

      This looks somewhat intriguing:

      Krathwohl DR. A Revision of Bloom’s Taxonomy: An Overview. Theory Into Practice. 2002;41(4):212–8. _2. https://doi.org/10.1207/s15430421tip4104 | Google Scholar

    1. <small><cite class='h-cite via'> <span class='p-author h-card'>KevinMarks</span> in #indieweb 2021-05-12 (<time class='dt-published'>05/18/2021 19:50:04</time>)</cite></small>

    1. I particularly enjoyed the California water commons, with its quiet nod to Elinor Ostrom’s original post-graduate research on emergent cooperation between county water-boards.

      A quiet nod here in it's own right. Now I want to dig into Elinor Ostrom's research and work.

    2. I’ve also written about China’s no less corrosive version of the Internet and how it’s marketed to developing and middle income countries as “Autocracy-as-a-Service”.

      Autocracy-as-a-Service---it's so sad that this apt phrase exists and worse that it has such a benign feeling to it.

      https://onezero.medium.com/now-any-government-can-buy-chinas-tools-for-censoring-the-internet-18ed862b9138

    1. The seminal 1890 Harvard Law Review article The Right to Privacy—which every essay about data privacy is contractually obligated to cite—argued that the right of an individual to object to the publication of photographs ought to be considered part of a general ‘right to be let alone’.

      <small><cite class='h-cite via'> <span class='p-author h-card'>Jenny</span> in left alone, together | The Roof is on Phire (<time class='dt-published'>05/08/2021 18:32:41</time>)</cite></small>

      See also: https://en.wikipedia.org/wiki/The_Right_to_Privacy_(article)

    1. <small><cite class='h-cite via'> <span class='p-author h-card'>JHI Blog </span> in Collective Memory - JHI Blog (<time class='dt-published'>05/12/2021 21:55:54</time>)</cite></small>

    1. Markus Krajewski reminds us that Luhmann’s choice of interlocutor has a precedent in an 1805 piece by the novelist Heinrich von Kleist (see the chapter “Paper as Passion” in this collection).

      <small><cite class='h-cite via'> <span class='p-author h-card'>Daniela K. Helbig </span> in  Ruminant machines: a twentieth-century episode in the material history of ideas - JHI Blog (<time class='dt-published'>05/12/2021 21:27:02</time>)</cite></small>

    1. <small><cite class='h-cite via'> <span class='p-author h-card'>Daniela K. Helbig </span> in  Ruminant machines: a twentieth-century episode in the material history of ideas - JHI Blog (<time class='dt-published'>05/12/2021 21:12:46</time>)</cite></small>

    1. Media theorist Markus Krajewski has devoted a book specifically to the paper machinery of cards and catalogs. He traces the origins of this machinery back to sixteenth-century attempts at indexing books, and through the twists and turns of library technology in Europe and the U.S. over the following centuries.
    2. Ideas have a history, but so do the tools that lend disembodied ideas their material shape −− most commonly, text on a page. The text is produced with the help of writing tools such as pencil, typewriter, or computer keyboard, and of note-taking tools such as ledger, notebook, or mobile phone app. These tools themselves embody the merging of often very different histories. Lichtenberg’s notebooks are a good example, drawing as they do on mercantile bookkeeping, the humanist tradition of the commonplace book, and Pietist autobiographical writing (see Petra McGillen’s detailed analysis).

      I like the thought of not only the history of thoughts and ideas, but also the history of the tools that may have helped to make them.

      I'm curious to delve into Pietist autobiographical writing as a concept.

    1. Collecting per-second measurements of CPU load might yield interesting data, but such frequent measurements may be very expensive to collect, store, and analyze.

      Revisit the log files on our production server.

    1. it is better to allow an error budget—a rate at which the SLOs can be missed—and track that on a daily or weekly basis
    2. To save effort, build a set of reusable SLI templates for each common metric; these also make it simpler for everyone to understand what a specific SLI means.
    1. With over 16 million pulls per month, Google’s `distroless` base images are widely used and depended on by large projects like Kubernetes and Istio. These minimal images don’t include common tools like shells or package managers, making their attack surface (and download size!) smaller than traditional base images such as `ubuntu` or `alpine`.

      I need to check these out.

    1. Standard economic theory uses mathematics as its main means of understanding, and this brings clarity of reasoning and logical power. But there is a drawback: algebraic mathematics restricts economic modeling to what can be expressed only in quantitative nouns, and this forces theory to leave out matters to do with process, formation, adjustment, creation and nonequilibrium. For these we need a different means of understanding, one that allows verbs as well as nouns. Algorithmic expression is such a means. It allows verbs (processes) as well as nouns (objects and quantities). It allows fuller description in economics, and can include heterogeneity of agents, actions as well as objects, and realistic models of behavior in ill-defined situations. The world that algorithms reveal is action-based as well as object-based, organic, possibly ever-changing, and not fully knowable. But it is strangely and wonderfully alive.

      Read abstract.

      The analogy of adding a "verb" to mathematics is intriguing here.

    1. Turing was an exceptional mathematician with a peculiar and fascinating personality and yet he remains largely unknown. In fact, he might be considered the father of the von Neumann architecture computer and the pioneer of Artificial Intelligence. And all thanks to his machines; both those that Church called “Turing machines” and the a-, c-, o-, unorganized- and p-machines, which gave rise to evolutionary computations and genetic programming as well as connectionism and learning. This paper looks at all of these and at why he is such an often overlooked and misunderstood figure.
    1. We analyze features contributing to the success of a book by feature importance analysis, finding that a strong driving factor of book sales across all genres is the publishing house. We also uncover differences between genres: for thrillers and mystery, the publishing history of an author (as measured by previous book sales) is highly important, while in literary fiction and religion, the author’s visibility plays a more central role.

      The abstract generally tracks with my personal experience in the space.

    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. Why are there so many programming languages and frameworks? Everyone has their own opinion on how something should be done. Some of these systems, like AOL, Yahoo, etc... have been around for a decade, and probably not updated much.
    2. Simple fact is that HTML support is different in them because mail clients are so old, or others are allowed to operate in browsers where not all CSS or even HTML can be applied in a secure manner. Older clients have outdated browsers that you'll likely NEVER see brought up to standards; what with Opera's standalone aging like milk, and thunderbird lagging behind the firefox on which it's even built. Don't even get me STARTED on older clients like Eudora or Outlook.
    1. MJML has been designed with responsiveness in mind. The abstraction it offers guarantee you to always be up-to-date with the industry practices and responsive. Email clients update their specs and requirements regularly, but we geek about that stuff - we’ll stay on top of it so you can spend less time reading up on latest email client updates and more time designing beautiful email.
  3. Apr 2021
    1. :structured - Lumberjack::Formatter::StructuredFormatter - crawls the object and applies the formatter recursively to Enumerable objects found in it (arrays, hashes, etc.).
    2. 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.
    1. There's nothing to stop you from doing initializer code in a file that lives in app/models. for example class MyClass def self.run_me_when_the_class_is_loaded end end MyClass.run_me_when_the_class_is_loaded MyClass.run_me... will run when the class is loaded .... which is what we want, right? Not sure if its the Rails way.... but its extremely straightforward, and does not depend on the shifting winds of Rails.

      does not depend on the shifting winds of Rails.