383 Matching Annotations
  1. Last 7 days
    1. Let Docker manage the storage of your database data by writing the database files to disk on the host system using its own internal volume management. This is the default and is easy and fairly transparent to the user. The downside is that the files may be hard to locate for tools and applications that run directly on the host system, i.e. outside containers. Create a data directory on the host system (outside the container) and mount this to a directory visible from inside the container. This places the database files in a known location on the host system, and makes it easy for tools and applications on the host system to access the files. The downside is that the user needs to make sure that the directory exists, and that e.g. directory permissions and other security mechanisms on the host system are set up correctly.
  2. Jan 2023
    1. like a goddess of Victory

      This symbolizes the strength that Mrs. Mallard had during this time period, and shows that she will conquer obstacles in her future.

  3. Dec 2022
    1. API TypeMailgun API NamePostmark API NameSending EmailsMessagesEmailManaging SuppressionsSuppressionsSuppressionsManaging TemplatesTemplatesTemplatesManaging Sending SettingsServerManaging ServersServersManaging Sent EmailsEventsMessagesManaging Inbound EmailsMessages, EventsMessagesManage Inbound Processing SettingsRoutesManage email domains you can send fromDomainsDomains
  4. Nov 2022
    1. As you note, Activity diagrams inherently can include concurrency and timing. If you look at this example cribbed from Wikipedia, shown below, you can observe the section with two heavy horizontal bars, and two parallel activities of "present idea" and "record idea". That is read as "start these activities in parallel, and continue only when both are complete." Flowcharts can't express this within the notation. Practically, using activity diagrams lets you think clearly about concurrent processes. I think you'll find that anyone who can read a flowchart will quickly adapt.
  5. Sep 2022
  6. Aug 2022
  7. Jun 2022
    1. The creator of GraphQL admits this. During his presentation on the library at a Facebook internal conference, an audience member asked him about the difference between GraphQL and SOAP. His response: SOAP requires XML. GraphQL defaults to JSON—though you can use XML.
    2. Conclusion There are decades of history and a broad cast of characters behind the web requests you know and love—as well as the ones that you might have never heard of. Information first traveled across the internet in 1969, followed by a lot of research in the ’70s, then private networks in the ’80s, then public networks in the ’90s. We got CORBA in 1991, followed by SOAP in 1999, followed by REST around 2003. GraphQL reimagined SOAP, but with JSON, around 2015. This all sounds like a history class fact sheet, but it’s valuable context for building our own web apps.
  8. May 2022
    1. Given the complexities of the brain’s structure and the functions it performs, any one of these models is surely oversimplified and ultimately wrong—at best, an approximation of some aspects of what the brain does. However, some models are less wrong than others, and consistent trends in performance across models can reveal not just which model best fits the brain but also which properties of a model underlie its fit to the brain, thus yielding critical insights that transcend what any single model can tell us.
    1. I think RSpec should provide around(:context)/around(:all). Not because of any particular use case, but simply for API consistency. It's much simpler to tell users "there are 3 kinds of hooks (before, after and around) and each can be used with any of 3 scopes (example, context and suite)". Having some kinds of hooks work with only some kinds of scopes makes the API inconsistent and forces us to add special case code to emit warnings and also write extra documentation for this fact.
    2. I've been thinking of looking into implementing this in rspec-core, primarily to make the API more consistent (e.g. so that you can combine any scope -- example/context/suite -- with any hook type before/after/around).
  9. Apr 2022
  10. Mar 2022
    1. Flatpak is built on top of a technology called OSTree, which is influenced by and very similar to the Git version control system. Like Git, OSTree allows versioned data to be tracked and to be distributed between different repositories. However, where Git is designed to track source files, OSTree is designed to track binary files and other large data.
    2. Internally, Flatpak therefore works in a similar way to Git, and many Flatpak concepts are analogous to Git concepts. Like Git, Flatpak uses repositories to store data, and it tracks the differences between versions.
    1. The underlying architecture might be summarized as “git for operating system binaries”.
  11. Feb 2022
  12. Jan 2022
    1. Douaud, G., Lee, S., Alfaro-Almagro, F., Arthofer, C., Wang, C., McCarthy, P., Lange, F., Andersson, J. L. R., Griffanti, L., Duff, E., Jbabdi, S., Taschler, B., Winkler, A. M., Nichols, T. E., Collins, R., Matthews, P. M., Allen, N., Miller, K. L., & Smith, S. M. (2021). Brain imaging before and after COVID-19 in UK Biobank (p. 2021.06.11.21258690). https://doi.org/10.1101/2021.06.11.21258690

    1. TLDR: Amateur and poorly executed "Qix" type arcade game. Play Lightfish instead. It uses the same core concept but executes much better.http://store.steampowered.com/app/116120/Lightfish/E

      nostalgia (for me) and comparison: Qix

  13. Dec 2021
    1. nference. (2021, November 27). Here is how B.1.1.529 (#Omicron #B11529) compares to Alpha, Beta, Gamma, Delta variants. Omicron has highest novel Spike mutations including striking cluster on the “crown” suggesting significant selection pressure & antigenic distinction from prior strains (Credits: Nference) https://t.co/4oZQbjhbG8 [Tweet]. @_nference. https://twitter.com/_nference/status/1464404770098229250

  14. Nov 2021
  15. Oct 2021
  16. Sep 2021
  17. Aug 2021
    1. this kind of run-time code generation is certainly more natural in Ruby, it's one of its Lispish elements
    1. Rafael Irizarry. (2021, August 8). Vaccines work in a gif update: COVID19 cases versus vaccination rates in US states through time. The Delta variant effect can be seen clearly starting in July. States with lower vaccination rates are affected much worse. Https://t.co/e0SQpa8Qg0 [Tweet]. @rafalab. https://twitter.com/rafalab/status/1424440520361787392

  18. Jul 2021
    1. In 1996, technology historian Jennifer S. Light compared the talk of “cyberoptimists” about virtual communities to city planners’ earlier optimistic predictions about shopping malls. As the automobile colonized U.S. cities in the 1950s, planners promised that malls would be enclosed public spaces to replace Main Streets. But as Light pointed out, the transition to suburban malls brought new inequities of access and limited the space’s functions to those that served commercial interests.

      Nice historical comparison.

    1. the problem of how to read a number of related books in relation to one another and read them in such a way that the complementary and conflict­ing things they have to say about a common subject are clearly grasped.

      This could be a fascinating discussion to take a close look at later in the book.

    1. sed appears to be able to do this much more efficiently if a large number of files are involved. awk may be easier to remember, but sed seems to be worth a sticky note in my brain.
    1. Vectors with a small Euclidean distance from one another are located in the same region of a vector space. Vectors with a high cosine similarity are located in the same general direction from the origin.
    1. Alvin. (2021, July 8). An Estimated 279,000 Deaths & up to 1.25 Million Hospitalizations Averted by U.S. #COVID19 Vaccination Campaign (@commonwealthfnd analysis) 👉 Interpretation: #VaccinesWork Link: Https://t.co/0m8tq3In4f @Alison_Galvani @EricSchneiderMD @Vaccinologist @V2019N #SARSCoV2 https://t.co/SwaWxFnJ2H [Tweet]. @alvie_barr. https://twitter.com/alvie_barr/status/1413150922356654088

    1. Jesse O’Shea MD, MSc on Twitter: “Okay Twitter! Here is the new vaccine side effect chart (aka reactogenicity) for FDA submitted COVID19 vaccines vs Shingrix & Flu. J&J’s Ad26.COV2.S has the least side effect profile of the COVID vaccines so far. Https://t.co/MFGzWDqQKZ” / Twitter. (n.d.). Retrieved July 2, 2021, from https://twitter.com/JesseOSheaMD/status/1364645966826070016?s=20

  19. Jun 2021
    1. gitree works very similarly to tree but only lists files related to the current git repository.
    1. Yes, AnyCable uses only a single Redis pub/sub channel. Unlike Action Cable, anycable-go manages the actual subscriptions by itself (see hub.go), we only need a single channel to get broadcasts from web apps to a WS server, which performs the actual retransmission. Check out https://docs.anycable.io/#/v1/misc/how_to_anycable_server
    2. they handled this with 4 1x dynos on Heroku (before switching to AnyCable they had 20 2x dynos for ActionCable).
  20. May 2021
    1. ReconfigBehSci on Twitter: ‘@JAndreen @ErikAngner details about human contact networks matter, as epidemiologists pointed out last spring. Https://t.co/DC5FoW5ChY If you think I am wrong about the relevant parameters for Sweden, I’d love to hear more. One place to start is saying how it differs from other Nordic countries’ / Twitter. (n.d.). Retrieved 21 February 2021, from https://twitter.com/SciBeh/status/1362757183121854466

    1. ReconfigBehSci on Twitter: “this is utterly bizarre: How would one conceptually even begin to determine a number by which the model overestimated unmitigated deaths. What is the comparison unmitigated ‘prediction’ to what actually happened supposed to mean?” / Twitter. (n.d.). Retrieved May 1, 2021, from https://twitter.com/SciBeh/status/1384070393514790918

  21. Apr 2021
    1. I bought this game and hope it will look like Carcassonne.But, my first impression of this lead me to compare this with Go.At the present, I am teaching to anyone that this game is Go with modular board.Yep, Bought this new and Go was my first thought on this, also. Definitely much closer to Go than Carcassonne.
    2. I strongly prefer this over Carcassonne. It plays faster (I don't want a tile laying game to go for more than 30 mins or so) and I happen to like the limited options. Carcassonne just gets on my nerves because I just don't view selecting between so many placement options to be that interesting. Obviously, YMMV. Ditto the previous statement, it's different than Carcassonne. And that's why I like it.
    3. But, my first impression of this lead me to compare this with Go.At the present, I am teaching to anyone that this game is Go with modular board.
    4. Strange that a game published in 2005 that is derivative of a classic would essentially get fired by its predecessor. I fail to see why I would ever play this instead of Carcassonne.
    5. I recently played a prototype of an upcoming game called Bronze. This takes the tile-laying/ territory claiming mechanic and builds on it by adding abilities to each of the tiles. they benefit you in some way if you claim them. The result is a very similar feel to Fjords (competing for a share of the map) but with greater depth.
    6. You can't avoid the comparisons to Carcassonne even though the scoring mechanic is very different. It just looks the same, and the tile placement phase feels close enough to be familiar. However, this familiarity starts to nag at you, only adding to the frustration when tile placement is clumsy and luck-driven unlike Carcassonne. The comparison is not favourable for Fjords.
    1. There are geographical guessing games based on Google Streetview that are much better.
  22. Mar 2021
    1. Erik Angner. (2021, February 18). Periodic reminder that in terms of outcomes, Swedish corona policy is thoroughly average in EU comparison – not exactly a model to be emulated by the rest of the world, nor a crime against humanity that should be prosecuted in the Hague. Https://t.co/E1CHBFMs6S [Tweet]. @ErikAngner. https://twitter.com/ErikAngner/status/1362319246378872832

    1. Isaac then continues on to compare that philosophy to Node.js. They are slightly less succinct but still very enlightening.
    1. It’s grand larceny and, as usual, what is being stolen is power.

      This is a striking last sentence; his representation of the recent voter suppression tactics as theft is a powerful symbolism. His connection to the past, "another of history's racist robberies", also appeals to the audience emotionally since the topic of past racism is touchy and logic; no one denies that these events happened in the past.

  23. Feb 2021
    1. I wanted to keep reviewing restaurants, but I didn’t want to go back into their dining rooms both because of the risk and because I was afraid readers would take it as an all-clear signal. When the governor halted indoor dining again in December, my selfish reaction was relief. Then I briefly got depressed. How would restaurants survive? And how would I keep writing about them?One answer had already started to appear on sidewalks and streets in the form of small greenhouses, huts, tents and yurts. Inside these personal dining rooms, you can (and should) sit just with people from your own household. If the restaurant thoroughly airs the space out between seatings, any germs you breathe in should be the same ones that are bouncing around your home. Many restaurants instruct their servers to stay outside the structures as much as possible, though some don’t.

      Syntax of question and answer reveals itself again. His doubts and negativity are addressed within the first highlighted paragraph with a question coming to Pete's mind. He realized his influence as a critic and decided to take the right step to prevent anything bad from occurring. Despite his sacrifice, the next paragraph he discusses the clever solutions restaurants had come up with which solved his problem for the most part. This description underlines yet more change that brought upon good things, which is the main idea he is relating to the food scene. He creates a comparison between an at home setting along with the solutions restaurants have come up with to further emphasize his point of safety amidst COVID.

    2. Before the pandemic, I normally called chefs after I’d written a review of their restaurant but before it was published, to check facts. The chefs usually sounded as if I were calling with the results of a lab test. One chef called me back from a hospital and told me his wife was in the next room giving birth to their first child, but — oh no, don’t worry, it’s fine, he said; in fact, I’d picked a perfect time to call! These were, in other words, awkward conversations.The ones I had last spring were different. It was as if the fear and distrust all chefs feel toward all critics were gone. They talked about going bankrupt, they talked about crying and not wanting to get out of bed. What did they have left to lose by talking to me?

      Pete highlights a key change that came with COVID, except he emphasizes the good that came from it. This compare and contrast allows the reader to see how the personalities have developed along with the times. There was a silver lining amidst the "crying and not wanting to get out of bed". The drastic comparison of his importance before and after the pandemic with a chef giving equal importance to Pete and his first child underlines just how wrong priorities were previously. His diction, utilizing awkward perfectly to encapsulate the environment surrounding his job before COVID, pushing forth the idea that good can result from change.

    1. There are times where it is useful to know whether a value was passed to run or the result of a filter default. In particular, it is useful when nil is an acceptable value.

      Yes! An illustration in ruby:

      main > h = {key_with_nil_value: nil}
      => {:key_with_nil_value=>nil}
      
      main > h[:key_with_nil_value]
      => nil
      
      main > h[:missing_key]  # this would be undefined in JavaScript (a useful distinction) rather than null, but in Ruby it's indistinguishable from the case where a nil value was actually explicitly _supplied_ by the caller/user
      => nil
      
      # so we have to check for "missingness" ("undefinedness"?) differently in Ruby
      
      main > h.key?(:key_with_nil_value)
      => true
      
      main > h.key?(:missing_key)
      => false
      

      This is one unfortunate side effect of Ruby having only nil and no built-in way to distinguish between null and undefined like in JavaScript.

    1. This would be more useful if there was an easy way to actually compare the differences...

      This is how I did it:

      cd user-example
      diff -r -u10 before/ after/
      # then compare after/app/forms, which was only in after
      

      Linked to from https://hyp.is/5YyPAnFNEeu0Vv94pLaypA/github.com/railsgsoc/actionform

    1. You can find a list of applications using this gem in this repository: https://github.com/m-Peter/nested-form-examples . All the examples are implemented in before/after pairs. The before is using the accepts_nested_attributes_for, while the after uses this gem to achieve the same functionality.
    1. Transport Tycoon is easily one of the best Tycoon games, this variant offers indepth control over your logistic networks and zero breakdowns but with loads of new tools to get to grips with you will need to search up a guide.The other variant, OpenTTD, wants to remain more like the original. its not as precise in its logistics but much simpler to pick up and play.Both are multiplayerBoth are freeIf Simutrans feels abit obtuse, try OTTDIf OTTD feels too simple, try Simutrans
  24. Jan 2021
    1. Snaps each pick a ‘base’, for example, Ubuntu18 (corresponding to the set of minimal debs in Ubuntu 18.04 LTS). Nevertheless, the choice of base does not impact on your ability to use a snap on any of the supported Linux distributions or versions — it’s a choice of the publisher and should be invisible to you as a user or developer.

      Snaps sound a lot like container images in this respect.

    1. Taglines are more often next to the company's logo on official advertisements, and are dedicated more specifically to brand awareness than slogans. Slogans carry a brand's values and promises as the company grows and evolves, and can be promoted under an overarching company tagline.
    2. Although both "slogan" and "tagline" tend to be used interchangeably, they actually serve two different purposes. 
    3. Companies have slogans for the same reason they have logos: advertising. While logos are visual representations of a brand, slogans are audible representations of a brand. Both formats grab consumers' attention more readily than the name a company or product might. Plus, they're simpler to understand and remember.
    4. In many ways, they're like mini-mission statements.
    1. And since auto is entirely based on content, we can say it is “indefinitely” sized, its dimensions flex. If we were to put an explicit width on the column, like 50% or 400px, then we would say it is “definitely” sized.
    1. A bind mount is basically where you mount a given directory on top of an existing one. Suppose you have a RAID array where you have a partition mounted at /home2, containing some larger user accounts. If you wanted to remount /home2/user to /home/user (to sidestep issue #1), without the issues that come along with symlinks (it is not a directory, just a token that points to it), you'd do something like mount --bind /home2/bob /home/bob and the directory will then be traversable from both locations. The target folder must exist, same as any mount point. The end result is somewhat similar to a symlink, but instead of creating a special filesystem object, it utilizes the operating system's filesystem mounting machinery to do it, which makes it more transparent to running software. Tools like 'du' and 'find' will still be aware that they are cross filesystem boundaries, and will also behave as such if the bind mount is entirely within a given filesystem. Finally, as they're transient by nature (unlike symlinks), they need to be placed in fstab or some startup script to make them persistent.
    1. Both are elements positioned near a "reference" element, and are hidden until they are triggered. They help conserve space by hiding secondary information or functionality behind a hover or click. They are positioned outside the normal flow of the document so when they are triggered, they are overlaid on top of the existing UI without disrupting the flow of content.
    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:
    1. All in all, building icon systems with SVG isn’t that hard! If you have the right tools available, it can be a pretty easy switch. The benefits of SVG sprites have been discussed at length, and the consensus in the web community is that SVG icon systems come out on top when compared with iconic fonts.
  25. Dec 2020