388 Matching Annotations
  1. Last 7 days
    1. There are four essential capabilities that we can rely on a SecondBrain to perform for us:1. Making our ideas concrete.2. Revealing new associations between ideas.3. Incubating our ideas over time.4. Sharpening our unique perspectives.

      Does the system really do each of these? Writing things down for our future selves is the thing that makes ideas concrete, not the system itself. Most notebooks don't reveal new associations, we actively have to do that ourselves via memory or through active search and linking within the system itself. The system may help, but it doesn't automatically create associations nor reveal them. By keeping our ideas in one place they do incubate to some extent, but isn't the real incubation taking place in a diffuse way in our minds to come out later?

  2. May 2022
    1. Federico García Lorca (Fuente Vaqueros, Granada, 5 de junio de 1898 - camino de Víznar a Alfacar, Granada, 18 de agosto de 1936) fue un poeta, dramaturgo y prosista español. Adscrito a la generación del 27, fue el poeta de mayor influencia y popularidad de la literatura española del siglo XX y como dramaturgo se le considera una de las cimas del teatro español del siglo XX. Fue asesinado por el bando sublevado un mes después del golpe de Estado que provocó el inicio de la guerra civil española.
    1. The biggest mistake—and one I’ve made myself—is linking with categories. In other words, it’s adding links like we would with tags. When we link this way we’re more focused on grouping rather than connecting. As a result, we have notes that contain many connections with little to no relevance. Additionally, we add clutter to our links which makes it difficult to find useful links when adding links. That being said, there are times when we might want to group some things. In these cases, use tags or folders.

      Most people born since the advent of the filing cabinet and the computer have spent a lifetime using a hierarchical folder-based mental model for their knowledge. For greater value and efficiency one needs to get away from this model and move toward linking individual ideas together in ways that they can more easily be re-used.

      To accomplish this many people use an index-based method that uses topical or subject headings which can be useful. However after even a few years of utilizing a generic tag (science for example) it may become overwhelmed and generally useless in a broad search. Even switching to narrower sub-headings (physics, biology, chemistry) may show the same effect. As a result one will increasingly need to spend time and effort to maintain and work at this sort of taxonomical system.

      The better option is to directly link related ideas to each other. Each atomic idea will have a much more limited set of links to other ideas which will create a much more valuable set of interlinks for later use. Limiting your links at this level will be incredibly more useful over time.

      One of the biggest benefits of the physical system used by Niklas Luhmann was that each card was required to be placed next to at least one card in a branching tree of knowledge (or a whole new branch had to be created.) Though he often noted links to other atomic ideas there was at least a minimum link of one on every idea in the system.

      For those who have difficulty deciding where to place a new idea within their system, it can certainly be helpful to add a few broad keywords of the type one might put into an index. This may help you in linking your individual ideas as you can do a search of one or more of your keywords to narrow down the existing ones within your collection. This may help you link your new idea to one or more of those already in your system. This method may be even more useful and helpful for those who are starting out and have fewer than 500-1000 notes in their system and have even less to link their new atomic ideas to.

      For those who have graphical systems, it may be helpful to look for one or two individual "tags" in a graph structure to visually see the number of first degree notes that link to them as a means of creating links between atomic ideas.

      To have a better idea of a hierarchy of value within these ideas, it may help to have some names and delineate this hierarchy of potential links. Perhaps we might borrow some well ideas from library and information science to guide us? There's a system in library science that uses a hierarchical set up using the phrases: "broader terms", "narrower terms", "related terms", and "used for" (think alias or also known as) for cataloging books and related materials.

      We might try using tags or index-like links in each of these levels to become more specific, but let's append "connected atomic ideas" to the bottom of the list.

      Here's an example:

      • broader terms (BT): [[physics]]
      • narrower terms (NT): [[mechanics]], [[dynamics]]
      • related terms (RT): [[acceleration]], [[velocity]]
      • used for (UF) or aliases:
      • connected atomic ideas: [[force = mass * acceleration]], [[$$v^2=v_0^2​+2aΔx$$]]

      Chances are that within a particular text, one's notes may connect and interrelate to each other quite easily, but it's important to also link those ideas to other ideas that are already in your pre-existing body of knowledge.


      See also: Thesaurus for Graphic Materials I: Subject Terms (TGM I) https://www.loc.gov/rr/print/tgm1/ic.html

  3. Apr 2022
    1. Referencebooks also typically offered a larger collection of excerpts than most individualscould amass in a lifetime.

      This makes me wonder if it would be a useful product to have a highly linked note collection to sell to others in a modern context? It could be done entirely in text files for compatibility with Roam Research, Obsidian, Logseq, et al. Ideally it would be done in a more commonplace way with quotes and interlinked and could be expanded upon by the purchaser.

  4. Mar 2022
    1. # Allows you to just run "pry" inside a Rails app directory and get # everything loaded as rails c does. Inside a Bundler directory does # what bundle console does.
  5. Feb 2022
    1. With schools open now, State governments must set clear priorities, says Anurag Behar, CEO, Azim Premji Foundation. The syllabus from Classes I to XII must be re-configured, reducing content without compromising on core learning objectives.

      Meet atleast any one Core objectives for each student

      ... If I was asked in a teaching staff meeting, about my role as a teacher in a semester, I will say, fulfilling atleast any one core objective in the subject curriculum to each and every student is my highest priority *if this has been the priority for every teacher and the pressurising management during covid online classes, the [[covid batch wisdom catastrophe]] would not be this much impact - I can certainly write an feature article on this covid batch catastrophe topic - especially who passed 10th as covid batch, during start of the covid now directly face 12th public face-off with [[post-covid zero knowledge calibre]]. And then going to join college without learning subject fundamentals [[Devastating post-covid college education for freshers]]

    1. After the Budget’s ‘crypto signal’, India awaits reforms

      =$ Post-COVID indian adolescent transformation after modi govt prescient move on cryptocurrency

      Lit/Quote prescient move amounts to effectively being a de facto affirmation of the role that cryptocurrency and related technologies could play in India’s financial-cum-economic system.

    1. Make permanent notes.

      The important part of permanent notes are generating your own ideas and connecting (linking them densely) into your note system. The linking part is important and can be the part that most using digital systems forget to do. In paper zettelkasten, one was forced to create the first link by placing the note into the system for the first time. This can specifically be seen in Niklas Luhmann's example where a note became a new area of its own or, far more likely, it was linked to prior ideas.

      By linking the idea to others within the system, it becomes more likely that the idea can have additional multiple contexts where it might be used and improve the fact that context shifts will prove more insight in the future.

      Additional links to subject headings, tags, categories, or other forms of taxonomy will also help to make sure the note isn't lost completely into the system. Links to the bibliographical references within the system are helpful as well, especially for later citation. Keep in mind that these categories and reference links aren't nearly as valuable as the other primary idea links.

      One can surely collect ideas and facts into their system, but these aren't as important or as interesting as one's own ideas and the things that are sparked and generated by them.

      Asking questions in permanent notes can be valuable as they can become the context for new research, projects, and writing. Open questions can be incredibly valuable for one's thinking and explorations.

  6. Jan 2022
    1. Email and Chat tools (e.g. Teams, Slack)

      Do we need to develop out concersational style email reviews?

    2. Email and Chat

      Would be really interesting to see which chat platforms. Eg. Slack VS Teams. Could build out a review bot, similar to email in.

    1. It seems like it could be a good game but its really poorly executed,
    2. Unique concept that could have end up as a great game, but sadly got destroyed by lack of polish .
  7. Dec 2021
    1. As well as enhancing the reader’s experience, a map is a simple tool for a writer to use when planning, writing and editing their story. It’s a great world-building tool, helping you get a basic grasp of your world’s geography and how its environments can affect characters and their journeys. You can keep your map beside you as a reference while you plan your character’s journey and the obstacles or challenges they may encounter. Having a visual aid like this can help you keep ideas together in one focused area, rather than having to search through a mountain of notes.
      • [[Venmurasu MOC]]
      • I can build fictional india map for venmurasu using cartography3d software and [[🔌 obsidian leaflet plugin]] obsidian://show-plugin?id=obsidian-leaflet-plugin
    1. But the deal we already had in place was better for what our people prioritize: freedom over growth, sustainability over speed, life over work.
  8. Nov 2021
    1. தண்ணீர் பெறாஅத் தடுமாற் றருந்துயரம் கண்ணீர் நனைக்கும் கடுமைய காடு (கலித்தொகை– 6 : 5-6)

      =! biologist hate to shed tears to avoid thirst

      - தண்ணீர் வேட்கைக்கான துயரை கண்ணீர் விட்டு ஆற்றியபடி மனிதர்கள் பயணிக்கும் பாலை வெளி போலும் ஓர் வாழ்வு.

  9. Oct 2021
    1. I compare these digital scientific notations to the the traditional scientific notations that have been used for centuries, showing how the digital notations optimized for computerized processing are often an obstacle to scientific communication and to creative work by human scientists
    2. I analyze the causes and propose guidelines for the design of more human-friendly digital scientific notations.
  10. Sep 2021
    1. Researchers have long criticized the technology for producing inaccurate results for people with darker skin

      The main idea taking about the text what say .

    1. Themainideaorthesis

      In this section make sure to include a summary of what you'll be writing about. an introduction to the paper. restate your main idea in your conclusion as well.

  11. Aug 2021
    1. I always had to set the height of them literally almost 50% taller than the content itself to accommodate for the innards growing when the form was submitted with errors (the error messaging expanded the height). If I didn’t, the submit button would get cut off making the form un-submittable.
    1. Pero yo me he quedado sorprendido, por buscar una palabra, cuando después del 11 de Setiembre, de pronto el gobierno empieza a mezclar el patriotismo con los deberes de la prensa

      Por otro lado el periodismo es una labor de suma importancia en la sociedad, los periodistas no son simples mensajeros. Se tiene la capacidad de procesar lo que vemos siendo testigos activos. Saber preguntar y a quienes preguntar. En una sociedad en la que la informacion signfica tener poder. El propósito principal del periodismo es proporcionar a los ciudadanos la información que necesitan para ser libres y capaces de gobernarse a sí mismos. Los medios informativos nos ayudan a definir la comunidad y a elaborar un lenguaje y un conocimiento compartidos basados en la realidad. El periodismo también contribuye a identificar los objetivos de una comunidad, y reconocer a sus héroes y villanos.

  12. Jul 2021
    1. Because a business making 6 figures works differently and faces different parameters—Let’s find out how different is such a business and how you too can boost your business to make 6 figures annually.
    1. visualization of the authors referenced together

      Not usually one for this type of visual web, but I love this one for how it can be used, in addition to simply being interesting to see. Could be a great way to discover confirmation bias at play, if for instance people with opposing views are never referenced together. It could also simply serve as a way to find "other authors you might like," who write on similar topics to those you already have a founded interest in.

  13. Jun 2021
    1. gitree works very similarly to tree but only lists files related to the current git repository.
    1. However, the cookie containing the CSRF-TOKEN is only used by the client to set the X-XSRF-TOKEN header. So passing a compromised CSRF-TOKEN cookie to the Rails app won't have any negative effect.
    1. I've seen (and fixed) Ruby code that needed to be refactored for the client objects to use the accessor rather than the underlying mechanism, even though instance variables aren't directly visible. The underlying mechanism isn't always an instance variable - it can be delegations to or manipulations of a class you're hiding behind a facade, or a session store with a particular format, or all kinds. And it can change. 'Self-encapsulation' can help if you need to swap a technology, a library, an object specification, etc.
    1. That's going to be extremely ugly. Nothing about this makes sense. Your JSON schema should just have one object that has {"is_enabled":true}, or something like this {"name":"change","is_enable":true}.
  14. May 2021
    1. One solution that fixed this issue with my ISP was that when I went through the first and second line and got in touch with the people that fixed my problem, I asked them if they could give me one of their personal numbers in case the same problem happened again. The problem did occur a couple more times, and I just directly called the same guy.
    1. We haven’t covered this yet, but HEY has another consent-based feature they call the Speakeasy code. When used in the subject line of an email, this code grants the email access straight to the Imbox.
  15. Apr 2021
    1. That should make for interesting puzzles, except they're timed, your guys never stop moving (why not?), and the camera and controls mean it's very hard to translate intent into the game world.
    1. You don’t see a lot of them, but there are a number of “super trucks,” that people build custom. They’re essentially RVs built onto a stretched truck and used like a truck. These trucks, depending on how built, often have the same facilities RVs have, including private showers, toilets, and other plumbing essentials. They dump and refill at rest areas and rv parks that have these facilities, and live the best of both worlds - trucking without the hassle.
    1. Actually a very interesting concept allthough not perfectly executed (even considering it's based on a board game)
    2. It's a nice idea but godawful implementation.
    3. Unfortunately, it’s in the execution where “US and THEM” starts to fall apart. The game’s major problems stem from the user interface and some design choices range from questionable to downright horrible. For starters, the world map that takes up more than half of the screen can be neither scrolled nor zoomed. In a game where your interaction heavily relies on clicking various nations, this becomes a problem. While larger countries like Canada, the US and Russia are easily accessible, smaller nations require pixel perfect accuracy to interact with. Try clicking on Cuba, Ireland or Hungary and you’ll find yourself maniacally clicking shades and outlines and a handful of visible pixels in the area of these countries in vain hope that the game will acknowledge your actions.
    1. This gem uses a Rack middleware to clear the store object after every request, but that doesn't translate well to background processing with Sidekiq. A companion library, request_store-sidekiq creates a Sidekiq middleware that will ensure the store is cleared after each job is processed, for security and consistency with how this is done in Rack.
    1. “Who cares? Let’s just go with the style-guide” — to which my response is that caring about the details is in the heart of much of our doings. Yes, this is not a major issue; def self.method is not even a code smell. Actually, that whole debate is on the verge of being incidental. Yet the learning process and the gained knowledge involved in understanding each choice is alone worth the discussion. Furthermore, I believe that the class << self notation echoes a better, more stable understanding of Ruby and Object Orientation in Ruby. Lastly, remember that style-guides may change or be altered (carefully, though!).
    1. these events can break the flow of the game and force the player to repeat sections until they master the event, adding false difficulty to the game.
    1. This approach is preferable to overriding authenticate_user! in your controller because it won't clobber a lot of "behind the scenes" stuff Devise does (such as storing the attempted URL so the user can be redirected after successful sign in).
    1. Yes, you are right. That was a very bad workaround. Stubbing methods on NilClass can be compared to switching to dark side of force. Powerful but comes with a huge price. I highly don't recommend using my workaround from 1 year ago.
  16. Mar 2021
    1. When the computer created such amazing potential, humans decided that their human genius machines could be handy if they implemented all the pre-existing genius practices.
    1. # Parallel Ruby universes ("Rubyverses") - A proposed interface for # parallel, "semi-private" method or method-and-data spaces via # "closely associated" objects.
    1. can you break this, thouugh? like can you override kind_of? but not is_a?
    2. You can override an alias without overriding the aliased function. So yes, you can override kind_of? without overriding is_a?
    1. All I needed to do was configure my bash so it will always start vim in server mode if it is not already and to always use the --remote-tab switch when opening files.
    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.
    2. here is my set of best practices.I review libraries before adding them to my project. This involves skimming the code or reading it in its entirety if short, skimming the list of its dependencies, and making some quality judgements on liveliness, reliability, and maintainability in case I need to fix things myself. Note that length isn't a factor on its own, but may figure into some of these other estimates. I have on occasion pasted short modules directly into my code because I didn't think their recursive dependencies were justified.I then pin the library version and all of its dependencies with npm-shrinkwrap.Periodically, or when I need specific changes, I use npm-check to review updates. Here, I actually do look at all the changes since my pinned version, through a combination of change and commit logs. I make the call on whether the fixes and improvements outweigh the risk of updating; usually the changes are trivial and the answer is yes, so I update, shrinkwrap, skim the diff, done.I prefer not to pull in dependencies at deploy time, since I don't need the headache of github or npm being down when I need to deploy, and production machines may not have external internet access, let alone toolchains for compiling binary modules. Npm-pack followed by npm-install of the tarball is your friend here, and gets you pretty close to 100% reproducible deploys and rollbacks.This list intentionally has lots of judgement calls and few absolute rules. I don't follow all of them for all of my projects, but it is what I would consider a reasonable process for things that matter.
    1. Whenever majorities trample upon the rights of minorities—when men are denied even the privilege of having their causes of complaint examined into—when measures, which they deem for their relief, are rejected by the despotism of a silent majority at a second reading—when such become the rules of our legislation, the Congress of this Union will no longer justly represent a republican people.
    1. JavaScript needs to fly from its comfy nest, and learn to survive on its own, on equal terms with other languages and run-times. It’s time to grow up, kid.
    2. For instance, those who prefer classical inheritance may enjoy the addition of the class keyword, while others may reject it as conflicting with the idea of a prototypical inheritance model.
    1. we used `backticks` to jump into native Javascript to use moment.js

      In regular Ruby, `` executes in a shell, but obviously there is no shell of that sort in JS, so it makes sense that they could (and should) repurpose that syntax for something that makes sense in context of JS -- like running native JavaScript -- prefect!

    1. Shogi is a classic game. I know many people who want to play Shogi, but the Kanji on the pieces makes it too hard to master. I have designed this Shogi with icons so anybody can learn it easily.
    1. In his first message to Congress, issued in December 1889, President Benjamin Harrison, a Republican and a veteran of the Civil War, called on Congress to stop the disenfranchisement of Black voters in the South and to help “secure to all our people a free exercise of the right of suffrage.”

      The author first develops his claim by exclaiming how president Harrison advocated for African American rights and their justice. The author states that the republicans want Harrison to promote this bill mainly for the support they are receiving from African Americans. However, this decision by Harrison was a big influence on the Lodge Bill. Also, this develops debate of african american rights which is still discussed today.

    2. Division among Republicans allowed Democrats to take the initiative. They delayed debate on the bill until after the November midterm elections, where Democrats won control of the House.

      This is a shift in the article as the author was talking about how the bill was still up to debate and the support was split up evenly, but after this, everything went down for Lodge's bill and the democrat senators eventually succeeded. This shift signifies the author's main idea that a small minority has the ability to dictate the entire government using harmful methods such as filibustering.

    1. Uber::Option implements the pattern of taking an option, such as a proc, instance method name, or static value, and evaluate it at runtime without knowing the option's implementation.
    1. Our new feature, Total Cookie Protection, works by maintaining a separate “cookie jar” for each website you visit. Any time a website, or third-party content embedded in a website, deposits a cookie in your browser, that cookie is confined to the cookie jar assigned to that website, such that it is not allowed to be shared with any other website.
    1. A pride of lions on a fund-raising pitch can be relied on to bring in money that can be used to save the ground squirrel and the lilac-breasted rollers.Back when the restaurant ecosystem was functioning healthily, it had its charismatic megafauna, too.

      The similarities Pete points out between a wildlife ecosystem and a New York restaurant ecosystem serve to emphasize his point of how one major effect, COVID, can shut down multiple facets of the ecosystem. He does so by focusing on one word, megafauna, as he described the previous state of New York restaurants as having "charismatic megafauna".

  17. Feb 2021
    1. URI::MailTo::EMAIL_REGEXP

      First time I've seen someone create a validator by simply matching against URI::MailTo::EMAIL_REGEXP from std lib. More often you see people copying and pasting some really long regex that they don't understand and is probably not loose enough. It's much better, though, to simply reuse a standard one from a library — by reference, rather than copying and pasting!!

    1. The Track() function will snap the output to the next task that is “magnetic to” the track’s semantic.
    1. Trailblazer extends the conventional MVC stack in Rails. Keep in mind that adding layers doesn't necessarily mean adding more code and complexity. The opposite is the case: Controller, view and model become lean endpoints for HTTP, rendering and persistence. Redundant code gets eliminated by putting very little application code into the right layer.
    2. Trailblazer is no "complex web of objects and indirection". It solves many problems that have been around for years with a cleanly layered architecture.
    1. The idea of the script is this: most of the important logic runs in a subshell which is piped through tee and to a logfile, so I don't have to tee every single line of the main logic to get it all logged.
    1. When you don’t want to face the consequences of your actions as a lawmaker — when you’d rather demonize scapegoats than give answers — you fight a culture war.

      The author finally jumps to the overall purpose, goal, or claim of the essay: to criticize the government officials(specifically Republicans) for their inability to fix their problems and create distracting disputes instead.

    1. Record filters allow you to require an instance of a particular class (or one of its subclasses) or a value that can be used to locate an instance of the object. If the value does not match, it will call find on the class of the record. This is particularly useful when working with ActiveRecord objects.
    1. The fact that one of our two national parties would stick with a leader who dispatched a mob to ransack the Capitol in hopes of overturning our last election is an acute national problem — a cancer, in fact

      This provides another central idea. It is not just about how Trump affected America during his presidency, but the future after it. He compares it to cancer, a metaphor that portrays the gravity of the situation. He also shows that he considers the Trump situation as worse than any of the other situations discussed by calling this an international emergency while deer and SF were local.

    2. That is a lot like Trump and his followers, whose attachment to him has become so cultlike that every other Republican leader knows that challenging Trump is potential political suicide. The result: He, too, has no serious predators

      The writer makes his second main claim in the article. He shows why Trump had as much power as he did and why no one was taking action against him. He builds on how this negatively harmed the country. He beautifully makes a metaphor to the deer, for the deer would be Trump and the garden it ruined would be America

    3. That is a lot like Trump and his followers, whose attachment to him has become so cultlike that every other Republican leader knows that challenging Trump is potential political suicide. The result: He, too, has no serious predators

      This post further emphasizes the analogy of Trump's presidency to the deer. He introduces the central idea that Trump's immense power is partly due to the American people. No one truly took action against Trump, and the Republican party for the most part, protected him. This allowed him to act "stupid" as he said in the previous paragraph.

    1. As I reported in #10, error keys get duplicated and we should namespace them. This code behaves right like AR::Base accept_nested_attributes
    1. Jan 2021. I use a small, dedicated enterprise grade SSD as a swap drive. These enterprise drives can be bought for as little as $80 for 240GB right now, and are 3D nand with load leveling and other valuable improvements for swap. By using the drive only for swap, you pretty much guarantee it won’t affect your expensive terabyte level data drive should it fail, and you still get the performance of SSD. Estimates for very heavy use are about 2 1/2 years.
  18. Jan 2021
    1. A Longform, Media-Rich Narrative

      I think that this would be a neat way to capture and share the experience of work-life balance (or imbalance) of those students who have been instructed to quarantine by capturing their thoughts on trying to continue being a student while living with the stresses of being in quarantine.

    2. A Network Visualization:

      I think that this project type would be useful for examining the politics of citation in journals, topic areas, and/or disciplines. I know this was a topic of discussion at one of the Communication conferences I went to in Fall 2019 and producing a network visualization would be a useful way to help those who disagreed or were skeptical be able to visualize the problem being discussed.

    3. A Gallery of Primary Sources: Making the History of 1989

      I can see myself doing this project type for making a course page based on a syllabus I started for a project in a course I took in the fall. Creating something like this would make the proposal for the class stronger and would be a useful tool in the classroom if I were to get approved to teach the course.

    1. 顧客情報に機械学習と予測分析を使用して、今後生まれてくるニーズを予測する。そして、その予測に基づいて商品やサービスを顧客に提案する。顧客情報には連絡先の詳細情報の他、事故履歴やライフスタイルの変化などが含まれる。

      やることはあまり変わらない

    1. Zappos created models to predict customer apparel sizes, which are cached and exposed at runtime via microservices for use in recommendations.

      There is another company named Virtusize who is doing the same thing like size predicting or recommendation

    1. Maybe $$slots like $$props? My use case is that I'd like to wrap a slot's content in an element that applies styling that I'd like absent without the slotted content. Something like this: {#if $$slots.description} <div class="description"> <slot name="description"></slot> </div> {/if}
    2. The CardLayout creates a store in context and the Card creates a standardized div container and registers it to the store so that the CardLayout has access to that DOM element. Then in afterUpdate you can move the DOM elements into columns and Svelte will not try to put them back where they go. It's a bit messy but it works.
    3. I think that maybe instead of using the prefixed $$ globals, a more "natural" solution could look something like this: import { slots, props, parent } from '@component';
    1. Small components can set the size of their corner shape using a percentage of the absolute height of the component. This means the corner shape will change as the component height changes.
    1. To explain further what exactly I’m building, the animated background is a pure code equivalent to the old music video, but runs as long as the full length of the album, though without any event triggers to tie it to the music (the animation runs continuously for the full amount of time that the uninterrupted album lasts, but does not pause or jump to a different location in the animation). It’s also extremely slow animation
    2. Some may feel that the presence of the download attribute is redundant when applied to links the browser already knows to store. I disagree.
  19. Dec 2020
    1. The only solution that I can see is to ensure that each user gets their own set of stores for each server-rendered page. We can achieve this with the context API, and expose the stores like so: <script> import { stores } from '@sapper/app'; const { page, preloading, session } = stores(); </script> Calling stores() outside component initialisation would be an error.

      Good solution.

    1. Preload functions are typically used to load data that the page depends on, hence its name. This avoids the user seeing the page update as it loads, as is typically the case with client-side loading.
    1. Say I have a separate API server that provides content for a Sapper route. I could just query that API in my route's preload function, but if the content changes rarely, I don't want to incur that cost for every page load and would much rather cache responses from the API on the Sapper side.
  20. icla2020b.jonreeve.com icla2020b.jonreeve.com
    1. It’s when it’s all over that you’ll miss him,

      I find it really interesting that there are quotes like this in the text, which are used a lot even today by a lot of people. It would be a good topic for the paper, to find quotes like that throughout the text and see how many of them are in each story.

    1. # fix a bug in one of your dependencies vim node_modules/some-package/brokenFile.js # run patch-package to create a .patch file npx patch-package some-package

      I love how directly this allows you to make the change -- directly on the source file itself -- and then patch-package does the actual work of generating a patch from it. Brilliant.

    1. Maybe something more neutral just meaning a virtual element / no-element container would better express the intention? And regarding the syntax, maybe it would also feel less repetitive / boilerplaty than <svelte:slot slot="name" />... Maybe something like <svelte:fragment slot="name"> or <svelte:virtual slot="name">?
    1. With the caveat that hero worship can be gross, distorting, and unhelpful to everyone involved, Svelte author Rich Harris (@rich_harris on Twitter) is one of my favorite open source developers. In the JS community he’s well-known among tool authors for spreading interesting ideas. He’s the creator of many open source projects including Rollup, the bundler of choice for many libraries including React and Vue.
  21. Nov 2020
    1. gentrifying neighborhoods were generally morediverse when it came to income, race, and education as opposed to non-gentrifyingneighborhoods

      gentrification == more diversity when everyone's large concern is that gentrification == less or decreased diversity

    Tags

    Annotators

    1. I think that you need to be able to get compound interest on your thoughts. Good ideas come from when ideas have sex: the intersection of different things that you’ve been reading or different things you’ve been seeing. So you can have better ideas faster if you are actually reviewing the old things and you are building up. You’re not throwing away work.

      Good ideas come when ideas meet, so it is beneficial to promote this.

    1. That said, supporting this syntax on elements as well as components could make sense.